Event Subscriptions - Get Full Url

Get full URL of an event subscription.
Get the full endpoint URL for an event subscription.

POST https://management.azure.com/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getFullUrl?api-version=2022-06-15

URI Parameters

Name In Required Type Description
eventSubscriptionName
path True

string

Name of the event subscription.

scope
path True

string

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.

api-version
query True

string

Version of the API to be used with the client request.

Responses

Name Type Description
200 OK

EventSubscriptionFullUrl

OK

Other Status Codes

*** Error Responses: ***

  • 400 Bad Request.

  • 500 Internal Server Error.

Examples

EventSubscriptions_GetFullUrlForCustomTopic
EventSubscriptions_GetFullUrlForResource
EventSubscriptions_GetFullUrlForResourceGroup
EventSubscriptions_GetFullUrlForSubscription

EventSubscriptions_GetFullUrlForCustomTopic

Sample request

POST https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic2/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1/getFullUrl?api-version=2022-06-15

Sample response

{
  "endpointUrl": "https://requestb.in/15ksip71"
}

EventSubscriptions_GetFullUrlForResource

Sample request

POST https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventHub/namespaces/examplenamespace1/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription1/getFullUrl?api-version=2022-06-15

Sample response

{
  "endpointUrl": "https://requestb.in/15ksip71"
}

EventSubscriptions_GetFullUrlForResourceGroup

Sample request

POST https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription2/getFullUrl?api-version=2022-06-15

Sample response

{
  "endpointUrl": "https://requestb.in/15ksip71"
}

EventSubscriptions_GetFullUrlForSubscription

Sample request

POST https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/providers/Microsoft.EventGrid/eventSubscriptions/examplesubscription3/getFullUrl?api-version=2022-06-15

Sample response

{
  "endpointUrl": "https://requestb.in/15ksip71"
}

Definitions

EventSubscriptionFullUrl

Full endpoint url of an event subscription

Name Type Description
endpointUrl

string

The URL that represents the endpoint of the destination of an event subscription.