다음을 통해 공유


Event Subscriptions - Get Full Url

이벤트 구독의 전체 URL을 가져옵니다.
이벤트 구독에 대한 전체 엔드포인트 URL을 가져옵니다.

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
eventSubscriptionName
path True

string

이벤트 구독의 이름입니다.

scope
path True

string

이벤트 구독의 scope. scope 구독, 리소스 그룹 또는 리소스 공급자 네임스페이스 또는 EventGrid 토픽에 속하는 최상위 리소스일 수 있습니다. 예를 들어 구독에 '/subscriptions/{subscriptionId}/'를 사용하고 리소스 그룹에는 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}'을 사용합니다. 및 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' 및 '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicNameEventGrid 토픽의 경우 }'입니다.

api-version
query True

string

클라이언트 요청과 함께 사용할 API의 버전입니다.

응답

Name 형식 Description
200 OK

EventSubscriptionFullUrl

정상

Other Status Codes

오류 응답: ***

  • 400 잘못된 요청.

  • 500 내부 서버 오류.

예제

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"
}

정의

EventSubscriptionFullUrl

이벤트 구독의 전체 엔드포인트 URL

Name 형식 Description
endpointUrl

string

이벤트 구독 대상의 엔드포인트를 나타내는 URL입니다.