forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EventGrid - Add api-version 2020-10-15-preview (Azure#11879)
* Committing base for the new api version * Adding api version 2020-10-15-preview * Making Topics_RegenerateKey as async operation * Fixing credscan issues * Fixing PR comments in readme.md * Adding storageQueue TTL feature and new advanced filter changes * Adding one more property for advanced filter * Added an example for AzureArc topic * Fixing the example payload * Fixing the example payload * Adding new properties to EventChannelFilter, advancedFiltering changes to support array of ranges, rename IsNull advanced filter to IsNullOrUndefined * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations - fix path for systemData definitions * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations - remove extra element in swagger * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations - wrong plaqcement * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations - add readonly * Fix R4009 RequiredSystemDataInNewApiVersions for EventChannel operations - fix location under parent properties and fix default message * fix default message * Fix R4011 - DeleteOperationResponses * fix examples * fix example Co-authored-by: Ashraf Hamad <ahamad@ntdev.microsoft.com>
- Loading branch information
Showing
115 changed files
with
12,643 additions
and
1 deletion.
There are no files selected for viewing
8,479 changes: 8,479 additions & 0 deletions
8,479
.../eventgrid/resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/EventGrid.json
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
.../Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain1", | ||
"domainTopicName": "exampledomaintopic1", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1/topics/exampledomaintopic1", | ||
"name": "exampledomaintopic1", | ||
"type": "Microsoft.EventGrid/domains/topics" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain1", | ||
"domainTopicName": "exampledomaintopic1", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...rce-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain2", | ||
"domainTopicName": "topic1", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2/topics/topic1", | ||
"name": "topic1", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.EventGrid/domains/topics" | ||
} | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...er/Microsoft.EventGrid/preview/2020-10-15-preview/examples/DomainTopics_ListByDomain.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain2", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic1", | ||
"name": "domainCli100topic1", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.EventGrid/domains/topics" | ||
}, | ||
{ | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/devexprg/providers/Microsoft.EventGrid/domains/domainCli100/topics/domainCli100topic2", | ||
"name": "domainCli100topic2", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
}, | ||
"type": "Microsoft.EventGrid/domains/topics" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...nager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_CreateOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain1", | ||
"api-version": "2020-10-15-preview", | ||
"domainInfo": { | ||
"location": "westus2", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"inboundIpRules": [ | ||
{ | ||
"ipMask": "12.18.30.15", | ||
"action": "Allow" | ||
}, | ||
{ | ||
"ipMask": "12.18.176.1", | ||
"action": "Allow" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded", | ||
"publicNetworkAccess": "Enabled", | ||
"inboundIpRules": [ | ||
{ | ||
"ipMask": "12.18.30.15", | ||
"action": "Allow" | ||
}, | ||
{ | ||
"ipMask": "12.18.176.1", | ||
"action": "Allow" | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", | ||
"location": "westus2", | ||
"name": "exampledomain1", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain1", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...resource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain2", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", | ||
"location": "westcentralus", | ||
"name": "exampledomain2", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
.../Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_ListByResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", | ||
"location": "westus2", | ||
"name": "exampledomain1", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
}, | ||
{ | ||
"properties": { | ||
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", | ||
"location": "westcentralus", | ||
"name": "exampledomain2", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...r/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_ListBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", | ||
"location": "westus2", | ||
"name": "exampledomain1", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
}, | ||
{ | ||
"properties": { | ||
"endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", | ||
"location": "westcentralus", | ||
"name": "exampledomain2", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_ListSharedAccessKeys.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain2", | ||
"api-version": "2020-10-15-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"key1": "testKey1Value", | ||
"key2": "testKey2Value" | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...anager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_RegenerateKey.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain2", | ||
"api-version": "2020-10-15-preview", | ||
"regenerateKeyRequest": { | ||
"keyName": "key1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"key1": "testKey1Value", | ||
"key2": "testKey2Value" | ||
} | ||
} | ||
} | ||
} |
57 changes: 57 additions & 0 deletions
57
...ource-manager/Microsoft.EventGrid/preview/2020-10-15-preview/examples/Domains_Update.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", | ||
"resourceGroupName": "examplerg", | ||
"domainName": "exampledomain1", | ||
"api-version": "2020-10-15-preview", | ||
"domainUpdateParameters": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"properties": { | ||
"publicNetworkAccess": "Enabled", | ||
"inboundIpRules": [ | ||
{ | ||
"ipMask": "12.18.30.15", | ||
"action": "Allow" | ||
}, | ||
{ | ||
"ipMask": "12.18.176.1", | ||
"action": "Allow" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", | ||
"provisioningState": "Succeeded", | ||
"publicNetworkAccess": "Enabled", | ||
"inboundIpRules": [ | ||
{ | ||
"ipMask": "12.18.30.15", | ||
"action": "Allow" | ||
}, | ||
{ | ||
"ipMask": "12.18.176.1", | ||
"action": "Allow" | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", | ||
"location": "westus2", | ||
"name": "exampledomain1", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"type": "Microsoft.EventGrid/domains" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.