From 8bf4b80b6181c6aa75da5b0c9e7f8e79102a9bc5 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Thu, 7 Oct 2021 14:56:07 -0700 Subject: [PATCH 01/10] create baseline commit --- .../stable/2021-12-01/EventGrid.json | 4545 +++++++++++++++++ .../examples/DomainTopics_CreateOrUpdate.json | 21 + .../examples/DomainTopics_Delete.json | 14 + .../2021-12-01/examples/DomainTopics_Get.json | 21 + .../examples/DomainTopics_ListByDomain.json | 32 + .../examples/Domains_CreateOrUpdate.json | 57 + .../2021-12-01/examples/Domains_Delete.json | 13 + .../2021-12-01/examples/Domains_Get.json | 26 + .../examples/Domains_ListByResourceGroup.json | 43 + .../examples/Domains_ListBySubscription.json | 42 + .../Domains_ListSharedAccessKeys.json | 16 + .../examples/Domains_RegenerateKey.json | 19 + .../2021-12-01/examples/Domains_Update.json | 57 + ...ateForCustomTopic_EventHubDestination.json | 61 + ...stomTopic_HybridConnectionDestination.json | 61 + ...orCustomTopic_StorageQueueDestination.json | 63 + ...dateForCustomTopic_WebhookDestination.json | 46 + ...bscriptions_CreateOrUpdateForResource.json | 46 + ...ptions_CreateOrUpdateForResourceGroup.json | 46 + ...iptions_CreateOrUpdateForSubscription.json | 44 + ...entSubscriptions_DeleteForCustomTopic.json | 12 + .../EventSubscriptions_DeleteForResource.json | 12 + ...tSubscriptions_DeleteForResourceGroup.json | 12 + ...ntSubscriptions_DeleteForSubscription.json | 12 + .../EventSubscriptions_GetForCustomTopic.json | 35 + .../EventSubscriptions_GetForResource.json | 35 + ...ventSubscriptions_GetForResourceGroup.json | 35 + ...EventSubscriptions_GetForSubscription.json | 35 + ...ubscriptions_GetFullUrlForCustomTopic.json | 14 + ...ntSubscriptions_GetFullUrlForResource.json | 14 + ...scriptions_GetFullUrlForResourceGroup.json | 14 + ...bscriptions_GetFullUrlForSubscription.json | 14 + .../EventSubscriptions_ListByDomainTopic.json | 78 + .../EventSubscriptions_ListByResource.json | 79 + ...bscriptions_ListGlobalByResourceGroup.json | 55 + ...ListGlobalByResourceGroupForTopicType.json | 40 + ...ubscriptions_ListGlobalBySubscription.json | 54 + ..._ListGlobalBySubscriptionForTopicType.json | 39 + ...criptions_ListRegionalByResourceGroup.json | 64 + ...stRegionalByResourceGroupForTopicType.json | 65 + ...scriptions_ListRegionalBySubscription.json | 63 + ...istRegionalBySubscriptionForTopicType.json | 64 + ...entSubscriptions_UpdateForCustomTopic.json | 52 + .../EventSubscriptions_UpdateForResource.json | 49 + ...tSubscriptions_UpdateForResourceGroup.json | 49 + ...ntSubscriptions_UpdateForSubscription.json | 49 + .../2021-12-01/examples/Operations_List.json | 83 + .../PrivateEndpointConnections_Delete.json | 14 + .../PrivateEndpointConnections_Get.json | 33 + ...ateEndpointConnections_ListByResource.json | 36 + .../PrivateEndpointConnections_Update.json | 63 + .../examples/PrivateLinkResources_Get.json | 29 + .../PrivateLinkResources_ListByResource.json | 32 + .../2021-12-01/examples/TopicTypes_Get.json | 22 + .../2021-12-01/examples/TopicTypes_List.json | 37 + .../examples/TopicTypes_ListEventTypes.json | 34 + .../examples/Topics_CreateOrUpdate.json | 57 + .../2021-12-01/examples/Topics_Delete.json | 12 + .../2021-12-01/examples/Topics_Get.json | 26 + .../examples/Topics_ListByResourceGroup.json | 43 + .../examples/Topics_ListBySubscription.json | 42 + .../examples/Topics_ListEventTypes.json | 38 + .../examples/Topics_ListSharedAccessKeys.json | 16 + .../examples/Topics_RegenerateKey.json | 19 + .../2021-12-01/examples/Topics_Update.json | 57 + 65 files changed, 7010 insertions(+) create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForSubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForCustomTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForSubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForCustomTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForSubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForCustomTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForSubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForCustomTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForSubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update.json diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json new file mode 100644 index 000000000000..360ed782dbd8 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -0,0 +1,4545 @@ +{ + "swagger": "2.0", + "info": { + "version": "2020-06-01", + "title": "EventGridManagementClient", + "description": "Azure EventGrid Management Client" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}": { + "get": { + "tags": [ + "Domains" + ], + "summary": "Get a domain.", + "description": "Get properties of a domain.", + "operationId": "Domains_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_Get": { + "$ref": "./examples/Domains_Get.json" + } + } + }, + "put": { + "tags": [ + "Domains" + ], + "summary": "Create or update a domain.", + "description": "Asynchronously creates or updates a new domain with the specified parameters.", + "operationId": "Domains_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "domainInfo", + "in": "body", + "description": "Domain information.", + "required": true, + "schema": { + "$ref": "#/definitions/Domain" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_CreateOrUpdate": { + "$ref": "./examples/Domains_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Domains" + ], + "summary": "Delete a domain.", + "description": "Delete existing domain.", + "operationId": "Domains_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_Delete": { + "$ref": "./examples/Domains_Delete.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Domains" + ], + "summary": "Update a domain.", + "description": "Asynchronously updates a domain with the specified parameters.", + "operationId": "Domains_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "domainUpdateParameters", + "in": "body", + "description": "Domain update information.", + "required": true, + "schema": { + "$ref": "#/definitions/DomainUpdateParameters" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Domain update request accepted.", + "schema": { + "$ref": "#/definitions/Domain" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_Update": { + "$ref": "./examples/Domains_Update.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/domains": { + "get": { + "tags": [ + "Domains" + ], + "summary": "List domains under an Azure subscription.", + "description": "List all the domains under an Azure subscription.", + "operationId": "Domains_ListBySubscription", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_ListBySubscription": { + "$ref": "./examples/Domains_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains": { + "get": { + "tags": [ + "Domains" + ], + "summary": "List domains under a resource group.", + "description": "List all the domains under a resource group.", + "operationId": "Domains_ListByResourceGroup", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_ListByResourceGroup": { + "$ref": "./examples/Domains_ListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys": { + "post": { + "tags": [ + "Domains" + ], + "summary": "List keys for a domain.", + "description": "List the two keys used to publish to a domain.", + "operationId": "Domains_ListSharedAccessKeys", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_ListSharedAccessKeys": { + "$ref": "./examples/Domains_ListSharedAccessKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey": { + "post": { + "tags": [ + "Domains" + ], + "summary": "Regenerate key for a domain.", + "description": "Regenerate a shared access key for a domain.", + "operationId": "Domains_RegenerateKey", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "regenerateKeyRequest", + "in": "body", + "description": "Request body to regenerate key.", + "required": true, + "schema": { + "$ref": "#/definitions/DomainRegenerateKeyRequest" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Domains_RegenerateKey": { + "$ref": "./examples/Domains_RegenerateKey.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}": { + "get": { + "tags": [ + "DomainTopics" + ], + "summary": "Get a domain topic.", + "description": "Get properties of a domain topic.", + "operationId": "DomainTopics_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "domainTopicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainTopic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "DomainTopics_Get": { + "$ref": "./examples/DomainTopics_Get.json" + } + } + }, + "put": { + "tags": [ + "DomainTopics" + ], + "summary": "Create or update a domain topic.", + "description": "Asynchronously creates or updates a new domain topic with the specified parameters.", + "operationId": "DomainTopics_CreateOrUpdate", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "domainTopicName", + "in": "path", + "description": "Name of the domain topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/DomainTopic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "DomainTopics_CreateOrUpdate": { + "$ref": "./examples/DomainTopics_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "DomainTopics" + ], + "summary": "Delete a domain topic.", + "description": "Delete existing domain topic.", + "operationId": "DomainTopics_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the domain.", + "required": true, + "type": "string" + }, + { + "name": "domainTopicName", + "in": "path", + "description": "Name of the domain topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "DomainTopics_Delete": { + "$ref": "./examples/DomainTopics_Delete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics": { + "get": { + "tags": [ + "DomainTopics" + ], + "summary": "List domain topics.", + "description": "List all the topics in a domain.", + "operationId": "DomainTopics_ListByDomain", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Domain name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DomainTopicsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "DomainTopics_ListByDomain": { + "$ref": "./examples/DomainTopics_ListByDomain.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Get an event subscription.", + "description": "Get properties of an event subscription.", + "operationId": "EventSubscriptions_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "scope", + "in": "path", + "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscription" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_GetForSubscription": { + "$ref": "./examples/EventSubscriptions_GetForSubscription.json" + }, + "EventSubscriptions_GetForResourceGroup": { + "$ref": "./examples/EventSubscriptions_GetForResourceGroup.json" + }, + "EventSubscriptions_GetForResource": { + "$ref": "./examples/EventSubscriptions_GetForResource.json" + }, + "EventSubscriptions_GetForCustomTopic": { + "$ref": "./examples/EventSubscriptions_GetForCustomTopic.json" + } + } + }, + "put": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Create or update an event subscription.", + "description": "Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.", + "operationId": "EventSubscriptions_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "scope", + "in": "path", + "description": "The identifier of the resource to which the event subscription needs to be created or updated. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.", + "required": true, + "type": "string" + }, + { + "name": "eventSubscriptionInfo", + "in": "body", + "description": "Event subscription properties containing the destination and filter information.", + "required": true, + "schema": { + "$ref": "#/definitions/EventSubscription" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "EventSubscription CreateOrUpdate request accepted.", + "schema": { + "$ref": "#/definitions/EventSubscription" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_CreateOrUpdateForSubscription": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForSubscription.json" + }, + "EventSubscriptions_CreateOrUpdateForResourceGroup": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json" + }, + "EventSubscriptions_CreateOrUpdateForResource": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForResource.json" + }, + "EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json" + }, + "EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json" + }, + "EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json" + }, + "EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Delete an event subscription.", + "description": "Delete an existing event subscription.", + "operationId": "EventSubscriptions_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "scope", + "in": "path", + "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_DeleteForSubscription": { + "$ref": "./examples/EventSubscriptions_DeleteForSubscription.json" + }, + "EventSubscriptions_DeleteForResourceGroup": { + "$ref": "./examples/EventSubscriptions_DeleteForResourceGroup.json" + }, + "EventSubscriptions_DeleteForResource": { + "$ref": "./examples/EventSubscriptions_DeleteForResource.json" + }, + "EventSubscriptions_DeleteForCustomTopic": { + "$ref": "./examples/EventSubscriptions_DeleteForCustomTopic.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Update an event subscription.", + "description": "Asynchronously updates an existing event subscription.", + "operationId": "EventSubscriptions_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "scope", + "in": "path", + "description": "The scope of existing event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be updated.", + "required": true, + "type": "string" + }, + { + "name": "eventSubscriptionUpdateParameters", + "in": "body", + "description": "Updated event subscription information.", + "required": true, + "schema": { + "$ref": "#/definitions/EventSubscriptionUpdateParameters" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "EventSubscription update request accepted.", + "schema": { + "$ref": "#/definitions/EventSubscription" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_UpdateForSubscription": { + "$ref": "./examples/EventSubscriptions_UpdateForSubscription.json" + }, + "EventSubscriptions_UpdateForResourceGroup": { + "$ref": "./examples/EventSubscriptions_UpdateForResourceGroup.json" + }, + "EventSubscriptions_UpdateForResource": { + "$ref": "./examples/EventSubscriptions_UpdateForResource.json" + }, + "EventSubscriptions_UpdateForCustomTopic": { + "$ref": "./examples/EventSubscriptions_UpdateForCustomTopic.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl": { + "post": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Get full URL of an event subscription.", + "description": "Get the full endpoint URL for an event subscription.", + "operationId": "EventSubscriptions_GetFullUrl", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "scope", + "in": "path", + "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, + { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionFullUrl" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_GetFullUrlForSubscription": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForSubscription.json" + }, + "EventSubscriptions_GetFullUrlForResourceGroup": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForResourceGroup.json" + }, + "EventSubscriptions_GetFullUrlForResource": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForResource.json" + }, + "EventSubscriptions_GetFullUrlForCustomTopic": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "Get an aggregated list of all global event subscriptions under an Azure subscription.", + "description": "List all aggregated global event subscriptions under a specific Azure subscription.", + "operationId": "EventSubscriptions_ListGlobalBySubscription", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalBySubscription": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all global event subscriptions for a topic type.", + "description": "List all global event subscriptions under an Azure subscription for a topic type.", + "operationId": "EventSubscriptions_ListGlobalBySubscriptionForTopicType", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalBySubscriptionForTopicType": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all global event subscriptions under an Azure subscription and resource group.", + "description": "List all global event subscriptions under a specific Azure subscription and resource group.", + "operationId": "EventSubscriptions_ListGlobalByResourceGroup", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalByResourceGroup": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all global event subscriptions under a resource group for a topic type.", + "description": "List all global event subscriptions under a resource group for a specific topic type.", + "operationId": "EventSubscriptions_ListGlobalByResourceGroupForTopicType", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalByResourceGroupForTopicType": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all regional event subscriptions under an Azure subscription.", + "description": "List all event subscriptions from the given location under a specific Azure subscription.", + "operationId": "EventSubscriptions_ListRegionalBySubscription", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "Name of the location.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListRegionalBySubscription": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all regional event subscriptions under an Azure subscription and resource group.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group.", + "operationId": "EventSubscriptions_ListRegionalByResourceGroup", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "location", + "in": "path", + "description": "Name of the location.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListRegionalByResourceGroup": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all regional event subscriptions under an Azure subscription for a topic type.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and topic type.", + "operationId": "EventSubscriptions_ListRegionalBySubscriptionForTopicType", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "Name of the location.", + "required": true, + "type": "string" + }, + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListRegionalBySubscriptionForTopicType": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all regional event subscriptions under an Azure subscription and resource group for a topic type.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.", + "operationId": "EventSubscriptions_ListRegionalByResourceGroupForTopicType", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "location", + "in": "path", + "description": "Name of the location.", + "required": true, + "type": "string" + }, + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListRegionalByResourceGroupForTopicType": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all event subscriptions for a specific topic.", + "description": "List all event subscriptions that have been created for a specific topic.", + "operationId": "EventSubscriptions_ListByResource", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "providerNamespace", + "in": "path", + "description": "Namespace of the provider of the topic.", + "required": true, + "type": "string" + }, + { + "name": "resourceTypeName", + "in": "path", + "description": "Name of the resource type.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_ListByResource": { + "$ref": "./examples/EventSubscriptions_ListByResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "get": { + "tags": [ + "EventSubscriptions" + ], + "summary": "List all event subscriptions for a specific domain topic.", + "description": "List all event subscriptions that have been created for a specific domain topic.", + "operationId": "EventSubscriptions_ListByDomainTopic", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the top level domain.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the domain topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "EventSubscriptions_ListByDomainTopic": { + "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.EventGrid/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "List available operations.", + "description": "List the available operations supported by the Microsoft.EventGrid resource provider.", + "operationId": "Operations_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}": { + "get": { + "tags": [ + "Topics" + ], + "summary": "Get a topic.", + "description": "Get properties of a topic.", + "operationId": "Topics_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Get": { + "$ref": "./examples/Topics_Get.json" + } + } + }, + "put": { + "tags": [ + "Topics" + ], + "summary": "Create a topic.", + "description": "Asynchronously creates a new topic with the specified parameters.", + "operationId": "Topics_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "topicInfo", + "in": "body", + "description": "Topic information.", + "required": true, + "schema": { + "$ref": "#/definitions/Topic" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_CreateOrUpdate": { + "$ref": "./examples/Topics_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Topics" + ], + "summary": "Delete a topic.", + "description": "Delete existing topic.", + "operationId": "Topics_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Delete": { + "$ref": "./examples/Topics_Delete.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Topics" + ], + "summary": "Update a topic.", + "description": "Asynchronously updates a topic with the specified parameters.", + "operationId": "Topics_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "topicUpdateParameters", + "in": "body", + "description": "Topic update information.", + "required": true, + "schema": { + "$ref": "#/definitions/TopicUpdateParameters" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Topic update request accepted.", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Update": { + "$ref": "./examples/Topics_Update.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics": { + "get": { + "tags": [ + "Topics" + ], + "summary": "List topics under an Azure subscription.", + "description": "List all the topics under an Azure subscription.", + "operationId": "Topics_ListBySubscription", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Topics_ListBySubscription": { + "$ref": "./examples/Topics_ListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics": { + "get": { + "tags": [ + "Topics" + ], + "summary": "List topics under a resource group.", + "description": "List all the topics under a resource group.", + "operationId": "Topics_ListByResourceGroup", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Topics_ListByResourceGroup": { + "$ref": "./examples/Topics_ListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys": { + "post": { + "tags": [ + "Topics" + ], + "summary": "List keys for a topic.", + "description": "List the two keys used to publish to a topic.", + "operationId": "Topics_ListSharedAccessKeys", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_ListSharedAccessKeys": { + "$ref": "./examples/Topics_ListSharedAccessKeys.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey": { + "post": { + "tags": [ + "Topics" + ], + "summary": "Regenerate key for a topic.", + "description": "Regenerate a shared access key for a topic.", + "operationId": "Topics_RegenerateKey", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "regenerateKeyRequest", + "in": "body", + "description": "Request body to regenerate key.", + "required": true, + "schema": { + "$ref": "#/definitions/TopicRegenerateKeyRequest" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_RegenerateKey": { + "$ref": "./examples/Topics_RegenerateKey.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Get a specific private endpoint connection.", + "description": "Get a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Get": { + "$ref": "./examples/PrivateEndpointConnections_Get.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Update a specific private endpoint connection.", + "description": "Update a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The private endpoint connection object to update.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Update": { + "$ref": "./examples/PrivateEndpointConnections_Update.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Delete a specific private endpoint connection.", + "description": "Delete a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/PrivateEndpointConnections_Delete.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Lists all private endpoint connections under a resource.", + "description": "Get all private endpoint connections under a topic or domain.", + "operationId": "PrivateEndpointConnections_ListByResource", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_ListByResource": { + "$ref": "./examples/PrivateEndpointConnections_ListByResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "summary": "Get a private link resource.", + "description": "Get properties of a private link resource.", + "operationId": "PrivateLinkResources_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string" + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateLinkResourceName", + "in": "path", + "description": "The name of private link resource.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/PrivateLinkResources_Get.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "summary": "List private link resources under specific topic or domain.", + "description": "List all the private link resources under a topic or domain.", + "operationId": "PrivateLinkResources_ListByResource", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string" + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateLinkResourcesListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListByResource": { + "$ref": "./examples/PrivateLinkResources_ListByResource.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes": { + "get": { + "tags": [ + "Topics" + ], + "summary": "List topic event types.", + "description": "List event types for a topic.", + "operationId": "Topics_ListEventTypes", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "providerNamespace", + "in": "path", + "description": "Namespace of the provider of the topic.", + "required": true, + "type": "string" + }, + { + "name": "resourceTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventTypesListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_ListEventTypes": { + "$ref": "./examples/Topics_ListEventTypes.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/providers/Microsoft.EventGrid/topicTypes": { + "get": { + "tags": [ + "TopicTypes" + ], + "summary": "List topic types.", + "description": "List all registered topic types.", + "operationId": "TopicTypes_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicTypesListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "TopicTypes_List": { + "$ref": "./examples/TopicTypes_List.json" + } + } + } + }, + "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}": { + "get": { + "tags": [ + "TopicTypes" + ], + "summary": "Get a topic type.", + "description": "Get information about a topic type.", + "operationId": "TopicTypes_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicTypeInfo" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "TopicTypes_Get": { + "$ref": "./examples/TopicTypes_Get.json" + } + } + } + }, + "/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes": { + "get": { + "tags": [ + "TopicTypes" + ], + "summary": "List event types.", + "description": "List event types for a topic type.", + "operationId": "TopicTypes_ListEventTypes", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventTypesListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "TopicTypes_ListEventTypes": { + "$ref": "./examples/TopicTypes_ListEventTypes.json" + } + } + } + } + }, + "definitions": { + "DomainProperties": { + "description": "Properties of the Domain.", + "type": "object", + "properties": { + "privateEndpointConnections": { + "description": "List of private endpoint connections.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the domain.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DomainProvisioningState", + "modelAsString": true + } + }, + "endpoint": { + "description": "Endpoint for the domain.", + "type": "string", + "readOnly": true + }, + "inputSchema": { + "description": "This determines the format that Event Grid should expect for incoming events published to the domain.", + "enum": [ + "EventGridSchema", + "CustomEventSchema", + "CloudEventSchemaV1_0" + ], + "type": "string", + "x-ms-enum": { + "name": "InputSchema", + "modelAsString": true + }, + "default": "EventGridSchema" + }, + "inputSchemaMapping": { + "$ref": "#/definitions/InputSchemaMapping", + "description": "Information about the InputSchemaMapping which specified the info about mapping event payload." + }, + "metricResourceId": { + "description": "Metric resource id for the domain.", + "type": "string", + "readOnly": true + }, + "publicNetworkAccess": { + "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "default": "Enabled" + }, + "inboundIpRules": { + "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } + } + } + }, + "PrivateEndpointConnection": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Properties of the PrivateEndpointConnection.", + "x-ms-client-flatten": true + } + } + }, + "InboundIpRule": { + "type": "object", + "properties": { + "ipMask": { + "description": "IP Address in CIDR notation e.g., 10.0.0.0/8.", + "type": "string" + }, + "action": { + "description": "Action to perform based on the match or no match of the IpMask.", + "enum": [ + "Allow" + ], + "type": "string", + "x-ms-enum": { + "name": "IpActionType", + "modelAsString": true + } + } + } + }, + "Resource": { + "description": "Definition of a Resource.", + "type": "object", + "properties": { + "id": { + "description": "Fully qualified identifier of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of the resource.", + "type": "string", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PrivateEndpointConnectionProperties": { + "description": "Properties of the private endpoint connection resource.", + "type": "object", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The Private Endpoint resource for this Connection." + }, + "groupIds": { + "description": "GroupIds from the private link service resource.", + "type": "array", + "items": { + "type": "string" + } + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/ConnectionState", + "description": "Details about the state of the connection." + }, + "provisioningState": { + "description": "Provisioning state of the Private Endpoint Connection.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true + } + } + } + }, + "PrivateEndpoint": { + "description": "PrivateEndpoint information.", + "type": "object", + "properties": { + "id": { + "description": "The ARM identifier for Private Endpoint.", + "type": "string" + } + } + }, + "ConnectionState": { + "description": "ConnectionState information.", + "type": "object", + "properties": { + "status": { + "description": "Status of the connection.", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "type": "string", + "x-ms-enum": { + "name": "PersistedConnectionStatus", + "modelAsString": true + } + }, + "description": { + "description": "Description of the connection state.", + "type": "string" + }, + "actionsRequired": { + "description": "Actions required (if any).", + "type": "string" + } + } + }, + "JsonInputSchemaMappingProperties": { + "description": "This can be used to map properties of a source schema (or default values, for certain supported properties) to properties of the EventGridEvent schema.", + "type": "object", + "properties": { + "id": { + "$ref": "#/definitions/JsonField", + "description": "The mapping information for the Id property of the Event Grid Event." + }, + "topic": { + "$ref": "#/definitions/JsonField", + "description": "The mapping information for the Topic property of the Event Grid Event." + }, + "eventTime": { + "$ref": "#/definitions/JsonField", + "description": "The mapping information for the EventTime property of the Event Grid Event." + }, + "eventType": { + "$ref": "#/definitions/JsonFieldWithDefault", + "description": "The mapping information for the EventType property of the Event Grid Event." + }, + "subject": { + "$ref": "#/definitions/JsonFieldWithDefault", + "description": "The mapping information for the Subject property of the Event Grid Event." + }, + "dataVersion": { + "$ref": "#/definitions/JsonFieldWithDefault", + "description": "The mapping information for the DataVersion property of the Event Grid Event." + } + } + }, + "JsonField": { + "description": "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.", + "type": "object", + "properties": { + "sourceField": { + "description": "Name of a field in the input event schema that's to be used as the source of a mapping.", + "type": "string" + } + } + }, + "JsonFieldWithDefault": { + "description": "This is used to express the source of an input schema mapping for a single target field\r\nin the Event Grid Event schema. This is currently used in the mappings for the 'subject',\r\n'eventtype' and 'dataversion' properties. This represents a field in the input event schema\r\nalong with a default value to be used, and at least one of these two properties should be provided.", + "type": "object", + "properties": { + "sourceField": { + "description": "Name of a field in the input event schema that's to be used as the source of a mapping.", + "type": "string" + }, + "defaultValue": { + "description": "The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.", + "type": "string" + } + } + }, + "JsonInputSchemaMapping": { + "description": "This enables publishing to Event Grid using a custom input schema. This can be used to map properties from a custom input JSON schema to the Event Grid event schema.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/InputSchemaMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/JsonInputSchemaMappingProperties", + "description": "JSON Properties of the input schema mapping", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Json" + }, + "InputSchemaMapping": { + "description": "By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.", + "required": [ + "inputSchemaMappingType" + ], + "type": "object", + "properties": { + "inputSchemaMappingType": { + "description": "Type of the custom mapping", + "enum": [ + "Json" + ], + "type": "string", + "x-ms-enum": { + "name": "InputSchemaMappingType", + "modelAsString": true + } + } + }, + "discriminator": "inputSchemaMappingType" + }, + "TrackedResource": { + "description": "Definition of a Tracked Resource.", + "required": [ + "location" + ], + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "location": { + "description": "Location of the resource.", + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "tags": { + "description": "Tags of the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "Domain": { + "description": "EventGrid Domain.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/DomainProperties", + "description": "Properties of the domain.", + "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Domain resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "DomainUpdateParameters": { + "description": "Properties of the Domain update.", + "type": "object", + "properties": { + "tags": { + "description": "Tags of the domains resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/DomainUpdateParameterProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + } + }, + "DomainUpdateParameterProperties": { + "description": "Information of domain update parameter properties.", + "type": "object", + "properties": { + "publicNetworkAccess": { + "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "default": "Enabled" + }, + "inboundIpRules": { + "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } + } + } + }, + "DomainsListResult": { + "description": "Result of the List Domains operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of Domains.", + "type": "array", + "items": { + "$ref": "#/definitions/Domain" + } + }, + "nextLink": { + "description": "A link for the next page of domains.", + "type": "string" + } + } + }, + "DomainSharedAccessKeys": { + "description": "Shared access keys of the Domain.", + "type": "object", + "properties": { + "key1": { + "description": "Shared access key1 for the domain.", + "type": "string" + }, + "key2": { + "description": "Shared access key2 for the domain.", + "type": "string" + } + } + }, + "DomainRegenerateKeyRequest": { + "description": "Domain regenerate share access key request.", + "required": [ + "keyName" + ], + "type": "object", + "properties": { + "keyName": { + "description": "Key name to regenerate key1 or key2.", + "type": "string" + } + } + }, + "DomainTopicProperties": { + "description": "Properties of the Domain Topic.", + "type": "object", + "readOnly": true, + "properties": { + "provisioningState": { + "description": "Provisioning state of the domain topic.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "DomainTopicProvisioningState", + "modelAsString": true + } + } + } + }, + "DomainTopic": { + "description": "Domain Topic.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/DomainTopicProperties", + "description": "Properties of the Domain Topic.", + "readOnly": true, + "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Domain Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "DomainTopicsListResult": { + "description": "Result of the List Domain Topics operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of Domain Topics.", + "type": "array", + "items": { + "$ref": "#/definitions/DomainTopic" + } + }, + "nextLink": { + "description": "A link for the next page of domain topics.", + "type": "string" + } + } + }, + "EventSubscriptionProperties": { + "description": "Properties of the Event Subscription.", + "type": "object", + "properties": { + "topic": { + "description": "Name of the topic of the event subscription.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the event subscription.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed", + "AwaitingManualAction" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "EventSubscriptionProvisioningState", + "modelAsString": true + } + }, + "destination": { + "$ref": "#/definitions/EventSubscriptionDestination", + "description": "Information about the destination where events have to be delivered for the event subscription." + }, + "filter": { + "$ref": "#/definitions/EventSubscriptionFilter", + "description": "Information about the filter for the event subscription." + }, + "labels": { + "description": "List of user defined labels.", + "type": "array", + "items": { + "type": "string" + } + }, + "expirationTimeUtc": { + "format": "date-time", + "description": "Expiration time of the event subscription.", + "type": "string" + }, + "eventDeliverySchema": { + "description": "The event delivery schema for the event subscription.", + "default": "EventGridSchema", + "enum": [ + "EventGridSchema", + "CustomInputSchema", + "CloudEventSchemaV1_0" + ], + "type": "string", + "x-ms-enum": { + "name": "EventDeliverySchema", + "modelAsString": true + } + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events." + }, + "deadLetterDestination": { + "$ref": "#/definitions/DeadLetterDestination", + "description": "The DeadLetter destination of the event subscription." + } + } + }, + "EventSubscriptionFilter": { + "description": "Filter for the Event Subscription.", + "type": "object", + "properties": { + "subjectBeginsWith": { + "description": "An optional string to filter events for an event subscription based on a resource path prefix.\r\nThe format of this depends on the publisher of the events.\r\nWildcard characters are not supported in this path.", + "type": "string" + }, + "subjectEndsWith": { + "description": "An optional string to filter events for an event subscription based on a resource path suffix.\r\nWildcard characters are not supported in this path.", + "type": "string" + }, + "includedEventTypes": { + "description": "A list of applicable event types that need to be part of the event subscription. If it is desired to subscribe to all default event types, set the IncludedEventTypes to null.", + "type": "array", + "items": { + "type": "string" + } + }, + "isSubjectCaseSensitive": { + "description": "Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter\r\nshould be compared in a case sensitive manner.", + "default": false, + "type": "boolean" + }, + "advancedFilters": { + "description": "An array of advanced filters that are used for filtering event subscriptions.", + "type": "array", + "items": { + "$ref": "#/definitions/AdvancedFilter" + } + } + } + }, + "RetryPolicy": { + "description": "Information about the retry policy for an event subscription.", + "type": "object", + "properties": { + "maxDeliveryAttempts": { + "format": "int32", + "description": "Maximum number of delivery retry attempts for events.", + "default": 30, + "type": "integer" + }, + "eventTimeToLiveInMinutes": { + "format": "int32", + "description": "Time To Live (in minutes) for events.", + "default": 1440, + "type": "integer" + } + } + }, + "WebHookEventSubscriptionDestinationProperties": { + "description": "Information about the webhook destination properties for an event subscription.", + "type": "object", + "properties": { + "endpointUrl": { + "description": "The URL that represents the endpoint of the destination of an event subscription.", + "type": "string", + "x-ms-secret": true + }, + "endpointBaseUrl": { + "description": "The base URL that represents the endpoint of the destination of an event subscription.", + "type": "string", + "readOnly": true + }, + "maxEventsPerBatch": { + "format": "int32", + "description": "Maximum number of events per batch.", + "default": 1, + "type": "integer" + }, + "preferredBatchSizeInKilobytes": { + "format": "int32", + "description": "Preferred batch size in Kilobytes.", + "default": 64, + "type": "integer" + }, + "azureActiveDirectoryTenantId": { + "description": "The Azure Active Directory Tenant ID to get the access token that will be included as the bearer token in delivery requests.", + "type": "string" + }, + "azureActiveDirectoryApplicationIdOrUri": { + "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.", + "type": "string" + } + } + }, + "StorageBlobDeadLetterDestinationProperties": { + "description": "Properties of the storage blob based dead letter destination.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource ID of the storage account that is the destination of the deadletter events", + "type": "string" + }, + "blobContainerName": { + "description": "The name of the Storage blob container that is the destination of the deadletter events", + "type": "string" + } + } + }, + "NumberInAdvancedFilter": { + "description": "NumberIn Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "format": "double", + "type": "number" + } + } + }, + "x-ms-discriminator-value": "NumberIn" + }, + "StorageBlobDeadLetterDestination": { + "description": "Information about the storage blob based dead letter destination.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DeadLetterDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StorageBlobDeadLetterDestinationProperties", + "description": "The properties of the Storage Blob based deadletter destination", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "StorageBlob" + }, + "NumberNotInAdvancedFilter": { + "description": "NumberNotIn Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "format": "double", + "type": "number" + } + } + }, + "x-ms-discriminator-value": "NumberNotIn" + }, + "NumberLessThanAdvancedFilter": { + "description": "NumberLessThan Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "value": { + "format": "double", + "description": "The filter value.", + "type": "number" + } + }, + "x-ms-discriminator-value": "NumberLessThan" + }, + "NumberGreaterThanAdvancedFilter": { + "description": "NumberGreaterThan Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "value": { + "format": "double", + "description": "The filter value.", + "type": "number" + } + }, + "x-ms-discriminator-value": "NumberGreaterThan" + }, + "NumberLessThanOrEqualsAdvancedFilter": { + "description": "NumberLessThanOrEquals Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "value": { + "format": "double", + "description": "The filter value.", + "type": "number" + } + }, + "x-ms-discriminator-value": "NumberLessThanOrEquals" + }, + "NumberGreaterThanOrEqualsAdvancedFilter": { + "description": "NumberGreaterThanOrEquals Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "value": { + "format": "double", + "description": "The filter value.", + "type": "number" + } + }, + "x-ms-discriminator-value": "NumberGreaterThanOrEquals" + }, + "BoolEqualsAdvancedFilter": { + "description": "BoolEquals Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "value": { + "description": "The boolean filter value.", + "type": "boolean" + } + }, + "x-ms-discriminator-value": "BoolEquals" + }, + "StringInAdvancedFilter": { + "description": "StringIn Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "StringIn" + }, + "StringNotInAdvancedFilter": { + "description": "StringNotIn Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "StringNotIn" + }, + "StringBeginsWithAdvancedFilter": { + "description": "StringBeginsWith Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "StringBeginsWith" + }, + "StringEndsWithAdvancedFilter": { + "description": "StringEndsWith Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "StringEndsWith" + }, + "StringContainsAdvancedFilter": { + "description": "StringContains Advanced Filter.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/AdvancedFilter" + } + ], + "properties": { + "values": { + "description": "The set of filter values.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "x-ms-discriminator-value": "StringContains" + }, + "AdvancedFilter": { + "description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.", + "required": [ + "operatorType" + ], + "type": "object", + "properties": { + "operatorType": { + "description": "The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.", + "enum": [ + "NumberIn", + "NumberNotIn", + "NumberLessThan", + "NumberGreaterThan", + "NumberLessThanOrEquals", + "NumberGreaterThanOrEquals", + "BoolEquals", + "StringIn", + "StringNotIn", + "StringBeginsWith", + "StringEndsWith", + "StringContains" + ], + "type": "string", + "x-ms-enum": { + "name": "AdvancedFilterOperatorType", + "modelAsString": true + } + }, + "key": { + "description": "The field/property in the event based on which you want to filter.", + "type": "string" + } + }, + "discriminator": "operatorType" + }, + "WebHookEventSubscriptionDestination": { + "description": "Information about the webhook destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/WebHookEventSubscriptionDestinationProperties", + "description": "WebHook Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "WebHook" + }, + "DeadLetterDestination": { + "description": "Information about the dead letter destination for an event subscription. To configure a deadletter destination, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class. Currently, StorageBlobDeadLetterDestination is the only class that derives from this class.", + "type": "object", + "required": [ + "endpointType" + ], + "properties": { + "endpointType": { + "description": "Type of the endpoint for the dead letter destination", + "enum": [ + "StorageBlob" + ], + "type": "string", + "x-ms-enum": { + "name": "DeadLetterEndPointType", + "modelAsString": true + } + } + }, + "discriminator": "endpointType" + }, + "EventHubEventSubscriptionDestinationProperties": { + "description": "The properties for a event hub destination.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.", + "type": "string" + } + } + }, + "EventHubEventSubscriptionDestination": { + "description": "Information about the event hub destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/EventHubEventSubscriptionDestinationProperties", + "description": "Event Hub Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "EventHub" + }, + "StorageQueueEventSubscriptionDestinationProperties": { + "description": "The properties for a storage queue destination.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.", + "type": "string" + }, + "queueName": { + "description": "The name of the Storage queue under a storage account that is the destination of an event subscription.", + "type": "string" + } + } + }, + "StorageQueueEventSubscriptionDestination": { + "description": "Information about the storage queue destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StorageQueueEventSubscriptionDestinationProperties", + "description": "Storage Queue Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "StorageQueue" + }, + "HybridConnectionEventSubscriptionDestinationProperties": { + "description": "The properties for a hybrid connection destination.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.", + "type": "string" + } + } + }, + "HybridConnectionEventSubscriptionDestination": { + "description": "Information about the HybridConnection destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/HybridConnectionEventSubscriptionDestinationProperties", + "description": "Hybrid connection Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "HybridConnection" + }, + "ServiceBusQueueEventSubscriptionDestinationProperties": { + "description": "The properties that represent the Service Bus destination of an event subscription.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.", + "type": "string" + } + } + }, + "ServiceBusQueueEventSubscriptionDestination": { + "description": "Information about the service bus destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ServiceBusQueueEventSubscriptionDestinationProperties", + "description": "Service Bus Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "ServiceBusQueue" + }, + "ServiceBusTopicEventSubscriptionDestinationProperties": { + "description": "The properties that represent the Service Bus Topic destination of an event subscription.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.", + "type": "string" + } + } + }, + "ServiceBusTopicEventSubscriptionDestination": { + "description": "Information about the service bus topic destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/ServiceBusTopicEventSubscriptionDestinationProperties", + "description": "Service Bus Topic Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "ServiceBusTopic" + }, + "AzureFunctionEventSubscriptionDestinationProperties": { + "description": "The properties that represent the Azure Function destination of an event subscription.", + "type": "object", + "properties": { + "resourceId": { + "description": "The Azure Resource Id that represents the endpoint of the Azure Function destination of an event subscription.", + "type": "string" + }, + "maxEventsPerBatch": { + "format": "int32", + "description": "Maximum number of events per batch.", + "default": 1, + "type": "integer" + }, + "preferredBatchSizeInKilobytes": { + "format": "int32", + "description": "Preferred batch size in Kilobytes.", + "default": 64, + "type": "integer" + } + } + }, + "AzureFunctionEventSubscriptionDestination": { + "description": "Information about the azure function destination for an event subscription.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/EventSubscriptionDestination" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/AzureFunctionEventSubscriptionDestinationProperties", + "description": "Azure Function Properties of the event subscription destination.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "AzureFunction" + }, + "EventSubscriptionDestination": { + "description": "Information about the destination for an event subscription.", + "required": [ + "endpointType" + ], + "type": "object", + "properties": { + "endpointType": { + "description": "Type of the endpoint for the event subscription destination.", + "enum": [ + "WebHook", + "EventHub", + "StorageQueue", + "HybridConnection", + "ServiceBusQueue", + "ServiceBusTopic", + "AzureFunction" + ], + "type": "string", + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true + } + } + }, + "discriminator": "endpointType" + }, + "EventSubscription": { + "description": "Event Subscription", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/EventSubscriptionProperties", + "description": "Properties of the event subscription.", + "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Event Subscription resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "EventSubscriptionUpdateParameters": { + "description": "Properties of the Event Subscription update.", + "type": "object", + "properties": { + "destination": { + "$ref": "#/definitions/EventSubscriptionDestination", + "description": "Information about the destination where events have to be delivered for the event subscription." + }, + "filter": { + "$ref": "#/definitions/EventSubscriptionFilter", + "description": "Information about the filter for the event subscription." + }, + "labels": { + "description": "List of user defined labels.", + "type": "array", + "items": { + "type": "string" + } + }, + "expirationTimeUtc": { + "format": "date-time", + "description": "Information about the expiration time for the event subscription.", + "type": "string" + }, + "eventDeliverySchema": { + "description": "The event delivery schema for the event subscription.", + "enum": [ + "EventGridSchema", + "CustomInputSchema", + "CloudEventSchemaV1_0" + ], + "type": "string", + "x-ms-enum": { + "name": "EventDeliverySchema", + "modelAsString": true + } + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "The retry policy for events. This can be used to configure maximum number of delivery attempts and time to live for events." + }, + "deadLetterDestination": { + "$ref": "#/definitions/DeadLetterDestination", + "description": "The DeadLetter destination of the event subscription." + } + } + }, + "EventSubscriptionFullUrl": { + "description": "Full endpoint url of an event subscription", + "type": "object", + "properties": { + "endpointUrl": { + "description": "The URL that represents the endpoint of the destination of an event subscription.", + "type": "string" + } + } + }, + "EventSubscriptionsListResult": { + "description": "Result of the List EventSubscriptions operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of EventSubscriptions", + "type": "array", + "items": { + "$ref": "#/definitions/EventSubscription" + } + }, + "nextLink": { + "description": "A link for the next page of event subscriptions", + "type": "string" + } + } + }, + "OperationsListResult": { + "description": "Result of the List Operations operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of operations", + "type": "array", + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Represents an operation returned by the GetOperations request", + "type": "object", + "properties": { + "name": { + "description": "Name of the operation", + "type": "string" + }, + "display": { + "$ref": "#/definitions/OperationInfo", + "description": "Display name of the operation" + }, + "origin": { + "description": "Origin of the operation", + "type": "string" + }, + "properties": { + "description": "Properties of the operation", + "type": "object", + "x-ms-client-flatten": true + } + } + }, + "OperationInfo": { + "description": "Information about an operation", + "type": "object", + "properties": { + "provider": { + "description": "Name of the provider", + "type": "string" + }, + "resource": { + "description": "Name of the resource type", + "type": "string" + }, + "operation": { + "description": "Name of the operation", + "type": "string" + }, + "description": { + "description": "Description of the operation", + "type": "string" + } + } + }, + "PrivateEndpointConnectionListResult": { + "description": "Result of the list of all private endpoint connections operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of private endpoint connection resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "A link for the next page of private endpoint connection resources.", + "type": "string" + } + } + }, + "PrivateLinkResource": { + "description": "Information of the private link resource.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Properties of the private link resource.", + "x-ms-client-flatten": true + }, + "id": { + "description": "Fully qualified identifier of the resource.", + "type": "string" + }, + "name": { + "description": "Name of the resource.", + "type": "string" + }, + "type": { + "description": "Type of the resource.", + "type": "string" + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "requiredMembers": { + "type": "array", + "items": { + "type": "string" + } + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "PrivateLinkResourcesListResult": { + "description": "Result of the List private link resources operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of private link resources", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "A link for the next page of private link resources.", + "type": "string" + } + } + }, + "TopicProperties": { + "description": "Properties of the Topic", + "type": "object", + "properties": { + "privateEndpointConnections": { + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "readOnly": true + }, + "provisioningState": { + "description": "Provisioning state of the topic.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "TopicProvisioningState", + "modelAsString": true + } + }, + "endpoint": { + "description": "Endpoint for the topic.", + "type": "string", + "readOnly": true + }, + "inputSchema": { + "description": "This determines the format that Event Grid should expect for incoming events published to the topic.", + "enum": [ + "EventGridSchema", + "CustomEventSchema", + "CloudEventSchemaV1_0" + ], + "type": "string", + "x-ms-enum": { + "name": "InputSchema", + "modelAsString": true + }, + "default": "EventGridSchema" + }, + "inputSchemaMapping": { + "$ref": "#/definitions/InputSchemaMapping", + "description": "This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema." + }, + "metricResourceId": { + "description": "Metric resource id for the topic.", + "type": "string", + "readOnly": true + }, + "publicNetworkAccess": { + "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "default": "Enabled" + }, + "inboundIpRules": { + "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } + } + } + }, + "Topic": { + "description": "EventGrid Topic", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/TopicProperties", + "description": "Properties of the topic.", + "x-ms-client-flatten": true + }, + "systemData": { + "description": "The system metadata relating to Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "TopicUpdateParameters": { + "description": "Properties of the Topic update", + "type": "object", + "properties": { + "tags": { + "description": "Tags of the resource.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/TopicUpdateParameterProperties", + "description": "Properties of the resource.", + "x-ms-client-flatten": true + } + } + }, + "TopicUpdateParameterProperties": { + "description": "Information of topic update parameter properties.", + "type": "object", + "properties": { + "publicNetworkAccess": { + "description": "This determines if traffic is allowed over public network. By default it is enabled. \r\nYou can further restrict to specific IPs by configuring ", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + }, + "default": "Enabled" + }, + "inboundIpRules": { + "description": "This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.", + "type": "array", + "items": { + "$ref": "#/definitions/InboundIpRule" + } + } + } + }, + "TopicsListResult": { + "description": "Result of the List Topics operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of Topics", + "type": "array", + "items": { + "$ref": "#/definitions/Topic" + } + }, + "nextLink": { + "description": "A link for the next page of topics", + "type": "string" + } + } + }, + "TopicSharedAccessKeys": { + "description": "Shared access keys of the Topic", + "type": "object", + "properties": { + "key1": { + "description": "Shared access key1 for the topic.", + "type": "string" + }, + "key2": { + "description": "Shared access key2 for the topic.", + "type": "string" + } + } + }, + "TopicRegenerateKeyRequest": { + "description": "Topic regenerate share access key request", + "required": [ + "keyName" + ], + "type": "object", + "properties": { + "keyName": { + "description": "Key name to regenerate key1 or key2", + "type": "string" + } + } + }, + "EventTypesListResult": { + "description": "Result of the List Event Types operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of event types", + "type": "array", + "items": { + "$ref": "#/definitions/EventType" + } + } + } + }, + "EventTypeProperties": { + "description": "Properties of the event type", + "type": "object", + "properties": { + "displayName": { + "description": "Display name of the event type.", + "type": "string" + }, + "description": { + "description": "Description of the event type.", + "type": "string" + }, + "schemaUrl": { + "description": "Url of the schema for this event type.", + "type": "string" + }, + "isInDefaultSet": { + "description": "IsInDefaultSet flag of the event type.", + "type": "boolean" + } + } + }, + "EventType": { + "description": "Event Type for a subject under a topic", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/EventTypeProperties", + "description": "Properties of the event type.", + "x-ms-client-flatten": true + } + } + }, + "TopicTypesListResult": { + "description": "Result of the List Topic Types operation", + "type": "object", + "properties": { + "value": { + "description": "A collection of topic types", + "type": "array", + "items": { + "$ref": "#/definitions/TopicTypeInfo" + } + } + } + }, + "TopicTypeProperties": { + "description": "Properties of a topic type.", + "type": "object", + "properties": { + "provider": { + "description": "Namespace of the provider of the topic type.", + "type": "string" + }, + "displayName": { + "description": "Display Name for the topic type.", + "type": "string" + }, + "description": { + "description": "Description of the topic type.", + "type": "string" + }, + "resourceRegionType": { + "description": "Region type of the resource.", + "enum": [ + "RegionalResource", + "GlobalResource" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceRegionType", + "modelAsString": true + } + }, + "provisioningState": { + "description": "Provisioning state of the topic type", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "x-ms-enum": { + "name": "TopicTypeProvisioningState", + "modelAsString": true + } + }, + "supportedLocations": { + "description": "List of locations supported by this topic type.", + "type": "array", + "items": { + "type": "string" + } + }, + "sourceResourceFormat": { + "description": "Source resource format.", + "type": "string" + } + } + }, + "TopicTypeInfo": { + "description": "Properties of a topic type info.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/TopicTypeProperties", + "description": "Properties of the topic type info", + "x-ms-client-flatten": true + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Version of the API to be used with the client request.", + "required": true, + "type": "string" + }, + "FilterParameter": { + "name": "$filter", + "in": "query", + "description": "The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.", + "required": false, + "type": "string", + "x-ms-parameter-location": "method" + }, + "TopParameter": { + "name": "$top", + "in": "query", + "description": "The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.", + "required": false, + "type": "integer", + "format": "int32", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate.json new file mode 100644 index 000000000000..ede0597d632c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain1", + "domainTopicName": "exampledomaintopic1", + "api-version": "2020-04-01-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" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete.json new file mode 100644 index 000000000000..5be4e21b3bfe --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain1", + "domainTopicName": "exampledomaintopic1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get.json new file mode 100644 index 000000000000..71d3a4e79f5b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain2", + "domainTopicName": "topic1", + "api-version": "2020-04-01-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" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain.json new file mode 100644 index 000000000000..e2b8d873c8a1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain2", + "api-version": "2020-04-01-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" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate.json new file mode 100644 index 000000000000..75423f7c4dd3 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain1", + "api-version": "2020-04-01-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" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete.json new file mode 100644 index 000000000000..3712305de1f9 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get.json new file mode 100644 index 000000000000..958fd7e429fe --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain2", + "api-version": "2020-04-01-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" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup.json new file mode 100644 index 000000000000..a5615d47e6f4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "api-version": "2020-04-01-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" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription.json new file mode 100644 index 000000000000..065fd4370397 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-04-01-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" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys.json new file mode 100644 index 000000000000..01dbc4a20a7c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey.json new file mode 100644 index 000000000000..6df9219f7a49 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain2", + "api-version": "2020-04-01-preview", + "regenerateKeyRequest": { + "keyName": "key1" + } + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update.json new file mode 100644 index 000000000000..3e59834b75b9 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "exampledomain1", + "api-version": "2020-04-01-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" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json new file mode 100644 index 000000000000..10b5ef006c40 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview", + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "eventSubscriptionName": "examplesubscription1", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + }, + "endpointType": "EventHub" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "provisioningState": "Creating", + "labels": null, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json new file mode 100644 index 000000000000..85f8874c8544 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview", + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "eventSubscriptionName": "examplesubscription1", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "HybridConnection", + "properties": { + "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Relay/namespaces/ContosoNamespace/hybridConnections/HC1" + }, + "endpointType": "HybridConnection" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "provisioningState": "Creating", + "labels": null, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json new file mode 100644 index 000000000000..9a43e885730f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview", + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "eventSubscriptionName": "examplesubscription1", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "StorageQueue", + "properties": { + "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "queueName": "queue1" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "resourceId": "/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "queueName": "queue1" + }, + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "provisioningState": "Creating", + "labels": null, + "deadLetterDestination": { + "endpointType": "StorageBlob", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg", + "blobContainerName": "contosocontainer" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json new file mode 100644 index 000000000000..8ff82a8abfab --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview", + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "eventSubscriptionName": "examplesubscription1", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid?functionName=EventGridTrigger1&code=PASSWORDCODE" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://azurefunctionexample.azurewebsites.net/runtime/webhooks/EventGrid" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResource.json new file mode 100644 index 000000000000..c59f022421cf --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResource.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1", + "eventSubscriptionName": "examplesubscription10", + "api-version": "2020-04-01-preview", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10", + "name": "examplesubscription10", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json new file mode 100644 index 000000000000..04328d84faca --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForResourceGroup.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg", + "eventSubscriptionName": "examplesubscription2", + "api-version": "2020-04-01-preview", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForSubscription.json new file mode 100644 index 000000000000..21ec84b751b7 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdateForSubscription.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "eventSubscriptionName": "examplesubscription3", + "api-version": "2020-04-01-preview", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": false + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForCustomTopic.json new file mode 100644 index 000000000000..cb910cec146b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForCustomTopic.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {}, + "200": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResource.json new file mode 100644 index 000000000000..a36dd4a32c41 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResource.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1", + "eventSubscriptionName": "examplesubscription10", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {}, + "200": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResourceGroup.json new file mode 100644 index 000000000000..bbb6787b1c16 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForResourceGroup.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg", + "eventSubscriptionName": "examplesubscription2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {}, + "200": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForSubscription.json new file mode 100644 index 000000000000..c49193c06193 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_DeleteForSubscription.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "eventSubscriptionName": "examplesubscription3", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {}, + "200": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForCustomTopic.json new file mode 100644 index 000000000000..86bf95ba4550 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForCustomTopic.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResource.json new file mode 100644 index 000000000000..a7e3c1d00558 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResource.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + }, + "endpointType": "EventHub" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResourceGroup.json new file mode 100644 index 000000000000..0bd3f3bf5d49 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForResourceGroup.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg", + "eventSubscriptionName": "examplesubscription2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForSubscription.json new file mode 100644 index 000000000000..fc62fa15469d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetForSubscription.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "eventSubscriptionName": "examplesubscription3", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForCustomTopic.json new file mode 100644 index 000000000000..29de0d132965 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForCustomTopic.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResource.json new file mode 100644 index 000000000000..6946be90eca8 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResource.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResourceGroup.json new file mode 100644 index 000000000000..e5fe18fe955b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForResourceGroup.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg", + "eventSubscriptionName": "examplesubscription2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForSubscription.json new file mode 100644 index 000000000000..d93adff17991 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrlForSubscription.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "eventSubscriptionName": "examplesubscription3", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic.json new file mode 100644 index 000000000000..27c0593c0f98 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "domainName": "domain1", + "topicName": "topic1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource.json new file mode 100644 index 000000000000..3db6b0fd2706 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerNamespace": "Microsoft.EventGrid", + "resourceTypeName": "topics", + "resourceName": "exampletopic2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup.json new file mode 100644 index 000000000000..2dc73fcc99eb --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4", + "name": "examplesubscription4", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json new file mode 100644 index 000000000000..b736f9c55616 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicTypeName": "Microsoft.Resources.ResourceGroups", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription.json new file mode 100644 index 000000000000..d36d2cfc0344 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4", + "name": "examplesubscription4", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json new file mode 100644 index 000000000000..ccb726cbbdff --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "topicTypeName": "Microsoft.Resources.Subscriptions", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup.json new file mode 100644 index 000000000000..156d635fa0fc --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "location": "westus2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10", + "name": "examplesubscription10", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11", + "name": "examplesubscription11", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json new file mode 100644 index 000000000000..217df915989d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "location": "westus2", + "topicTypeName": "Microsoft.EventHub.namespaces", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10", + "name": "examplesubscription10", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11", + "name": "examplesubscription11", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription.json new file mode 100644 index 000000000000..704a5fb25abd --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "westus2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + }, + "endpointType": "EventHub" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10", + "name": "examplesubscription10", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11", + "name": "examplesubscription11", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json new file mode 100644 index 000000000000..15c67841ca99 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "westus2", + "topicTypeName": "Microsoft.EventHub.namespaces", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10", + "name": "examplesubscription10", + "type": "Microsoft.EventGrid/eventSubscriptions" + }, + { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": [ + "Finance", + "HR" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11", + "name": "examplesubscription11", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForCustomTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForCustomTopic.json new file mode 100644 index 000000000000..f90c2732c92c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForCustomTopic.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ] + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResource.json new file mode 100644 index 000000000000..bce346c335c4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResource.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2020-04-01-preview", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ] + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResourceGroup.json new file mode 100644 index 000000000000..59f8b6db5756 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForResourceGroup.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg", + "eventSubscriptionName": "examplesubscription2", + "api-version": "2020-04-01-preview", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "EventHub", + "properties": { + "resourceId": "/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.EventHub/namespaces/ContosoNamespace/eventhubs/EH1" + } + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ] + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForSubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForSubscription.json new file mode 100644 index 000000000000..673dc543afef --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_UpdateForSubscription.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "scope": "subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "eventSubscriptionName": "examplesubscription3", + "api-version": "2020-04-01-preview", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ] + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [], + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List.json new file mode 100644 index 000000000000..e0bc0bbee3dd --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.EventGrid/register/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventGrid Resource Provider", + "operation": "Registers the EventGrid Resource Provider", + "description": "Registers the eventSubscription for the EventGrid resource provider and enables the creation of Event Grid subscriptions." + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write EventSubscription", + "description": "Create or update a eventSubscription" + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read EventSubscription", + "description": "Read a eventSubscription" + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete EventSubscription", + "description": "Delete a eventSubscription" + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/topics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Write Topic", + "description": "Create or update a topic" + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/topics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Read Topic", + "description": "Read a topic" + }, + "origin": "UserAndSystem" + }, + { + "name": "Microsoft.EventGrid/topics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Delete Topic", + "description": "Delete a topic" + }, + "origin": "UserAndSystem" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete.json new file mode 100644 index 000000000000..0b9b52011235 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "privateEndpointConnectionName": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get.json new file mode 100644 index 000000000000..650d12fc40e1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "privateEndpointConnectionName": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Test", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource.json new file mode 100644 index 000000000000..c16c488defbc --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "Test", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update.json new file mode 100644 index 000000000000..05dbe5771842 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "privateEndpointConnectionName": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "api-version": "2020-04-01-preview", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approving connection", + "actionsRequired": "None" + } + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + }, + "201": { + "body": { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approving connection", + "actionsRequired": "None" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get.json new file mode 100644 index 000000000000..aaca5edd77a2 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "privateLinkResourceName": "topic", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "groupId": "topic", + "displayName": "Event Grid topic", + "requiredMembers": [ + "topic" + ], + "requiredZoneNames": [ + "privatelink.eventgrid.azure.net" + ] + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", + "name": "topic", + "type": "Microsoft.EventGrid/topics/privateLinkResources" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource.json new file mode 100644 index 000000000000..613d05b44e05 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "parentType": "topics", + "parentName": "exampletopic1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "groupId": "topic", + "displayName": "Event Grid topic", + "requiredMembers": [ + "topic" + ], + "requiredZoneNames": [ + "privatelink.eventgrid.azure.net" + ] + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", + "name": "topic", + "type": "Microsoft.EventGrid/topics/privateLinkResources" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get.json new file mode 100644 index 000000000000..8a5b5b95dc18 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "topicTypeName": "Microsoft.Storage.StorageAccounts", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "description": "Microsoft Storage service events.", + "displayName": "Storage Accounts", + "provider": "Microsoft.Storage", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", + "name": "Microsoft.Storage.StorageAccounts", + "type": "Microsoft.EventGrid/topicTypes" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List.json new file mode 100644 index 000000000000..06bb41c66f85 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Microsoft EventHubs service events.", + "displayName": "EventHubs Namespace", + "provider": "Microsoft.Eventhub", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", + "name": "Microsoft.Eventhub.Namespaces", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "description": "Microsoft Storage service events.", + "displayName": "Storage Accounts", + "provider": "Microsoft.Storage", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", + "name": "Microsoft.Storage.StorageAccounts", + "type": "Microsoft.EventGrid/topicTypes" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes.json new file mode 100644 index 000000000000..98e62df5aa9e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "topicTypeName": "Microsoft.Storage.StorageAccounts", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "Blob Created", + "description": "Raised when a blob is created.", + "schemaUrl": "tbd" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", + "name": "Microsoft.Storage.BlobCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "description": "Raised when a blob is deleted.", + "schemaUrl": "tbd", + "displayName": "Blob Deleted" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", + "name": "Microsoft.Storage.BlobDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate.json new file mode 100644 index 000000000000..5df2e89d6b4c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic1", + "api-version": "2020-04-01-preview", + "topicInfo": { + "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://exampletopic1.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/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete.json new file mode 100644 index 000000000000..8ad5954e6073 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic1", + "api-version": "2020-04-01-preview" + }, + "responses": { + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get.json new file mode 100644 index 000000000000..5a447d1cbf5a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "location": "westcentralus", + "name": "exampletopic2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup.json new file mode 100644 index 000000000000..26462c27abda --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + }, + { + "properties": { + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "location": "westcentralus", + "name": "exampletopic2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription.json new file mode 100644 index 000000000000..12aef1a81833 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + }, + { + "properties": { + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "location": "westcentralus", + "name": "exampletopic2", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes.json new file mode 100644 index 000000000000..5e5180b28c06 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "providerNamespace": "Microsoft.Storage", + "resourceTypeName": "storageAccounts", + "resourceName": "ExampleStorageAccount", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "description": "Raised when a blob is created.", + "schemaUrl": "tbd", + "displayName": "Blob Created" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", + "name": "Microsoft.Storage.BlobCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "description": "Raised when a blob is deleted.", + "schemaUrl": "tbd", + "displayName": "Blob Deleted" + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", + "name": "Microsoft.Storage.BlobDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys.json new file mode 100644 index 000000000000..c4b3a879be3e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic2", + "api-version": "2020-04-01-preview" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey.json new file mode 100644 index 000000000000..528353fc908a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic2", + "api-version": "2020-04-01-preview", + "regenerateKeyRequest": { + "keyName": "key1" + } + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update.json new file mode 100644 index 000000000000..71edda7cf0a7 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "topicName": "exampletopic1", + "api-version": "2020-04-01-preview", + "topicUpdateParameters": { + "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://exampletopic1.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/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "type": "Microsoft.EventGrid/topics" + } + } + } +} From 69d4c1447c5e82c11455719f931118437d593592 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Thu, 7 Oct 2021 15:00:30 -0700 Subject: [PATCH 02/10] Add all the changes for new public SDK release --- .../stable/2021-12-01/EventGrid.json | 2691 +++++++++++++---- ...nTopics_CreateOrUpdate_MaximumSet_Gen.json | 32 + ...nTopics_CreateOrUpdate_MinimumSet_Gen.json | 17 + .../DomainTopics_Delete_MaximumSet_Gen.json | 18 + .../DomainTopics_Delete_MinimumSet_Gen.json | 18 + .../DomainTopics_Get_MaximumSet_Gen.json | 29 + .../DomainTopics_Get_MinimumSet_Gen.json | 14 + ...ainTopics_ListByDomain_MaximumSet_Gen.json | 51 + ...ainTopics_ListByDomain_MinimumSet_Gen.json | 13 + ...Domains_CreateOrUpdate_MaximumSet_Gen.json | 166 + ...Domains_CreateOrUpdate_MinimumSet_Gen.json | 21 + .../Domains_Delete_MaximumSet_Gen.json | 17 + .../Domains_Delete_MinimumSet_Gen.json | 17 + .../examples/Domains_Get_MaximumSet_Gen.json | 105 + .../examples/Domains_Get_MinimumSet_Gen.json | 15 + ...ns_ListByResourceGroup_MaximumSet_Gen.json | 196 ++ ...ns_ListByResourceGroup_MinimumSet_Gen.json | 12 + ...ins_ListBySubscription_MaximumSet_Gen.json | 195 ++ ...ins_ListBySubscription_MinimumSet_Gen.json | 11 + ...s_ListSharedAccessKeys_MaximumSet_Gen.json | 16 + ...s_ListSharedAccessKeys_MinimumSet_Gen.json | 13 + .../Domains_RegenerateKey_MaximumSet_Gen.json | 19 + .../Domains_RegenerateKey_MinimumSet_Gen.json | 16 + .../Domains_Update_MaximumSet_Gen.json | 139 + .../Domains_Update_MinimumSet_Gen.json | 20 + ...iptions_CreateOrUpdate_MaximumSet_Gen.json | 111 + ...iptions_CreateOrUpdate_MinimumSet_Gen.json | 16 + ...ntSubscriptions_Delete_MaximumSet_Gen.json | 16 + ...ntSubscriptions_Delete_MinimumSet_Gen.json | 16 + ..._GetDeliveryAttributes_MaximumSet_Gen.json | 27 + ..._GetDeliveryAttributes_MinimumSet_Gen.json | 12 + ...bscriptions_GetFullUrl_MaximumSet_Gen.json | 14 + ...bscriptions_GetFullUrl_MinimumSet_Gen.json | 12 + ...EventSubscriptions_Get_MaximumSet_Gen.json | 66 + ...EventSubscriptions_Get_MinimumSet_Gen.json | 12 + ...ions_ListByDomainTopic_MaximumSet_Gen.json | 128 + ...ions_ListByDomainTopic_MinimumSet_Gen.json | 14 + ...iptions_ListByResource_MaximumSet_Gen.json | 129 + ...iptions_ListByResource_MinimumSet_Gen.json | 15 + ...ourceGroupForTopicType_MaximumSet_Gen.json | 127 + ...ourceGroupForTopicType_MinimumSet_Gen.json | 13 + ...tGlobalByResourceGroup_MaximumSet_Gen.json | 126 + ...tGlobalByResourceGroup_MinimumSet_Gen.json | 12 + ...bscriptionForTopicType_MaximumSet_Gen.json | 126 + ...bscriptionForTopicType_MinimumSet_Gen.json | 12 + ...stGlobalBySubscription_MaximumSet_Gen.json | 125 + ...stGlobalBySubscription_MinimumSet_Gen.json | 11 + ...ourceGroupForTopicType_MaximumSet_Gen.json | 128 + ...ourceGroupForTopicType_MinimumSet_Gen.json | 14 + ...egionalByResourceGroup_MaximumSet_Gen.json | 127 + ...egionalByResourceGroup_MinimumSet_Gen.json | 13 + ...bscriptionForTopicType_MaximumSet_Gen.json | 127 + ...bscriptionForTopicType_MinimumSet_Gen.json | 13 + ...RegionalBySubscription_MaximumSet_Gen.json | 126 + ...RegionalBySubscription_MinimumSet_Gen.json | 12 + ...ntSubscriptions_Update_MaximumSet_Gen.json | 109 + ...ntSubscriptions_Update_MinimumSet_Gen.json | 16 + .../Operations_List_MaximumSet_Gen.json | 90 + .../Operations_List_MinimumSet_Gen.json | 10 + ...ointConnections_Delete_MaximumSet_Gen.json | 18 + ...ointConnections_Delete_MinimumSet_Gen.json | 18 + ...ndpointConnections_Get_MaximumSet_Gen.json | 33 + ...ndpointConnections_Get_MinimumSet_Gen.json | 15 + ...ections_ListByResource_MaximumSet_Gen.json | 39 + ...ections_ListByResource_MinimumSet_Gen.json | 14 + ...ointConnections_Update_MaximumSet_Gen.json | 73 + ...ointConnections_Update_MinimumSet_Gen.json | 22 + ...ivateLinkResources_Get_MaximumSet_Gen.json | 29 + ...ivateLinkResources_Get_MinimumSet_Gen.json | 15 + ...sources_ListByResource_MaximumSet_Gen.json | 35 + ...sources_ListByResource_MinimumSet_Gen.json | 14 + ...opicEventSubscriptions_CreateOrUpdate.json | 54 + ...iptions_CreateOrUpdate_MaximumSet_Gen.json | 113 + ...iptions_CreateOrUpdate_MinimumSet_Gen.json | 18 + .../SystemTopicEventSubscriptions_Delete.json | 14 + ...ntSubscriptions_Delete_MaximumSet_Gen.json | 18 + ...ntSubscriptions_Delete_MinimumSet_Gen.json | 18 + .../SystemTopicEventSubscriptions_Get.json | 47 + ...ntSubscriptions_GetDeliveryAttributes.json | 40 + ..._GetDeliveryAttributes_MaximumSet_Gen.json | 29 + ..._GetDeliveryAttributes_MinimumSet_Gen.json | 14 + ...temTopicEventSubscriptions_GetFullUrl.json | 16 + ...bscriptions_GetFullUrl_MaximumSet_Gen.json | 16 + ...bscriptions_GetFullUrl_MinimumSet_Gen.json | 14 + ...EventSubscriptions_Get_MaximumSet_Gen.json | 68 + ...EventSubscriptions_Get_MinimumSet_Gen.json | 14 + ...cEventSubscriptions_ListBySystemTopic.json | 76 + ...ions_ListBySystemTopic_MaximumSet_Gen.json | 127 + ...ions_ListBySystemTopic_MinimumSet_Gen.json | 13 + .../SystemTopicEventSubscriptions_Update.json | 59 + ...ntSubscriptions_Update_MaximumSet_Gen.json | 111 + ...ntSubscriptions_Update_MinimumSet_Gen.json | 18 + .../examples/SystemTopics_CreateOrUpdate.json | 51 + ...mTopics_CreateOrUpdate_MaximumSet_Gen.json | 106 + ...mTopics_CreateOrUpdate_MinimumSet_Gen.json | 26 + .../examples/SystemTopics_Delete.json | 13 + .../SystemTopics_Delete_MaximumSet_Gen.json | 17 + .../SystemTopics_Delete_MinimumSet_Gen.json | 17 + .../2021-12-01/examples/SystemTopics_Get.json | 25 + .../SystemTopics_Get_MaximumSet_Gen.json | 46 + .../SystemTopics_Get_MinimumSet_Gen.json | 15 + .../SystemTopics_ListByResourceGroup.json | 28 + ...cs_ListByResourceGroup_MaximumSet_Gen.json | 52 + ...cs_ListByResourceGroup_MinimumSet_Gen.json | 12 + .../SystemTopics_ListBySubscription.json | 27 + ...ics_ListBySubscription_MaximumSet_Gen.json | 51 + ...ics_ListBySubscription_MinimumSet_Gen.json | 11 + .../examples/SystemTopics_Update.json | 46 + .../SystemTopics_Update_MaximumSet_Gen.json | 99 + .../SystemTopics_Update_MinimumSet_Gen.json | 24 + .../TopicTypes_Get_MaximumSet_Gen.json | 29 + .../TopicTypes_Get_MinimumSet_Gen.json | 11 + ...icTypes_ListEventTypes_MaximumSet_Gen.json | 36 + ...icTypes_ListEventTypes_MinimumSet_Gen.json | 11 + .../TopicTypes_List_MaximumSet_Gen.json | 51 + .../TopicTypes_List_MinimumSet_Gen.json | 10 + .../Topics_CreateOrUpdate_MaximumSet_Gen.json | 140 + .../Topics_CreateOrUpdate_MinimumSet_Gen.json | 21 + .../Topics_Delete_MaximumSet_Gen.json | 16 + .../Topics_Delete_MinimumSet_Gen.json | 16 + .../examples/Topics_Get_MaximumSet_Gen.json | 92 + .../examples/Topics_Get_MinimumSet_Gen.json | 15 + ...cs_ListByResourceGroup_MaximumSet_Gen.json | 170 ++ ...cs_ListByResourceGroup_MinimumSet_Gen.json | 12 + ...ics_ListBySubscription_MaximumSet_Gen.json | 169 ++ ...ics_ListBySubscription_MinimumSet_Gen.json | 11 + .../Topics_ListEventTypes_MaximumSet_Gen.json | 40 + .../Topics_ListEventTypes_MinimumSet_Gen.json | 15 + ...s_ListSharedAccessKeys_MaximumSet_Gen.json | 16 + ...s_ListSharedAccessKeys_MinimumSet_Gen.json | 13 + .../Topics_RegenerateKey_MaximumSet_Gen.json | 19 + .../Topics_RegenerateKey_MinimumSet_Gen.json | 16 + .../Topics_Update_MaximumSet_Gen.json | 113 + .../Topics_Update_MinimumSet_Gen.json | 20 + .../eventgrid/resource-manager/readme.md | 8 + 135 files changed, 8167 insertions(+), 577 deletions(-) create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json create mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json index 360ed782dbd8..72ad660ac32a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2020-06-01", + "version": "2020-12-01", "title": "EventGridManagementClient", "description": "Azure EventGrid Management Client" }, @@ -64,6 +64,12 @@ "x-ms-examples": { "Domains_Get": { "$ref": "./examples/Domains_Get.json" + }, + "Domains_Get_MaximumSet_Gen": { + "$ref": "./examples/Domains_Get_MaximumSet_Gen.json" + }, + "Domains_Get_MinimumSet_Gen": { + "$ref": "./examples/Domains_Get_MinimumSet_Gen.json" } } }, @@ -125,6 +131,12 @@ "x-ms-examples": { "Domains_CreateOrUpdate": { "$ref": "./examples/Domains_CreateOrUpdate.json" + }, + "Domains_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Domains_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Domains_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Domains_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -179,6 +191,12 @@ "x-ms-examples": { "Domains_Delete": { "$ref": "./examples/Domains_Delete.json" + }, + "Domains_Delete_MaximumSet_Gen": { + "$ref": "./examples/Domains_Delete_MaximumSet_Gen.json" + }, + "Domains_Delete_MinimumSet_Gen": { + "$ref": "./examples/Domains_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -244,6 +262,12 @@ "x-ms-examples": { "Domains_Update": { "$ref": "./examples/Domains_Update.json" + }, + "Domains_Update_MaximumSet_Gen": { + "$ref": "./examples/Domains_Update_MaximumSet_Gen.json" + }, + "Domains_Update_MinimumSet_Gen": { + "$ref": "./examples/Domains_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -289,6 +313,12 @@ "x-ms-examples": { "Domains_ListBySubscription": { "$ref": "./examples/Domains_ListBySubscription.json" + }, + "Domains_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Domains_ListBySubscription_MaximumSet_Gen.json" + }, + "Domains_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/Domains_ListBySubscription_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -343,6 +373,12 @@ "x-ms-examples": { "Domains_ListByResourceGroup": { "$ref": "./examples/Domains_ListByResourceGroup.json" + }, + "Domains_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Domains_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Domains_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Domains_ListByResourceGroup_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -398,6 +434,12 @@ "x-ms-examples": { "Domains_ListSharedAccessKeys": { "$ref": "./examples/Domains_ListSharedAccessKeys.json" + }, + "Domains_ListSharedAccessKeys_MaximumSet_Gen": { + "$ref": "./examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json" + }, + "Domains_ListSharedAccessKeys_MinimumSet_Gen": { + "$ref": "./examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json" } } } @@ -461,6 +503,12 @@ "x-ms-examples": { "Domains_RegenerateKey": { "$ref": "./examples/Domains_RegenerateKey.json" + }, + "Domains_RegenerateKey_MaximumSet_Gen": { + "$ref": "./examples/Domains_RegenerateKey_MaximumSet_Gen.json" + }, + "Domains_RegenerateKey_MinimumSet_Gen": { + "$ref": "./examples/Domains_RegenerateKey_MinimumSet_Gen.json" } } } @@ -520,6 +568,12 @@ "x-ms-examples": { "DomainTopics_Get": { "$ref": "./examples/DomainTopics_Get.json" + }, + "DomainTopics_Get_MaximumSet_Gen": { + "$ref": "./examples/DomainTopics_Get_MaximumSet_Gen.json" + }, + "DomainTopics_Get_MinimumSet_Gen": { + "$ref": "./examples/DomainTopics_Get_MinimumSet_Gen.json" } } }, @@ -577,6 +631,12 @@ "x-ms-examples": { "DomainTopics_CreateOrUpdate": { "$ref": "./examples/DomainTopics_CreateOrUpdate.json" + }, + "DomainTopics_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json" + }, + "DomainTopics_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -638,6 +698,12 @@ "x-ms-examples": { "DomainTopics_Delete": { "$ref": "./examples/DomainTopics_Delete.json" + }, + "DomainTopics_Delete_MaximumSet_Gen": { + "$ref": "./examples/DomainTopics_Delete_MaximumSet_Gen.json" + }, + "DomainTopics_Delete_MinimumSet_Gen": { + "$ref": "./examples/DomainTopics_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -697,6 +763,12 @@ "x-ms-examples": { "DomainTopics_ListByDomain": { "$ref": "./examples/DomainTopics_ListByDomain.json" + }, + "DomainTopics_ListByDomain_MaximumSet_Gen": { + "$ref": "./examples/DomainTopics_ListByDomain_MaximumSet_Gen.json" + }, + "DomainTopics_ListByDomain_MinimumSet_Gen": { + "$ref": "./examples/DomainTopics_ListByDomain_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -759,6 +831,12 @@ }, "EventSubscriptions_GetForCustomTopic": { "$ref": "./examples/EventSubscriptions_GetForCustomTopic.json" + }, + "EventSubscriptions_Get_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Get_MaximumSet_Gen.json" + }, + "EventSubscriptions_Get_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Get_MinimumSet_Gen.json" } } }, @@ -836,6 +914,12 @@ }, "EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination": { "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json" + }, + "EventSubscriptions_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json" + }, + "EventSubscriptions_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -897,6 +981,12 @@ }, "EventSubscriptions_DeleteForCustomTopic": { "$ref": "./examples/EventSubscriptions_DeleteForCustomTopic.json" + }, + "EventSubscriptions_Delete_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Delete_MaximumSet_Gen.json" + }, + "EventSubscriptions_Delete_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -966,36 +1056,51 @@ }, "EventSubscriptions_UpdateForCustomTopic": { "$ref": "./examples/EventSubscriptions_UpdateForCustomTopic.json" + }, + "EventSubscriptions_Update_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Update_MaximumSet_Gen.json" + }, + "EventSubscriptions_Update_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true } }, - "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}": { + "get": { "tags": [ "EventSubscriptions" ], - "summary": "Get full URL of an event subscription.", - "description": "Get the full endpoint URL for an event subscription.", - "operationId": "EventSubscriptions_GetFullUrl", + "summary": "Get an event subscription of a system topic.", + "description": "Get an event subscription.", + "operationId": "SystemTopicEventSubscriptions_Get", "consumes": [], "produces": [ "application/json" ], "parameters": [ { - "name": "scope", + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", "in": "path", - "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "description": "The name of the resource group within the user's subscription.", "required": true, - "type": "string", - "x-ms-skip-url-encoding": true + "type": "string" + }, + { + "name": "systemTopicName", + "in": "path", + "description": "Name of the system topic.", + "required": true, + "type": "string" }, { "name": "eventSubscriptionName", "in": "path", - "description": "Name of the event subscription.", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", "required": true, "type": "string" }, @@ -1007,7 +1112,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/EventSubscriptionFullUrl" + "$ref": "#/definitions/EventSubscription" } }, "default": { @@ -1015,30 +1120,27 @@ } }, "x-ms-examples": { - "EventSubscriptions_GetFullUrlForSubscription": { - "$ref": "./examples/EventSubscriptions_GetFullUrlForSubscription.json" - }, - "EventSubscriptions_GetFullUrlForResourceGroup": { - "$ref": "./examples/EventSubscriptions_GetFullUrlForResourceGroup.json" + "SystemTopicEventSubscriptions_Get": { + "$ref": "./examples/SystemTopicEventSubscriptions_Get.json" }, - "EventSubscriptions_GetFullUrlForResource": { - "$ref": "./examples/EventSubscriptions_GetFullUrlForResource.json" + "SystemTopicEventSubscriptions_Get_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json" }, - "EventSubscriptions_GetFullUrlForCustomTopic": { - "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json" + "SystemTopicEventSubscriptions_Get_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json" } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions": { - "get": { + }, + "put": { "tags": [ "EventSubscriptions" ], - "summary": "Get an aggregated list of all global event subscriptions under an Azure subscription.", - "description": "List all aggregated global event subscriptions under a specific Azure subscription.", - "operationId": "EventSubscriptions_ListGlobalBySubscription", - "consumes": [], + "summary": "Create or update an event subscription for a system topic.", + "description": "Asynchronously creates or updates an event subscription with the specified parameters. Existing event subscriptions will be updated with this API.", + "operationId": "SystemTopicEventSubscriptions_CreateOrUpdate", + "consumes": [ + "application/json" + ], "produces": [ "application/json" ], @@ -1047,44 +1149,70 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/FilterParameter" + "name": "systemTopicName", + "in": "path", + "description": "Name of the system topic.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/TopParameter" + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", + "required": true, + "type": "string" + }, + { + "name": "eventSubscriptionInfo", + "in": "body", + "description": "Event subscription properties containing the destination and filter information.", + "required": true, + "schema": { + "$ref": "#/definitions/EventSubscription" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/EventSubscriptionsListResult" + "$ref": "#/definitions/EventSubscription" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListGlobalBySubscription": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json" + "SystemTopicEventSubscriptions_CreateOrUpdate": { + "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate.json" + }, + "SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json" } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { - "get": { + }, + "x-ms-long-running-operation": true + }, + "delete": { "tags": [ "EventSubscriptions" ], - "summary": "List all global event subscriptions for a topic type.", - "description": "List all global event subscriptions under an Azure subscription for a topic type.", - "operationId": "EventSubscriptions_ListGlobalBySubscriptionForTopicType", + "summary": "Delete an event subscription of a system topic.", + "description": "Delete an event subscription of a system topic.", + "operationId": "SystemTopicEventSubscriptions_Delete", "consumes": [], "produces": [ "application/json" @@ -1094,52 +1222,67 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "topicTypeName", + "name": "resourceGroupName", "in": "path", - "description": "Name of the topic type.", + "description": "The name of the resource group within the user's subscription.", "required": true, "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "systemTopicName", + "in": "path", + "description": "Name of the system topic.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/FilterParameter" + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/TopParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EventSubscriptionsListResult" - } + "description": "OK" + }, + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" }, "default": { - "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListGlobalBySubscriptionForTopicType": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json" + "SystemTopicEventSubscriptions_Delete": { + "$ref": "./examples/SystemTopicEventSubscriptions_Delete.json" + }, + "SystemTopicEventSubscriptions_Delete_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_Delete_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json" } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions": { - "get": { + }, + "x-ms-long-running-operation": true + }, + "patch": { "tags": [ "EventSubscriptions" ], - "summary": "List all global event subscriptions under an Azure subscription and resource group.", - "description": "List all global event subscriptions under a specific Azure subscription and resource group.", - "operationId": "EventSubscriptions_ListGlobalByResourceGroup", - "consumes": [], + "summary": "Update event subscription of a system topic.", + "description": "Update event subscription of a system topic.", + "operationId": "SystemTopicEventSubscriptions_Update", + "consumes": [ + "application/json" + ], "produces": [ "application/json" ], @@ -1155,44 +1298,65 @@ "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" + "name": "systemTopicName", + "in": "path", + "description": "Name of the system topic.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/FilterParameter" + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/TopParameter" + "name": "eventSubscriptionUpdateParameters", + "in": "body", + "description": "Updated event subscription information.", + "required": true, + "schema": { + "$ref": "#/definitions/EventSubscriptionUpdateParameters" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Created", "schema": { - "$ref": "#/definitions/EventSubscriptionsListResult" + "$ref": "#/definitions/EventSubscription" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListGlobalByResourceGroup": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json" + "SystemTopicEventSubscriptions_Update": { + "$ref": "./examples/SystemTopicEventSubscriptions_Update.json" + }, + "SystemTopicEventSubscriptions_Update_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_Update_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json" } - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getFullUrl": { + "post": { "tags": [ "EventSubscriptions" ], - "summary": "List all global event subscriptions under a resource group for a topic type.", - "description": "List all global event subscriptions under a resource group for a specific topic type.", - "operationId": "EventSubscriptions_ListGlobalByResourceGroupForTopicType", + "summary": "Get full URL of an event subscription of a system topic", + "description": "Get the full endpoint URL for an event subscription of a system topic.", + "operationId": "SystemTopicEventSubscriptions_GetFullUrl", "consumes": [], "produces": [ "application/json" @@ -1209,105 +1373,120 @@ "type": "string" }, { - "name": "topicTypeName", + "name": "systemTopicName", "in": "path", - "description": "Name of the topic type.", + "description": "Name of the system topic.", "required": true, "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/TopParameter" + "$ref": "#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/EventSubscriptionsListResult" + "$ref": "#/definitions/EventSubscriptionFullUrl" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListGlobalByResourceGroupForTopicType": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json" + "SystemTopicEventSubscriptions_GetFullUrl": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl.json" + }, + "SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { - "get": { + "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl": { + "post": { "tags": [ "EventSubscriptions" ], - "summary": "List all regional event subscriptions under an Azure subscription.", - "description": "List all event subscriptions from the given location under a specific Azure subscription.", - "operationId": "EventSubscriptions_ListRegionalBySubscription", + "summary": "Get full URL of an event subscription.", + "description": "Get the full endpoint URL for an event subscription.", + "operationId": "EventSubscriptions_GetFullUrl", "consumes": [], "produces": [ "application/json" ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" - }, + "name": "scope", + "in": "path", + "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true + }, { - "name": "location", + "name": "eventSubscriptionName", "in": "path", - "description": "Name of the location.", + "description": "Name of the event subscription.", "required": true, "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/EventSubscriptionsListResult" + "$ref": "#/definitions/EventSubscriptionFullUrl" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListRegionalBySubscription": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json" + "EventSubscriptions_GetFullUrlForSubscription": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForSubscription.json" + }, + "EventSubscriptions_GetFullUrlForResourceGroup": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForResourceGroup.json" + }, + "EventSubscriptions_GetFullUrlForResource": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForResource.json" + }, + "EventSubscriptions_GetFullUrlForCustomTopic": { + "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json" + }, + "EventSubscriptions_GetFullUrl_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json" + }, + "EventSubscriptions_GetFullUrl_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions": { "get": { "tags": [ "EventSubscriptions" ], - "summary": "List all regional event subscriptions under an Azure subscription and resource group.", - "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group.", - "operationId": "EventSubscriptions_ListRegionalByResourceGroup", + "summary": "List event subscriptions of a system topic.", + "description": "List event subscriptions that belong to a specific system topic.", + "operationId": "SystemTopicEventSubscriptions_ListBySystemTopic", "consumes": [], "produces": [ "application/json" @@ -1324,9 +1503,9 @@ "type": "string" }, { - "name": "location", + "name": "systemTopicName", "in": "path", - "description": "Name of the location.", + "description": "Name of the system topic.", "required": true, "type": "string" }, @@ -1351,24 +1530,30 @@ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "EventSubscriptions_ListRegionalByResourceGroup": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json" + "SystemTopicEventSubscriptions_ListBySystemTopic": { + "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic.json" + }, + "SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions": { "get": { "tags": [ "EventSubscriptions" ], - "summary": "List all regional event subscriptions under an Azure subscription for a topic type.", - "description": "List all event subscriptions from the given location under a specific Azure subscription and topic type.", - "operationId": "EventSubscriptions_ListRegionalBySubscriptionForTopicType", + "summary": "Get an aggregated list of all global event subscriptions under an Azure subscription.", + "description": "List all aggregated global event subscriptions under a specific Azure subscription.", + "operationId": "EventSubscriptions_ListGlobalBySubscription", "consumes": [], "produces": [ "application/json" @@ -1377,20 +1562,6 @@ { "$ref": "#/parameters/SubscriptionIdParameter" }, - { - "name": "location", - "in": "path", - "description": "Name of the location.", - "required": true, - "type": "string" - }, - { - "name": "topicTypeName", - "in": "path", - "description": "Name of the topic type.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -1416,20 +1587,26 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "EventSubscriptions_ListRegionalBySubscriptionForTopicType": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json" + "EventSubscriptions_ListGlobalBySubscription": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json" + }, + "EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { "get": { "tags": [ "EventSubscriptions" ], - "summary": "List all regional event subscriptions under an Azure subscription and resource group for a topic type.", - "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.", - "operationId": "EventSubscriptions_ListRegionalByResourceGroupForTopicType", + "summary": "List all global event subscriptions for a topic type.", + "description": "List all global event subscriptions under an Azure subscription for a topic type.", + "operationId": "EventSubscriptions_ListGlobalBySubscriptionForTopicType", "consumes": [], "produces": [ "application/json" @@ -1438,20 +1615,6 @@ { "$ref": "#/parameters/SubscriptionIdParameter" }, - { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group within the user's subscription.", - "required": true, - "type": "string" - }, - { - "name": "location", - "in": "path", - "description": "Name of the location.", - "required": true, - "type": "string" - }, { "name": "topicTypeName", "in": "path", @@ -1484,20 +1647,26 @@ "nextLinkName": "nextLink" }, "x-ms-examples": { - "EventSubscriptions_ListRegionalByResourceGroupForTopicType": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json" + "EventSubscriptions_ListGlobalBySubscriptionForTopicType": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json" + }, + "EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions": { "get": { "tags": [ "EventSubscriptions" ], - "summary": "List all event subscriptions for a specific topic.", - "description": "List all event subscriptions that have been created for a specific topic.", - "operationId": "EventSubscriptions_ListByResource", + "summary": "List all global event subscriptions under an Azure subscription and resource group.", + "description": "List all global event subscriptions under a specific Azure subscription and resource group.", + "operationId": "EventSubscriptions_ListGlobalByResourceGroup", "consumes": [], "produces": [ "application/json" @@ -1513,27 +1682,6 @@ "required": true, "type": "string" }, - { - "name": "providerNamespace", - "in": "path", - "description": "Namespace of the provider of the topic.", - "required": true, - "type": "string" - }, - { - "name": "resourceTypeName", - "in": "path", - "description": "Name of the resource type.", - "required": true, - "type": "string" - }, - { - "name": "resourceName", - "in": "path", - "description": "Name of the resource.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -1555,24 +1703,30 @@ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-examples": { - "EventSubscriptions_ListByResource": { - "$ref": "./examples/EventSubscriptions_ListByResource.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalByResourceGroup": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json" + }, + "EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json" + } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions": { "get": { "tags": [ "EventSubscriptions" ], - "summary": "List all event subscriptions for a specific domain topic.", - "description": "List all event subscriptions that have been created for a specific domain topic.", - "operationId": "EventSubscriptions_ListByDomainTopic", + "summary": "List all global event subscriptions under a resource group for a topic type.", + "description": "List all global event subscriptions under a resource group for a specific topic type.", + "operationId": "EventSubscriptions_ListGlobalByResourceGroupForTopicType", "consumes": [], "produces": [ "application/json" @@ -1589,16 +1743,9 @@ "type": "string" }, { - "name": "domainName", - "in": "path", - "description": "Name of the top level domain.", - "required": true, - "type": "string" - }, - { - "name": "topicName", + "name": "topicTypeName", "in": "path", - "description": "Name of the domain topic.", + "description": "Name of the topic type.", "required": true, "type": "string" }, @@ -1623,38 +1770,60 @@ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-examples": { - "EventSubscriptions_ListByDomainTopic": { - "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json" - } - }, "x-ms-pageable": { "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "EventSubscriptions_ListGlobalByResourceGroupForTopicType": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json" + }, + "EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json" + } } } }, - "/providers/Microsoft.EventGrid/operations": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { "get": { "tags": [ - "Operations" + "EventSubscriptions" ], - "summary": "List available operations.", - "description": "List the available operations supported by the Microsoft.EventGrid resource provider.", - "operationId": "Operations_List", + "summary": "List all regional event subscriptions under an Azure subscription.", + "description": "List all event subscriptions from the given location under a specific Azure subscription.", + "operationId": "EventSubscriptions_ListRegionalBySubscription", "consumes": [], "produces": [ "application/json" ], "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "Name of the location.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/OperationsListResult" + "$ref": "#/definitions/EventSubscriptionsListResult" } }, "default": { @@ -1662,23 +1831,29 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" }, "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" + "EventSubscriptions_ListRegionalBySubscription": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json" + }, + "EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions": { "get": { "tags": [ - "Topics" + "EventSubscriptions" ], - "summary": "Get a topic.", - "description": "Get properties of a topic.", - "operationId": "Topics_Get", + "summary": "List all regional event subscriptions under an Azure subscription and resource group.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group.", + "operationId": "EventSubscriptions_ListRegionalByResourceGroup", "consumes": [], "produces": [ "application/json" @@ -1695,43 +1870,58 @@ "type": "string" }, { - "name": "topicName", + "name": "location", "in": "path", - "description": "Name of the topic.", + "description": "Name of the location.", "required": true, "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Topic" + "$ref": "#/definitions/EventSubscriptionsListResult" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { - "Topics_Get": { - "$ref": "./examples/Topics_Get.json" + "EventSubscriptions_ListRegionalByResourceGroup": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json" + }, + "EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { "tags": [ - "Topics" - ], - "summary": "Create a topic.", - "description": "Asynchronously creates a new topic with the specified parameters.", - "operationId": "Topics_CreateOrUpdate", - "consumes": [ - "application/json" + "EventSubscriptions" ], + "summary": "List all regional event subscriptions under an Azure subscription for a topic type.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and topic type.", + "operationId": "EventSubscriptions_ListRegionalBySubscriptionForTopicType", + "consumes": [], "produces": [ "application/json" ], @@ -1740,57 +1930,64 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "resourceGroupName", + "name": "location", "in": "path", - "description": "The name of the resource group within the user's subscription.", + "description": "Name of the location.", "required": true, "type": "string" }, { - "name": "topicName", + "name": "topicTypeName", "in": "path", - "description": "Name of the topic.", + "description": "Name of the topic type.", "required": true, "type": "string" }, { - "name": "topicInfo", - "in": "body", - "description": "Topic information.", - "required": true, - "schema": { - "$ref": "#/definitions/Topic" - } + "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { - "201": { - "description": "Created", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/Topic" + "$ref": "#/definitions/EventSubscriptionsListResult" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { - "Topics_CreateOrUpdate": { - "$ref": "./examples/Topics_CreateOrUpdate.json" + "EventSubscriptions_ListRegionalBySubscriptionForTopicType": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json" + }, + "EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json" } - }, - "x-ms-long-running-operation": true - }, - "delete": { + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions": { + "get": { "tags": [ - "Topics" + "EventSubscriptions" ], - "summary": "Delete a topic.", - "description": "Delete existing topic.", - "operationId": "Topics_Delete", + "summary": "List all regional event subscriptions under an Azure subscription and resource group for a topic type.", + "description": "List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.", + "operationId": "EventSubscriptions_ListRegionalByResourceGroupForTopicType", "consumes": [], "produces": [ "application/json" @@ -1807,44 +2004,65 @@ "type": "string" }, { - "name": "topicName", + "name": "location", "in": "path", - "description": "Name of the topic.", + "description": "Name of the location.", + "required": true, + "type": "string" + }, + { + "name": "topicTypeName", + "in": "path", + "description": "Name of the topic type.", "required": true, "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { - "202": { - "description": "Accepted" - }, - "204": { - "description": "NoContent" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EventSubscriptionsListResult" + } }, "default": { - "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { - "Topics_Delete": { - "$ref": "./examples/Topics_Delete.json" + "EventSubscriptions_ListRegionalByResourceGroupForTopicType": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json" + }, + "EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json" } - }, - "x-ms-long-running-operation": true - }, - "patch": { + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions": { + "get": { "tags": [ - "Topics" - ], - "summary": "Update a topic.", - "description": "Asynchronously updates a topic with the specified parameters.", - "operationId": "Topics_Update", - "consumes": [ - "application/json" + "EventSubscriptions" ], + "summary": "List all event subscriptions for a specific topic.", + "description": "List all event subscriptions that have been created for a specific topic.", + "operationId": "EventSubscriptions_ListByResource", + "consumes": [], "produces": [ "application/json" ], @@ -1860,33 +2078,41 @@ "type": "string" }, { - "name": "topicName", + "name": "providerNamespace", "in": "path", - "description": "Name of the topic.", + "description": "Namespace of the provider of the topic.", "required": true, "type": "string" }, { - "name": "topicUpdateParameters", - "in": "body", - "description": "Topic update information.", + "name": "resourceTypeName", + "in": "path", + "description": "Name of the resource type.", "required": true, - "schema": { - "$ref": "#/definitions/TopicUpdateParameters" - } + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "Name of the resource.", + "required": true, + "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { - "description": "OK" - }, - "201": { - "description": "Topic update request accepted.", + "description": "OK", "schema": { - "$ref": "#/definitions/Topic" + "$ref": "#/definitions/EventSubscriptionsListResult" } }, "default": { @@ -1894,21 +2120,29 @@ } }, "x-ms-examples": { - "Topics_Update": { - "$ref": "./examples/Topics_Update.json" + "EventSubscriptions_ListByResource": { + "$ref": "./examples/EventSubscriptions_ListByResource.json" + }, + "EventSubscriptions_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListByResource_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json" } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions": { "get": { "tags": [ - "Topics" + "EventSubscriptions" ], - "summary": "List topics under an Azure subscription.", - "description": "List all the topics under an Azure subscription.", - "operationId": "Topics_ListBySubscription", + "summary": "List all event subscriptions for a specific domain topic.", + "description": "List all event subscriptions that have been created for a specific domain topic.", + "operationId": "EventSubscriptions_ListByDomainTopic", "consumes": [], "produces": [ "application/json" @@ -1917,6 +2151,27 @@ { "$ref": "#/parameters/SubscriptionIdParameter" }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "domainName", + "in": "path", + "description": "Name of the top level domain.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the domain topic.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/ApiVersionParameter" }, @@ -1931,85 +2186,90 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TopicsListResult" + "$ref": "#/definitions/EventSubscriptionsListResult" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Topics_ListBySubscription": { - "$ref": "./examples/Topics_ListBySubscription.json" + "EventSubscriptions_ListByDomainTopic": { + "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json" + }, + "EventSubscriptions_ListByDomainTopic_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json" + }, + "EventSubscriptions_ListByDomainTopic_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics": { - "get": { + "/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes": { + "post": { "tags": [ - "Topics" + "EventSubscriptions" ], - "summary": "List topics under a resource group.", - "description": "List all the topics under a resource group.", - "operationId": "Topics_ListByResourceGroup", + "summary": "Get delivery attributes for an event subscription.", + "description": "Get all delivery attributes for an event subscription.", + "operationId": "EventSubscriptions_GetDeliveryAttributes", "consumes": [], "produces": [ "application/json" ], "parameters": [ { - "$ref": "#/parameters/SubscriptionIdParameter" + "name": "scope", + "in": "path", + "description": "The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.", + "required": true, + "type": "string", + "x-ms-skip-url-encoding": true }, { - "name": "resourceGroupName", + "name": "eventSubscriptionName", "in": "path", - "description": "The name of the resource group within the user's subscription.", + "description": "Name of the event subscription.", "required": true, "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TopicsListResult" + "$ref": "#/definitions/DeliveryAttributeListResult" } }, "default": { "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { - "Topics_ListByResourceGroup": { - "$ref": "./examples/Topics_ListByResourceGroup.json" + "EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen": { + "$ref": "./examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json" + }, + "EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen": { + "$ref": "./examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes": { "post": { "tags": [ - "Topics" + "EventSubscriptions" ], - "summary": "List keys for a topic.", - "description": "List the two keys used to publish to a topic.", - "operationId": "Topics_ListSharedAccessKeys", + "summary": "Get delivery attributes for an event subscription.", + "description": "Get all delivery attributes for an event subscription.", + "operationId": "SystemTopicEventSubscriptions_GetDeliveryAttributes", "consumes": [], "produces": [ "application/json" @@ -2026,21 +2286,734 @@ "type": "string" }, { - "name": "topicName", + "name": "systemTopicName", "in": "path", - "description": "Name of the topic.", + "description": "Name of the system topic.", "required": true, "type": "string" }, { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { + "name": "eventSubscriptionName", + "in": "path", + "description": "Name of the event subscription to be created. Event subscription names must be between 3 and 100 characters in length and use alphanumeric letters only.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/DeliveryAttributeListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "SystemTopicEventSubscriptions_GetDeliveryAttributes": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json" + }, + "SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json" + }, + "SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen": { + "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json" + } + } + } + }, + "/providers/Microsoft.EventGrid/operations": { + "get": { + "tags": [ + "Operations" + ], + "summary": "List available operations.", + "description": "List the available operations supported by the Microsoft.EventGrid resource provider.", + "operationId": "Operations_List", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/OperationsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/Operations_List.json" + }, + "Operations_List_MaximumSet_Gen": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List_MinimumSet_Gen": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}": { + "get": { + "tags": [ + "Topics" + ], + "summary": "Get a topic.", + "description": "Get properties of a topic.", + "operationId": "Topics_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Get": { + "$ref": "./examples/Topics_Get.json" + }, + "Topics_Get_MaximumSet_Gen": { + "$ref": "./examples/Topics_Get_MaximumSet_Gen.json" + }, + "Topics_Get_MinimumSet_Gen": { + "$ref": "./examples/Topics_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "Topics" + ], + "summary": "Create a topic.", + "description": "Asynchronously creates a new topic with the specified parameters.", + "operationId": "Topics_CreateOrUpdate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "topicInfo", + "in": "body", + "description": "Topic information.", + "required": true, + "schema": { + "$ref": "#/definitions/Topic" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_CreateOrUpdate": { + "$ref": "./examples/Topics_CreateOrUpdate.json" + }, + "Topics_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/Topics_CreateOrUpdate_MaximumSet_Gen.json" + }, + "Topics_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/Topics_CreateOrUpdate_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "Topics" + ], + "summary": "Delete a topic.", + "description": "Delete existing topic.", + "operationId": "Topics_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Delete": { + "$ref": "./examples/Topics_Delete.json" + }, + "Topics_Delete_MaximumSet_Gen": { + "$ref": "./examples/Topics_Delete_MaximumSet_Gen.json" + }, + "Topics_Delete_MinimumSet_Gen": { + "$ref": "./examples/Topics_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "Topics" + ], + "summary": "Update a topic.", + "description": "Asynchronously updates a topic with the specified parameters.", + "operationId": "Topics_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "topicUpdateParameters", + "in": "body", + "description": "Topic update information.", + "required": true, + "schema": { + "$ref": "#/definitions/TopicUpdateParameters" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK" + }, + "201": { + "description": "Topic update request accepted.", + "schema": { + "$ref": "#/definitions/Topic" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_Update": { + "$ref": "./examples/Topics_Update.json" + }, + "Topics_Update_MaximumSet_Gen": { + "$ref": "./examples/Topics_Update_MaximumSet_Gen.json" + }, + "Topics_Update_MinimumSet_Gen": { + "$ref": "./examples/Topics_Update_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics": { + "get": { + "tags": [ + "Topics" + ], + "summary": "List topics under an Azure subscription.", + "description": "List all the topics under an Azure subscription.", + "operationId": "Topics_ListBySubscription", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Topics_ListBySubscription": { + "$ref": "./examples/Topics_ListBySubscription.json" + }, + "Topics_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/Topics_ListBySubscription_MaximumSet_Gen.json" + }, + "Topics_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/Topics_ListBySubscription_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics": { + "get": { + "tags": [ + "Topics" + ], + "summary": "List topics under a resource group.", + "description": "List all the topics under a resource group.", + "operationId": "Topics_ListByResourceGroup", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicsListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "Topics_ListByResourceGroup": { + "$ref": "./examples/Topics_ListByResourceGroup.json" + }, + "Topics_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/Topics_ListByResourceGroup_MaximumSet_Gen.json" + }, + "Topics_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/Topics_ListByResourceGroup_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys": { + "post": { + "tags": [ + "Topics" + ], + "summary": "List keys for a topic.", + "description": "List the two keys used to publish to a topic.", + "operationId": "Topics_ListSharedAccessKeys", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_ListSharedAccessKeys": { + "$ref": "./examples/Topics_ListSharedAccessKeys.json" + }, + "Topics_ListSharedAccessKeys_MaximumSet_Gen": { + "$ref": "./examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json" + }, + "Topics_ListSharedAccessKeys_MinimumSet_Gen": { + "$ref": "./examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey": { + "post": { + "tags": [ + "Topics" + ], + "summary": "Regenerate key for a topic.", + "description": "Regenerate a shared access key for a topic.", + "operationId": "Topics_RegenerateKey", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "topicName", + "in": "path", + "description": "Name of the topic.", + "required": true, + "type": "string" + }, + { + "name": "regenerateKeyRequest", + "in": "body", + "description": "Request body to regenerate key.", + "required": true, + "schema": { + "$ref": "#/definitions/TopicRegenerateKeyRequest" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TopicSharedAccessKeys" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "Topics_RegenerateKey": { + "$ref": "./examples/Topics_RegenerateKey.json" + }, + "Topics_RegenerateKey_MaximumSet_Gen": { + "$ref": "./examples/Topics_RegenerateKey_MaximumSet_Gen.json" + }, + "Topics_RegenerateKey_MinimumSet_Gen": { + "$ref": "./examples/Topics_RegenerateKey_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Get a specific private endpoint connection.", + "description": "Get a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Get": { + "$ref": "./examples/PrivateEndpointConnections_Get.json" + }, + "PrivateEndpointConnections_Get_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Get_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Update a specific private endpoint connection.", + "description": "Update a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Update", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The private endpoint connection object to update.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TopicSharedAccessKeys" + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" } }, "default": { @@ -2048,23 +3021,253 @@ } }, "x-ms-examples": { - "Topics_ListSharedAccessKeys": { - "$ref": "./examples/Topics_ListSharedAccessKeys.json" + "PrivateEndpointConnections_Update": { + "$ref": "./examples/PrivateEndpointConnections_Update.json" + }, + "PrivateEndpointConnections_Update_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Update_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Delete a specific private endpoint connection.", + "description": "Delete a specific private endpoint connection under a topic or domain.", + "operationId": "PrivateEndpointConnections_Delete", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "The name of the private endpoint connection connection.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Accepted" + }, + "204": { + "description": "NoContent" + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/PrivateEndpointConnections_Delete.json" + }, + "PrivateEndpointConnections_Delete_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_Delete_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "summary": "Lists all private endpoint connections under a resource.", + "description": "Get all private endpoint connections under a topic or domain.", + "operationId": "PrivateEndpointConnections_ListByResource", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string", + "enum": [ + "topics", + "domains" + ] + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_ListByResource": { + "$ref": "./examples/PrivateEndpointConnections_ListByResource.json" + }, + "PrivateEndpointConnections_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json" + }, + "PrivateEndpointConnections_ListByResource_MinimumSet_Gen": { + "$ref": "./examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "summary": "Get a private link resource.", + "description": "Get properties of a private link resource.", + "operationId": "PrivateLinkResources_Get", + "consumes": [], + "produces": [ + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group within the user's subscription.", + "required": true, + "type": "string" + }, + { + "name": "parentType", + "in": "path", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "required": true, + "type": "string" + }, + { + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "required": true, + "type": "string" + }, + { + "name": "privateLinkResourceName", + "in": "path", + "description": "The name of private link resource.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/PrivateLinkResources_Get.json" + }, + "PrivateLinkResources_Get_MaximumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_Get_MaximumSet_Gen.json" + }, + "PrivateLinkResources_Get_MinimumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_Get_MinimumSet_Gen.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources": { + "get": { "tags": [ - "Topics" - ], - "summary": "Regenerate key for a topic.", - "description": "Regenerate a shared access key for a topic.", - "operationId": "Topics_RegenerateKey", - "consumes": [ - "application/json" + "PrivateLinkResources" ], + "summary": "List private link resources under specific topic or domain.", + "description": "List all the private link resources under a topic or domain.", + "operationId": "PrivateLinkResources_ListByResource", + "consumes": [], "produces": [ "application/json" ], @@ -2080,30 +3283,34 @@ "type": "string" }, { - "name": "topicName", + "name": "parentType", "in": "path", - "description": "Name of the topic.", + "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", "required": true, "type": "string" }, { - "name": "regenerateKeyRequest", - "in": "body", - "description": "Request body to regenerate key.", + "name": "parentName", + "in": "path", + "description": "The name of the parent resource (namely, either, the topic name or domain name).", "required": true, - "schema": { - "$ref": "#/definitions/TopicRegenerateKeyRequest" - } + "type": "string" }, { "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/TopicSharedAccessKeys" + "$ref": "#/definitions/PrivateLinkResourcesListResult" } }, "default": { @@ -2111,21 +3318,29 @@ } }, "x-ms-examples": { - "Topics_RegenerateKey": { - "$ref": "./examples/Topics_RegenerateKey.json" + "PrivateLinkResources_ListByResource": { + "$ref": "./examples/PrivateLinkResources_ListByResource.json" + }, + "PrivateLinkResources_ListByResource_MaximumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json" + }, + "PrivateLinkResources_ListByResource_MinimumSet_Gen": { + "$ref": "./examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json" } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics/{systemTopicName}": { "get": { "tags": [ - "PrivateEndpointConnections" + "SystemTopics" ], - "summary": "Get a specific private endpoint connection.", - "description": "Get a specific private endpoint connection under a topic or domain.", - "operationId": "PrivateEndpointConnections_Get", + "summary": "Get a system topic.", + "description": "Get properties of a system topic.", + "operationId": "SystemTopics_Get", "consumes": [], "produces": [ "application/json" @@ -2142,27 +3357,9 @@ "type": "string" }, { - "name": "parentType", - "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", - "required": true, - "type": "string", - "enum": [ - "topics", - "domains" - ] - }, - { - "name": "parentName", - "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", + "name": "systemTopicName", "in": "path", - "description": "The name of the private endpoint connection connection.", + "description": "Name of the system topic.", "required": true, "type": "string" }, @@ -2174,7 +3371,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/SystemTopic" } }, "default": { @@ -2182,18 +3379,24 @@ } }, "x-ms-examples": { - "PrivateEndpointConnections_Get": { - "$ref": "./examples/PrivateEndpointConnections_Get.json" + "SystemTopics_Get": { + "$ref": "./examples/SystemTopics_Get.json" + }, + "SystemTopics_Get_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_Get_MaximumSet_Gen.json" + }, + "SystemTopics_Get_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_Get_MinimumSet_Gen.json" } } }, "put": { "tags": [ - "PrivateEndpointConnections" + "SystemTopics" ], - "summary": "Update a specific private endpoint connection.", - "description": "Update a specific private endpoint connection under a topic or domain.", - "operationId": "PrivateEndpointConnections_Update", + "summary": "Create a system topic.", + "description": "Asynchronously creates a new system topic with the specified parameters.", + "operationId": "SystemTopics_CreateOrUpdate", "consumes": [ "application/json" ], @@ -2212,37 +3415,19 @@ "type": "string" }, { - "name": "parentType", - "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", - "required": true, - "type": "string", - "enum": [ - "topics", - "domains" - ] - }, - { - "name": "parentName", - "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", + "name": "systemTopicName", "in": "path", - "description": "The name of the private endpoint connection connection.", + "description": "Name of the system topic.", "required": true, "type": "string" }, { - "name": "privateEndpointConnection", + "name": "systemTopicInfo", "in": "body", - "description": "The private endpoint connection object to update.", + "description": "System Topic information.", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/SystemTopic" } }, { @@ -2253,13 +3438,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/SystemTopic" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/SystemTopic" } }, "default": { @@ -2267,19 +3452,25 @@ } }, "x-ms-examples": { - "PrivateEndpointConnections_Update": { - "$ref": "./examples/PrivateEndpointConnections_Update.json" + "SystemTopics_CreateOrUpdate": { + "$ref": "./examples/SystemTopics_CreateOrUpdate.json" + }, + "SystemTopics_CreateOrUpdate_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json" + }, + "SystemTopics_CreateOrUpdate_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true }, "delete": { "tags": [ - "PrivateEndpointConnections" + "SystemTopics" ], - "summary": "Delete a specific private endpoint connection.", - "description": "Delete a specific private endpoint connection under a topic or domain.", - "operationId": "PrivateEndpointConnections_Delete", + "summary": "Delete a system topic.", + "description": "Delete existing system topic.", + "operationId": "SystemTopics_Delete", "consumes": [], "produces": [ "application/json" @@ -2296,27 +3487,9 @@ "type": "string" }, { - "name": "parentType", - "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", - "required": true, - "type": "string", - "enum": [ - "topics", - "domains" - ] - }, - { - "name": "parentName", - "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", - "required": true, - "type": "string" - }, - { - "name": "privateEndpointConnectionName", + "name": "systemTopicName", "in": "path", - "description": "The name of the private endpoint connection connection.", + "description": "Name of the system topic.", "required": true, "type": "string" }, @@ -2325,6 +3498,9 @@ } ], "responses": { + "200": { + "description": "OK" + }, "202": { "description": "Accepted" }, @@ -2336,22 +3512,28 @@ } }, "x-ms-examples": { - "PrivateEndpointConnections_Delete": { - "$ref": "./examples/PrivateEndpointConnections_Delete.json" + "SystemTopics_Delete": { + "$ref": "./examples/SystemTopics_Delete.json" + }, + "SystemTopics_Delete_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_Delete_MaximumSet_Gen.json" + }, + "SystemTopics_Delete_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateEndpointConnections": { - "get": { + }, + "patch": { "tags": [ - "PrivateEndpointConnections" + "SystemTopics" + ], + "summary": "Update a system topic.", + "description": "Asynchronously updates a system topic with the specified parameters.", + "operationId": "SystemTopics_Update", + "consumes": [ + "application/json" ], - "summary": "Lists all private endpoint connections under a resource.", - "description": "Get all private endpoint connections under a topic or domain.", - "operationId": "PrivateEndpointConnections_ListByResource", - "consumes": [], "produces": [ "application/json" ], @@ -2367,38 +3549,36 @@ "type": "string" }, { - "name": "parentType", + "name": "systemTopicName", "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", + "description": "Name of the system topic.", "required": true, - "type": "string", - "enum": [ - "topics", - "domains" - ] + "type": "string" }, { - "name": "parentName", - "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "name": "systemTopicUpdateParameters", + "in": "body", + "description": "SystemTopic update information.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SystemTopicUpdateParameters" + } }, { "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/FilterParameter" - }, - { - "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { - "description": "OK", + "description": "System Topic update request accepted.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResult" + "$ref": "#/definitions/SystemTopic" + } + }, + "201": { + "description": "System Topic update request accepted.", + "schema": { + "$ref": "#/definitions/SystemTopic" } }, "default": { @@ -2406,23 +3586,27 @@ } }, "x-ms-examples": { - "PrivateEndpointConnections_ListByResource": { - "$ref": "./examples/PrivateEndpointConnections_ListByResource.json" + "SystemTopics_Update": { + "$ref": "./examples/SystemTopics_Update.json" + }, + "SystemTopics_Update_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_Update_MaximumSet_Gen.json" + }, + "SystemTopics_Update_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_Update_MinimumSet_Gen.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources/{privateLinkResourceName}": { + "/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/systemTopics": { "get": { "tags": [ - "PrivateLinkResources" + "SystemTopics" ], - "summary": "Get a private link resource.", - "description": "Get properties of a private link resource.", - "operationId": "PrivateLinkResources_Get", + "summary": "List system topics under an Azure subscription.", + "description": "List all the system topics under an Azure subscription.", + "operationId": "SystemTopics_ListBySubscription", "consumes": [], "produces": [ "application/json" @@ -2432,42 +3616,20 @@ "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group within the user's subscription.", - "required": true, - "type": "string" - }, - { - "name": "parentType", - "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", - "required": true, - "type": "string" - }, - { - "name": "parentName", - "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", - "required": true, - "type": "string" + "$ref": "#/parameters/ApiVersionParameter" }, { - "name": "privateLinkResourceName", - "in": "path", - "description": "The name of private link resource.", - "required": true, - "type": "string" + "$ref": "#/parameters/FilterParameter" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "#/parameters/TopParameter" } ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "#/definitions/SystemTopicsListResult" } }, "default": { @@ -2475,46 +3637,41 @@ } }, "x-ms-examples": { - "PrivateLinkResources_Get": { - "$ref": "./examples/PrivateLinkResources_Get.json" + "SystemTopics_ListBySubscription": { + "$ref": "./examples/SystemTopics_ListBySubscription.json" + }, + "SystemTopics_ListBySubscription_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json" + }, + "SystemTopics_ListBySubscription_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/{parentType}/{parentName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics": { "get": { "tags": [ - "PrivateLinkResources" + "SystemTopics" ], - "summary": "List private link resources under specific topic or domain.", - "description": "List all the private link resources under a topic or domain.", - "operationId": "PrivateLinkResources_ListByResource", + "summary": "List system topics under a resource group.", + "description": "List all the system topics under a resource group.", + "operationId": "SystemTopics_ListByResourceGroup", "consumes": [], "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group within the user's subscription.", - "required": true, - "type": "string" - }, - { - "name": "parentType", - "in": "path", - "description": "The type of the parent resource. This can be either \\'topics\\' or \\'domains\\'.", - "required": true, - "type": "string" + "application/json" + ], + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" }, { - "name": "parentName", + "name": "resourceGroupName", "in": "path", - "description": "The name of the parent resource (namely, either, the topic name or domain name).", + "description": "The name of the resource group within the user's subscription.", "required": true, "type": "string" }, @@ -2532,7 +3689,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PrivateLinkResourcesListResult" + "$ref": "#/definitions/SystemTopicsListResult" } }, "default": { @@ -2540,8 +3697,14 @@ } }, "x-ms-examples": { - "PrivateLinkResources_ListByResource": { - "$ref": "./examples/PrivateLinkResources_ListByResource.json" + "SystemTopics_ListByResourceGroup": { + "$ref": "./examples/SystemTopics_ListByResourceGroup.json" + }, + "SystemTopics_ListByResourceGroup_MaximumSet_Gen": { + "$ref": "./examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json" + }, + "SystemTopics_ListByResourceGroup_MinimumSet_Gen": { + "$ref": "./examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -2611,6 +3774,12 @@ "x-ms-examples": { "Topics_ListEventTypes": { "$ref": "./examples/Topics_ListEventTypes.json" + }, + "Topics_ListEventTypes_MaximumSet_Gen": { + "$ref": "./examples/Topics_ListEventTypes_MaximumSet_Gen.json" + }, + "Topics_ListEventTypes_MinimumSet_Gen": { + "$ref": "./examples/Topics_ListEventTypes_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -2652,6 +3821,12 @@ "x-ms-examples": { "TopicTypes_List": { "$ref": "./examples/TopicTypes_List.json" + }, + "TopicTypes_List_MaximumSet_Gen": { + "$ref": "./examples/TopicTypes_List_MaximumSet_Gen.json" + }, + "TopicTypes_List_MinimumSet_Gen": { + "$ref": "./examples/TopicTypes_List_MinimumSet_Gen.json" } } } @@ -2694,6 +3869,12 @@ "x-ms-examples": { "TopicTypes_Get": { "$ref": "./examples/TopicTypes_Get.json" + }, + "TopicTypes_Get_MaximumSet_Gen": { + "$ref": "./examples/TopicTypes_Get_MaximumSet_Gen.json" + }, + "TopicTypes_Get_MinimumSet_Gen": { + "$ref": "./examples/TopicTypes_Get_MinimumSet_Gen.json" } } } @@ -2739,6 +3920,12 @@ "x-ms-examples": { "TopicTypes_ListEventTypes": { "$ref": "./examples/TopicTypes_ListEventTypes.json" + }, + "TopicTypes_ListEventTypes_MaximumSet_Gen": { + "$ref": "./examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json" + }, + "TopicTypes_ListEventTypes_MinimumSet_Gen": { + "$ref": "./examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json" } } } @@ -2746,7 +3933,7 @@ }, "definitions": { "DomainProperties": { - "description": "Properties of the Domain.", + "description": "Properties of the Event Grid Domain Resource.", "type": "object", "properties": { "privateEndpointConnections": { @@ -2758,7 +3945,7 @@ "readOnly": true }, "provisioningState": { - "description": "Provisioning state of the domain.", + "description": "Provisioning state of the Event Grid Domain Resource.", "enum": [ "Creating", "Updating", @@ -2775,12 +3962,12 @@ } }, "endpoint": { - "description": "Endpoint for the domain.", + "description": "Endpoint for the Event Grid Domain Resource which is used for publishing the events.", "type": "string", "readOnly": true }, "inputSchema": { - "description": "This determines the format that Event Grid should expect for incoming events published to the domain.", + "description": "This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource.", "enum": [ "EventGridSchema", "CustomEventSchema", @@ -2798,7 +3985,7 @@ "description": "Information about the InputSchemaMapping which specified the info about mapping event payload." }, "metricResourceId": { - "description": "Metric resource id for the domain.", + "description": "Metric resource id for the Event Grid Domain Resource.", "type": "string", "readOnly": true }, @@ -2821,21 +4008,56 @@ "items": { "$ref": "#/definitions/InboundIpRule" } + }, + "disableLocalAuth": { + "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain.", + "default": false, + "type": "boolean" + }, + "autoCreateTopicWithFirstSubscription": { + "description": "This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is\r\ncreated at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic\r\nby the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the\r\nflexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the\r\ndomain topic on demand if needed.", + "default": true, + "type": "boolean" + }, + "autoDeleteTopicWithLastSubscription": { + "description": "This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope\r\nof the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed\r\n(e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full\r\ncontrol of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer\r\nresources by the user.", + "default": true, + "type": "boolean" } } }, - "PrivateEndpointConnection": { + "IdentityInfo": { + "description": "The identity information for the resource.", "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], "properties": { - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "description": "Properties of the PrivateEndpointConnection.", - "x-ms-client-flatten": true + "type": { + "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "principalId": { + "description": "The principal ID of resource identity.", + "type": "string" + }, + "tenantId": { + "description": "The tenant ID of resource.", + "type": "string" + }, + "userAssignedIdentities": { + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.\r\nThis property is currently not used and reserved for future usage.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentityProperties" + } } } }, @@ -2859,6 +4081,20 @@ } } }, + "UserIdentityProperties": { + "description": "The information about the user identity.", + "type": "object", + "properties": { + "principalId": { + "description": "The principal id of user assigned identity.", + "type": "string" + }, + "clientId": { + "description": "The client id of user assigned identity.", + "type": "string" + } + } + }, "Resource": { "description": "Definition of a Resource.", "type": "object", @@ -3048,6 +4284,21 @@ }, "discriminator": "inputSchemaMappingType" }, + "PrivateEndpointConnection": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "Properties of the PrivateEndpointConnection.", + "x-ms-client-flatten": true + } + } + }, "TrackedResource": { "description": "Definition of a Tracked Resource.", "required": [ @@ -3088,7 +4339,7 @@ "properties": { "properties": { "$ref": "#/definitions/DomainProperties", - "description": "Properties of the domain.", + "description": "Properties of the Event Grid Domain resource.", "x-ms-client-flatten": true }, "systemData": { @@ -3096,6 +4347,10 @@ "type": "object", "readOnly": true, "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "identity": { + "$ref": "#/definitions/IdentityInfo", + "description": "Identity information for the Event Grid Domain resource." } } }, @@ -3114,6 +4369,10 @@ "$ref": "#/definitions/DomainUpdateParameterProperties", "description": "Properties of the resource.", "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityInfo", + "description": "Identity information for the resource." } } }, @@ -3140,6 +4399,18 @@ "items": { "$ref": "#/definitions/InboundIpRule" } + }, + "disableLocalAuth": { + "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the domain.", + "type": "boolean" + }, + "autoCreateTopicWithFirstSubscription": { + "description": "This Boolean is used to specify the creation mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, creation of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is null or set to true, Event Grid is responsible of automatically creating the domain topic when the first event subscription is\r\ncreated at the scope of the domain topic. If this property is set to false, then creating the first event subscription will require creating a domain topic\r\nby the user. The self-management mode can be used if the user wants full control of when the domain topic is created, while auto-managed mode provides the\r\nflexibility to perform less operations and manage fewer resources by the user. Also, note that in auto-managed creation mode, user is allowed to create the\r\ndomain topic on demand if needed.", + "type": "boolean" + }, + "autoDeleteTopicWithLastSubscription": { + "description": "This Boolean is used to specify the deletion mechanism for 'all' the Event Grid Domain Topics associated with this Event Grid Domain resource.\r\nIn this context, deletion of domain topic can be auto-managed (when true) or self-managed (when false). The default value for this property is true.\r\nWhen this property is set to true, Event Grid is responsible of automatically deleting the domain topic when the last event subscription at the scope\r\nof the domain topic is deleted. If this property is set to false, then the user needs to manually delete the domain topic when it is no longer needed\r\n(e.g., when last event subscription is deleted and the resource needs to be cleaned up). The self-management mode can be used if the user wants full\r\ncontrol of when the domain topic needs to be deleted, while auto-managed mode provides the flexibility to perform less operations and manage fewer\r\nresources by the user.", + "type": "boolean" } } }, @@ -3346,6 +4617,10 @@ "default": false, "type": "boolean" }, + "enableAdvancedFilteringOnArrays": { + "description": "Allows advanced filters to be evaluated against an array of values instead of expecting a singular value.", + "type": "boolean" + }, "advancedFilters": { "description": "An array of advanced filters that are used for filtering event subscriptions.", "type": "array", @@ -3406,9 +4681,101 @@ "azureActiveDirectoryApplicationIdOrUri": { "description": "The Azure Active Directory Application ID or URI to get the access token that will be included as the bearer token in delivery requests.", "type": "string" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } + } + } + }, + "StaticDeliveryAttributeMappingProperties": { + "description": "Properties of static delivery attribute mapping.", + "type": "object", + "properties": { + "value": { + "description": "Value of the delivery attribute.", + "type": "string" + }, + "isSecret": { + "description": "Boolean flag to tell if the attribute contains sensitive information .", + "type": "boolean", + "default": false + } + } + }, + "StaticDeliveryAttributeMapping": { + "description": "Static delivery attribute mapping details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DeliveryAttributeMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/StaticDeliveryAttributeMappingProperties", + "description": "Properties of static delivery attribute mapping.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Static" + }, + "DynamicDeliveryAttributeMappingProperties": { + "description": "Properties of dynamic delivery attribute mapping.", + "type": "object", + "properties": { + "sourceField": { + "description": "JSON path in the event which contains attribute value.", + "type": "string" } } }, + "DynamicDeliveryAttributeMapping": { + "description": "Dynamic delivery attribute mapping details.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/DeliveryAttributeMapping" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/DynamicDeliveryAttributeMappingProperties", + "description": "Properties of dynamic delivery attribute mapping.", + "x-ms-client-flatten": true + } + }, + "x-ms-discriminator-value": "Dynamic" + }, + "DeliveryAttributeMapping": { + "description": "Delivery attribute mapping details.", + "required": [ + "type" + ], + "type": "object", + "properties": { + "name": { + "description": "Name of the delivery attribute or header.", + "type": "string" + }, + "type": { + "description": "Type of the delivery attribute or header name.", + "enum": [ + "Static", + "Dynamic" + ], + "type": "string", + "x-ms-enum": { + "name": "DeliveryAttributeMappingType", + "modelAsString": true + } + } + }, + "discriminator": "type" + }, "StorageBlobDeadLetterDestinationProperties": { "description": "Properties of the storage blob based dead letter destination.", "type": "object", @@ -3740,6 +5107,13 @@ "resourceId": { "description": "The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.", "type": "string" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } } } }, @@ -3771,6 +5145,11 @@ "queueName": { "description": "The name of the Storage queue under a storage account that is the destination of an event subscription.", "type": "string" + }, + "queueMessageTimeToLiveInSeconds": { + "format": "int64", + "description": "Storage queue message time to live in seconds.", + "type": "integer" } } }, @@ -3798,6 +5177,13 @@ "resourceId": { "description": "The Azure Resource ID of an hybrid connection that is the destination of an event subscription.", "type": "string" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } } } }, @@ -3825,6 +5211,13 @@ "resourceId": { "description": "The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.", "type": "string" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } } } }, @@ -3852,6 +5245,13 @@ "resourceId": { "description": "The Azure Resource Id that represents the endpoint of the Service Bus Topic destination of an event subscription.", "type": "string" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } } } }, @@ -3891,6 +5291,13 @@ "description": "Preferred batch size in Kilobytes.", "default": 64, "type": "integer" + }, + "deliveryAttributeMappings": { + "description": "Delivery attribute details.", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } } } }, @@ -4034,6 +5441,19 @@ } } }, + "DeliveryAttributeListResult": { + "description": "Result of the Get delivery attributes operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of DeliveryAttributeMapping", + "type": "array", + "items": { + "$ref": "#/definitions/DeliveryAttributeMapping" + } + } + } + }, "OperationsListResult": { "description": "Result of the List Operations operation", "type": "object", @@ -4172,6 +5592,102 @@ } } }, + "SystemTopicProperties": { + "description": "Properties of the System Topic.", + "type": "object", + "properties": { + "provisioningState": { + "description": "Provisioning state of the system topic.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Canceled", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ResourceProvisioningState", + "modelAsString": true + } + }, + "source": { + "description": "Source for the system topic.", + "type": "string" + }, + "topicType": { + "description": "TopicType for the system topic.", + "type": "string" + }, + "metricResourceId": { + "description": "Metric resource id for the system topic.", + "type": "string", + "readOnly": true + } + } + }, + "SystemTopic": { + "description": "EventGrid System Topic.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "properties": { + "properties": { + "$ref": "#/definitions/SystemTopicProperties", + "description": "Properties of the system topic.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/IdentityInfo", + "description": "Identity information for the resource." + }, + "systemData": { + "description": "The system metadata relating to System Topic resource.", + "type": "object", + "readOnly": true, + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + } + } + }, + "SystemTopicUpdateParameters": { + "description": "Properties of the System Topic update.", + "type": "object", + "properties": { + "tags": { + "description": "Tags of the system topic.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "#/definitions/IdentityInfo", + "description": "Resource identity information." + } + } + }, + "SystemTopicsListResult": { + "description": "Result of the List System topics operation.", + "type": "object", + "properties": { + "value": { + "description": "A collection of system Topics.", + "type": "array", + "items": { + "$ref": "#/definitions/SystemTopic" + } + }, + "nextLink": { + "description": "A link for the next page of topics.", + "type": "string" + } + } + }, "TopicProperties": { "description": "Properties of the Topic", "type": "object", @@ -4247,6 +5763,11 @@ "items": { "$ref": "#/definitions/InboundIpRule" } + }, + "disableLocalAuth": { + "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.", + "default": false, + "type": "boolean" } } }, @@ -4313,6 +5834,10 @@ "items": { "$ref": "#/definitions/InboundIpRule" } + }, + "disableLocalAuth": { + "description": "This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the topic.", + "type": "boolean" } } }, @@ -4478,6 +6003,18 @@ "sourceResourceFormat": { "description": "Source resource format.", "type": "string" + }, + "supportedScopesForSource": { + "description": "Supported source scopes.", + "type": "array", + "items": { + "enum": [ + "Resource", + "ResourceGroup", + "AzureSubscription" + ], + "type": "string" + } } } }, @@ -4542,4 +6079,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..1d936d070f21 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaa", + "domainTopicName": "aaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "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", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..4e198e998e15 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaa", + "domainTopicName": "aaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..d6eeab84e9de --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaa", + "domainTopicName": "a", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..b8963c0490e4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaa", + "domainTopicName": "aaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..2e7773e38118 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaa", + "domainTopicName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "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", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..8135f661dbcc --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aa", + "domainTopicName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json new file mode 100644 index 000000000000..21e581b4e7b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "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", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "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", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json new file mode 100644 index 000000000000..cd257ac621a5 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..4171ae407fd8 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,166 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "domainInfo": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", + "name": "exampledomain2", + "type": "Microsoft.EventGrid/domains" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..d9c20e27f3a0 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "a", + "domainInfo": { + "location": "westus2" + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..e43c46942bb9 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..c39c95abb4ea --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..388fed2e6406 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", + "name": "exampledomain2", + "type": "Microsoft.EventGrid/domains" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..c4452d18bdfd --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..97ac3aec252c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,196 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", + "location": "westus2", + "name": "exampledomain1", + "tags": {}, + "type": "Microsoft.EventGrid/domains", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + { + "properties": { + "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", + "location": "westcentralus", + "name": "exampledomain2", + "tags": {}, + "type": "Microsoft.EventGrid/domains", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + } + ], + "nextLink": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..98a966c263b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..620ad7e8176c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,195 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", + "location": "westus2", + "name": "exampledomain1", + "tags": {}, + "type": "Microsoft.EventGrid/domains", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + { + "properties": { + "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", + "location": "westcentralus", + "name": "exampledomain2", + "tags": {}, + "type": "Microsoft.EventGrid/domains", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + } + ], + "nextLink": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1e013f6e96 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json new file mode 100644 index 000000000000..9b6e4f1f427f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json new file mode 100644 index 000000000000..7e78541eb260 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json new file mode 100644 index 000000000000..cf9df7d46e9b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaa", + "regenerateKeyRequest": { + "keyName": "key1" + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json new file mode 100644 index 000000000000..81558966f3c6 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaa", + "regenerateKeyRequest": { + "keyName": "key1" + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..49deec48814d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "domainUpdateParameters": { + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true, + "autoCreateTopicWithFirstSubscription": true, + "autoDeleteTopicWithLastSubscription": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", + "name": "exampledomain2", + "type": "Microsoft.EventGrid/domains" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..5f0aa1e4c898 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aa", + "domainUpdateParameters": {}, + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..552d5dbfb888 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaa", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..5bcc788e716e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaa", + "eventSubscriptionInfo": {}, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..06a5cf8f7c0a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..c7ab222c7577 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json new file mode 100644 index 000000000000..c3f86261c9a3 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "header1", + "type": "Static" + }, + { + "name": "header2", + "type": "Dynamic" + }, + { + "name": "header3", + "type": "Static" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json new file mode 100644 index 000000000000..4a5f75561afc --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json new file mode 100644 index 000000000000..00e136bc939b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "scope": "aaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json new file mode 100644 index 000000000000..94d3ede1e3ff --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "aaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..099eda9b21e4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "scope": "aaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..abeb95cf567e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json new file mode 100644 index 000000000000..d3ff26a02e2f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaa", + "topicName": "aaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json new file mode 100644 index 000000000000..2f7daa77d86c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "domainName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..dd0eaf2837eb --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "providerNamespace": "aaaaaaaaaaaaaaaaaaaaaa", + "resourceTypeName": "aaaaaaaa", + "resourceName": "aa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..e68c7dc112da --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "providerNamespace": "aaaaaaaaaaaaaaaaaaaaaaaa", + "resourceTypeName": "aaaaaaaaaaa", + "resourceName": "aaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json new file mode 100644 index 000000000000..58678d810766 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicTypeName": "aa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json new file mode 100644 index 000000000000..e33d84053560 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicTypeName": "aaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..c48526d96e32 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..98a966c263b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json new file mode 100644 index 000000000000..6eed940b2b6e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "topicTypeName": "aaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json new file mode 100644 index 000000000000..8867c5a7fbc9 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "topicTypeName": "aaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..f35441815500 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1e013f6e96 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json new file mode 100644 index 000000000000..2590a18026ef --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "topicTypeName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json new file mode 100644 index 000000000000..39a946d79688 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "location": "aaaaaa", + "topicTypeName": "aaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..9f4ba2ca938a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "location": "aa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..ee49e7d708c6 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "location": "aaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json new file mode 100644 index 000000000000..72e9572b0846 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "aaaaaaaaaaaaaaaa", + "topicTypeName": "aaaaaaaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json new file mode 100644 index 000000000000..aa1e5a4b48b5 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "topicTypeName": "aaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..cca1a730cd9d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "aaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..58c108e8dc82 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "location": "aaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..b1ea0d4df658 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "scope": "aaaaa", + "eventSubscriptionName": "aa", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.162Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..ac8be3f7fcce --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "scope": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionUpdateParameters": {}, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..7e2a4ef229d2 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.EventGrid/register/action", + "display": { + "provider": "Microsoft Event Grid", + "resource": "EventGrid Resource Provider", + "operation": "Registers the EventGrid Resource Provider", + "description": "aaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Write EventSubscription", + "description": "aaaaaaaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Read EventSubscription", + "description": "aaaaaaaaaaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/eventSubscriptions/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "eventSubscriptions", + "operation": "Delete EventSubscription", + "description": "aaaaaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/topics/write", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Write Topic", + "description": "aaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/topics/read", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Read Topic", + "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + }, + { + "name": "Microsoft.EventGrid/topics/delete", + "display": { + "provider": "Microsoft Event Grid", + "resource": "topics", + "operation": "Delete Topic", + "description": "aaaaaaaaaaaaaaaaaa" + }, + "origin": "UserAndSystem", + "properties": {} + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..9e62bb5a5ca4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..2505da5896ec --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaaaaaaaaa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..c95f8845f5a7 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaaaaaaaaa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..c7af1011c50d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "actionsRequired": "None", + "description": "aaaa" + }, + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..2f5e2f35f9f4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..bec0d10871df --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "actionsRequired": "None", + "description": "aaaaaaaaaaaaaaaaaaaaa" + }, + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + ], + "nextLink": "aaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..de8e265e2937 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..7a56a6af9649 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaa", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "actionsRequired": "None", + "description": "aaaa" + }, + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "provisioningState": "Succeeded" + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "actionsRequired": "None", + "description": "aaaa" + }, + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "actionsRequired": "None", + "description": "aaaa" + }, + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "topic" + ], + "provisioningState": "Succeeded" + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", + "type": "Microsoft.EventGrid/topics/privateEndpointConnections" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..ff8fa41aba80 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "topics", + "parentName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "privateEndpointConnection": {}, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..eea56a2155a9 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "aa", + "parentName": "aaaaa", + "privateLinkResourceName": "aaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "groupId": "topic", + "displayName": "Event Grid topic", + "requiredMembers": [ + "topic" + ], + "requiredZoneNames": [ + "privatelink.eventgrid.azure.net" + ] + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", + "name": "topic", + "type": "Microsoft.EventGrid/topics/privateLinkResources" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..210be3b9e29f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "parentName": "aaaaaaaa", + "privateLinkResourceName": "aaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json new file mode 100644 index 000000000000..bb6e54acaac2 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "aaaa", + "parentName": "aaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "groupId": "topic", + "displayName": "Event Grid topic", + "requiredMembers": [ + "topic" + ], + "requiredZoneNames": [ + "privatelink.eventgrid.azure.net" + ] + }, + "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", + "name": "topic", + "type": "Microsoft.EventGrid/topics/privateLinkResources" + } + ], + "nextLink": "aaaaaaaaaaaaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json new file mode 100644 index 000000000000..8e65c3bed7b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "parentType": "aaaaaaaaaaaaa", + "parentName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json new file mode 100644 index 000000000000..d38b393dd5ea --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "exampleEventSubscriptionName1", + "api-version": "2021-06-01-preview", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + } + } + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix" + }, + "labels": null, + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/exampleEventSubscriptionName1", + "name": "exampleEventSubscriptionName1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..de6508cec5de --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionInfo": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..28253b645c81 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionInfo": {}, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete.json new file mode 100644 index 000000000000..7ad62de98b14 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..6407c9a0d81f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..c21b778031da --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get.json new file mode 100644 index 000000000000..92eee757b012 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Storage/storageAccounts/testtrackedsource", + "queueName": "que" + }, + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json new file mode 100644 index 000000000000..3ffdace692f0 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "header1", + "type": "Static", + "properties": { + "value": "NormalValue", + "isSecret": false + } + }, + { + "name": "header2", + "type": "Dynamic", + "properties": { + "sourceField": "data.foo" + } + }, + { + "name": "header3", + "type": "Static", + "properties": { + "value": "mySecretValue", + "isSecret": true + } + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json new file mode 100644 index 000000000000..a52c2c90312a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaa", + "eventSubscriptionName": "a", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "header1", + "type": "Static" + }, + { + "name": "header2", + "type": "Dynamic" + }, + { + "name": "header3", + "type": "Static" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json new file mode 100644 index 000000000000..c3805e0ad3f8 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl.json new file mode 100644 index 000000000000..57e494399c58 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "examplesubscription1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json new file mode 100644 index 000000000000..750dd8347b1f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "endpointUrl": "https://requestb.in/15ksip71" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json new file mode 100644 index 000000000000..e3a47817aa45 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..bbad61a7b371 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaa", + "eventSubscriptionName": "aaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..df6fd93da35f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaa", + "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json new file mode 100644 index 000000000000..da7268d2b4c5 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Storage/storageAccounts/testtrackedsource", + "queueName": "que" + }, + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "", + "subjectEndsWith": "" + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "properties": { + "resourceId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Storage/storageAccounts/testtrackedsource", + "queueName": "que" + }, + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": false, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json new file mode 100644 index 000000000000..b7fc5b852711 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaa", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "isSubjectCaseSensitive": true, + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 10, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", + "name": "examplesubscription1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", + "provisioningState": "Succeeded", + "destination": { + "endpointType": "StorageQueue" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "Microsoft.Storage.BlobCreated", + "Microsoft.Storage.BlobDeleted" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "expirationTimeUtc": "2021-10-06T23:58:55.170Z", + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", + "name": "examplesubscription2", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json new file mode 100644 index 000000000000..eaf474c417c1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update.json new file mode 100644 index 000000000000..9bdf21f0392f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "eventSubscriptionName": "exampleEventSubscriptionName1", + "api-version": "2021-06-01-preview", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook", + "properties": { + "endpointUrl": "https://requestb.in/15ksip71" + } + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ] + } + }, + "responses": { + "201": { + "body": { + "properties": { + "destination": { + "properties": { + "endpointBaseUrl": "https://requestb.in/15ksip71" + }, + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix" + }, + "labels": [ + "label1", + "label2" + ], + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 30, + "eventTimeToLiveInMinutes": 1440 + }, + "provisioningState": "Succeeded", + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/exampleEventSubscriptionName1", + "name": "exampleEventSubscriptionName1", + "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..4cfd9e2c474c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaa", + "eventSubscriptionName": "aaaaa", + "eventSubscriptionUpdateParameters": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "existingPrefix", + "subjectEndsWith": "newSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.162Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "destination": { + "endpointType": "WebHook" + }, + "filter": { + "isSubjectCaseSensitive": true, + "subjectBeginsWith": "ExamplePrefix", + "subjectEndsWith": "ExampleSuffix", + "includedEventTypes": [ + "aaaaaaaaaaaaaaaaaaa" + ], + "enableAdvancedFilteringOnArrays": true, + "advancedFilters": [ + { + "values": [ + 12 + ], + "operatorType": "NumberIn", + "key": "aaaaaaaaaaaaaaaaaa" + } + ] + }, + "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "provisioningState": "Succeeded", + "labels": [ + "label1", + "label2" + ], + "expirationTimeUtc": "2021-10-06T23:58:55.155Z", + "eventDeliverySchema": "EventGridSchema", + "retryPolicy": { + "maxDeliveryAttempts": 14, + "eventTimeToLiveInMinutes": 25 + }, + "deadLetterDestination": { + "properties": { + "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", + "blobContainerName": "aaaaaaaaaaa" + }, + "endpointType": "StorageBlob" + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", + "name": "examplesubscription3", + "type": "Microsoft.EventGrid/eventSubscriptions" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..78f8a2207f2b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "eventSubscriptionName": "aaaaa", + "eventSubscriptionUpdateParameters": {}, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate.json new file mode 100644 index 000000000000..6f1e705dd76b --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "api-version": "2021-06-01-preview", + "systemTopicInfo": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts" + }, + "location": "westus2", + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..dc00dc7a7ffd --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaa", + "systemTopicInfo": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "provisioningState": "Succeeded", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "provisioningState": "Succeeded", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..11c12abe5242 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "systemTopicInfo": { + "location": "westus2" + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2" + } + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete.json new file mode 100644 index 000000000000..4dc3bc269b6a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..335d1da5dd7a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..01d587f157cc --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get.json new file mode 100644 index 000000000000..6f2ed852108a --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic2", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..10ee3e700243 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "provisioningState": "Succeeded", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..de21fd400c34 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup.json new file mode 100644 index 000000000000..6532104f0d16 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/pubstgrunnerb71cd29e-86fad330-7bac-4238-8cab-9e46b75165aa", + "name": "pubstgrunnerb71cd29e-86fad330-7bac-4238-8cab-9e46b75165aa", + "type": "Microsoft.EventGrid/systemTopics" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..3d3e494e1f44 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": { + "key4823": "aaaaaaaaaaaaaaaaa" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics", + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..98a966c263b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription.json new file mode 100644 index 000000000000..7bd800851db1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + ] + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..9ea5c4869b64 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": { + "key4823": "aaaaaaaaaaaaaaaaa" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics", + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1e013f6e96 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update.json new file mode 100644 index 000000000000..77be048df27e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "examplerg", + "systemTopicName": "exampleSystemTopic1", + "api-version": "2021-06-01-preview", + "systemTopicUpdateParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + "201": { + "body": { + "properties": { + "provisioningState": "Succeeded", + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "centraluseuap", + "tags": null, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..a40f56aaced3 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaa", + "systemTopicUpdateParameters": { + "tags": {}, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "provisioningState": "Succeeded", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "properties": { + "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", + "topicType": "microsoft.storage.storageaccounts", + "provisioningState": "Succeeded", + "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" + }, + "location": "westus2", + "tags": { + "key3581": "aaaaaaaaaaaa" + }, + "identity": { + "type": "None", + "principalId": "aaaaaa", + "tenantId": "aaaaaaaa", + "userAssignedIdentities": { + "key6912": { + "principalId": "aaaaa", + "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" + } + } + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", + "name": "exampleSystemTopic2", + "type": "Microsoft.EventGrid/systemTopics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..e2c5fae54a4e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "systemTopicName": "aaaaaaaaaa", + "systemTopicUpdateParameters": {}, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2" + } + }, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..a1b434780eca --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "topicTypeName": "aaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "properties": { + "displayName": "EventHubs Namespace", + "provider": "Microsoft.Eventhub", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource", + "description": "aaaaaaaaaaaaaaaaaaa", + "supportedLocations": [ + "aaaaaaaaaa" + ], + "sourceResourceFormat": "aaaaaaaaaaaaaaaaaaaaaaaa", + "supportedScopesForSource": [ + "Resource" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", + "name": "Microsoft.Eventhub.Namespaces", + "type": "Microsoft.EventGrid/topicTypes" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..90d66d649bfd --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "topicTypeName": "aaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json new file mode 100644 index 000000000000..d40f1cc0cf7e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "topicTypeName": "aaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "schemaUrl": "tbd", + "displayName": "Blob Created", + "description": "aa", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", + "name": "Microsoft.Storage.BlobCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "schemaUrl": "tbd", + "displayName": "Blob Deleted", + "description": "aaaaaaaaaaaaaaaaaa", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", + "name": "Microsoft.Storage.BlobDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json new file mode 100644 index 000000000000..c4bf3e15c970 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "topicTypeName": "aaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..b1e12f4adf5c --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "displayName": "EventHubs Namespace", + "provider": "Microsoft.Eventhub", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource", + "description": "aaaaaaaaaaaaaaaaaaa", + "supportedLocations": [ + "aaaaaaaaaa" + ], + "sourceResourceFormat": "aaaaaaaaaaaaaaaaaaaaaaaa", + "supportedScopesForSource": [ + "Resource" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", + "name": "Microsoft.Eventhub.Namespaces", + "type": "Microsoft.EventGrid/topicTypes" + }, + { + "properties": { + "displayName": "Storage Accounts", + "provider": "Microsoft.Storage", + "provisioningState": "Succeeded", + "resourceRegionType": "RegionalResource", + "description": "aaaaaaaaaaaaaaaaaaa", + "supportedLocations": [ + "aaaaaaaa" + ], + "sourceResourceFormat": "aaaaaaaaaaaa", + "supportedScopesForSource": [ + "Resource" + ] + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", + "name": "Microsoft.Storage.StorageAccounts", + "type": "Microsoft.EventGrid/topicTypes" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..9e62bb5a5ca4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json @@ -0,0 +1,10 @@ +{ + "parameters": { + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..72979e4c509e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaa", + "topicInfo": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "disableLocalAuth": true + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "name": "exampletopic2", + "type": "Microsoft.EventGrid/topics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json new file mode 100644 index 000000000000..1585baa9949f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "topicInfo": { + "location": "westus2" + }, + "api-version": "2020-12-01" + }, + "responses": { + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..c9a08d6aab83 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json new file mode 100644 index 000000000000..3f07334ab479 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://foo.com/operationstatus" + } + }, + "204": {} + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..10a99a4a38a4 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "name": "exampletopic2", + "type": "Microsoft.EventGrid/topics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json new file mode 100644 index 000000000000..5aa458d2cc37 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..13f2490f3720 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": {}, + "type": "Microsoft.EventGrid/topics", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "location": "westcentralus", + "name": "exampletopic2", + "tags": {}, + "type": "Microsoft.EventGrid/topics", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..98a966c263b1 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..6f9b0c75386e --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,169 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01", + "$filter": "aaaaaaaaaaaaaaa", + "$top": 9 + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", + "location": "westus2", + "name": "exampletopic1", + "tags": {}, + "type": "Microsoft.EventGrid/topics", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + }, + { + "properties": { + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "provisioningState": "Succeeded", + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaa", + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", + "action": "Allow" + } + ], + "disableLocalAuth": true + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "location": "westcentralus", + "name": "exampletopic2", + "tags": {}, + "type": "Microsoft.EventGrid/topics", + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + } + } + ], + "nextLink": "aaaaaaaaaaaa" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1e013f6e96 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,11 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json new file mode 100644 index 000000000000..9523c3549aa5 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "providerNamespace": "aaaaaaa", + "resourceTypeName": "aaaaa", + "resourceName": "aaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "schemaUrl": "tbd", + "displayName": "Blob Created", + "description": "aa", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", + "name": "Microsoft.Storage.BlobCreated", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + }, + { + "properties": { + "schemaUrl": "tbd", + "displayName": "Blob Deleted", + "description": "aaaaaaaaaaaaaaaaaa", + "isInDefaultSet": true + }, + "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", + "name": "Microsoft.Storage.BlobDeleted", + "type": "Microsoft.EventGrid/topicTypes/eventTypes" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json new file mode 100644 index 000000000000..833fe80ee47f --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "providerNamespace": "aaaaaaaaaaaaaaa", + "resourceTypeName": "aaaaaa", + "resourceName": "aaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json new file mode 100644 index 000000000000..4c9120e53af2 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json new file mode 100644 index 000000000000..bf62170af328 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaaaa", + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json new file mode 100644 index 000000000000..e1e12898da52 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaaa", + "regenerateKeyRequest": { + "keyName": "key1" + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": { + "key1": "", + "key2": "" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json new file mode 100644 index 000000000000..4bcb18adcb22 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaaa", + "regenerateKeyRequest": { + "keyName": "key1" + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json new file mode 100644 index 000000000000..95bd28a36e65 --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaaaaaaaa", + "topicUpdateParameters": { + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "disableLocalAuth": true + } + }, + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2", + "tags": {}, + "properties": { + "publicNetworkAccess": "Enabled", + "inboundIpRules": [ + { + "ipMask": "12.18.30.15", + "action": "Allow" + }, + { + "ipMask": "12.18.176.1", + "action": "Allow" + } + ], + "privateEndpointConnections": [ + { + "properties": { + "privateEndpoint": { + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" + }, + "groupIds": [ + "aaaaaaaaaaaa" + ], + "privateLinkServiceConnectionState": { + "status": "Pending", + "description": "aaaaaaaa", + "actionsRequired": "aaaaaaaaaaa" + }, + "provisioningState": "Creating" + }, + "id": "aaaaaa", + "name": "aaaa", + "type": "aaaaaaaaaaaaa" + } + ], + "provisioningState": "Succeeded", + "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", + "inputSchema": "EventGridSchema", + "inputSchemaMapping": { + "properties": { + "id": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "topic": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventTime": { + "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" + }, + "eventType": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "subject": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + }, + "dataVersion": { + "sourceField": "aaaaaaaaaaaa", + "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "inputSchemaMappingType": "Json" + }, + "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", + "disableLocalAuth": true + }, + "systemData": { + "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", + "createdByType": "User", + "createdAt": "2021-10-06T23:58:55.146Z", + "lastModifiedBy": "a", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-10-06T23:58:55.146Z" + }, + "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", + "name": "exampletopic2", + "type": "Microsoft.EventGrid/topics" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json new file mode 100644 index 000000000000..357c0a6aa35d --- /dev/null +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", + "resourceGroupName": "rgEventGrid", + "topicName": "aaaaaaaaaaa", + "topicUpdateParameters": {}, + "api-version": "2020-12-01" + }, + "responses": { + "200": {}, + "201": { + "headers": { + "location": "https://foo.com/operationstatus" + }, + "body": { + "location": "westus2" + } + } + } +} \ No newline at end of file diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 56fcd035ff46..73fc57effec5 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -28,6 +28,14 @@ These are the global settings for the Azure EventGrid API. openapi-type: arm tag: package-2021-06-preview ``` +### Tag: package-2021-12 + +These settings apply only when `--tag=package-2021-12` is specified on the command line. + +``` yaml $(tag) == 'package-2021-12' +input-file: +- Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +``` ### Tag: package-2021-06-preview From 4fa076edaaf16172d77cc44c4b1aa7555779482f Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Thu, 7 Oct 2021 15:32:20 -0700 Subject: [PATCH 03/10] fix the version --- .../Microsoft.EventGrid/stable/2021-12-01/EventGrid.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json index 72ad660ac32a..6a0b7da2cb84 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2020-12-01", + "version": "2021-12-01", "title": "EventGridManagementClient", "description": "Azure EventGrid Management Client" }, From 23976f099f28b301d5367c1f9e0065b99e2c9e23 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Thu, 7 Oct 2021 15:56:56 -0700 Subject: [PATCH 04/10] fixing prettier check issues --- .../Microsoft.EventGrid/stable/2021-12-01/EventGrid.json | 2 +- .../examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json | 2 +- .../examples/DomainTopics_ListByDomain_MaximumSet_Gen.json | 2 +- .../examples/DomainTopics_ListByDomain_MinimumSet_Gen.json | 2 +- .../examples/Domains_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Domains_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json | 2 +- .../stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json | 2 +- .../stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json | 2 +- .../examples/Domains_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../examples/Domains_ListByResourceGroup_MinimumSet_Gen.json | 2 +- .../examples/Domains_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Domains_ListBySubscription_MinimumSet_Gen.json | 2 +- .../examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json | 2 +- .../examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json | 2 +- .../examples/Domains_RegenerateKey_MaximumSet_Gen.json | 2 +- .../examples/Domains_RegenerateKey_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/Domains_Update_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/Domains_Update_MinimumSet_Gen.json | 2 +- .../EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Delete_MaximumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Delete_MinimumSet_Gen.json | 2 +- ...EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json | 2 +- ...EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json | 2 +- .../examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json | 2 +- .../examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Get_MaximumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Get_MinimumSet_Gen.json | 2 +- .../EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json | 2 +- .../EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json | 2 +- .../EventSubscriptions_ListByResource_MaximumSet_Gen.json | 2 +- .../EventSubscriptions_ListByResource_MinimumSet_Gen.json | 2 +- ...ns_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json | 2 +- ...ns_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json | 2 +- ...tSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json | 2 +- ...tSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json | 2 +- ...ons_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json | 2 +- ...ons_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json | 2 +- ...ntSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json | 2 +- ...ntSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json | 2 +- ..._ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json | 2 +- ..._ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json | 2 +- ...ubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json | 2 +- ...ubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json | 2 +- ...s_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json | 2 +- ...s_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json | 2 +- ...Subscriptions_ListRegionalBySubscription_MaximumSet_Gen.json | 2 +- ...Subscriptions_ListRegionalBySubscription_MinimumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Update_MaximumSet_Gen.json | 2 +- .../examples/EventSubscriptions_Update_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/Operations_List_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/Operations_List_MinimumSet_Gen.json | 2 +- .../PrivateEndpointConnections_Delete_MaximumSet_Gen.json | 2 +- .../PrivateEndpointConnections_Delete_MinimumSet_Gen.json | 2 +- .../examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json | 2 +- .../examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json | 2 +- ...rivateEndpointConnections_ListByResource_MaximumSet_Gen.json | 2 +- ...rivateEndpointConnections_ListByResource_MinimumSet_Gen.json | 2 +- .../PrivateEndpointConnections_Update_MaximumSet_Gen.json | 2 +- .../PrivateEndpointConnections_Update_MinimumSet_Gen.json | 2 +- .../examples/PrivateLinkResources_Get_MaximumSet_Gen.json | 2 +- .../examples/PrivateLinkResources_Get_MinimumSet_Gen.json | 2 +- .../PrivateLinkResources_ListByResource_MaximumSet_Gen.json | 2 +- .../PrivateLinkResources_ListByResource_MinimumSet_Gen.json | 2 +- ...emTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json | 2 +- ...emTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json | 2 +- ...EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json | 2 +- ...EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json | 2 +- ...SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json | 2 +- ...SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json | 2 +- ...opicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json | 2 +- ...opicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json | 2 +- .../SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json | 2 +- .../examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json | 2 +- .../SystemTopics_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../SystemTopics_ListByResourceGroup_MinimumSet_Gen.json | 2 +- .../SystemTopics_ListBySubscription_MaximumSet_Gen.json | 2 +- .../SystemTopics_ListBySubscription_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json | 2 +- .../examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json | 2 +- .../examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json | 2 +- .../examples/Topics_CreateOrUpdate_MaximumSet_Gen.json | 2 +- .../examples/Topics_CreateOrUpdate_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json | 2 +- .../stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json | 2 +- .../stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json | 2 +- .../examples/Topics_ListByResourceGroup_MaximumSet_Gen.json | 2 +- .../examples/Topics_ListByResourceGroup_MinimumSet_Gen.json | 2 +- .../examples/Topics_ListBySubscription_MaximumSet_Gen.json | 2 +- .../examples/Topics_ListBySubscription_MinimumSet_Gen.json | 2 +- .../examples/Topics_ListEventTypes_MaximumSet_Gen.json | 2 +- .../examples/Topics_ListEventTypes_MinimumSet_Gen.json | 2 +- .../examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json | 2 +- .../examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json | 2 +- .../examples/Topics_RegenerateKey_MaximumSet_Gen.json | 2 +- .../examples/Topics_RegenerateKey_MinimumSet_Gen.json | 2 +- .../2021-12-01/examples/Topics_Update_MaximumSet_Gen.json | 2 +- .../2021-12-01/examples/Topics_Update_MinimumSet_Gen.json | 2 +- 121 files changed, 121 insertions(+), 121 deletions(-) diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json index 6a0b7da2cb84..cc451dd75c58 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -6079,4 +6079,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json index 1d936d070f21..82bc33d627e2 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json @@ -29,4 +29,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json index 4e198e998e15..801270849e2a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json @@ -14,4 +14,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json index d6eeab84e9de..516dfe3df4f6 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json index b8963c0490e4..069c5dc79733 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json index 2e7773e38118..859f42114b60 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json index 8135f661dbcc..c5fe3436b943 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json index 21e581b4e7b1..66b12ce53a3b 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json index cd257ac621a5..b5946c106d92 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json index 4171ae407fd8..2b24fd2e8bb9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json @@ -163,4 +163,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json index d9c20e27f3a0..aad8d067e274 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json index e43c46942bb9..a193601cc155 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json index c39c95abb4ea..82aa9797bd57 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json index 388fed2e6406..2d471440da01 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json @@ -102,4 +102,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json index c4452d18bdfd..f5667181d744 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json index 97ac3aec252c..50412d095aa8 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json @@ -193,4 +193,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json index 98a966c263b1..0b65c969863a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json index 620ad7e8176c..c99ad0394597 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json @@ -192,4 +192,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json index fc1e013f6e96..b26e1cae42d1 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json index 9b6e4f1f427f..6bd5b4976031 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json index 7e78541eb260..3ae8cf2e7e04 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json index cf9df7d46e9b..ec90dd21278a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json index 81558966f3c6..1851d940fa0a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json @@ -13,4 +13,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json index 49deec48814d..39ff9c4d1999 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json @@ -136,4 +136,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json index 5f0aa1e4c898..500e5121a228 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json index 552d5dbfb888..6bb653a9a16a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json index 5bcc788e716e..76a1c61abbec 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json @@ -13,4 +13,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json index 06a5cf8f7c0a..639f92d4f9a4 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json index c7ab222c7577..ca3f606fe8b9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json index c3f86261c9a3..e85858f422bf 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json @@ -24,4 +24,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json index 4a5f75561afc..430c4a003bdd 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json index 00e136bc939b..7cbb1d153300 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json @@ -11,4 +11,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json index 94d3ede1e3ff..447d1de07bca 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json index 099eda9b21e4..089a15b3ddb5 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json @@ -63,4 +63,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json index abeb95cf567e..d0fe41b9a621 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json index d3ff26a02e2f..12b2d473d6bd 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json @@ -125,4 +125,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json index 2f7daa77d86c..c6f1a1e374e5 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json index dd0eaf2837eb..3ff56a20e1e6 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json @@ -126,4 +126,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json index e68c7dc112da..d844833c6596 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json index 58678d810766..465ae1269af0 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json @@ -124,4 +124,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json index e33d84053560..6d8fa291cc11 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json index c48526d96e32..8923c3d29949 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json index 98a966c263b1..0b65c969863a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json index 6eed940b2b6e..1b171ed43c14 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json index 8867c5a7fbc9..50bedf42cf61 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json index f35441815500..92c1f8ebaea0 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json @@ -122,4 +122,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json index fc1e013f6e96..b26e1cae42d1 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json index 2590a18026ef..1f3f76376f04 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json @@ -125,4 +125,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json index 39a946d79688..d58bec36755b 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json index 9f4ba2ca938a..d28caba75380 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json @@ -124,4 +124,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json index ee49e7d708c6..018ad12cb68a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json index 72e9572b0846..339e65bdce53 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json @@ -124,4 +124,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json index aa1e5a4b48b5..42113183fd54 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json index cca1a730cd9d..842587f7b398 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json @@ -123,4 +123,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json index 58c108e8dc82..0e662d2b0dac 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json index b1ea0d4df658..4c3073fad657 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json @@ -106,4 +106,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json index ac8be3f7fcce..535a95dd6a17 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json @@ -13,4 +13,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json index 7e2a4ef229d2..f022e9cbfefb 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json @@ -87,4 +87,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json index 9e62bb5a5ca4..eef4f8eec3cf 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json @@ -7,4 +7,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json index 2505da5896ec..2164bff82c5a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json index c95f8845f5a7..a539cde50340 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json index c7af1011c50d..1753ef2e3a27 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json @@ -30,4 +30,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json index 2f5e2f35f9f4..05c21cd4ddc9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json index bec0d10871df..3098ae8eece9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json @@ -36,4 +36,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json index de8e265e2937..887c25d33609 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json index 7a56a6af9649..5c4d6f2ceb94 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json @@ -70,4 +70,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json index ff8fa41aba80..399f71a33431 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json @@ -19,4 +19,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json index eea56a2155a9..8a516bbf2fa9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json index 210be3b9e29f..cb825a19c3f7 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json index bb6e54acaac2..94d44a559fa4 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json @@ -32,4 +32,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json index 8e65c3bed7b1..cd2b6463b9ed 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json index de6508cec5de..95bc2133cf71 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json @@ -110,4 +110,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json index 28253b645c81..61f691e0eea9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json @@ -15,4 +15,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json index 6407c9a0d81f..9b51e8c373a4 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json index c21b778031da..5016479d6729 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json @@ -15,4 +15,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json index a52c2c90312a..0ec8ecfddfec 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json index c3805e0ad3f8..2282d0f187ab 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json index 750dd8347b1f..f29929c1e251 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json index e3a47817aa45..1ca6b9e5bb46 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json index bbad61a7b371..d2c2dbd0c235 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json @@ -65,4 +65,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json index df6fd93da35f..a40dee5262c9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json @@ -11,4 +11,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json index b7fc5b852711..05544b0469a9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json @@ -124,4 +124,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json index eaf474c417c1..f7d3b60aac71 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json index 4cfd9e2c474c..0fcc0951fb62 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json @@ -108,4 +108,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json index 78f8a2207f2b..4b597abd4421 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json @@ -15,4 +15,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json index dc00dc7a7ffd..e49ddf1e0dc4 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json @@ -103,4 +103,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json index 11c12abe5242..6c0c84927d87 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json @@ -23,4 +23,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json index 335d1da5dd7a..f24f1b1a1dd8 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json index 01d587f157cc..b65adae1e9a3 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json @@ -14,4 +14,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json index 10ee3e700243..bb48ddef5f17 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json @@ -43,4 +43,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json index de21fd400c34..bf394622d9ba 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json index 3d3e494e1f44..3a45c0e25f85 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json @@ -49,4 +49,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json index 98a966c263b1..0b65c969863a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json index 9ea5c4869b64..86a384b4e3e5 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json index fc1e013f6e96..b26e1cae42d1 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json index a40f56aaced3..a7ec3e024f51 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json @@ -96,4 +96,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json index e2c5fae54a4e..6b85cdc86d39 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json @@ -21,4 +21,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json index a1b434780eca..407272b8d26a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json @@ -26,4 +26,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json index 90d66d649bfd..5254cf8d1ae6 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json index d40f1cc0cf7e..3c7290182f68 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json index c4bf3e15c970..ba7dbc4650f9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json index b1e12f4adf5c..15956f5e17bb 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json @@ -48,4 +48,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json index 9e62bb5a5ca4..eef4f8eec3cf 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json @@ -7,4 +7,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json index 72979e4c509e..a71174fbaead 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json @@ -137,4 +137,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json index 1585baa9949f..3b0ac719e779 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json @@ -18,4 +18,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json index c9a08d6aab83..efd3d7b84f65 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json index 3f07334ab479..a6c8b9e626ce 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json @@ -13,4 +13,4 @@ }, "204": {} } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json index 10a99a4a38a4..634b4c9a7e56 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json @@ -89,4 +89,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json index 5aa458d2cc37..486fc2bef377 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json @@ -12,4 +12,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json index 13f2490f3720..de9a0f0e302e 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json @@ -167,4 +167,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json index 98a966c263b1..0b65c969863a 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json @@ -9,4 +9,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json index 6f9b0c75386e..d40adef92846 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json @@ -166,4 +166,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json index fc1e013f6e96..b26e1cae42d1 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json @@ -8,4 +8,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json index 9523c3549aa5..9850799a3250 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json @@ -37,4 +37,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json index 833fe80ee47f..2fa09e1e776c 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json @@ -12,4 +12,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json index 4c9120e53af2..033ee181241c 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json @@ -13,4 +13,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json index bf62170af328..2a779c0169cf 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json @@ -10,4 +10,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json index e1e12898da52..e3ea72ad8ea8 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json @@ -16,4 +16,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json index 4bcb18adcb22..1f7c41b75de9 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json @@ -13,4 +13,4 @@ "body": {} } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json index 95bd28a36e65..0f410b0b337e 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json @@ -110,4 +110,4 @@ } } } -} \ No newline at end of file +} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json index 357c0a6aa35d..66d9ec0cd205 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json @@ -17,4 +17,4 @@ } } } -} \ No newline at end of file +} From bac59b0045e2c4c9a080aa9f125f71e3f2943582 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Tue, 12 Oct 2021 00:00:37 -0700 Subject: [PATCH 05/10] address pr comments --- .../stable/2021-12-01/EventGrid.json | 367 +----------------- ...nTopics_CreateOrUpdate_MaximumSet_Gen.json | 32 -- ...nTopics_CreateOrUpdate_MinimumSet_Gen.json | 17 - .../DomainTopics_Delete_MaximumSet_Gen.json | 18 - .../DomainTopics_Delete_MinimumSet_Gen.json | 18 - .../DomainTopics_Get_MaximumSet_Gen.json | 29 -- .../DomainTopics_Get_MinimumSet_Gen.json | 14 - ...ainTopics_ListByDomain_MaximumSet_Gen.json | 51 --- ...ainTopics_ListByDomain_MinimumSet_Gen.json | 13 - ...Domains_CreateOrUpdate_MaximumSet_Gen.json | 166 -------- ...Domains_CreateOrUpdate_MinimumSet_Gen.json | 21 - .../Domains_Delete_MaximumSet_Gen.json | 17 - .../Domains_Delete_MinimumSet_Gen.json | 17 - .../examples/Domains_Get_MaximumSet_Gen.json | 105 ----- .../examples/Domains_Get_MinimumSet_Gen.json | 15 - ...ns_ListByResourceGroup_MaximumSet_Gen.json | 196 ---------- ...ns_ListByResourceGroup_MinimumSet_Gen.json | 12 - ...ins_ListBySubscription_MaximumSet_Gen.json | 195 ---------- ...ins_ListBySubscription_MinimumSet_Gen.json | 11 - ...s_ListSharedAccessKeys_MaximumSet_Gen.json | 16 - ...s_ListSharedAccessKeys_MinimumSet_Gen.json | 13 - .../Domains_RegenerateKey_MaximumSet_Gen.json | 19 - .../Domains_RegenerateKey_MinimumSet_Gen.json | 16 - .../Domains_Update_MaximumSet_Gen.json | 139 ------- .../Domains_Update_MinimumSet_Gen.json | 20 - ...iptions_CreateOrUpdate_MaximumSet_Gen.json | 111 ------ ...iptions_CreateOrUpdate_MinimumSet_Gen.json | 16 - ...ntSubscriptions_Delete_MaximumSet_Gen.json | 16 - ...ntSubscriptions_Delete_MinimumSet_Gen.json | 16 - ...tSubscriptions_GetDeliveryAttributes.json} | 0 ..._GetDeliveryAttributes_MinimumSet_Gen.json | 12 - ...bscriptions_GetFullUrl_MaximumSet_Gen.json | 14 - ...bscriptions_GetFullUrl_MinimumSet_Gen.json | 12 - ...EventSubscriptions_Get_MaximumSet_Gen.json | 66 ---- ...EventSubscriptions_Get_MinimumSet_Gen.json | 12 - ...ions_ListByDomainTopic_MaximumSet_Gen.json | 128 ------ ...ions_ListByDomainTopic_MinimumSet_Gen.json | 14 - ...iptions_ListByResource_MaximumSet_Gen.json | 129 ------ ...iptions_ListByResource_MinimumSet_Gen.json | 15 - ...ourceGroupForTopicType_MaximumSet_Gen.json | 127 ------ ...ourceGroupForTopicType_MinimumSet_Gen.json | 13 - ...tGlobalByResourceGroup_MaximumSet_Gen.json | 126 ------ ...tGlobalByResourceGroup_MinimumSet_Gen.json | 12 - ...bscriptionForTopicType_MaximumSet_Gen.json | 126 ------ ...bscriptionForTopicType_MinimumSet_Gen.json | 12 - ...stGlobalBySubscription_MaximumSet_Gen.json | 125 ------ ...stGlobalBySubscription_MinimumSet_Gen.json | 11 - ...ourceGroupForTopicType_MaximumSet_Gen.json | 128 ------ ...ourceGroupForTopicType_MinimumSet_Gen.json | 14 - ...egionalByResourceGroup_MaximumSet_Gen.json | 127 ------ ...egionalByResourceGroup_MinimumSet_Gen.json | 13 - ...bscriptionForTopicType_MaximumSet_Gen.json | 127 ------ ...bscriptionForTopicType_MinimumSet_Gen.json | 13 - ...RegionalBySubscription_MaximumSet_Gen.json | 126 ------ ...RegionalBySubscription_MinimumSet_Gen.json | 12 - ...ntSubscriptions_Update_MaximumSet_Gen.json | 109 ------ ...ntSubscriptions_Update_MinimumSet_Gen.json | 16 - .../Operations_List_MaximumSet_Gen.json | 90 ----- .../Operations_List_MinimumSet_Gen.json | 10 - ...ointConnections_Delete_MaximumSet_Gen.json | 18 - ...ointConnections_Delete_MinimumSet_Gen.json | 18 - ...ndpointConnections_Get_MaximumSet_Gen.json | 33 -- ...ndpointConnections_Get_MinimumSet_Gen.json | 15 - ...ections_ListByResource_MaximumSet_Gen.json | 39 -- ...ections_ListByResource_MinimumSet_Gen.json | 14 - ...ointConnections_Update_MaximumSet_Gen.json | 73 ---- ...ointConnections_Update_MinimumSet_Gen.json | 22 -- ...ivateLinkResources_Get_MaximumSet_Gen.json | 29 -- ...ivateLinkResources_Get_MinimumSet_Gen.json | 15 - ...sources_ListByResource_MaximumSet_Gen.json | 35 -- ...sources_ListByResource_MinimumSet_Gen.json | 14 - ...iptions_CreateOrUpdate_MaximumSet_Gen.json | 113 ------ ...iptions_CreateOrUpdate_MinimumSet_Gen.json | 18 - ...ntSubscriptions_Delete_MaximumSet_Gen.json | 18 - ...ntSubscriptions_Delete_MinimumSet_Gen.json | 18 - ..._GetDeliveryAttributes_MaximumSet_Gen.json | 29 -- ..._GetDeliveryAttributes_MinimumSet_Gen.json | 14 - ...bscriptions_GetFullUrl_MaximumSet_Gen.json | 16 - ...bscriptions_GetFullUrl_MinimumSet_Gen.json | 14 - ...EventSubscriptions_Get_MaximumSet_Gen.json | 68 ---- ...EventSubscriptions_Get_MinimumSet_Gen.json | 14 - ...ions_ListBySystemTopic_MaximumSet_Gen.json | 127 ------ ...ions_ListBySystemTopic_MinimumSet_Gen.json | 13 - ...ntSubscriptions_Update_MaximumSet_Gen.json | 111 ------ ...ntSubscriptions_Update_MinimumSet_Gen.json | 18 - ...mTopics_CreateOrUpdate_MaximumSet_Gen.json | 106 ----- ...mTopics_CreateOrUpdate_MinimumSet_Gen.json | 26 -- .../SystemTopics_Delete_MaximumSet_Gen.json | 17 - .../SystemTopics_Delete_MinimumSet_Gen.json | 17 - .../SystemTopics_Get_MaximumSet_Gen.json | 46 --- .../SystemTopics_Get_MinimumSet_Gen.json | 15 - ...cs_ListByResourceGroup_MaximumSet_Gen.json | 52 --- ...cs_ListByResourceGroup_MinimumSet_Gen.json | 12 - ...ics_ListBySubscription_MaximumSet_Gen.json | 51 --- ...ics_ListBySubscription_MinimumSet_Gen.json | 11 - .../SystemTopics_Update_MaximumSet_Gen.json | 99 ----- .../SystemTopics_Update_MinimumSet_Gen.json | 24 -- .../TopicTypes_Get_MaximumSet_Gen.json | 29 -- .../TopicTypes_Get_MinimumSet_Gen.json | 11 - ...icTypes_ListEventTypes_MaximumSet_Gen.json | 36 -- ...icTypes_ListEventTypes_MinimumSet_Gen.json | 11 - .../TopicTypes_List_MaximumSet_Gen.json | 51 --- .../TopicTypes_List_MinimumSet_Gen.json | 10 - .../Topics_CreateOrUpdate_MaximumSet_Gen.json | 140 ------- .../Topics_CreateOrUpdate_MinimumSet_Gen.json | 21 - .../Topics_Delete_MaximumSet_Gen.json | 16 - .../Topics_Delete_MinimumSet_Gen.json | 16 - .../examples/Topics_Get_MaximumSet_Gen.json | 92 ----- .../examples/Topics_Get_MinimumSet_Gen.json | 15 - ...cs_ListByResourceGroup_MaximumSet_Gen.json | 170 -------- ...cs_ListByResourceGroup_MinimumSet_Gen.json | 12 - ...ics_ListBySubscription_MaximumSet_Gen.json | 169 -------- ...ics_ListBySubscription_MinimumSet_Gen.json | 11 - .../Topics_ListEventTypes_MaximumSet_Gen.json | 40 -- .../Topics_ListEventTypes_MinimumSet_Gen.json | 15 - ...s_ListSharedAccessKeys_MaximumSet_Gen.json | 16 - ...s_ListSharedAccessKeys_MinimumSet_Gen.json | 13 - .../Topics_RegenerateKey_MaximumSet_Gen.json | 19 - .../Topics_RegenerateKey_MinimumSet_Gen.json | 16 - .../Topics_Update_MaximumSet_Gen.json | 113 ------ .../Topics_Update_MinimumSet_Gen.json | 20 - 121 files changed, 5 insertions(+), 5884 deletions(-) delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json rename specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/{EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json => EventSubscriptions_GetDeliveryAttributes.json} (100%) delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json delete mode 100644 specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json index cc451dd75c58..6c5f25368197 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -64,12 +64,6 @@ "x-ms-examples": { "Domains_Get": { "$ref": "./examples/Domains_Get.json" - }, - "Domains_Get_MaximumSet_Gen": { - "$ref": "./examples/Domains_Get_MaximumSet_Gen.json" - }, - "Domains_Get_MinimumSet_Gen": { - "$ref": "./examples/Domains_Get_MinimumSet_Gen.json" } } }, @@ -131,12 +125,6 @@ "x-ms-examples": { "Domains_CreateOrUpdate": { "$ref": "./examples/Domains_CreateOrUpdate.json" - }, - "Domains_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/Domains_CreateOrUpdate_MaximumSet_Gen.json" - }, - "Domains_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/Domains_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -191,12 +179,6 @@ "x-ms-examples": { "Domains_Delete": { "$ref": "./examples/Domains_Delete.json" - }, - "Domains_Delete_MaximumSet_Gen": { - "$ref": "./examples/Domains_Delete_MaximumSet_Gen.json" - }, - "Domains_Delete_MinimumSet_Gen": { - "$ref": "./examples/Domains_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -262,12 +244,6 @@ "x-ms-examples": { "Domains_Update": { "$ref": "./examples/Domains_Update.json" - }, - "Domains_Update_MaximumSet_Gen": { - "$ref": "./examples/Domains_Update_MaximumSet_Gen.json" - }, - "Domains_Update_MinimumSet_Gen": { - "$ref": "./examples/Domains_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -313,12 +289,6 @@ "x-ms-examples": { "Domains_ListBySubscription": { "$ref": "./examples/Domains_ListBySubscription.json" - }, - "Domains_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/Domains_ListBySubscription_MaximumSet_Gen.json" - }, - "Domains_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/Domains_ListBySubscription_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -373,12 +343,6 @@ "x-ms-examples": { "Domains_ListByResourceGroup": { "$ref": "./examples/Domains_ListByResourceGroup.json" - }, - "Domains_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/Domains_ListByResourceGroup_MaximumSet_Gen.json" - }, - "Domains_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/Domains_ListByResourceGroup_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -434,12 +398,6 @@ "x-ms-examples": { "Domains_ListSharedAccessKeys": { "$ref": "./examples/Domains_ListSharedAccessKeys.json" - }, - "Domains_ListSharedAccessKeys_MaximumSet_Gen": { - "$ref": "./examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json" - }, - "Domains_ListSharedAccessKeys_MinimumSet_Gen": { - "$ref": "./examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json" } } } @@ -503,12 +461,6 @@ "x-ms-examples": { "Domains_RegenerateKey": { "$ref": "./examples/Domains_RegenerateKey.json" - }, - "Domains_RegenerateKey_MaximumSet_Gen": { - "$ref": "./examples/Domains_RegenerateKey_MaximumSet_Gen.json" - }, - "Domains_RegenerateKey_MinimumSet_Gen": { - "$ref": "./examples/Domains_RegenerateKey_MinimumSet_Gen.json" } } } @@ -568,12 +520,6 @@ "x-ms-examples": { "DomainTopics_Get": { "$ref": "./examples/DomainTopics_Get.json" - }, - "DomainTopics_Get_MaximumSet_Gen": { - "$ref": "./examples/DomainTopics_Get_MaximumSet_Gen.json" - }, - "DomainTopics_Get_MinimumSet_Gen": { - "$ref": "./examples/DomainTopics_Get_MinimumSet_Gen.json" } } }, @@ -631,12 +577,6 @@ "x-ms-examples": { "DomainTopics_CreateOrUpdate": { "$ref": "./examples/DomainTopics_CreateOrUpdate.json" - }, - "DomainTopics_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json" - }, - "DomainTopics_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -698,12 +638,6 @@ "x-ms-examples": { "DomainTopics_Delete": { "$ref": "./examples/DomainTopics_Delete.json" - }, - "DomainTopics_Delete_MaximumSet_Gen": { - "$ref": "./examples/DomainTopics_Delete_MaximumSet_Gen.json" - }, - "DomainTopics_Delete_MinimumSet_Gen": { - "$ref": "./examples/DomainTopics_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -763,12 +697,6 @@ "x-ms-examples": { "DomainTopics_ListByDomain": { "$ref": "./examples/DomainTopics_ListByDomain.json" - }, - "DomainTopics_ListByDomain_MaximumSet_Gen": { - "$ref": "./examples/DomainTopics_ListByDomain_MaximumSet_Gen.json" - }, - "DomainTopics_ListByDomain_MinimumSet_Gen": { - "$ref": "./examples/DomainTopics_ListByDomain_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -831,12 +759,6 @@ }, "EventSubscriptions_GetForCustomTopic": { "$ref": "./examples/EventSubscriptions_GetForCustomTopic.json" - }, - "EventSubscriptions_Get_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Get_MaximumSet_Gen.json" - }, - "EventSubscriptions_Get_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Get_MinimumSet_Gen.json" } } }, @@ -914,12 +836,6 @@ }, "EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination": { "$ref": "./examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination.json" - }, - "EventSubscriptions_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json" - }, - "EventSubscriptions_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -981,12 +897,6 @@ }, "EventSubscriptions_DeleteForCustomTopic": { "$ref": "./examples/EventSubscriptions_DeleteForCustomTopic.json" - }, - "EventSubscriptions_Delete_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Delete_MaximumSet_Gen.json" - }, - "EventSubscriptions_Delete_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -1056,12 +966,6 @@ }, "EventSubscriptions_UpdateForCustomTopic": { "$ref": "./examples/EventSubscriptions_UpdateForCustomTopic.json" - }, - "EventSubscriptions_Update_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Update_MaximumSet_Gen.json" - }, - "EventSubscriptions_Update_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -1122,12 +1026,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_Get": { "$ref": "./examples/SystemTopicEventSubscriptions_Get.json" - }, - "SystemTopicEventSubscriptions_Get_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_Get_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json" } } }, @@ -1196,12 +1094,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_CreateOrUpdate": { "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate.json" - }, - "SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -1263,12 +1155,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_Delete": { "$ref": "./examples/SystemTopicEventSubscriptions_Delete.json" - }, - "SystemTopicEventSubscriptions_Delete_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_Delete_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -1338,12 +1224,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_Update": { "$ref": "./examples/SystemTopicEventSubscriptions_Update.json" - }, - "SystemTopicEventSubscriptions_Update_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_Update_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -1404,12 +1284,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_GetFullUrl": { "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl.json" - }, - "SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json" } } } @@ -1469,12 +1343,6 @@ }, "EventSubscriptions_GetFullUrlForCustomTopic": { "$ref": "./examples/EventSubscriptions_GetFullUrlForCustomTopic.json" - }, - "EventSubscriptions_GetFullUrl_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json" - }, - "EventSubscriptions_GetFullUrl_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json" } } } @@ -1533,12 +1401,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_ListBySystemTopic": { "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic.json" - }, - "SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -1589,12 +1451,6 @@ "x-ms-examples": { "EventSubscriptions_ListGlobalBySubscription": { "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription.json" - }, - "EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json" } } } @@ -1649,12 +1505,6 @@ "x-ms-examples": { "EventSubscriptions_ListGlobalBySubscriptionForTopicType": { "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType.json" - }, - "EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json" } } } @@ -1709,12 +1559,6 @@ "x-ms-examples": { "EventSubscriptions_ListGlobalByResourceGroup": { "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup.json" - }, - "EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json" } } } @@ -1776,12 +1620,6 @@ "x-ms-examples": { "EventSubscriptions_ListGlobalByResourceGroupForTopicType": { "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType.json" - }, - "EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json" } } } @@ -1836,12 +1674,6 @@ "x-ms-examples": { "EventSubscriptions_ListRegionalBySubscription": { "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription.json" - }, - "EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json" } } } @@ -1903,12 +1735,6 @@ "x-ms-examples": { "EventSubscriptions_ListRegionalByResourceGroup": { "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup.json" - }, - "EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json" } } } @@ -1970,12 +1796,6 @@ "x-ms-examples": { "EventSubscriptions_ListRegionalBySubscriptionForTopicType": { "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType.json" - }, - "EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json" } } } @@ -2044,12 +1864,6 @@ "x-ms-examples": { "EventSubscriptions_ListRegionalByResourceGroupForTopicType": { "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType.json" - }, - "EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json" } } } @@ -2122,12 +1936,6 @@ "x-ms-examples": { "EventSubscriptions_ListByResource": { "$ref": "./examples/EventSubscriptions_ListByResource.json" - }, - "EventSubscriptions_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListByResource_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -2196,12 +2004,6 @@ "x-ms-examples": { "EventSubscriptions_ListByDomainTopic": { "$ref": "./examples/EventSubscriptions_ListByDomainTopic.json" - }, - "EventSubscriptions_ListByDomainTopic_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json" - }, - "EventSubscriptions_ListByDomainTopic_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -2253,11 +2055,8 @@ } }, "x-ms-examples": { - "EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen": { - "$ref": "./examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json" - }, - "EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen": { - "$ref": "./examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json" + "EventSubscriptions_GetDeliveryAttributes": { + "$ref": "./examples/EventSubscriptions_GetDeliveryAttributes.json" } } } @@ -2317,12 +2116,6 @@ "x-ms-examples": { "SystemTopicEventSubscriptions_GetDeliveryAttributes": { "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes.json" - }, - "SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json" - }, - "SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen": { - "$ref": "./examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json" } } } @@ -2361,12 +2154,6 @@ "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" - }, - "Operations_List_MaximumSet_Gen": { - "$ref": "./examples/Operations_List_MaximumSet_Gen.json" - }, - "Operations_List_MinimumSet_Gen": { - "$ref": "./examples/Operations_List_MinimumSet_Gen.json" } } } @@ -2419,12 +2206,6 @@ "x-ms-examples": { "Topics_Get": { "$ref": "./examples/Topics_Get.json" - }, - "Topics_Get_MaximumSet_Gen": { - "$ref": "./examples/Topics_Get_MaximumSet_Gen.json" - }, - "Topics_Get_MinimumSet_Gen": { - "$ref": "./examples/Topics_Get_MinimumSet_Gen.json" } } }, @@ -2486,12 +2267,6 @@ "x-ms-examples": { "Topics_CreateOrUpdate": { "$ref": "./examples/Topics_CreateOrUpdate.json" - }, - "Topics_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/Topics_CreateOrUpdate_MaximumSet_Gen.json" - }, - "Topics_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/Topics_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -2543,12 +2318,6 @@ "x-ms-examples": { "Topics_Delete": { "$ref": "./examples/Topics_Delete.json" - }, - "Topics_Delete_MaximumSet_Gen": { - "$ref": "./examples/Topics_Delete_MaximumSet_Gen.json" - }, - "Topics_Delete_MinimumSet_Gen": { - "$ref": "./examples/Topics_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -2614,12 +2383,6 @@ "x-ms-examples": { "Topics_Update": { "$ref": "./examples/Topics_Update.json" - }, - "Topics_Update_MaximumSet_Gen": { - "$ref": "./examples/Topics_Update_MaximumSet_Gen.json" - }, - "Topics_Update_MinimumSet_Gen": { - "$ref": "./examples/Topics_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -2668,12 +2431,6 @@ "x-ms-examples": { "Topics_ListBySubscription": { "$ref": "./examples/Topics_ListBySubscription.json" - }, - "Topics_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/Topics_ListBySubscription_MaximumSet_Gen.json" - }, - "Topics_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/Topics_ListBySubscription_MinimumSet_Gen.json" } } } @@ -2728,12 +2485,6 @@ "x-ms-examples": { "Topics_ListByResourceGroup": { "$ref": "./examples/Topics_ListByResourceGroup.json" - }, - "Topics_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/Topics_ListByResourceGroup_MaximumSet_Gen.json" - }, - "Topics_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/Topics_ListByResourceGroup_MinimumSet_Gen.json" } } } @@ -2786,12 +2537,6 @@ "x-ms-examples": { "Topics_ListSharedAccessKeys": { "$ref": "./examples/Topics_ListSharedAccessKeys.json" - }, - "Topics_ListSharedAccessKeys_MaximumSet_Gen": { - "$ref": "./examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json" - }, - "Topics_ListSharedAccessKeys_MinimumSet_Gen": { - "$ref": "./examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json" } } } @@ -2855,12 +2600,6 @@ "x-ms-examples": { "Topics_RegenerateKey": { "$ref": "./examples/Topics_RegenerateKey.json" - }, - "Topics_RegenerateKey_MaximumSet_Gen": { - "$ref": "./examples/Topics_RegenerateKey_MaximumSet_Gen.json" - }, - "Topics_RegenerateKey_MinimumSet_Gen": { - "$ref": "./examples/Topics_RegenerateKey_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -2932,12 +2671,6 @@ "x-ms-examples": { "PrivateEndpointConnections_Get": { "$ref": "./examples/PrivateEndpointConnections_Get.json" - }, - "PrivateEndpointConnections_Get_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json" - }, - "PrivateEndpointConnections_Get_MinimumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json" } } }, @@ -3023,12 +2756,6 @@ "x-ms-examples": { "PrivateEndpointConnections_Update": { "$ref": "./examples/PrivateEndpointConnections_Update.json" - }, - "PrivateEndpointConnections_Update_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json" - }, - "PrivateEndpointConnections_Update_MinimumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -3098,12 +2825,6 @@ "x-ms-examples": { "PrivateEndpointConnections_Delete": { "$ref": "./examples/PrivateEndpointConnections_Delete.json" - }, - "PrivateEndpointConnections_Delete_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json" - }, - "PrivateEndpointConnections_Delete_MinimumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -3174,12 +2895,6 @@ "x-ms-examples": { "PrivateEndpointConnections_ListByResource": { "$ref": "./examples/PrivateEndpointConnections_ListByResource.json" - }, - "PrivateEndpointConnections_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json" - }, - "PrivateEndpointConnections_ListByResource_MinimumSet_Gen": { - "$ref": "./examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -3249,12 +2964,6 @@ "x-ms-examples": { "PrivateLinkResources_Get": { "$ref": "./examples/PrivateLinkResources_Get.json" - }, - "PrivateLinkResources_Get_MaximumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_Get_MaximumSet_Gen.json" - }, - "PrivateLinkResources_Get_MinimumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_Get_MinimumSet_Gen.json" } } } @@ -3320,12 +3029,6 @@ "x-ms-examples": { "PrivateLinkResources_ListByResource": { "$ref": "./examples/PrivateLinkResources_ListByResource.json" - }, - "PrivateLinkResources_ListByResource_MaximumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json" - }, - "PrivateLinkResources_ListByResource_MinimumSet_Gen": { - "$ref": "./examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -3381,12 +3084,6 @@ "x-ms-examples": { "SystemTopics_Get": { "$ref": "./examples/SystemTopics_Get.json" - }, - "SystemTopics_Get_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_Get_MaximumSet_Gen.json" - }, - "SystemTopics_Get_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_Get_MinimumSet_Gen.json" } } }, @@ -3454,12 +3151,6 @@ "x-ms-examples": { "SystemTopics_CreateOrUpdate": { "$ref": "./examples/SystemTopics_CreateOrUpdate.json" - }, - "SystemTopics_CreateOrUpdate_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json" - }, - "SystemTopics_CreateOrUpdate_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -3514,12 +3205,6 @@ "x-ms-examples": { "SystemTopics_Delete": { "$ref": "./examples/SystemTopics_Delete.json" - }, - "SystemTopics_Delete_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_Delete_MaximumSet_Gen.json" - }, - "SystemTopics_Delete_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_Delete_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -3588,12 +3273,6 @@ "x-ms-examples": { "SystemTopics_Update": { "$ref": "./examples/SystemTopics_Update.json" - }, - "SystemTopics_Update_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_Update_MaximumSet_Gen.json" - }, - "SystemTopics_Update_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_Update_MinimumSet_Gen.json" } }, "x-ms-long-running-operation": true @@ -3639,12 +3318,6 @@ "x-ms-examples": { "SystemTopics_ListBySubscription": { "$ref": "./examples/SystemTopics_ListBySubscription.json" - }, - "SystemTopics_ListBySubscription_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json" - }, - "SystemTopics_ListBySubscription_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -3699,12 +3372,6 @@ "x-ms-examples": { "SystemTopics_ListByResourceGroup": { "$ref": "./examples/SystemTopics_ListByResourceGroup.json" - }, - "SystemTopics_ListByResourceGroup_MaximumSet_Gen": { - "$ref": "./examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json" - }, - "SystemTopics_ListByResourceGroup_MinimumSet_Gen": { - "$ref": "./examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -3774,12 +3441,6 @@ "x-ms-examples": { "Topics_ListEventTypes": { "$ref": "./examples/Topics_ListEventTypes.json" - }, - "Topics_ListEventTypes_MaximumSet_Gen": { - "$ref": "./examples/Topics_ListEventTypes_MaximumSet_Gen.json" - }, - "Topics_ListEventTypes_MinimumSet_Gen": { - "$ref": "./examples/Topics_ListEventTypes_MinimumSet_Gen.json" } }, "x-ms-pageable": { @@ -3821,12 +3482,6 @@ "x-ms-examples": { "TopicTypes_List": { "$ref": "./examples/TopicTypes_List.json" - }, - "TopicTypes_List_MaximumSet_Gen": { - "$ref": "./examples/TopicTypes_List_MaximumSet_Gen.json" - }, - "TopicTypes_List_MinimumSet_Gen": { - "$ref": "./examples/TopicTypes_List_MinimumSet_Gen.json" } } } @@ -3869,12 +3524,6 @@ "x-ms-examples": { "TopicTypes_Get": { "$ref": "./examples/TopicTypes_Get.json" - }, - "TopicTypes_Get_MaximumSet_Gen": { - "$ref": "./examples/TopicTypes_Get_MaximumSet_Gen.json" - }, - "TopicTypes_Get_MinimumSet_Gen": { - "$ref": "./examples/TopicTypes_Get_MinimumSet_Gen.json" } } } @@ -3920,12 +3569,6 @@ "x-ms-examples": { "TopicTypes_ListEventTypes": { "$ref": "./examples/TopicTypes_ListEventTypes.json" - }, - "TopicTypes_ListEventTypes_MaximumSet_Gen": { - "$ref": "./examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json" - }, - "TopicTypes_ListEventTypes_MinimumSet_Gen": { - "$ref": "./examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json" } } } @@ -3962,12 +3605,12 @@ } }, "endpoint": { - "description": "Endpoint for the Event Grid Domain Resource which is used for publishing the events.", + "description": "Endpoint for the domain.", "type": "string", "readOnly": true }, "inputSchema": { - "description": "This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource.", + "description": "This determines the format that Event Grid should expect for incoming events published to the domain.", "enum": [ "EventGridSchema", "CustomEventSchema", @@ -3985,7 +3628,7 @@ "description": "Information about the InputSchemaMapping which specified the info about mapping event payload." }, "metricResourceId": { - "description": "Metric resource id for the Event Grid Domain Resource.", + "description": "Metric resource id for the domain.", "type": "string", "readOnly": true }, diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 82bc33d627e2..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaa", - "domainTopicName": "aaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "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", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 801270849e2a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaa", - "domainTopicName": "aaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json deleted file mode 100644 index 516dfe3df4f6..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaa", - "domainTopicName": "a", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json deleted file mode 100644 index 069c5dc79733..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaa", - "domainTopicName": "aaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json deleted file mode 100644 index 859f42114b60..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaa", - "domainTopicName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "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", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json deleted file mode 100644 index c5fe3436b943..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aa", - "domainTopicName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json deleted file mode 100644 index 66b12ce53a3b..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MaximumSet_Gen.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "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", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "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", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json deleted file mode 100644 index b5946c106d92..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/DomainTopics_ListByDomain_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 2b24fd2e8bb9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,166 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "domainInfo": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", - "name": "exampledomain2", - "type": "Microsoft.EventGrid/domains" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index aad8d067e274..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "a", - "domainInfo": { - "location": "westus2" - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json deleted file mode 100644 index a193601cc155..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json deleted file mode 100644 index 82aa9797bd57..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json deleted file mode 100644 index 2d471440da01..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", - "name": "exampledomain2", - "type": "Microsoft.EventGrid/domains" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json deleted file mode 100644 index f5667181d744..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 50412d095aa8..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,196 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", - "location": "westus2", - "name": "exampledomain1", - "tags": {}, - "type": "Microsoft.EventGrid/domains", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - { - "properties": { - "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", - "location": "westcentralus", - "name": "exampledomain2", - "tags": {}, - "type": "Microsoft.EventGrid/domains", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - } - ], - "nextLink": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 0b65c969863a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index c99ad0394597..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpoint": "https://exampledomain1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1", - "location": "westus2", - "name": "exampledomain1", - "tags": {}, - "type": "Microsoft.EventGrid/domains", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - { - "properties": { - "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", - "location": "westcentralus", - "name": "exampledomain2", - "tags": {}, - "type": "Microsoft.EventGrid/domains", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - } - ], - "nextLink": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index b26e1cae42d1..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json deleted file mode 100644 index 6bd5b4976031..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "key1": "", - "key2": "" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json deleted file mode 100644 index 3ae8cf2e7e04..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_ListSharedAccessKeys_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json deleted file mode 100644 index ec90dd21278a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MaximumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaa", - "regenerateKeyRequest": { - "keyName": "key1" - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "key1": "", - "key2": "" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json deleted file mode 100644 index 1851d940fa0a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_RegenerateKey_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaa", - "regenerateKeyRequest": { - "keyName": "key1" - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json deleted file mode 100644 index 39ff9c4d1999..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "domainUpdateParameters": { - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true, - "autoCreateTopicWithFirstSubscription": true, - "autoDeleteTopicWithLastSubscription": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2", - "name": "exampledomain2", - "type": "Microsoft.EventGrid/domains" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json deleted file mode 100644 index 500e5121a228..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Domains_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aa", - "domainUpdateParameters": {}, - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 6bb653a9a16a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaa", - "eventSubscriptionInfo": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 76a1c61abbec..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaa", - "eventSubscriptionInfo": {}, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json deleted file mode 100644 index 639f92d4f9a4..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json deleted file mode 100644 index ca3f606fe8b9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes.json similarity index 100% rename from specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json rename to specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes.json diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json deleted file mode 100644 index 430c4a003bdd..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json deleted file mode 100644 index 7cbb1d153300..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MaximumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "endpointUrl": "https://requestb.in/15ksip71" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json deleted file mode 100644 index 447d1de07bca..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_GetFullUrl_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json deleted file mode 100644 index 089a15b3ddb5..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "parameters": { - "scope": "aaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json deleted file mode 100644 index d0fe41b9a621..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json deleted file mode 100644 index 12b2d473d6bd..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MaximumSet_Gen.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaa", - "topicName": "aaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json deleted file mode 100644 index c6f1a1e374e5..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByDomainTopic_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "domainName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json deleted file mode 100644 index 3ff56a20e1e6..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MaximumSet_Gen.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "providerNamespace": "aaaaaaaaaaaaaaaaaaaaaa", - "resourceTypeName": "aaaaaaaa", - "resourceName": "aa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json deleted file mode 100644 index d844833c6596..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListByResource_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "providerNamespace": "aaaaaaaaaaaaaaaaaaaaaaaa", - "resourceTypeName": "aaaaaaaaaaa", - "resourceName": "aaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json deleted file mode 100644 index 465ae1269af0..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MaximumSet_Gen.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicTypeName": "aa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json deleted file mode 100644 index 6d8fa291cc11..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicTypeName": "aaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 8923c3d29949..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 0b65c969863a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json deleted file mode 100644 index 1b171ed43c14..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MaximumSet_Gen.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "topicTypeName": "aaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json deleted file mode 100644 index 50bedf42cf61..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "topicTypeName": "aaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 92c1f8ebaea0..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json deleted file mode 100644 index b26e1cae42d1..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListGlobalBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json deleted file mode 100644 index 1f3f76376f04..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MaximumSet_Gen.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "topicTypeName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json deleted file mode 100644 index d58bec36755b..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "location": "aaaaaa", - "topicTypeName": "aaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index d28caba75380..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "location": "aa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 018ad12cb68a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "location": "aaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json deleted file mode 100644 index 339e65bdce53..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MaximumSet_Gen.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "location": "aaaaaaaaaaaaaaaa", - "topicTypeName": "aaaaaaaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json deleted file mode 100644 index 42113183fd54..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "location": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "topicTypeName": "aaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 842587f7b398..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "location": "aaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json deleted file mode 100644 index 0e662d2b0dac..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_ListRegionalBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "location": "aaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json deleted file mode 100644 index 4c3073fad657..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "parameters": { - "scope": "aaaaa", - "eventSubscriptionName": "aa", - "eventSubscriptionUpdateParameters": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "existingPrefix", - "subjectEndsWith": "newSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.162Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json deleted file mode 100644 index 535a95dd6a17..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/EventSubscriptions_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "scope": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionUpdateParameters": {}, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json deleted file mode 100644 index f022e9cbfefb..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MaximumSet_Gen.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "parameters": { - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "Microsoft.EventGrid/register/action", - "display": { - "provider": "Microsoft Event Grid", - "resource": "EventGrid Resource Provider", - "operation": "Registers the EventGrid Resource Provider", - "description": "aaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/eventSubscriptions/write", - "display": { - "provider": "Microsoft Event Grid", - "resource": "eventSubscriptions", - "operation": "Write EventSubscription", - "description": "aaaaaaaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/eventSubscriptions/read", - "display": { - "provider": "Microsoft Event Grid", - "resource": "eventSubscriptions", - "operation": "Read EventSubscription", - "description": "aaaaaaaaaaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/eventSubscriptions/delete", - "display": { - "provider": "Microsoft Event Grid", - "resource": "eventSubscriptions", - "operation": "Delete EventSubscription", - "description": "aaaaaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/topics/write", - "display": { - "provider": "Microsoft Event Grid", - "resource": "topics", - "operation": "Write Topic", - "description": "aaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/topics/read", - "display": { - "provider": "Microsoft Event Grid", - "resource": "topics", - "operation": "Read Topic", - "description": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - }, - { - "name": "Microsoft.EventGrid/topics/delete", - "display": { - "provider": "Microsoft Event Grid", - "resource": "topics", - "operation": "Delete Topic", - "description": "aaaaaaaaaaaaaaaaaa" - }, - "origin": "UserAndSystem", - "properties": {} - } - ] - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json deleted file mode 100644 index eef4f8eec3cf..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Operations_List_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json deleted file mode 100644 index 2164bff82c5a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaaaaaaaaa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json deleted file mode 100644 index a539cde50340..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaaaaaaaaa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json deleted file mode 100644 index 1753ef2e3a27..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "actionsRequired": "None", - "description": "aaaa" - }, - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "topic" - ], - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "type": "Microsoft.EventGrid/topics/privateEndpointConnections" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json deleted file mode 100644 index 05c21cd4ddc9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json deleted file mode 100644 index 3098ae8eece9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MaximumSet_Gen.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "topic" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "actionsRequired": "None", - "description": "aaaaaaaaaaaaaaaaaaaaa" - }, - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "type": "Microsoft.EventGrid/topics/privateEndpointConnections" - } - ], - "nextLink": "aaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json deleted file mode 100644 index 887c25d33609..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_ListByResource_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json deleted file mode 100644 index 5c4d6f2ceb94..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaa", - "privateEndpointConnection": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "actionsRequired": "None", - "description": "aaaa" - }, - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "topic" - ], - "provisioningState": "Succeeded" - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "actionsRequired": "None", - "description": "aaaa" - }, - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "topic" - ], - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "type": "Microsoft.EventGrid/topics/privateEndpointConnections" - } - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "actionsRequired": "None", - "description": "aaaa" - }, - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "topic" - ], - "provisioningState": "Succeeded" - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/privateEndpointConnections/BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "name": "BMTPE5.8A30D251-4C61-489D-A1AA-B37C4A329B8B", - "type": "Microsoft.EventGrid/topics/privateEndpointConnections" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json deleted file mode 100644 index 399f71a33431..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateEndpointConnections_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "topics", - "parentName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "privateEndpointConnectionName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "privateEndpointConnection": {}, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json deleted file mode 100644 index 8a516bbf2fa9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "aa", - "parentName": "aaaaa", - "privateLinkResourceName": "aaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "groupId": "topic", - "displayName": "Event Grid topic", - "requiredMembers": [ - "topic" - ], - "requiredZoneNames": [ - "privatelink.eventgrid.azure.net" - ] - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", - "name": "topic", - "type": "Microsoft.EventGrid/topics/privateLinkResources" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json deleted file mode 100644 index cb825a19c3f7..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "parentName": "aaaaaaaa", - "privateLinkResourceName": "aaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json deleted file mode 100644 index 94d44a559fa4..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MaximumSet_Gen.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "aaaa", - "parentName": "aaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "groupId": "topic", - "displayName": "Event Grid topic", - "requiredMembers": [ - "topic" - ], - "requiredZoneNames": [ - "privatelink.eventgrid.azure.net" - ] - }, - "id": "/subscriptions/5B4B650E-28B9-4790-B3AB-DDBD88D727C4/resourceGroups/amh/providers/Microsoft.EventGrid/topics/exampletopic1/privateLinkResources/topic", - "name": "topic", - "type": "Microsoft.EventGrid/topics/privateLinkResources" - } - ], - "nextLink": "aaaaaaaaaaaaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json deleted file mode 100644 index cd2b6463b9ed..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/PrivateLinkResources_ListByResource_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "parentType": "aaaaaaaaaaaaa", - "parentName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index 95bc2133cf71..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionInfo": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 61f691e0eea9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionInfo": {}, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json deleted file mode 100644 index 9b51e8c373a4..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json deleted file mode 100644 index 5016479d6729..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json deleted file mode 100644 index 0ec8ecfddfec..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MaximumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaa", - "eventSubscriptionName": "a", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "header1", - "type": "Static" - }, - { - "name": "header2", - "type": "Dynamic" - }, - { - "name": "header3", - "type": "Static" - } - ] - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json deleted file mode 100644 index 2282d0f187ab..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetDeliveryAttributes_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json deleted file mode 100644 index f29929c1e251..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "endpointUrl": "https://requestb.in/15ksip71" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json deleted file mode 100644 index 1ca6b9e5bb46..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_GetFullUrl_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json deleted file mode 100644 index d2c2dbd0c235..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaa", - "eventSubscriptionName": "aaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json deleted file mode 100644 index a40dee5262c9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaa", - "eventSubscriptionName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json deleted file mode 100644 index 05544b0469a9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MaximumSet_Gen.json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaa", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "subjectBeginsWith": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "subjectEndsWith": "aaaaaaaaaaaaaaaaaaaaa", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "isSubjectCaseSensitive": true, - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 10, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription1", - "name": "examplesubscription1", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1", - "provisioningState": "Succeeded", - "destination": { - "endpointType": "StorageQueue" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "Microsoft.Storage.BlobCreated", - "Microsoft.Storage.BlobDeleted" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 30, - "eventTimeToLiveInMinutes": 1440 - }, - "expirationTimeUtc": "2021-10-06T23:58:55.170Z", - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic1/eventSubscriptions/examplesubscription2", - "name": "examplesubscription2", - "type": "Microsoft.EventGrid/systemTopics/eventSubscriptions", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json deleted file mode 100644 index f7d3b60aac71..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_ListBySystemTopic_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json deleted file mode 100644 index 0fcc0951fb62..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaa", - "eventSubscriptionName": "aaaaa", - "eventSubscriptionUpdateParameters": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "existingPrefix", - "subjectEndsWith": "newSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.162Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "destination": { - "endpointType": "WebHook" - }, - "filter": { - "isSubjectCaseSensitive": true, - "subjectBeginsWith": "ExamplePrefix", - "subjectEndsWith": "ExampleSuffix", - "includedEventTypes": [ - "aaaaaaaaaaaaaaaaaaa" - ], - "enableAdvancedFilteringOnArrays": true, - "advancedFilters": [ - { - "values": [ - 12 - ], - "operatorType": "NumberIn", - "key": "aaaaaaaaaaaaaaaaaa" - } - ] - }, - "topic": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "provisioningState": "Succeeded", - "labels": [ - "label1", - "label2" - ], - "expirationTimeUtc": "2021-10-06T23:58:55.155Z", - "eventDeliverySchema": "EventGridSchema", - "retryPolicy": { - "maxDeliveryAttempts": 14, - "eventTimeToLiveInMinutes": 25 - }, - "deadLetterDestination": { - "properties": { - "resourceId": "aaaaaaaaaaaaaaaaaaaaaaa", - "blobContainerName": "aaaaaaaaaaa" - }, - "endpointType": "StorageBlob" - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3", - "name": "examplesubscription3", - "type": "Microsoft.EventGrid/eventSubscriptions" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json deleted file mode 100644 index 4b597abd4421..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopicEventSubscriptions_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "eventSubscriptionName": "aaaaa", - "eventSubscriptionUpdateParameters": {}, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index e49ddf1e0dc4..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaa", - "systemTopicInfo": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "provisioningState": "Succeeded", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics" - } - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "provisioningState": "Succeeded", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 6c0c84927d87..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "systemTopicInfo": { - "location": "westus2" - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2" - } - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json deleted file mode 100644 index f24f1b1a1dd8..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json deleted file mode 100644 index b65adae1e9a3..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json deleted file mode 100644 index bb48ddef5f17..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "provisioningState": "Succeeded", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json deleted file mode 100644 index bf394622d9ba..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index 3a45c0e25f85..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "centraluseuap", - "tags": { - "key4823": "aaaaaaaaaaaaaaaaa" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics", - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 0b65c969863a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index 86a384b4e3e5..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "provisioningState": "Succeeded", - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "centraluseuap", - "tags": { - "key4823": "aaaaaaaaaaaaaaaaa" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics", - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index b26e1cae42d1..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json deleted file mode 100644 index a7ec3e024f51..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaa", - "systemTopicUpdateParameters": { - "tags": {}, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "provisioningState": "Succeeded", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics" - } - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "properties": { - "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e", - "topicType": "microsoft.storage.storageaccounts", - "provisioningState": "Succeeded", - "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e" - }, - "location": "westus2", - "tags": { - "key3581": "aaaaaaaaaaaa" - }, - "identity": { - "type": "None", - "principalId": "aaaaaa", - "tenantId": "aaaaaaaa", - "userAssignedIdentities": { - "key6912": { - "principalId": "aaaaa", - "clientId": "aaaaaaaaaaaaaaaaaaaaaaa" - } - } - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/exampleSystemTopic2", - "name": "exampleSystemTopic2", - "type": "Microsoft.EventGrid/systemTopics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json deleted file mode 100644 index 6b85cdc86d39..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/SystemTopics_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "systemTopicName": "aaaaaaaaaa", - "systemTopicUpdateParameters": {}, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2" - } - }, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json deleted file mode 100644 index 407272b8d26a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "topicTypeName": "aaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "displayName": "EventHubs Namespace", - "provider": "Microsoft.Eventhub", - "provisioningState": "Succeeded", - "resourceRegionType": "RegionalResource", - "description": "aaaaaaaaaaaaaaaaaaa", - "supportedLocations": [ - "aaaaaaaaaa" - ], - "sourceResourceFormat": "aaaaaaaaaaaaaaaaaaaaaaaa", - "supportedScopesForSource": [ - "Resource" - ] - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", - "name": "Microsoft.Eventhub.Namespaces", - "type": "Microsoft.EventGrid/topicTypes" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json deleted file mode 100644 index 5254cf8d1ae6..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "topicTypeName": "aaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json deleted file mode 100644 index 3c7290182f68..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MaximumSet_Gen.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "topicTypeName": "aaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "schemaUrl": "tbd", - "displayName": "Blob Created", - "description": "aa", - "isInDefaultSet": true - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", - "name": "Microsoft.Storage.BlobCreated", - "type": "Microsoft.EventGrid/topicTypes/eventTypes" - }, - { - "properties": { - "schemaUrl": "tbd", - "displayName": "Blob Deleted", - "description": "aaaaaaaaaaaaaaaaaa", - "isInDefaultSet": true - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", - "name": "Microsoft.Storage.BlobDeleted", - "type": "Microsoft.EventGrid/topicTypes/eventTypes" - } - ] - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json deleted file mode 100644 index ba7dbc4650f9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_ListEventTypes_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "topicTypeName": "aaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json deleted file mode 100644 index 15956f5e17bb..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MaximumSet_Gen.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "displayName": "EventHubs Namespace", - "provider": "Microsoft.Eventhub", - "provisioningState": "Succeeded", - "resourceRegionType": "RegionalResource", - "description": "aaaaaaaaaaaaaaaaaaa", - "supportedLocations": [ - "aaaaaaaaaa" - ], - "sourceResourceFormat": "aaaaaaaaaaaaaaaaaaaaaaaa", - "supportedScopesForSource": [ - "Resource" - ] - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces", - "name": "Microsoft.Eventhub.Namespaces", - "type": "Microsoft.EventGrid/topicTypes" - }, - { - "properties": { - "displayName": "Storage Accounts", - "provider": "Microsoft.Storage", - "provisioningState": "Succeeded", - "resourceRegionType": "RegionalResource", - "description": "aaaaaaaaaaaaaaaaaaa", - "supportedLocations": [ - "aaaaaaaa" - ], - "sourceResourceFormat": "aaaaaaaaaaaa", - "supportedScopesForSource": [ - "Resource" - ] - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts", - "name": "Microsoft.Storage.StorageAccounts", - "type": "Microsoft.EventGrid/topicTypes" - } - ] - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json deleted file mode 100644 index eef4f8eec3cf..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/TopicTypes_List_MinimumSet_Gen.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parameters": { - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json deleted file mode 100644 index a71174fbaead..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MaximumSet_Gen.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaa", - "topicInfo": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "disableLocalAuth": true - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", - "name": "exampletopic2", - "type": "Microsoft.EventGrid/topics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json deleted file mode 100644 index 3b0ac719e779..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_CreateOrUpdate_MinimumSet_Gen.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "topicInfo": { - "location": "westus2" - }, - "api-version": "2020-12-01" - }, - "responses": { - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json deleted file mode 100644 index efd3d7b84f65..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json deleted file mode 100644 index a6c8b9e626ce..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Delete_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "202": { - "headers": { - "location": "https://foo.com/operationstatus" - } - }, - "204": {} - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json deleted file mode 100644 index 634b4c9a7e56..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MaximumSet_Gen.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", - "name": "exampletopic2", - "type": "Microsoft.EventGrid/topics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json deleted file mode 100644 index 486fc2bef377..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Get_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "location": "westus2" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json deleted file mode 100644 index de9a0f0e302e..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MaximumSet_Gen.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", - "location": "westus2", - "name": "exampletopic1", - "tags": {}, - "type": "Microsoft.EventGrid/topics", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", - "location": "westcentralus", - "name": "exampletopic2", - "tags": {}, - "type": "Microsoft.EventGrid/topics", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json deleted file mode 100644 index 0b65c969863a..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListByResourceGroup_MinimumSet_Gen.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json deleted file mode 100644 index d40adef92846..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MaximumSet_Gen.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01", - "$filter": "aaaaaaaaaaaaaaa", - "$top": 9 - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "endpoint": "https://exampletopic1.westus2-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1", - "location": "westus2", - "name": "exampletopic1", - "tags": {}, - "type": "Microsoft.EventGrid/topics", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - }, - { - "properties": { - "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaa", - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "aaaaaaaaaaaaaaaaaaaaaaaaa", - "action": "Allow" - } - ], - "disableLocalAuth": true - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", - "location": "westcentralus", - "name": "exampletopic2", - "tags": {}, - "type": "Microsoft.EventGrid/topics", - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - } - } - ], - "nextLink": "aaaaaaaaaaaa" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json deleted file mode 100644 index b26e1cae42d1..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListBySubscription_MinimumSet_Gen.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json deleted file mode 100644 index 9850799a3250..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MaximumSet_Gen.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "providerNamespace": "aaaaaaa", - "resourceTypeName": "aaaaa", - "resourceName": "aaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "schemaUrl": "tbd", - "displayName": "Blob Created", - "description": "aa", - "isInDefaultSet": true - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated", - "name": "Microsoft.Storage.BlobCreated", - "type": "Microsoft.EventGrid/topicTypes/eventTypes" - }, - { - "properties": { - "schemaUrl": "tbd", - "displayName": "Blob Deleted", - "description": "aaaaaaaaaaaaaaaaaa", - "isInDefaultSet": true - }, - "id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted", - "name": "Microsoft.Storage.BlobDeleted", - "type": "Microsoft.EventGrid/topicTypes/eventTypes" - } - ] - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json deleted file mode 100644 index 2fa09e1e776c..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListEventTypes_MinimumSet_Gen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "providerNamespace": "aaaaaaaaaaaaaaa", - "resourceTypeName": "aaaaaa", - "resourceName": "aaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json deleted file mode 100644 index 033ee181241c..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MaximumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "key1": "", - "key2": "" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json deleted file mode 100644 index 2a779c0169cf..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_ListSharedAccessKeys_MinimumSet_Gen.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaaaa", - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json deleted file mode 100644 index e3ea72ad8ea8..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MaximumSet_Gen.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaaa", - "regenerateKeyRequest": { - "keyName": "key1" - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": { - "key1": "", - "key2": "" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json deleted file mode 100644 index 1f7c41b75de9..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_RegenerateKey_MinimumSet_Gen.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaaa", - "regenerateKeyRequest": { - "keyName": "key1" - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": { - "body": {} - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json deleted file mode 100644 index 0f410b0b337e..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MaximumSet_Gen.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaaaaaaaa", - "topicUpdateParameters": { - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "disableLocalAuth": true - } - }, - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2", - "tags": {}, - "properties": { - "publicNetworkAccess": "Enabled", - "inboundIpRules": [ - { - "ipMask": "12.18.30.15", - "action": "Allow" - }, - { - "ipMask": "12.18.176.1", - "action": "Allow" - } - ], - "privateEndpointConnections": [ - { - "properties": { - "privateEndpoint": { - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Network/privateEndpoints/bmtpe5" - }, - "groupIds": [ - "aaaaaaaaaaaa" - ], - "privateLinkServiceConnectionState": { - "status": "Pending", - "description": "aaaaaaaa", - "actionsRequired": "aaaaaaaaaaa" - }, - "provisioningState": "Creating" - }, - "id": "aaaaaa", - "name": "aaaa", - "type": "aaaaaaaaaaaaa" - } - ], - "provisioningState": "Succeeded", - "endpoint": "https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events", - "inputSchema": "EventGridSchema", - "inputSchemaMapping": { - "properties": { - "id": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "topic": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventTime": { - "sourceField": "aaaaaaaaaaaaaaaaaaaaaaaa" - }, - "eventType": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "subject": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - }, - "dataVersion": { - "sourceField": "aaaaaaaaaaaa", - "defaultValue": "aaaaaaaaaaaaaaaaaaaaaaaaa" - } - }, - "inputSchemaMappingType": "Json" - }, - "metricResourceId": "aaaaaaaaaaaaaaaaaaaaa", - "disableLocalAuth": true - }, - "systemData": { - "createdBy": "aaaaaaaaaaaaaaaaaaaaaaaaaa", - "createdByType": "User", - "createdAt": "2021-10-06T23:58:55.146Z", - "lastModifiedBy": "a", - "lastModifiedByType": "User", - "lastModifiedAt": "2021-10-06T23:58:55.146Z" - }, - "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2", - "name": "exampletopic2", - "type": "Microsoft.EventGrid/topics" - } - } - } -} diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json deleted file mode 100644 index 66d9ec0cd205..000000000000 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/examples/Topics_Update_MinimumSet_Gen.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4", - "resourceGroupName": "rgEventGrid", - "topicName": "aaaaaaaaaaa", - "topicUpdateParameters": {}, - "api-version": "2020-12-01" - }, - "responses": { - "200": {}, - "201": { - "headers": { - "location": "https://foo.com/operationstatus" - }, - "body": { - "location": "westus2" - } - } - } -} From 53c837f524d0f8ffa7b17311c37df7c607e2a3d3 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Tue, 12 Oct 2021 00:07:44 -0700 Subject: [PATCH 06/10] fix arm version in readme --- specification/eventgrid/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 73fc57effec5..91ba212362c2 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -26,7 +26,7 @@ These are the global settings for the Azure EventGrid API. ``` yaml openapi-type: arm -tag: package-2021-06-preview +tag: package-2021-12 ``` ### Tag: package-2021-12 From a2989160c91b184b2117e41824c571a8c6c10a26 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Tue, 12 Oct 2021 00:26:22 -0700 Subject: [PATCH 07/10] Add extra line --- specification/eventgrid/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 91ba212362c2..894e868d4694 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -28,6 +28,7 @@ These are the global settings for the Azure EventGrid API. openapi-type: arm tag: package-2021-12 ``` + ### Tag: package-2021-12 These settings apply only when `--tag=package-2021-12` is specified on the command line. From 5153ce700e21119d5b35461769c3754470729d9d Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Tue, 12 Oct 2021 00:44:30 -0700 Subject: [PATCH 08/10] fix lintdiff issue --- .../Microsoft.EventGrid/stable/2021-12-01/EventGrid.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json index 6c5f25368197..7f064dfdf42b 100644 --- a/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json +++ b/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2021-12-01/EventGrid.json @@ -2148,13 +2148,13 @@ "description": "*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error." } }, - "x-ms-pageable": { - "nextLinkName": null - }, "x-ms-examples": { "Operations_List": { "$ref": "./examples/Operations_List.json" } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, From ce353f21b1ed7e0bd7404e99c6682987d951c499 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Wed, 13 Oct 2021 19:19:24 -0700 Subject: [PATCH 09/10] Adding suppression and fixing sdk readme --- .../eventgrid/resource-manager/readme.go.md | 10 ++++++++++ .../eventgrid/resource-manager/readme.java.md | 16 ++++++++++++++++ .../eventgrid/resource-manager/readme.md | 9 +++++++++ .../eventgrid/resource-manager/readme.ruby.md | 11 +++++++++++ 4 files changed, 46 insertions(+) diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md index c8e7ee3e949f..21166ce370d5 100644 --- a/specification/eventgrid/resource-manager/readme.go.md +++ b/specification/eventgrid/resource-manager/readme.go.md @@ -21,6 +21,7 @@ azure-arm: true ``` yaml $(go) && $(multiapi) batch: + - tag: package-2021-12 - tag: package-2021-06-preview - tag: package-2020-10-preview - tag: package-2020-06 @@ -35,6 +36,15 @@ batch: - tag: package-2017-09-preview - tag: package-2017-06-preview ``` +### Tag: package-2021-12 and go + +These settings apply only when `--tag=package-2021-12 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2021-12' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-12-01/$(namespace) +``` + ### Tag: package-2021-06-preview and go These settings apply only when `--tag=package-2021-06-preview --go` is specified on the command line. diff --git a/specification/eventgrid/resource-manager/readme.java.md b/specification/eventgrid/resource-manager/readme.java.md index 8cd94d1c8eeb..aa5e42612b55 100644 --- a/specification/eventgrid/resource-manager/readme.java.md +++ b/specification/eventgrid/resource-manager/readme.java.md @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid ``` yaml $(java) && $(multiapi) batch: + - tag: package-2021-12 - tag: package-2021-06-preview - tag: package-2020-10-preview - tag: package-2020-06 @@ -28,6 +29,21 @@ batch: - tag: package-2018-05-preview - tag: package-2018-01 ``` + +### Tag: package-2021-12 and java + +These settings apply only when `--tag=package-2021-12 --java` is specified on the command line. + +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-12' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventgrid.v2021_12_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/eventgrid/mgmt-v2021_12_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-2021-06-preview and java These settings apply only when `--tag=package-2021-06-preview --java` is specified on the command line. diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 894e868d4694..a8725a8f3a3a 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -38,6 +38,15 @@ input-file: - Microsoft.EventGrid/stable/2021-12-01/EventGrid.json ``` +## Suppression + +``` yaml +directive: + - suppress: OperationsApiResponseSchema + from: EventGrid.json + reason: Error is complaining about a section that already exists in all previous stable and preview swaggers. +``` + ### Tag: package-2021-06-preview These settings apply only when `--tag=package-2021-06-preview` is specified on the command line. diff --git a/specification/eventgrid/resource-manager/readme.ruby.md b/specification/eventgrid/resource-manager/readme.ruby.md index 4c22c30b24bc..dc87bc3e5b36 100644 --- a/specification/eventgrid/resource-manager/readme.ruby.md +++ b/specification/eventgrid/resource-manager/readme.ruby.md @@ -12,6 +12,7 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: + - tag: package-2021-12 - tag: package-2021-06-preview - tag: package-2020-10-preview - tag: package-2020-06 @@ -26,6 +27,16 @@ batch: - tag: package-2017-09-preview - tag: package-2017-06-preview ``` +### Tag: package-2021-12 and ruby +These settings apply only when `--tag=package-2021-12 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2021-12' && $(ruby) + +namespace: "Azure::EventGrid::Mgmt::V2021_12_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_event_grid/lib +``` + ### Tag: package-2021-06-preview and ruby These settings apply only when `--tag=package-2021-06-preview --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. From e6deb85ebea7dee2d8053a8866398adda4cdea60 Mon Sep 17 00:00:00 2001 From: Rohit Kumar Date: Wed, 13 Oct 2021 19:37:56 -0700 Subject: [PATCH 10/10] fix issues with go sdk path --- specification/eventgrid/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/resource-manager/readme.go.md b/specification/eventgrid/resource-manager/readme.go.md index 21166ce370d5..b4ae92db3e61 100644 --- a/specification/eventgrid/resource-manager/readme.go.md +++ b/specification/eventgrid/resource-manager/readme.go.md @@ -42,7 +42,7 @@ These settings apply only when `--tag=package-2021-12 --go` is specified on the Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2021-12' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-12-01/$(namespace) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-12-01/$(namespace) ``` ### Tag: package-2021-06-preview and go