Skip to content

Commit 27ed581

Browse files
PR to make swagger changes for new event grid public SDK release (#16309)
* create baseline commit * Add all the changes for new public SDK release * fix the version * fixing prettier check issues * address pr comments * fix arm version in readme * Add extra line * fix lintdiff issue * Adding suppression and fixing sdk readme * fix issues with go sdk path
1 parent 287a3b5 commit 27ed581

File tree

83 files changed

+8769
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8769
-1
lines changed

specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json

Lines changed: 5725 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain1",
6+
"domainTopicName": "exampledomaintopic1",
7+
"api-version": "2020-04-01-preview"
8+
},
9+
"responses": {
10+
"201": {
11+
"body": {
12+
"properties": {
13+
"provisioningState": "Succeeded"
14+
},
15+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1/topics/exampledomaintopic1",
16+
"name": "exampledomaintopic1",
17+
"type": "Microsoft.EventGrid/domains/topics"
18+
}
19+
}
20+
}
21+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain1",
6+
"domainTopicName": "exampledomaintopic1",
7+
"api-version": "2020-04-01-preview"
8+
},
9+
"responses": {
10+
"200": {},
11+
"202": {},
12+
"204": {}
13+
}
14+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain2",
6+
"domainTopicName": "topic1",
7+
"api-version": "2020-04-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2/topics/topic1",
13+
"name": "topic1",
14+
"properties": {
15+
"provisioningState": "Succeeded"
16+
},
17+
"type": "Microsoft.EventGrid/domains/topics"
18+
}
19+
}
20+
}
21+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain2",
6+
"api-version": "2020-04-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic1",
14+
"name": "domainCli100topic1",
15+
"properties": {
16+
"provisioningState": "Succeeded"
17+
},
18+
"type": "Microsoft.EventGrid/domains/topics"
19+
},
20+
{
21+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic2",
22+
"name": "domainCli100topic2",
23+
"properties": {
24+
"provisioningState": "Succeeded"
25+
},
26+
"type": "Microsoft.EventGrid/domains/topics"
27+
}
28+
]
29+
}
30+
}
31+
}
32+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain1",
6+
"api-version": "2020-04-01-preview",
7+
"domainInfo": {
8+
"location": "westus2",
9+
"tags": {
10+
"tag1": "value1",
11+
"tag2": "value2"
12+
},
13+
"properties": {
14+
"publicNetworkAccess": "Enabled",
15+
"inboundIpRules": [
16+
{
17+
"ipMask": "12.18.30.15",
18+
"action": "Allow"
19+
},
20+
{
21+
"ipMask": "12.18.176.1",
22+
"action": "Allow"
23+
}
24+
]
25+
}
26+
}
27+
},
28+
"responses": {
29+
"201": {
30+
"body": {
31+
"properties": {
32+
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
33+
"provisioningState": "Succeeded",
34+
"publicNetworkAccess": "Enabled",
35+
"inboundIpRules": [
36+
{
37+
"ipMask": "12.18.30.15",
38+
"action": "Allow"
39+
},
40+
{
41+
"ipMask": "12.18.176.1",
42+
"action": "Allow"
43+
}
44+
]
45+
},
46+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
47+
"location": "westus2",
48+
"name": "exampledomain1",
49+
"tags": {
50+
"tag1": "value1",
51+
"tag2": "value2"
52+
},
53+
"type": "Microsoft.EventGrid/domains"
54+
}
55+
}
56+
}
57+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain1",
6+
"api-version": "2020-04-01-preview"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"domainName": "exampledomain2",
6+
"api-version": "2020-04-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"properties": {
12+
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
13+
"provisioningState": "Succeeded"
14+
},
15+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
16+
"location": "westcentralus",
17+
"name": "exampledomain2",
18+
"tags": {
19+
"tag1": "value1",
20+
"tag2": "value2"
21+
},
22+
"type": "Microsoft.EventGrid/domains"
23+
}
24+
}
25+
}
26+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"resourceGroupName": "examplerg",
5+
"api-version": "2020-04-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"properties": {
13+
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
14+
"provisioningState": "Succeeded"
15+
},
16+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
17+
"location": "westus2",
18+
"name": "exampledomain1",
19+
"tags": {
20+
"tag1": "value1",
21+
"tag2": "value2"
22+
},
23+
"type": "Microsoft.EventGrid/domains"
24+
},
25+
{
26+
"properties": {
27+
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
28+
"provisioningState": "Succeeded"
29+
},
30+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
31+
"location": "westcentralus",
32+
"name": "exampledomain2",
33+
"tags": {
34+
"tag1": "value1",
35+
"tag2": "value2"
36+
},
37+
"type": "Microsoft.EventGrid/domains"
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
4+
"api-version": "2020-04-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"properties": {
12+
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events",
13+
"provisioningState": "Succeeded"
14+
},
15+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1",
16+
"location": "westus2",
17+
"name": "exampledomain1",
18+
"tags": {
19+
"tag1": "value1",
20+
"tag2": "value2"
21+
},
22+
"type": "Microsoft.EventGrid/domains"
23+
},
24+
{
25+
"properties": {
26+
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events",
27+
"provisioningState": "Succeeded"
28+
},
29+
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2",
30+
"location": "westcentralus",
31+
"name": "exampledomain2",
32+
"tags": {
33+
"tag1": "value1",
34+
"tag2": "value2"
35+
},
36+
"type": "Microsoft.EventGrid/domains"
37+
}
38+
]
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)