openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 128 kB
JSON
{"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/examp