{"openapi":"3.0.0","info":{"description":"Azure EventGrid Management Client","title":"EventGridManagementClient","version":"2019-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/eventgrid/resource-manager/Microsoft.EventGrid/stable/2019-06-01/EventGrid.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"eventgrid-EventGrid","x-tags":["Azure","Microsoft"]},"paths":{"/providers/Microsoft.EventGrid/operations":{"get":{"description":"List the available operations supported by the Microsoft.EventGrid resource provider.","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationsListResult"},"examples":{"Operations_List":{"$ref":"#/components/examples/Operations_List"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List available operations.","tags":["Operations"],"x-ms-pageable":{}}},"/providers/Microsoft.EventGrid/topicTypes":{"get":{"description":"List all registered topic types.","operationId":"TopicTypes_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicTypesListResult"},"examples":{"TopicTypes_List":{"$ref":"#/components/examples/TopicTypes_List"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."}},"summary":"List topic types.","tags":["TopicTypes"],"x-ms-pageable":{}}},"/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}":{"get":{"description":"Get information about a topic type.","operationId":"TopicTypes_Get","parameters":[{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"TopicTypes_Get":{"value":"Microsoft.Storage.StorageAccounts"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicTypeInfo"},"examples":{"TopicTypes_Get":{"$ref":"#/components/examples/TopicTypes_Get"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."}},"summary":"Get a topic type.","tags":["TopicTypes"]}},"/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventTypes":{"get":{"description":"List event types for a topic type.","operationId":"TopicTypes_ListEventTypes","parameters":[{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"TopicTypes_ListEventTypes":{"value":"Microsoft.Storage.StorageAccounts"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypesListResult"},"examples":{"TopicTypes_ListEventTypes":{"$ref":"#/components/examples/TopicTypes_ListEventTypes"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 404 Not Found.\n\n * 500 Internal Server Error."}},"summary":"List event types.","tags":["TopicTypes"],"x-ms-pageable":{}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/domains":{"get":{"description":"List all the domains under an Azure subscription.","operationId":"Domains_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainsListResult"},"examples":{"Domains_ListBySubscription":{"$ref":"#/components/examples/Domains_ListBySubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List domains under an Azure subscription.","tags":["Domains"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/eventSubscriptions":{"get":{"description":"List all aggregated global event subscriptions under a specific Azure subscription.","operationId":"EventSubscriptions_ListGlobalBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListGlobalBySubscription":{"$ref":"#/components/examples/EventSubscriptions_ListGlobalBySubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get an aggregated list of all global event subscriptions under an Azure subscription.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions":{"get":{"description":"List all event subscriptions from the given location under a specific Azure subscription.","operationId":"EventSubscriptions_ListRegionalBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"Name of the location.","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalBySubscription":{"value":"westus2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListRegionalBySubscription":{"$ref":"#/components/examples/EventSubscriptions_ListRegionalBySubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all regional event subscriptions under an Azure subscription.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions":{"get":{"description":"List all event subscriptions from the given location under a specific Azure subscription and topic type.","operationId":"EventSubscriptions_ListRegionalBySubscriptionForTopicType","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"Name of the location.","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"value":"westus2"}}},{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"value":"Microsoft.EventHub.namespaces"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"$ref":"#/components/examples/EventSubscriptions_ListRegionalBySubscriptionForTopicType"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all regional event subscriptions under an Azure subscription for a topic type.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions":{"get":{"description":"List all global event subscriptions under an Azure subscription for a topic type.","operationId":"EventSubscriptions_ListGlobalBySubscriptionForTopicType","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListGlobalBySubscriptionForTopicType":{"value":"Microsoft.Resources.Subscriptions"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListGlobalBySubscriptionForTopicType":{"$ref":"#/components/examples/EventSubscriptions_ListGlobalBySubscriptionForTopicType"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all global event subscriptions for a topic type.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/topics":{"get":{"description":"List all the topics under an Azure subscription.","operationId":"Topics_ListBySubscription","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicsListResult"},"examples":{"Topics_ListBySubscription":{"$ref":"#/components/examples/Topics_ListBySubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List topics under an Azure subscription.","tags":["Topics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains":{"get":{"description":"List all the domains under a resource group.","operationId":"Domains_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_ListByResourceGroup":{"value":"examplerg"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainsListResult"},"examples":{"Domains_ListByResourceGroup":{"$ref":"#/components/examples/Domains_ListByResourceGroup"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List domains under a resource group.","tags":["Domains"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}":{"delete":{"description":"Delete existing domain.","operationId":"Domains_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_Delete":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_Delete":{"value":"exampledomain1"}}},{"$ref":"#/components/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."}},"summary":"Delete a domain.","tags":["Domains"],"x-ms-long-running-operation":true},"get":{"description":"Get properties of a domain.","operationId":"Domains_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_Get":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_Get":{"value":"exampledomain2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"},"examples":{"Domains_Get":{"$ref":"#/components/examples/Domains_Get"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get a domain.","tags":["Domains"]},"patch":{"description":"Asynchronously updates a domain with the specified parameters.","operationId":"Domains_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_Update":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_Update":{"value":"exampledomain1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainUpdateParameters"}}},"description":"Domain update information.","required":true},"responses":{"201":{"description":"Domain update request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"},"examples":{"Domains_Update":{"$ref":"#/components/examples/Domains_Update"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Update a domain.","tags":["Domains"],"x-ms-long-running-operation":true},"put":{"description":"Asynchronously creates or updates a new domain with the specified parameters.","operationId":"Domains_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_CreateOrUpdate":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_CreateOrUpdate":{"value":"exampledomain1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"}}},"description":"Domain information.","required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Domain"},"examples":{"Domains_CreateOrUpdate":{"$ref":"#/components/examples/Domains_CreateOrUpdate"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Create or update a domain.","tags":["Domains"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/listKeys":{"post":{"description":"List the two keys used to publish to a domain.","operationId":"Domains_ListSharedAccessKeys","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_ListSharedAccessKeys":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_ListSharedAccessKeys":{"value":"exampledomain2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainSharedAccessKeys"},"examples":{"Domains_ListSharedAccessKeys":{"$ref":"#/components/examples/Domains_ListSharedAccessKeys"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List keys for a domain.","tags":["Domains"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey":{"post":{"description":"Regenerate a shared access key for a domain.","operationId":"Domains_RegenerateKey","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Domains_RegenerateKey":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"Domains_RegenerateKey":{"value":"exampledomain2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRegenerateKeyRequest"}}},"description":"Request body to regenerate key.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainSharedAccessKeys"},"examples":{"Domains_RegenerateKey":{"$ref":"#/components/examples/Domains_RegenerateKey"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Regenerate key for a domain.","tags":["Domains"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics":{"get":{"description":"List all the topics in a domain.","operationId":"DomainTopics_ListByDomain","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_ListByDomain":{"value":"examplerg"}}},{"description":"Domain name.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_ListByDomain":{"value":"exampledomain2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainTopicsListResult"},"examples":{"DomainTopics_ListByDomain":{"$ref":"#/components/examples/DomainTopics_ListByDomain"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List domain topics.","tags":["DomainTopics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{domainTopicName}":{"delete":{"description":"Delete existing domain topic.","operationId":"DomainTopics_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Delete":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Delete":{"value":"exampledomain1"}}},{"description":"Name of the domain topic.","in":"path","name":"domainTopicName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Delete":{"value":"exampledomaintopic1"}}},{"$ref":"#/components/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."}},"summary":"Delete a domain topic.","tags":["DomainTopics"],"x-ms-long-running-operation":true},"get":{"description":"Get properties of a domain topic.","operationId":"DomainTopics_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Get":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Get":{"value":"exampledomain2"}}},{"description":"Name of the topic.","in":"path","name":"domainTopicName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_Get":{"value":"topic1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainTopic"},"examples":{"DomainTopics_Get":{"$ref":"#/components/examples/DomainTopics_Get"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get a domain topic.","tags":["DomainTopics"]},"put":{"description":"Asynchronously creates or updates a new domain topic with the specified parameters.","operationId":"DomainTopics_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_CreateOrUpdate":{"value":"examplerg"}}},{"description":"Name of the domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_CreateOrUpdate":{"value":"exampledomain1"}}},{"description":"Name of the domain topic.","in":"path","name":"domainTopicName","required":true,"schema":{"type":"string"},"examples":{"DomainTopics_CreateOrUpdate":{"value":"exampledomaintopic1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainTopic"},"examples":{"DomainTopics_CreateOrUpdate":{"$ref":"#/components/examples/DomainTopics_CreateOrUpdate"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Create or update a domain topic.","tags":["DomainTopics"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/topics/{topicName}/providers/Microsoft.EventGrid/eventSubscriptions":{"get":{"description":"List all event subscriptions that have been created for a specific domain topic.","operationId":"EventSubscriptions_ListByDomainTopic","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByDomainTopic":{"value":"examplerg"}}},{"description":"Name of the top level domain.","in":"path","name":"domainName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByDomainTopic":{"value":"domain1"}}},{"description":"Name of the domain topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByDomainTopic":{"value":"topic1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListByDomainTopic":{"$ref":"#/components/examples/EventSubscriptions_ListByDomainTopic"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all event subscriptions for a specific domain topic.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/eventSubscriptions":{"get":{"description":"List all global event subscriptions under a specific Azure subscription and resource group.","operationId":"EventSubscriptions_ListGlobalByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListGlobalByResourceGroup":{"value":"examplerg"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListGlobalByResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_ListGlobalByResourceGroup"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all global event subscriptions under an Azure subscription and resource group.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/eventSubscriptions":{"get":{"description":"List all event subscriptions from the given location under a specific Azure subscription and resource group.","operationId":"EventSubscriptions_ListRegionalByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalByResourceGroup":{"value":"examplerg"}}},{"description":"Name of the location.","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalByResourceGroup":{"value":"westus2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListRegionalByResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_ListRegionalByResourceGroup"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all regional event subscriptions under an Azure subscription and resource group.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/locations/{location}/topicTypes/{topicTypeName}/eventSubscriptions":{"get":{"description":"List all event subscriptions from the given location under a specific Azure subscription and resource group and topic type.","operationId":"EventSubscriptions_ListRegionalByResourceGroupForTopicType","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":"examplerg"}}},{"description":"Name of the location.","in":"path","name":"location","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":"westus2"}}},{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":"Microsoft.EventHub.namespaces"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"$ref":"#/components/examples/EventSubscriptions_ListRegionalByResourceGroupForTopicType"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all regional event subscriptions under an Azure subscription and resource group for a topic type.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topicTypes/{topicTypeName}/eventSubscriptions":{"get":{"description":"List all global event subscriptions under a resource group for a specific topic type.","operationId":"EventSubscriptions_ListGlobalByResourceGroupForTopicType","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"value":"examplerg"}}},{"description":"Name of the topic type.","in":"path","name":"topicTypeName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"value":"Microsoft.Resources.ResourceGroups"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"$ref":"#/components/examples/EventSubscriptions_ListGlobalByResourceGroupForTopicType"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all global event subscriptions under a resource group for a topic type.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics":{"get":{"description":"List all the topics under a resource group.","operationId":"Topics_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListByResourceGroup":{"value":"examplerg"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicsListResult"},"examples":{"Topics_ListByResourceGroup":{"$ref":"#/components/examples/Topics_ListByResourceGroup"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List topics under a resource group.","tags":["Topics"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}":{"delete":{"description":"Delete existing topic.","operationId":"Topics_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_Delete":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_Delete":{"value":"exampletopic1"}}},{"$ref":"#/components/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."}},"summary":"Delete a topic.","tags":["Topics"],"x-ms-long-running-operation":true},"get":{"description":"Get properties of a topic.","operationId":"Topics_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_Get":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_Get":{"value":"exampletopic2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"},"examples":{"Topics_Get":{"$ref":"#/components/examples/Topics_Get"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get a topic.","tags":["Topics"]},"patch":{"description":"Asynchronously updates a topic with the specified parameters.","operationId":"Topics_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_Update":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_Update":{"value":"exampletopic1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicUpdateParameters"}}},"description":"Topic update information.","required":true},"responses":{"201":{"description":"Topic update request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"},"examples":{"Topics_Update":{"$ref":"#/components/examples/Topics_Update"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Update a topic.","tags":["Topics"],"x-ms-long-running-operation":true},"put":{"description":"Asynchronously creates a new topic with the specified parameters.","operationId":"Topics_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_CreateOrUpdate":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_CreateOrUpdate":{"value":"exampletopic1"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"}}},"description":"Topic information.","required":true},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Topic"},"examples":{"Topics_CreateOrUpdate":{"$ref":"#/components/examples/Topics_CreateOrUpdate"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Create a topic.","tags":["Topics"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/listKeys":{"post":{"description":"List the two keys used to publish to a topic.","operationId":"Topics_ListSharedAccessKeys","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListSharedAccessKeys":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListSharedAccessKeys":{"value":"exampletopic2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicSharedAccessKeys"},"examples":{"Topics_ListSharedAccessKeys":{"$ref":"#/components/examples/Topics_ListSharedAccessKeys"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List keys for a topic.","tags":["Topics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}/regenerateKey":{"post":{"description":"Regenerate a shared access key for a topic.","operationId":"Topics_RegenerateKey","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_RegenerateKey":{"value":"examplerg"}}},{"description":"Name of the topic.","in":"path","name":"topicName","required":true,"schema":{"type":"string"},"examples":{"Topics_RegenerateKey":{"value":"exampletopic2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicRegenerateKeyRequest"}}},"description":"Request body to regenerate key.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicSharedAccessKeys"},"examples":{"Topics_RegenerateKey":{"$ref":"#/components/examples/Topics_RegenerateKey"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Regenerate key for a topic.","tags":["Topics"]}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventSubscriptions":{"get":{"description":"List all event subscriptions that have been created for a specific topic.","operationId":"EventSubscriptions_ListByResource","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByResource":{"value":"examplerg"}}},{"description":"Namespace of the provider of the topic.","in":"path","name":"providerNamespace","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByResource":{"value":"Microsoft.EventGrid"}}},{"description":"Name of the resource type.","in":"path","name":"resourceTypeName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByResource":{"value":"topics"}}},{"description":"Name of the resource.","in":"path","name":"resourceName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_ListByResource":{"value":"exampletopic2"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/TopParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionsListResult"},"examples":{"EventSubscriptions_ListByResource":{"$ref":"#/components/examples/EventSubscriptions_ListByResource"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List all event subscriptions for a specific topic.","tags":["EventSubscriptions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes":{"get":{"description":"List event types for a topic.","operationId":"Topics_ListEventTypes","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"description":"The name of the resource group within the user's subscription.","in":"path","name":"resourceGroupName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListEventTypes":{"value":"examplerg"}}},{"description":"Namespace of the provider of the topic.","in":"path","name":"providerNamespace","required":true,"schema":{"type":"string"},"examples":{"Topics_ListEventTypes":{"value":"Microsoft.Storage"}}},{"description":"Name of the topic type.","in":"path","name":"resourceTypeName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListEventTypes":{"value":"storageAccounts"}}},{"description":"Name of the topic.","in":"path","name":"resourceName","required":true,"schema":{"type":"string"},"examples":{"Topics_ListEventTypes":{"value":"ExampleStorageAccount"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypesListResult"},"examples":{"Topics_ListEventTypes":{"$ref":"#/components/examples/Topics_ListEventTypes"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"List topic event types.","tags":["Topics"],"x-ms-pageable":{}}},"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}":{"delete":{"description":"Delete an existing event subscription.","operationId":"EventSubscriptions_Delete","parameters":[{"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.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_DeleteForCustomTopic":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"EventSubscriptions_DeleteForResource":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"EventSubscriptions_DeleteForResourceGroup":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"EventSubscriptions_DeleteForSubscription":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},{"description":"Name of the event subscription.","in":"path","name":"eventSubscriptionName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_DeleteForCustomTopic":{"value":"examplesubscription1"},"EventSubscriptions_DeleteForResource":{"value":"examplesubscription10"},"EventSubscriptions_DeleteForResourceGroup":{"value":"examplesubscription2"},"EventSubscriptions_DeleteForSubscription":{"value":"examplesubscription3"}}},{"$ref":"#/components/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."}},"summary":"Delete an event subscription.","tags":["EventSubscriptions"],"x-ms-long-running-operation":true},"get":{"description":"Get properties of an event subscription.","operationId":"EventSubscriptions_Get","parameters":[{"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.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_GetForCustomTopic":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2"},"EventSubscriptions_GetForResource":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"EventSubscriptions_GetForResourceGroup":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"EventSubscriptions_GetForSubscription":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},{"description":"Name of the event subscription.","in":"path","name":"eventSubscriptionName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_GetForCustomTopic":{"value":"examplesubscription1"},"EventSubscriptions_GetForResource":{"value":"examplesubscription1"},"EventSubscriptions_GetForResourceGroup":{"value":"examplesubscription2"},"EventSubscriptions_GetForSubscription":{"value":"examplesubscription3"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscription"},"examples":{"EventSubscriptions_GetForCustomTopic":{"$ref":"#/components/examples/EventSubscriptions_GetForCustomTopic"},"EventSubscriptions_GetForResource":{"$ref":"#/components/examples/EventSubscriptions_GetForResource"},"EventSubscriptions_GetForResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_GetForResourceGroup"},"EventSubscriptions_GetForSubscription":{"$ref":"#/components/examples/EventSubscriptions_GetForSubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get an event subscription.","tags":["EventSubscriptions"]},"patch":{"description":"Asynchronously updates an existing event subscription.","operationId":"EventSubscriptions_Update","parameters":[{"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.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_UpdateForCustomTopic":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2"},"EventSubscriptions_UpdateForResource":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"EventSubscriptions_UpdateForResourceGroup":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"EventSubscriptions_UpdateForSubscription":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},{"description":"Name of the event subscription to be updated.","in":"path","name":"eventSubscriptionName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_UpdateForCustomTopic":{"value":"examplesubscription1"},"EventSubscriptions_UpdateForResource":{"value":"examplesubscription1"},"EventSubscriptions_UpdateForResourceGroup":{"value":"examplesubscription2"},"EventSubscriptions_UpdateForSubscription":{"value":"examplesubscription3"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionUpdateParameters"}}},"description":"Updated event subscription information.","required":true},"responses":{"201":{"description":"EventSubscription update request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscription"},"examples":{"EventSubscriptions_UpdateForCustomTopic":{"$ref":"#/components/examples/EventSubscriptions_UpdateForCustomTopic"},"EventSubscriptions_UpdateForResource":{"$ref":"#/components/examples/EventSubscriptions_UpdateForResource"},"EventSubscriptions_UpdateForResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_UpdateForResourceGroup"},"EventSubscriptions_UpdateForSubscription":{"$ref":"#/components/examples/EventSubscriptions_UpdateForSubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Update an event subscription.","tags":["EventSubscriptions"],"x-ms-long-running-operation":true},"put":{"description":"Asynchronously creates a new event subscription or updates an existing event subscription based on the specified scope.","operationId":"EventSubscriptions_CreateOrUpdate","parameters":[{"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.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"EventSubscriptions_CreateOrUpdateForResource":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"EventSubscriptions_CreateOrUpdateForResourceGroup":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"EventSubscriptions_CreateOrUpdateForSubscription":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},{"description":"Name of the event subscription. Event subscription names must be between 3 and 64 characters in length and should use alphanumeric letters only.","in":"path","name":"eventSubscriptionName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination":{"value":"examplesubscription1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination":{"value":"examplesubscription1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination":{"value":"examplesubscription1"},"EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination":{"value":"examplesubscription1"},"EventSubscriptions_CreateOrUpdateForResource":{"value":"examplesubscription10"},"EventSubscriptions_CreateOrUpdateForResourceGroup":{"value":"examplesubscription2"},"EventSubscriptions_CreateOrUpdateForSubscription":{"value":"examplesubscription3"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscription"}}},"description":"Event subscription properties containing the destination and filter information.","required":true},"responses":{"201":{"description":"EventSubscription CreateOrUpdate request accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscription"},"examples":{"EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination"},"EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination"},"EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination"},"EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination"},"EventSubscriptions_CreateOrUpdateForResource":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForResource"},"EventSubscriptions_CreateOrUpdateForResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForResourceGroup"},"EventSubscriptions_CreateOrUpdateForSubscription":{"$ref":"#/components/examples/EventSubscriptions_CreateOrUpdateForSubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Create or update an event subscription.","tags":["EventSubscriptions"],"x-ms-long-running-operation":true}},"/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl":{"post":{"description":"Get the full endpoint URL for an event subscription.","operationId":"EventSubscriptions_GetFullUrl","parameters":[{"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.","in":"path","name":"scope","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_GetFullUrlForCustomTopic":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2"},"EventSubscriptions_GetFullUrlForResource":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"EventSubscriptions_GetFullUrlForResourceGroup":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"EventSubscriptions_GetFullUrlForSubscription":{"value":"subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},{"description":"Name of the event subscription.","in":"path","name":"eventSubscriptionName","required":true,"schema":{"type":"string"},"examples":{"EventSubscriptions_GetFullUrlForCustomTopic":{"value":"examplesubscription1"},"EventSubscriptions_GetFullUrlForResource":{"value":"examplesubscription1"},"EventSubscriptions_GetFullUrlForResourceGroup":{"value":"examplesubscription2"},"EventSubscriptions_GetFullUrlForSubscription":{"value":"examplesubscription3"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSubscriptionFullUrl"},"examples":{"EventSubscriptions_GetFullUrlForCustomTopic":{"$ref":"#/components/examples/EventSubscriptions_GetFullUrlForCustomTopic"},"EventSubscriptions_GetFullUrlForResource":{"$ref":"#/components/examples/EventSubscriptions_GetFullUrlForResource"},"EventSubscriptions_GetFullUrlForResourceGroup":{"$ref":"#/components/examples/EventSubscriptions_GetFullUrlForResourceGroup"},"EventSubscriptions_GetFullUrlForSubscription":{"$ref":"#/components/examples/EventSubscriptions_GetFullUrlForSubscription"}}}}},"default":{"description":"*** Error Responses: ***\n\n * 400 Bad Request.\n\n * 500 Internal Server Error."}},"summary":"Get full URL of an event subscription.","tags":["EventSubscriptions"]}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Operations_List":{"value":{"value":[{"display":{"description":"Registers the eventSubscription for the EventGrid resource provider and enables the creation of Event Grid subscriptions.","operation":"Registers the EventGrid Resource Provider","provider":"Microsoft Event Grid","resource":"EventGrid Resource Provider"},"name":"Microsoft.EventGrid/register/action","origin":"UserAndSystem"},{"display":{"description":"Create or update a eventSubscription","operation":"Write EventSubscription","provider":"Microsoft Event Grid","resource":"eventSubscriptions"},"name":"Microsoft.EventGrid/eventSubscriptions/write","origin":"UserAndSystem"},{"display":{"description":"Read a eventSubscription","operation":"Read EventSubscription","provider":"Microsoft Event Grid","resource":"eventSubscriptions"},"name":"Microsoft.EventGrid/eventSubscriptions/read","origin":"UserAndSystem"},{"display":{"description":"Delete a eventSubscription","operation":"Delete EventSubscription","provider":"Microsoft Event Grid","resource":"eventSubscriptions"},"name":"Microsoft.EventGrid/eventSubscriptions/delete","origin":"UserAndSystem"},{"display":{"description":"Create or update a topic","operation":"Write Topic","provider":"Microsoft Event Grid","resource":"topics"},"name":"Microsoft.EventGrid/topics/write","origin":"UserAndSystem"},{"display":{"description":"Read a topic","operation":"Read Topic","provider":"Microsoft Event Grid","resource":"topics"},"name":"Microsoft.EventGrid/topics/read","origin":"UserAndSystem"},{"display":{"description":"Delete a topic","operation":"Delete Topic","provider":"Microsoft Event Grid","resource":"topics"},"name":"Microsoft.EventGrid/topics/delete","origin":"UserAndSystem"}]}},"TopicTypes_List":{"value":{"value":[{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Eventhub.Namespaces","name":"Microsoft.Eventhub.Namespaces","properties":{"description":"Microsoft EventHubs service events.","displayName":"EventHubs Namespace","provider":"Microsoft.Eventhub","provisioningState":"Succeeded","resourceRegionType":"RegionalResource"},"type":"Microsoft.EventGrid/topicTypes"},{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts","name":"Microsoft.Storage.StorageAccounts","properties":{"description":"Microsoft Storage service events.","displayName":"Storage Accounts","provider":"Microsoft.Storage","provisioningState":"Succeeded","resourceRegionType":"RegionalResource"},"type":"Microsoft.EventGrid/topicTypes"}]}},"TopicTypes_Get":{"value":{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts","name":"Microsoft.Storage.StorageAccounts","properties":{"description":"Microsoft Storage service events.","displayName":"Storage Accounts","provider":"Microsoft.Storage","provisioningState":"Succeeded","resourceRegionType":"RegionalResource"},"type":"Microsoft.EventGrid/topicTypes"}},"TopicTypes_ListEventTypes":{"value":{"value":[{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated","name":"Microsoft.Storage.BlobCreated","properties":{"description":"Raised when a blob is created.","displayName":"Blob Created","schemaUrl":"tbd"},"type":"Microsoft.EventGrid/topicTypes/eventTypes"},{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted","name":"Microsoft.Storage.BlobDeleted","properties":{"description":"Raised when a blob is deleted.","displayName":"Blob Deleted","schemaUrl":"tbd"},"type":"Microsoft.EventGrid/topicTypes/eventTypes"}]}},"Domains_ListBySubscription":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1","location":"westus2","name":"exampledomain1","properties":{"endpoint":"https://exampledomain1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2","location":"westcentralus","name":"exampledomain2","properties":{"endpoint":"https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"}]}},"EventSubscriptions_ListGlobalBySubscription":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4","name":"examplesubscription4","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListRegionalBySubscription":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10","name":"examplesubscription10","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"},"labels":["Finance","HR"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventhub/namespaces/examplenamespace1"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11","name":"examplesubscription11","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10","name":"examplesubscription10","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11","name":"examplesubscription11","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListGlobalBySubscriptionForTopicType":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"labels":["Finance","HR"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"Topics_ListBySubscription":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1","location":"westus2","name":"exampletopic1","properties":{"endpoint":"https://exampletopic1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2","location":"westcentralus","name":"exampletopic2","properties":{"endpoint":"https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"}]}},"Domains_ListByResourceGroup":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1","location":"westus2","name":"exampledomain1","properties":{"endpoint":"https://exampledomain1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2","location":"westcentralus","name":"exampledomain2","properties":{"endpoint":"https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"}]}},"Domains_Get":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain2","location":"westcentralus","name":"exampledomain2","properties":{"endpoint":"https://exampledomain2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"}},"Domains_Update":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1","location":"westus2","name":"exampledomain1","properties":{"endpoint":"https://exampledomain1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"}},"Domains_CreateOrUpdate":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1","location":"westus2","name":"exampledomain1","properties":{"endpoint":"https://exampledomain1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/domains"}},"Domains_ListSharedAccessKeys":{"value":{"key1":"Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=","key2":"sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="}},"Domains_RegenerateKey":{"value":{"key1":"Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=","key2":"sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="}},"DomainTopics_ListByDomain":{"value":{"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"}]}},"DomainTopics_Get":{"value":{"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"}},"DomainTopics_CreateOrUpdate":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/exampledomain1/topics/exampledomaintopic1","name":"exampledomaintopic1","properties":{"provisioningState":"Succeeded"},"type":"Microsoft.EventGrid/domains/topics"}},"EventSubscriptions_ListByDomainTopic":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/domains/domain1/topics/topic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"labels":[],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/domains/domain1/topics/topic1"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListGlobalByResourceGroup":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription4","name":"examplesubscription4","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListRegionalByResourceGroup":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10","name":"examplesubscription10","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11","name":"examplesubscription11","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10","name":"examplesubscription10","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription11","name":"examplesubscription11","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"labels":["Finance","HR"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"Topics_ListByResourceGroup":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1","location":"westus2","name":"exampletopic1","properties":{"endpoint":"https://exampletopic1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2","location":"westcentralus","name":"exampletopic2","properties":{"endpoint":"https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"}]}},"Topics_Get":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2","location":"westcentralus","name":"exampletopic2","properties":{"endpoint":"https://exampletopic2.westcentralus-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"}},"Topics_Update":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1","location":"westus2","name":"exampletopic1","properties":{"endpoint":"https://exampletopic1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"}},"Topics_CreateOrUpdate":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1","location":"westus2","name":"exampletopic1","properties":{"endpoint":"https://exampletopic1.westus2-1.eventgrid.azure.net/api/events","provisioningState":"Succeeded"},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.EventGrid/topics"}},"Topics_ListSharedAccessKeys":{"value":{"key1":"Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=","key2":"sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="}},"Topics_RegenerateKey":{"value":{"key1":"Rqfq5wWxtQnIQJyswP0Uh/hqQfDDMUOYyQSYEpx5e5g=","key2":"sesymbkIXMtZVqXEFHarJmdGmZjjnY+BZC8yRD/FeuA="}},"EventSubscriptions_ListByResource":{"value":{"value":[{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"},"type":"Microsoft.EventGrid/eventSubscriptions"},{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"labels":[],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic2"},"type":"Microsoft.EventGrid/eventSubscriptions"}]}},"Topics_ListEventTypes":{"value":{"value":[{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated","name":"Microsoft.Storage.BlobCreated","properties":{"description":"Raised when a blob is created.","displayName":"Blob Created","schemaUrl":"tbd"},"type":"Microsoft.EventGrid/topicTypes/eventTypes"},{"id":"providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted","name":"Microsoft.Storage.BlobDeleted","properties":{"description":"Raised when a blob is deleted.","displayName":"Blob Deleted","schemaUrl":"tbd"},"type":"Microsoft.EventGrid/topicTypes/eventTypes"}]}},"EventSubscriptions_GetForCustomTopic":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_GetForResource":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","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"},"labels":["label1","label2"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_GetForResourceGroup":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"labels":["label1","label2"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_GetForSubscription":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"labels":["label1","label2"],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_UpdateForCustomTopic":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"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"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_UpdateForResource":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":true,"subjectBeginsWith":"existingPrefix","subjectEndsWith":"newSuffix"},"labels":[],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_UpdateForResourceGroup":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":true,"subjectBeginsWith":"existingPrefix","subjectEndsWith":"newSuffix"},"labels":[],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_UpdateForSubscription":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":true,"subjectBeginsWith":"existingPrefix","subjectEndsWith":"newSuffix"},"labels":[],"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"deadLetterDestination":{"endpointType":"StorageBlob","properties":{"blobContainerName":"contosocontainer","resourceId":"/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"}},"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"},"provisioningState":"Creating","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"deadLetterDestination":{"endpointType":"StorageBlob","properties":{"blobContainerName":"contosocontainer","resourceId":"/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"}},"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"},"provisioningState":"Creating","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"deadLetterDestination":{"endpointType":"StorageBlob","properties":{"blobContainerName":"contosocontainer","resourceId":"/subscriptions/55f3dcd4-cac7-43b4-990b-a139d62a1eb2/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"}},"destination":{"endpointType":"StorageQueue","properties":{"queueName":"queue1","resourceId":"/subscriptions/d33c5f7a-02ea-40f4-bf52-07f17e84d6a8/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/contosostg"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"provisioningState":"Creating","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1","name":"examplesubscription1","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/microsoft.eventgrid/topics/exampletopic1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForResource":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription10","name":"examplesubscription10","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForResourceGroup":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2","name":"examplesubscription2","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"ExamplePrefix","subjectEndsWith":"ExampleSuffix"},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_CreateOrUpdateForSubscription":{"value":{"id":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3","name":"examplesubscription3","properties":{"destination":{"endpointType":"WebHook","properties":{"endpointBaseUrl":"https://requestb.in/15ksip71"}},"filter":{"isSubjectCaseSensitive":false,"subjectBeginsWith":"","subjectEndsWith":""},"provisioningState":"Succeeded","topic":"/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"type":"Microsoft.EventGrid/eventSubscriptions"}},"EventSubscriptions_GetFullUrlForCustomTopic":{"value":{"endpointUrl":"https://requestb.in/15ksip71"}},"EventSubscriptions_GetFullUrlForResource":{"value":{"endpointUrl":"https://requestb.in/15ksip71"}},"EventSubscriptions_GetFullUrlForResourceGroup":{"value":{"endpointUrl":"https://requestb.in/15ksip71"}},"EventSubscriptions_GetFullUrlForSubscription":{"value":{"endpointUrl":"https://requestb.in/15ksip71"}}},"parameters":{"ApiVersionParameter":{"description":"Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Operations_List":{"value":"2019-06-01"},"TopicTypes_List":{"value":"2019-06-01"},"TopicTypes_Get":{"value":"2019-06-01"},"TopicTypes_ListEventTypes":{"value":"2019-06-01"},"Domains_ListBySubscription":{"value":"2019-06-01"},"EventSubscriptions_ListGlobalBySubscription":{"value":"2019-06-01"},"EventSubscriptions_ListRegionalBySubscription":{"value":"2019-06-01"},"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"value":"2019-06-01"},"EventSubscriptions_ListGlobalBySubscriptionForTopicType":{"value":"2019-06-01"},"Topics_ListBySubscription":{"value":"2019-06-01"},"Domains_ListByResourceGroup":{"value":"2019-06-01"},"Domains_Delete":{"value":"2019-06-01"},"Domains_Get":{"value":"2019-06-01"},"Domains_Update":{"value":"2019-06-01"},"Domains_CreateOrUpdate":{"value":"2019-06-01"},"Domains_ListSharedAccessKeys":{"value":"2019-06-01"},"Domains_RegenerateKey":{"value":"2019-06-01"},"DomainTopics_ListByDomain":{"value":"2019-06-01"},"DomainTopics_Delete":{"value":"2019-06-01"},"DomainTopics_Get":{"value":"2019-06-01"},"DomainTopics_CreateOrUpdate":{"value":"2019-06-01"},"EventSubscriptions_ListByDomainTopic":{"value":"2019-06-01"},"EventSubscriptions_ListGlobalByResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_ListRegionalByResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":"2019-06-01"},"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"value":"2019-06-01"},"Topics_ListByResourceGroup":{"value":"2019-06-01"},"Topics_Delete":{"value":"2019-06-01"},"Topics_Get":{"value":"2019-06-01"},"Topics_Update":{"value":"2019-06-01"},"Topics_CreateOrUpdate":{"value":"2019-06-01"},"Topics_ListSharedAccessKeys":{"value":"2019-06-01"},"Topics_RegenerateKey":{"value":"2019-06-01"},"EventSubscriptions_ListByResource":{"value":"2019-06-01"},"Topics_ListEventTypes":{"value":"2019-06-01"},"EventSubscriptions_DeleteForCustomTopic":{"value":"2019-06-01"},"EventSubscriptions_DeleteForResource":{"value":"2019-06-01"},"EventSubscriptions_DeleteForResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_DeleteForSubscription":{"value":"2019-06-01"},"EventSubscriptions_GetForCustomTopic":{"value":"2019-06-01"},"EventSubscriptions_GetForResource":{"value":"2019-06-01"},"EventSubscriptions_GetForResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_GetForSubscription":{"value":"2019-06-01"},"EventSubscriptions_UpdateForCustomTopic":{"value":"2019-06-01"},"EventSubscriptions_UpdateForResource":{"value":"2019-06-01"},"EventSubscriptions_UpdateForResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_UpdateForSubscription":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForCustomTopic_EventHubDestination":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForCustomTopic_HybridConnectionDestination":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForCustomTopic_StorageQueueDestination":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForCustomTopic_WebhookDestination":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForResource":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_CreateOrUpdateForSubscription":{"value":"2019-06-01"},"EventSubscriptions_GetFullUrlForCustomTopic":{"value":"2019-06-01"},"EventSubscriptions_GetFullUrlForResource":{"value":"2019-06-01"},"EventSubscriptions_GetFullUrlForResourceGroup":{"value":"2019-06-01"},"EventSubscriptions_GetFullUrlForSubscription":{"value":"2019-06-01"}}},"FilterParameter":{"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'.","in":"query","name":"$filter","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"}},"SubscriptionIdParameter":{"description":"Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Domains_ListBySubscription":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListGlobalBySubscription":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListRegionalBySubscription":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListRegionalBySubscriptionForTopicType":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListGlobalBySubscriptionForTopicType":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_ListBySubscription":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_ListByResourceGroup":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_Delete":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_Get":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_Update":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_CreateOrUpdate":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_ListSharedAccessKeys":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Domains_RegenerateKey":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"DomainTopics_ListByDomain":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"DomainTopics_Delete":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"DomainTopics_Get":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"DomainTopics_CreateOrUpdate":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListByDomainTopic":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListGlobalByResourceGroup":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListRegionalByResourceGroup":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListRegionalByResourceGroupForTopicType":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListGlobalByResourceGroupForTopicType":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_ListByResourceGroup":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_Delete":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_Get":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_Update":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_CreateOrUpdate":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_ListSharedAccessKeys":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_RegenerateKey":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"EventSubscriptions_ListByResource":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"},"Topics_ListEventTypes":{"value":"5b4b650e-28b9-4790-b3ab-ddbd88d727c4"}}},"TopParameter":{"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.","in":"query","name":"$top","required":false,"x-ms-parameter-location":"method","schema":{"type":"integer"}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"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.","discriminator":{"propertyName":"operatorType"},"properties":{"key":{"description":"The field/property in the event based on which you want to filter.","type":"string"},"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":{"modelAsString":true,"name":"AdvancedFilterOperatorType"}}},"required":["operatorType"],"type":"object"},"BoolEqualsAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"BoolEquals Advanced Filter.","properties":{"value":{"description":"The boolean filter value.","type":"boolean"}},"type":"object","x-ms-discriminator-value":"BoolEquals"},"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.","discriminator":{"propertyName":"endpointType"},"properties":{"endpointType":{"description":"Type of the endpoint for the dead letter destination","enum":["StorageBlob"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"DeadLetterEndPointType"}}},"required":["endpointType"],"type":"object"},"Domain":{"allOf":[{"$ref":"#/components/schemas/TrackedResource"}],"description":"EventGrid Domain.","properties":{"properties":{"$ref":"#/components/schemas/DomainProperties"}},"type":"object"},"DomainProperties":{"description":"Properties of the Domain.","properties":{"endpoint":{"description":"Endpoint for the domain.","readOnly":true,"type":"string"},"provisioningState":{"description":"Provisioning state of the domain.","enum":["Creating","Updating","Deleting","Succeeded","Canceled","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"DomainProvisioningState"}}},"type":"object"},"DomainRegenerateKeyRequest":{"description":"Domain regenerate share access key request.","properties":{"keyName":{"description":"Key name to regenerate key1 or key2.","type":"string"}},"required":["keyName"],"type":"object"},"DomainSharedAccessKeys":{"description":"Shared access keys of the Domain.","properties":{"key1":{"description":"Shared access key1 for the domain.","type":"string"},"key2":{"description":"Shared access key2 for the domain.","type":"string"}},"type":"object"},"DomainTopic":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Domain Topic.","properties":{"properties":{"$ref":"#/components/schemas/DomainTopicProperties"}},"type":"object"},"DomainTopicProperties":{"description":"Properties of the Domain Topic.","properties":{"provisioningState":{"description":"Provisioning state of the domain topic.","enum":["Creating","Updating","Deleting","Succeeded","Canceled","Failed"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"DomainTopicProvisioningState"}}},"type":"object"},"DomainTopicsListResult":{"description":"Result of the List Domain Topics operation.","properties":{"nextLink":{"description":"A link for the next page of domain topics.","type":"string"},"value":{"description":"A collection of Domain Topics.","items":{"$ref":"#/components/schemas/DomainTopic"},"type":"array"}},"type":"object"},"DomainUpdateParameters":{"description":"Properties of the Domain update.","properties":{"tags":{"additionalProperties":{"type":"string"},"description":"Tags of the domains resource.","type":"object"}},"type":"object"},"DomainsListResult":{"description":"Result of the List Domains operation.","properties":{"nextLink":{"description":"A link for the next page of domains.","type":"string"},"value":{"description":"A collection of Domains.","items":{"$ref":"#/components/schemas/Domain"},"type":"array"}},"type":"object"},"EventHubEventSubscriptionDestination":{"allOf":[{"$ref":"#/components/schemas/EventSubscriptionDestination"}],"description":"Information about the event hub destination for an event subscription","properties":{"properties":{"$ref":"#/components/schemas/EventHubEventSubscriptionDestinationProperties"}},"type":"object","x-ms-discriminator-value":"EventHub"},"EventHubEventSubscriptionDestinationProperties":{"description":"The properties for a event hub destination.","properties":{"resourceId":{"description":"The Azure Resource Id that represents the endpoint of an Event Hub destination of an event subscription.","type":"string"}},"type":"object"},"EventSubscription":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Event Subscription","properties":{"properties":{"$ref":"#/components/schemas/EventSubscriptionProperties"}},"type":"object"},"EventSubscriptionDestination":{"description":"Information about the destination for an event subscription","discriminator":{"propertyName":"endpointType"},"properties":{"endpointType":{"description":"Type of the endpoint for the event subscription destination","enum":["WebHook","EventHub","StorageQueue","HybridConnection","ServiceBusQueue"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EndpointType"}}},"required":["endpointType"],"type":"object"},"EventSubscriptionFilter":{"description":"Filter for the Event Subscription.","properties":{"advancedFilters":{"description":"An array of advanced filters that are used for filtering event subscriptions.","items":{"$ref":"#/components/schemas/AdvancedFilter"},"type":"array"},"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.","items":{"type":"string"},"type":"array"},"isSubjectCaseSensitive":{"default":false,"description":"Specifies if the SubjectBeginsWith and SubjectEndsWith properties of the filter \r\nshould be compared in a case sensitive manner.","type":"boolean"},"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"}},"type":"object"},"EventSubscriptionFullUrl":{"description":"Full endpoint url of an event subscription","properties":{"endpointUrl":{"description":"The URL that represents the endpoint of the destination of an event subscription.","type":"string"}},"type":"object"},"EventSubscriptionProperties":{"description":"Properties of the Event Subscription","properties":{"deadLetterDestination":{"$ref":"#/components/schemas/DeadLetterDestination"},"destination":{"$ref":"#/components/schemas/EventSubscriptionDestination"},"expirationTimeUtc":{"description":"Expiration time of the event subscription.","format":"date-time","type":"string"},"filter":{"$ref":"#/components/schemas/EventSubscriptionFilter"},"labels":{"description":"List of user defined labels.","items":{"type":"string"},"type":"array"},"provisioningState":{"description":"Provisioning state of the event subscription.","enum":["Creating","Updating","Deleting","Succeeded","Canceled","Failed","AwaitingManualAction"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventSubscriptionProvisioningState"}},"retryPolicy":{"$ref":"#/components/schemas/RetryPolicy"},"topic":{"description":"Name of the topic of the event subscription.","readOnly":true,"type":"string"}},"type":"object"},"EventSubscriptionUpdateParameters":{"description":"Properties of the Event Subscription update","properties":{"deadLetterDestination":{"$ref":"#/components/schemas/DeadLetterDestination"},"destination":{"$ref":"#/components/schemas/EventSubscriptionDestination"},"expirationTimeUtc":{"description":"Information about the expiration time for the event subscription.","format":"date-time","type":"string"},"filter":{"$ref":"#/components/schemas/EventSubscriptionFilter"},"labels":{"description":"List of user defined labels.","items":{"type":"string"},"type":"array"},"retryPolicy":{"$ref":"#/components/schemas/RetryPolicy"}},"type":"object"},"EventSubscriptionsListResult":{"description":"Result of the List EventSubscriptions operation","properties":{"nextLink":{"description":"A link for the next page of event subscriptions","type":"string"},"value":{"description":"A collection of EventSubscriptions","items":{"$ref":"#/components/schemas/EventSubscription"},"type":"array"}},"type":"object"},"EventType":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Event Type for a subject under a topic","properties":{"properties":{"$ref":"#/components/schemas/EventTypeProperties"}},"type":"object"},"EventTypeProperties":{"description":"Properties of the event type","properties":{"description":{"description":"Description of the event type.","type":"string"},"displayName":{"description":"Display name of the event type.","type":"string"},"isInDefaultSet":{"description":"IsInDefaultSet flag of the event type.","type":"boolean"},"schemaUrl":{"description":"Url of the schema for this event type.","type":"string"}},"type":"object"},"EventTypesListResult":{"description":"Result of the List Event Types operation","properties":{"value":{"description":"A collection of event types","items":{"$ref":"#/components/schemas/EventType"},"type":"array"}},"type":"object"},"HybridConnectionEventSubscriptionDestination":{"allOf":[{"$ref":"#/components/schemas/EventSubscriptionDestination"}],"description":"Information about the HybridConnection destination for an event subscription.","properties":{"properties":{"$ref":"#/components/schemas/HybridConnectionEventSubscriptionDestinationProperties"}},"type":"object","x-ms-discriminator-value":"HybridConnection"},"HybridConnectionEventSubscriptionDestinationProperties":{"description":"The properties for a hybrid connection destination.","properties":{"resourceId":{"description":"The Azure Resource ID of an hybrid connection that is the destination of an event subscription.","type":"string"}},"type":"object"},"NumberGreaterThanAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberGreaterThan Advanced Filter.","properties":{"value":{"description":"The filter value.","format":"double","type":"number"}},"type":"object","x-ms-discriminator-value":"NumberGreaterThan"},"NumberGreaterThanOrEqualsAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberGreaterThanOrEquals Advanced Filter.","properties":{"value":{"description":"The filter value.","format":"double","type":"number"}},"type":"object","x-ms-discriminator-value":"NumberGreaterThanOrEquals"},"NumberInAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberIn Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"format":"double","type":"number"},"type":"array"}},"type":"object","x-ms-discriminator-value":"NumberIn"},"NumberLessThanAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberLessThan Advanced Filter.","properties":{"value":{"description":"The filter value.","format":"double","type":"number"}},"type":"object","x-ms-discriminator-value":"NumberLessThan"},"NumberLessThanOrEqualsAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberLessThanOrEquals Advanced Filter.","properties":{"value":{"description":"The filter value.","format":"double","type":"number"}},"type":"object","x-ms-discriminator-value":"NumberLessThanOrEquals"},"NumberNotInAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"NumberNotIn Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"format":"double","type":"number"},"type":"array"}},"type":"object","x-ms-discriminator-value":"NumberNotIn"},"Operation":{"description":"Represents an operation returned by the GetOperations request","properties":{"display":{"$ref":"#/components/schemas/OperationInfo"},"name":{"description":"Name of the operation","type":"string"},"origin":{"description":"Origin of the operation","type":"string"},"properties":{"description":"Properties of the operation","type":"object","x-ms-client-flatten":true}},"type":"object"},"OperationInfo":{"description":"Information about an operation","properties":{"description":{"description":"Description of the operation","type":"string"},"operation":{"description":"Name of the operation","type":"string"},"provider":{"description":"Name of the provider","type":"string"},"resource":{"description":"Name of the resource type","type":"string"}},"type":"object"},"OperationsListResult":{"description":"Result of the List Operations operation","properties":{"value":{"description":"A collection of operations","items":{"$ref":"#/components/schemas/Operation"},"type":"array"}},"type":"object"},"Resource":{"description":"Definition of a Resource.","properties":{"id":{"description":"Fully qualified identifier of the resource.","readOnly":true,"type":"string"},"name":{"description":"Name of the resource.","readOnly":true,"type":"string"},"type":{"description":"Type of the resource.","readOnly":true,"type":"string"}},"type":"object","x-ms-azure-resource":true},"RetryPolicy":{"description":"Information about the retry policy for an event subscription.","properties":{"eventTimeToLiveInMinutes":{"description":"Time To Live (in minutes) for events.","format":"int32","type":"integer"},"maxDeliveryAttempts":{"description":"Maximum number of delivery retry attempts for events.","format":"int32","type":"integer"}},"type":"object"},"ServiceBusQueueEventSubscriptionDestination":{"allOf":[{"$ref":"#/components/schemas/EventSubscriptionDestination"}],"description":"Information about the service bus destination for an event subscription","properties":{"properties":{"$ref":"#/components/schemas/ServiceBusQueueEventSubscriptionDestinationProperties"}},"type":"object","x-ms-discriminator-value":"ServiceBusQueue"},"ServiceBusQueueEventSubscriptionDestinationProperties":{"description":"The properties that represent the Service Bus destination of an event subscription.","properties":{"resourceId":{"description":"The Azure Resource Id that represents the endpoint of the Service Bus destination of an event subscription.","type":"string"}},"type":"object"},"StorageBlobDeadLetterDestination":{"allOf":[{"$ref":"#/components/schemas/DeadLetterDestination"}],"description":"Information about the storage blob based dead letter destination.","properties":{"properties":{"$ref":"#/components/schemas/StorageBlobDeadLetterDestinationProperties"}},"type":"object","x-ms-discriminator-value":"StorageBlob"},"StorageBlobDeadLetterDestinationProperties":{"description":"Properties of the storage blob based dead letter destination.","properties":{"blobContainerName":{"description":"The name of the Storage blob container that is the destination of the deadletter events","type":"string"},"resourceId":{"description":"The Azure Resource ID of the storage account that is the destination of the deadletter events","type":"string"}},"type":"object"},"StorageQueueEventSubscriptionDestination":{"allOf":[{"$ref":"#/components/schemas/EventSubscriptionDestination"}],"description":"Information about the storage queue destination for an event subscription.","properties":{"properties":{"$ref":"#/components/schemas/StorageQueueEventSubscriptionDestinationProperties"}},"type":"object","x-ms-discriminator-value":"StorageQueue"},"StorageQueueEventSubscriptionDestinationProperties":{"description":"The properties for a storage queue destination.","properties":{"queueName":{"description":"The name of the Storage queue under a storage account that is the destination of an event subscription.","type":"string"},"resourceId":{"description":"The Azure Resource ID of the storage account that contains the queue that is the destination of an event subscription.","type":"string"}},"type":"object"},"StringBeginsWithAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"StringBeginsWith Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"type":"string"},"type":"array"}},"type":"object","x-ms-discriminator-value":"StringBeginsWith"},"StringContainsAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"StringContains Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"type":"string"},"type":"array"}},"type":"object","x-ms-discriminator-value":"StringContains"},"StringEndsWithAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"StringEndsWith Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"type":"string"},"type":"array"}},"type":"object","x-ms-discriminator-value":"StringEndsWith"},"StringInAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"StringIn Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"type":"string"},"type":"array"}},"type":"object","x-ms-discriminator-value":"StringIn"},"StringNotInAdvancedFilter":{"allOf":[{"$ref":"#/components/schemas/AdvancedFilter"}],"description":"StringNotIn Advanced Filter.","properties":{"values":{"description":"The set of filter values.","items":{"type":"string"},"type":"array"}},"type":"object","x-ms-discriminator-value":"StringNotIn"},"Topic":{"allOf":[{"$ref":"#/components/schemas/TrackedResource"}],"description":"EventGrid Topic","properties":{"properties":{"$ref":"#/components/schemas/TopicProperties"}},"type":"object"},"TopicProperties":{"description":"Properties of the Topic","properties":{"endpoint":{"description":"Endpoint for the topic.","readOnly":true,"type":"string"},"provisioningState":{"description":"Provisioning state of the topic.","enum":["Creating","Updating","Deleting","Succeeded","Canceled","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"TopicProvisioningState"}}},"type":"object"},"TopicRegenerateKeyRequest":{"description":"Topic regenerate share access key request","properties":{"keyName":{"description":"Key name to regenerate key1 or key2","type":"string"}},"required":["keyName"],"type":"object"},"TopicSharedAccessKeys":{"description":"Shared access keys of the Topic","properties":{"key1":{"description":"Shared access key1 for the topic.","type":"string"},"key2":{"description":"Shared access key2 for the topic.","type":"string"}},"type":"object"},"TopicTypeInfo":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Properties of a topic type info.","properties":{"properties":{"$ref":"#/components/schemas/TopicTypeProperties"}},"type":"object"},"TopicTypeProperties":{"description":"Properties of a topic type.","properties":{"description":{"description":"Description of the topic type.","type":"string"},"displayName":{"description":"Display Name for the topic type.","type":"string"},"provider":{"description":"Namespace of the provider of the topic type.","type":"string"},"provisioningState":{"description":"Provisioning state of the topic type","enum":["Creating","Updating","Deleting","Succeeded","Canceled","Failed"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"TopicTypeProvisioningState"}},"resourceRegionType":{"description":"Region type of the resource.","enum":["RegionalResource","GlobalResource"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ResourceRegionType"}},"supportedLocations":{"description":"List of locations supported by this topic type.","items":{"type":"string"},"type":"array"}},"type":"object"},"TopicTypesListResult":{"description":"Result of the List Topic Types operation","properties":{"value":{"description":"A collection of topic types","items":{"$ref":"#/components/schemas/TopicTypeInfo"},"type":"array"}},"type":"object"},"TopicUpdateParameters":{"description":"Properties of the Topic update","properties":{"tags":{"additionalProperties":{"type":"string"},"description":"Tags of the resource","type":"object"}},"type":"object"},"TopicsListResult":{"description":"Result of the List Topics operation","properties":{"nextLink":{"description":"A link for the next page of topics","type":"string"},"value":{"description":"A collection of Topics","items":{"$ref":"#/components/schemas/Topic"},"type":"array"}},"type":"object"},"TrackedResource":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Definition of a Tracked Resource.","properties":{"location":{"description":"Location of the resource.","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Tags of the resource.","type":"object"}},"required":["location"],"type":"object"},"WebHookEventSubscriptionDestination":{"allOf":[{"$ref":"#/components/schemas/EventSubscriptionDestination"}],"description":"Information about the webhook destination for an event subscription","properties":{"properties":{"$ref":"#/components/schemas/WebHookEventSubscriptionDestinationProperties"}},"type":"object","x-ms-discriminator-value":"WebHook"},"WebHookEventSubscriptionDestinationProperties":{"description":"Information about the webhook destination properties for an event subscription.","properties":{"endpointBaseUrl":{"description":"The base URL that represents the endpoint of the destination of an event subscription.","readOnly":true,"type":"string"},"endpointUrl":{"description":"The URL that represents the endpoint of the destination of an event subscription.","type":"string"}},"type":"object"}}}}