다음을 통해 공유


Event Subscriptions - Get Delivery Attributes

이벤트 구독에 대한 배달 특성을 가져옵니다.
이벤트 구독에 대한 모든 배달 특성을 가져옵니다.

POST https://management.azure.com/{scope}/providers/Microsoft.EventGrid/eventSubscriptions/{eventSubscriptionName}/getDeliveryAttributes?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

DeliveryAttributeListResult

정상

Other Status Codes

오류 응답: ***

  • 400 잘못된 요청.

  • 500 내부 서버 오류.

예제

EventSubscriptions_GetDeliveryAttributes

Sample Request

POST https://management.azure.com/aaaaaaaaaaaaaaaaaaaaaaaaa/providers/Microsoft.EventGrid/eventSubscriptions/aaaaaaaaaaaaaaaaaa/getDeliveryAttributes?api-version=2022-06-15

Sample Response

{
  "value": [
    {
      "name": "header1",
      "type": "Static"
    },
    {
      "name": "header2",
      "type": "Dynamic"
    },
    {
      "name": "header3",
      "type": "Static"
    }
  ]
}

정의

Name Description
DeliveryAttributeListResult

배달 특성 가져오기 작업의 결과입니다.

DynamicDeliveryAttributeMapping

동적 배달 특성 매핑 세부 정보입니다.

StaticDeliveryAttributeMapping

정적 배달 특성 매핑 세부 정보입니다.

DeliveryAttributeListResult

배달 특성 가져오기 작업의 결과입니다.

Name 형식 Description
value DeliveryAttributeMapping[]:

DeliveryAttributeMapping의 컬렉션

DynamicDeliveryAttributeMapping

동적 배달 특성 매핑 세부 정보입니다.

Name 형식 Description
name

string

배달 특성 또는 헤더의 이름입니다.

properties.sourceField

string

특성 값이 포함된 이벤트의 JSON 경로입니다.

type string:

Dynamic

배달 특성 또는 헤더 이름의 형식입니다.

StaticDeliveryAttributeMapping

정적 배달 특성 매핑 세부 정보입니다.

Name 형식 기본값 Description
name

string

배달 특성 또는 헤더의 이름입니다.

properties.isSecret

boolean

False

특성에 중요한 정보가 포함되어 있는지 여부를 나타내는 부울 플래그입니다.

properties.value

string

배달 특성의 값입니다.

type string:

Static

배달 특성 또는 헤더 이름의 형식입니다.