Microsoft.EventGrid eventSubscriptions

Bicep 리소스 정의

eventSubscriptions 리소스 종류는 확장 리소스이므로 다른 리소스에 적용할 수 있습니다.

이 리소스의 scope 속성을 사용하여 이 리소스에 대한 scope 설정합니다. Bicep의 확장 리소스에 scope 설정을 참조하세요.

eventSubscriptions 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.EventGrid/eventSubscriptions 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.EventGrid/eventSubscriptions@2023-12-15-preview' = {
  name: 'string'
  scope: resourceSymbolicName
  properties: {
    deadLetterDestination: {
      endpointType: 'string'
      // For remaining properties, see DeadLetterDestination objects
    }
    deadLetterWithResourceIdentity: {
      deadLetterDestination: {
        endpointType: 'string'
        // For remaining properties, see DeadLetterDestination objects
      }
      identity: {
        type: 'string'
        userAssignedIdentity: 'string'
      }
    }
    deliveryWithResourceIdentity: {
      destination: {
        endpointType: 'string'
        // For remaining properties, see EventSubscriptionDestination objects
      }
      identity: {
        type: 'string'
        userAssignedIdentity: 'string'
      }
    }
    destination: {
      endpointType: 'string'
      // For remaining properties, see EventSubscriptionDestination objects
    }
    eventDeliverySchema: 'string'
    expirationTimeUtc: 'string'
    filter: {
      advancedFilters: [
        {
          key: 'string'
          operatorType: 'string'
          // For remaining properties, see AdvancedFilter objects
        }
      ]
      enableAdvancedFilteringOnArrays: bool
      includedEventTypes: [
        'string'
      ]
      isSubjectCaseSensitive: bool
      subjectBeginsWith: 'string'
      subjectEndsWith: 'string'
    }
    labels: [
      'string'
    ]
    retryPolicy: {
      eventTimeToLiveInMinutes: int
      maxDeliveryAttempts: int
    }
  }
}

DeadLetterDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

StorageBlob의 경우 다음을 사용합니다.

  endpointType: 'StorageBlob'
  properties: {
    blobContainerName: 'string'
    resourceId: 'string'
  }

EventSubscriptionDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

AzureFunction의 경우 다음을 사용합니다.

  endpointType: 'AzureFunction'
  properties: {
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    maxEventsPerBatch: int
    preferredBatchSizeInKilobytes: int
    resourceId: 'string'
  }

EventHub의 경우 다음을 사용합니다.

  endpointType: 'EventHub'
  properties: {
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId: 'string'
  }

HybridConnection의 경우 다음을 사용합니다.

  endpointType: 'HybridConnection'
  properties: {
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId: 'string'
  }

MonitorAlert의 경우 다음을 사용합니다.

  endpointType: 'MonitorAlert'
  properties: {
    actionGroups: [
      'string'
    ]
    description: 'string'
    severity: 'string'
  }

NamespaceTopic의 경우 다음을 사용합니다.

  endpointType: 'NamespaceTopic'
  properties: {
    resourceId: 'string'
  }

PartnerDestination의 경우 다음을 사용합니다.

  endpointType: 'PartnerDestination'
  properties: {
    resourceId: 'string'
  }

ServiceBusQueue의 경우 다음을 사용합니다.

  endpointType: 'ServiceBusQueue'
  properties: {
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId: 'string'
  }

ServiceBusTopic의 경우 다음을 사용합니다.

  endpointType: 'ServiceBusTopic'
  properties: {
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId: 'string'
  }

StorageQueue의 경우 다음을 사용합니다.

  endpointType: 'StorageQueue'
  properties: {
    queueMessageTimeToLiveInSeconds: int
    queueName: 'string'
    resourceId: 'string'
  }

WebHook의 경우 다음을 사용합니다.

  endpointType: 'WebHook'
  properties: {
    azureActiveDirectoryApplicationIdOrUri: 'string'
    azureActiveDirectoryTenantId: 'string'
    deliveryAttributeMappings: [
      {
        name: 'string'
        type: 'string'
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    endpointUrl: 'string'
    maxEventsPerBatch: int
    minimumTlsVersionAllowed: 'string'
    preferredBatchSizeInKilobytes: int
  }

DeliveryAttributeMapping 개체

형식 속성을 설정하여 개체의 형식을 지정합니다.

동적의 경우 다음을 사용합니다.

  type: 'Dynamic'
  properties: {
    sourceField: 'string'
  }

정적의 경우 다음을 사용합니다.

  type: 'Static'
  properties: {
    isSecret: bool
    value: 'string'
  }

AdvancedFilter 개체

operatorType 속성을 설정하여 개체의 형식을 지정합니다.

BoolEquals의 경우 다음을 사용합니다.

  operatorType: 'BoolEquals'
  value: bool

IsNotNull의 경우 다음을 사용합니다.

  operatorType: 'IsNotNull'

IsNullOrUndefined의 경우 다음을 사용합니다.

  operatorType: 'IsNullOrUndefined'

NumberGreaterThan의 경우 다음을 사용합니다.

  operatorType: 'NumberGreaterThan'
  value: int

NumberGreaterThanOrEquals의 경우 다음을 사용합니다.

  operatorType: 'NumberGreaterThanOrEquals'
  value: int

NumberIn의 경우 다음을 사용합니다.

  operatorType: 'NumberIn'
  values: [
    int
  ]

NumberInRange의 경우 다음을 사용합니다.

  operatorType: 'NumberInRange'
  values: [
    [
      int
    ]
  ]

NumberLessThan의 경우 다음을 사용합니다.

  operatorType: 'NumberLessThan'
  value: int

NumberLessThanOrEquals의 경우 다음을 사용합니다.

  operatorType: 'NumberLessThanOrEquals'
  value: int

NumberNotIn의 경우 다음을 사용합니다.

  operatorType: 'NumberNotIn'
  values: [
    int
  ]

NumberNotInRange의 경우 다음을 사용합니다.

  operatorType: 'NumberNotInRange'
  values: [
    [
      int
    ]
  ]

StringBeginsWith의 경우 다음을 사용합니다.

  operatorType: 'StringBeginsWith'
  values: [
    'string'
  ]

StringContains의 경우 다음을 사용합니다.

  operatorType: 'StringContains'
  values: [
    'string'
  ]

StringEndsWith의 경우 다음을 사용합니다.

  operatorType: 'StringEndsWith'
  values: [
    'string'
  ]

StringIn의 경우 다음을 사용합니다.

  operatorType: 'StringIn'
  values: [
    'string'
  ]

StringNotBeginsWith의 경우 다음을 사용합니다.

  operatorType: 'StringNotBeginsWith'
  values: [
    'string'
  ]

StringNotContains의 경우 다음을 사용합니다.

  operatorType: 'StringNotContains'
  values: [
    'string'
  ]

StringNotEndsWith의 경우 다음을 사용합니다.

  operatorType: 'StringNotEndsWith'
  values: [
    'string'
  ]

StringNotIn의 경우 다음을 사용합니다.

  operatorType: 'StringNotIn'
  values: [
    'string'
  ]

속성 값

eventSubscriptions

Name Description
name 리소스 이름 string(필수)

문자 제한: 3-64

유효한 문자:
영숫자 및 하이픈
scope 배포 scope 다른 scope 확장 리소스를 만들 때 사용합니다. 대상 리소스

Bicep의 경우 이 속성을 리소스의 기호 이름으로 설정하여 확장 리소스를 적용합니다.
properties 이벤트 구독의 속성입니다. EventSubscriptionProperties

EventSubscriptionProperties

Name Description
deadLetterDestination 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterDestination
deadLetterWithResourceIdentity 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterWithResourceIdentity
deliveryWithResourceIdentity 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeliveryWithResourceIdentity
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
eventDeliverySchema 이벤트 구독에 대한 이벤트 배달 스키마입니다. 'CloudEventSchemaV1_0'
'CustomInputSchema'
'EventGridSchema'
expirationTimeUtc 이벤트 구독의 만료 시간입니다. 문자열
filter 이벤트 구독에 대한 필터에 대한 정보입니다. EventSubscriptionFilter
레이블 사용자 정의 레이블 목록입니다. string[]
retryPolicy 이벤트에 대한 재시도 정책입니다. 이를 사용하여 이벤트에 대한 최대 배달 시도 횟수와 TTL(Time to Live)을 구성할 수 있습니다. RetryPolicy

DeadLetterDestination

Name Description
endpointType 개체 유형 설정 StorageBlob (필수)

StorageBlobDeadLetterDestination

Name Description
endpointType 배달 못한 편지 대상에 대한 엔드포인트 유형 'StorageBlob'(필수)
properties Storage Blob 기반 배달 못 한 대상의 속성 StorageBlobDeadLetterDestinationProperties

StorageBlobDeadLetterDestinationProperties

Name Description
blobContainerName 배달 못 한 이벤트 대상인 Storage Blob 컨테이너의 이름입니다. 문자열
resourceId 배달 못 한 이벤트 대상인 스토리지 계정의 Azure 리소스 ID 문자열

DeadLetterWithResourceIdentity

Name Description
deadLetterDestination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterDestination
identity 배달 못한 편지 이벤트가 발생할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionIdentity

Name Description
형식 사용되는 관리 ID의 유형입니다. 'SystemAssigned, UserAssigned' 형식에는 암시적으로 생성된 ID와 사용자 할당 ID 집합이 모두 포함됩니다. 'None' 형식은 모든 ID를 제거합니다. 'SystemAssigned'
'UserAssigned'
userAssignedIdentity 리소스와 연결된 사용자 ID입니다. string

DeliveryWithResourceIdentity

Name Description
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
identity 이벤트를 전달할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionDestination

Name Description
endpointType 개체 유형 설정 AzureFunction
EventHub
HybridConnection
MonitorAlert
네임스페이스토픽
PartnerDestination
ServiceBusQueue
ServiceBusTopic
StorageQueue
WebHook (필수)

AzureFunctionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'AzureFunction'(필수)
properties 이벤트 구독 대상의 Azure 함수 속성입니다. AzureFunctionEventSubscriptionDestinationProperties

AzureFunctionEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
preferredBatchSizeInKilobytes 기본 배치 크기(킬로바이트)입니다. int
resourceId 이벤트 구독의 Azure Function 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. string

DeliveryAttributeMapping

Name Description
name 배달 특성 또는 헤더의 이름입니다. 문자열
type 개체 유형 설정 동적
정적 (필수)

DynamicDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. 'Dynamic'(필수)
properties 동적 배달 특성 매핑의 속성입니다. DynamicDeliveryAttributeMappingProperties

DynamicDeliveryAttributeMappingProperties

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

StaticDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. 'Static'(필수)
properties 정적 배달 특성 매핑의 속성입니다. StaticDeliveryAttributeMappingProperties

StaticDeliveryAttributeMappingProperties

Name Description
isSecret 특성에 중요한 정보가 포함되어 있는지 여부를 나타내는 부울 플래그입니다. bool
배달 특성의 값입니다. string

EventHubEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'EventHub'(필수)
properties 이벤트 구독 대상의 이벤트 허브 속성입니다. EventHubEventSubscriptionDestinationProperties

EventHubEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Event Hub 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

HybridConnectionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'HybridConnection'(필수)
properties 하이브리드 연결 이벤트 구독 대상의 속성입니다. HybridConnectionEventSubscriptionDestinationProperti...

HybridConnectionEventSubscriptionDestinationProperti...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 대상인 하이브리드 연결의 Azure 리소스 ID입니다. string

MonitorAlertEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'MonitorAlert'(필수)
properties 이벤트 구독 대상의 경고 속성을 모니터링합니다. MonitorAlertEventSubscriptionDestinationProperties

MonitorAlertEventSubscriptionDestinationProperties

Name Description
actionGroups 이 이벤트 구독을 통해 발생한 모든 경고에서 트리거되는 작업 그룹의 ARM ID 목록입니다.
각 리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Insights/actionGroups/{ActionGroupName} 패턴을 따라야 합니다.
string[]
description 이 이벤트 구독을 통해 발생한 모든 경고에 연결할 설명입니다. string
severity 이 이벤트 구독을 통해 발생한 모든 경고에 연결할 심각도입니다.
이 필드는 제공해야 합니다.
'Sev0'
'Sev1'
'Sev2'
'Sev3'
'Sev4'

NamespaceTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'NamespaceTopic'(필수)
properties 네임스페이스 이벤트 구독 대상의 토픽 속성입니다. NamespaceTopicEventSubscriptionDestinationProperties

NamespaceTopicEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 Event Grid 네임스페이스 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다.
이 필드는 필수이며 나열된 네임스페이스 토픽 리소스가 이미 있어야 합니다.
리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.EventGrid/namespaces/{NamespaceName}/topics/{TopicName}패턴을 따라야 합니다.
문자열

PartnerEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'PartnerDestination'(필수)
properties 이벤트 구독 대상의 파트너 대상 속성입니다. PartnerEventSubscriptionDestinationProperties

PartnerEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 파트너 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

ServiceBusQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'ServiceBusQueue'(필수)
properties 이벤트 구독 대상의 Service Bus 속성입니다. ServiceBusQueueEventSubscriptionDestinationPropertie...

ServiceBusQueueEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

ServiceBusTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'ServiceBusTopic'(필수)
properties 이벤트 구독 대상의 Service Bus 토픽 속성입니다. ServiceBusTopicEventSubscriptionDestinationPropertie...

ServiceBusTopicEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

StorageQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'StorageQueue'(필수)
properties 이벤트 구독 대상의 스토리지 큐 속성입니다. StorageQueueEventSubscriptionDestinationProperties

StorageQueueEventSubscriptionDestinationProperties

Name Description
queueMessageTimeToLiveInSeconds 스토리지 큐 메시지 시간(초)입니다. 메시지의 Time To Live가 무한임을 나타내기 위해 -1을 사용하는 경우를 제외하고 이 값은 0 또는 음수일 수 없습니다. int
queueName 이벤트 구독의 대상인 스토리지 계정 아래의 Storage 큐 이름입니다. 문자열
resourceId 이벤트 구독의 대상인 큐를 포함하는 스토리지 계정의 Azure 리소스 ID입니다. string

WebHookEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'WebHook'(필수)
properties 이벤트 구독 대상의 WebHook 속성입니다. WebHookEventSubscriptionDestinationProperties

WebHookEventSubscriptionDestinationProperties

Name Description
azureActiveDirectoryApplicationIdOrUri 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 애플리케이션 ID 또는 URI입니다. string
azureActiveDirectoryTenantId 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 테넌트 ID입니다. string
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
endpointUrl 이벤트 구독 대상의 엔드포인트를 나타내는 URL입니다. string

제약 조건:
중요한 값입니다. 보안 매개 변수로 전달합니다.
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
minimumTlsVersionAllowed 웹후크 엔드포인트에서 지원해야 하는 최소 TLS 버전 '1.0'
'1.1'
'1.2'
preferredBatchSizeInKilobytes 기본 일괄 처리 크기(킬로바이트)입니다. int

EventSubscriptionFilter

Name Description
advancedFilters 이벤트 구독을 필터링하는 데 사용되는 고급 필터의 배열입니다. AdvancedFilter[]
enableAdvancedFilteringOnArrays 단수 값을 예상하는 대신 고급 필터를 값 배열에 대해 평가할 수 있습니다. bool
includedEventTypes 이벤트 구독의 일부여야 하는 적용 가능한 이벤트 유형 목록입니다. 모든 기본 이벤트 유형을 구독하려면 IncludedEventTypes를 null로 설정합니다. string[]
isSubjectCaseSensitive 필터의 SubjectBeginsWith 및 SubjectEndsWith 속성을 지정합니다.
대/소문자를 구분하는 방식으로 비교해야 합니다.
bool
subjectBeginsWith 리소스 경로 접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
이 형식은 이벤트의 게시자에 따라 달라집니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
string
subjectEndsWith 리소스 경로 접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
string

AdvancedFilter

Name Description
key 필터링할 이벤트에 있는 필드/속성입니다. 문자열
operatorType 개체 유형 설정 BoolEquals
IsNotNull
IsNullOrUndefined
NumberGreaterThan
NumberGreaterThanOrEquals
NumberIn
NumberInRange
NumberLessThan
NumberLessThanOrEquals
NumberNotIn
NumberNotInRange
StringBeginsWith
StringContains
StringEndsWith
StringIn
StringNotBeginsWith
StringNotContains
StringNotEndsWith
StringNotIn (필수)

BoolEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'BoolEquals'(필수)
부울 필터 값입니다. bool

IsNotNullAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'IsNotNull'(필수)

IsNullOrUndefinedAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'IsNullOrUndefined'(필수)

NumberGreaterThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'NumberGreaterThan'(필수)
필터 값입니다. int

NumberGreaterThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'NumberGreaterThanOrEquals'(필수)
필터 값입니다. int

NumberInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'NumberIn'(필수)
필터 값 집합입니다. int[]

NumberInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberInRange'(필수)
필터 값 집합입니다. int[][]

NumberLessThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberLessThan'(필수)
필터 값입니다. int

NumberLessThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberLessThanOrEquals'(필수)
필터 값입니다. int

NumberNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberNotIn'(필수)
필터 값 집합입니다. int[]

NumberNotInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberNotInRange'(필수)
필터 값 집합입니다. int[][]

StringBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'StringBeginsWith'(필수)
필터 값 집합입니다. string[]

StringContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'StringContains'(필수)
필터 값 집합입니다. string[]

StringEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'StringEndsWith'(필수)
필터 값 집합입니다. string[]

StringInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'StringIn'(필수)
필터 값 집합입니다. string[]

StringNotBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'StringNotBeginsWith'(필수)
필터 값 집합입니다. string[]

StringNotContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotContains'(필수)
필터 값 집합입니다. string[]

StringNotEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotEndsWith'(필수)
필터 값 집합입니다. string[]

StringNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotIn'(필수)
필터 값 집합입니다. string[]

RetryPolicy

Name Description
eventTimeToLiveInMinutes 이벤트의 Time To Live(분)입니다. int
maxDeliveryAttempts 이벤트에 대한 최대 배달 다시 시도 횟수입니다. int

빠른 시작 템플릿

다음 빠른 시작 템플릿은 이 리소스 종류를 배포합니다.

템플릿 Description
Azure Event Grid 사용자 지정 토픽 및 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 웹후크 구독을 만듭니다. 원래 John Downs가 작성한 템플릿입니다.
CloudEvents를 사용하여 사용자 지정 Azure Event Grid 토픽/구독

Azure에 배포
사용자 지정 Azure Event Grid 토픽, CloudEvents 스키마가 있는 웹후크 구독 및 이벤트 처리기로 논리 앱을 만듭니다. 원래 저스틴 유에 의해 작성 된 템플릿.
Event Grid 사용자 지정 토픽 및 이벤트 허브 처리기 만들기

Azure에 배포
이벤트를 처리하는 Azure Event Grid 사용자 지정 토픽 및 이벤트 허브를 만듭니다.
리소스 이벤트에 대한 Event Grid 구독 만들기

Azure에 배포
리소스 그룹 또는 Azure 구독에 대한 Event Grid 구독을 만듭니다.
Azure Event Grid 사용자 지정 토픽 및 큐 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 Service Bus 큐 구독을 만듭니다. 원래 마르쿠스 마이어가 작성한 템플릿입니다.
Azure Event Grid 사용자 지정 토픽 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 Service Bus 토픽 구독을 만듭니다. 원래 마르쿠스 마이어가 작성한 템플릿입니다.

ARM 템플릿 리소스 정의

eventSubscriptions 리소스 종류는 확장 리소스이므로 다른 리소스에 적용할 수 있습니다.

이 리소스의 scope 속성을 사용하여 이 리소스에 대한 scope 설정합니다. ARM 템플릿의 확장 리소스에 scope 설정을 참조하세요.

eventSubscriptions 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.EventGrid/eventSubscriptions 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.EventGrid/eventSubscriptions",
  "apiVersion": "2023-12-15-preview",
  "name": "string",
  "scope": "string",
  "properties": {
    "deadLetterDestination": {
      "endpointType": "string"
      // For remaining properties, see DeadLetterDestination objects
    },
    "deadLetterWithResourceIdentity": {
      "deadLetterDestination": {
        "endpointType": "string"
        // For remaining properties, see DeadLetterDestination objects
      },
      "identity": {
        "type": "string",
        "userAssignedIdentity": "string"
      }
    },
    "deliveryWithResourceIdentity": {
      "destination": {
        "endpointType": "string"
        // For remaining properties, see EventSubscriptionDestination objects
      },
      "identity": {
        "type": "string",
        "userAssignedIdentity": "string"
      }
    },
    "destination": {
      "endpointType": "string"
      // For remaining properties, see EventSubscriptionDestination objects
    },
    "eventDeliverySchema": "string",
    "expirationTimeUtc": "string",
    "filter": {
      "advancedFilters": [
        {
          "key": "string",
          "operatorType": "string"
          // For remaining properties, see AdvancedFilter objects
        }
      ],
      "enableAdvancedFilteringOnArrays": "bool",
      "includedEventTypes": [ "string" ],
      "isSubjectCaseSensitive": "bool",
      "subjectBeginsWith": "string",
      "subjectEndsWith": "string"
    },
    "labels": [ "string" ],
    "retryPolicy": {
      "eventTimeToLiveInMinutes": "int",
      "maxDeliveryAttempts": "int"
    }
  }
}

DeadLetterDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

StorageBlob의 경우 다음을 사용합니다.

  "endpointType": "StorageBlob",
  "properties": {
    "blobContainerName": "string",
    "resourceId": "string"
  }

EventSubscriptionDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

AzureFunction의 경우 다음을 사용합니다.

  "endpointType": "AzureFunction",
  "properties": {
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "maxEventsPerBatch": "int",
    "preferredBatchSizeInKilobytes": "int",
    "resourceId": "string"
  }

EventHub의 경우 다음을 사용합니다.

  "endpointType": "EventHub",
  "properties": {
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "resourceId": "string"
  }

HybridConnection의 경우 다음을 사용합니다.

  "endpointType": "HybridConnection",
  "properties": {
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "resourceId": "string"
  }

MonitorAlert의 경우 다음을 사용합니다.

  "endpointType": "MonitorAlert",
  "properties": {
    "actionGroups": [ "string" ],
    "description": "string",
    "severity": "string"
  }

NamespaceTopic의 경우 다음을 사용합니다.

  "endpointType": "NamespaceTopic",
  "properties": {
    "resourceId": "string"
  }

PartnerDestination의 경우 다음을 사용합니다.

  "endpointType": "PartnerDestination",
  "properties": {
    "resourceId": "string"
  }

ServiceBusQueue의 경우 다음을 사용합니다.

  "endpointType": "ServiceBusQueue",
  "properties": {
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "resourceId": "string"
  }

ServiceBusTopic의 경우 다음을 사용합니다.

  "endpointType": "ServiceBusTopic",
  "properties": {
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "resourceId": "string"
  }

StorageQueue의 경우 다음을 사용합니다.

  "endpointType": "StorageQueue",
  "properties": {
    "queueMessageTimeToLiveInSeconds": "int",
    "queueName": "string",
    "resourceId": "string"
  }

WebHook의 경우 다음을 사용합니다.

  "endpointType": "WebHook",
  "properties": {
    "azureActiveDirectoryApplicationIdOrUri": "string",
    "azureActiveDirectoryTenantId": "string",
    "deliveryAttributeMappings": [
      {
        "name": "string",
        "type": "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ],
    "endpointUrl": "string",
    "maxEventsPerBatch": "int",
    "minimumTlsVersionAllowed": "string",
    "preferredBatchSizeInKilobytes": "int"
  }

DeliveryAttributeMapping 개체

형식 속성을 설정하여 개체의 형식을 지정합니다.

동적의 경우 다음을 사용합니다.

  "type": "Dynamic",
  "properties": {
    "sourceField": "string"
  }

정적의 경우 다음을 사용합니다.

  "type": "Static",
  "properties": {
    "isSecret": "bool",
    "value": "string"
  }

AdvancedFilter 개체

operatorType 속성을 설정하여 개체의 형식을 지정합니다.

BoolEquals의 경우 다음을 사용합니다.

  "operatorType": "BoolEquals",
  "value": "bool"

IsNotNull의 경우 다음을 사용합니다.

  "operatorType": "IsNotNull"

IsNullOrUndefined의 경우 다음을 사용합니다.

  "operatorType": "IsNullOrUndefined"

NumberGreaterThan의 경우 다음을 사용합니다.

  "operatorType": "NumberGreaterThan",
  "value": "int"

NumberGreaterThanOrEquals의 경우 다음을 사용합니다.

  "operatorType": "NumberGreaterThanOrEquals",
  "value": "int"

NumberIn의 경우 다음을 사용합니다.

  "operatorType": "NumberIn",
  "values": [ "int" ]

NumberInRange의 경우 다음을 사용합니다.

  "operatorType": "NumberInRange",
  "values": [ [ "int" ] ]

NumberLessThan의 경우 다음을 사용합니다.

  "operatorType": "NumberLessThan",
  "value": "int"

NumberLessThanOrEquals의 경우 다음을 사용합니다.

  "operatorType": "NumberLessThanOrEquals",
  "value": "int"

NumberNotIn의 경우 다음을 사용합니다.

  "operatorType": "NumberNotIn",
  "values": [ "int" ]

NumberNotInRange의 경우 다음을 사용합니다.

  "operatorType": "NumberNotInRange",
  "values": [ [ "int" ] ]

StringBeginsWith의 경우 다음을 사용합니다.

  "operatorType": "StringBeginsWith",
  "values": [ "string" ]

StringContains의 경우 다음을 사용합니다.

  "operatorType": "StringContains",
  "values": [ "string" ]

StringEndsWith의 경우 다음을 사용합니다.

  "operatorType": "StringEndsWith",
  "values": [ "string" ]

StringIn의 경우 다음을 사용합니다.

  "operatorType": "StringIn",
  "values": [ "string" ]

StringNotBeginsWith의 경우 다음을 사용합니다.

  "operatorType": "StringNotBeginsWith",
  "values": [ "string" ]

StringNotContains의 경우 다음을 사용합니다.

  "operatorType": "StringNotContains",
  "values": [ "string" ]

StringNotEndsWith의 경우 다음을 사용합니다.

  "operatorType": "StringNotEndsWith",
  "values": [ "string" ]

StringNotIn의 경우 다음을 사용합니다.

  "operatorType": "StringNotIn",
  "values": [ "string" ]

속성 값

eventSubscriptions

Name Description
형식 리소스 종류 'Microsoft.EventGrid/eventSubscriptions'
apiVersion 리소스 api 버전 '2023-12-15-preview'
name 리소스 이름 string(필수)

문자 제한: 3-64

유효한 문자:
영숫자 및 하이픈
scope 배포 scope 다른 scope 확장 리소스를 만들 때 사용합니다. 대상 리소스

JSON의 경우 확장 리소스 를 적용할 리소스의 전체 이름으로 값을 설정합니다.
properties 이벤트 구독의 속성입니다. EventSubscriptionProperties

EventSubscriptionProperties

Name Description
deadLetterDestination 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterDestination
deadLetterWithResourceIdentity 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterWithResourceIdentity
deliveryWithResourceIdentity 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeliveryWithResourceIdentity
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
eventDeliverySchema 이벤트 구독에 대한 이벤트 배달 스키마입니다. 'CloudEventSchemaV1_0'
'CustomInputSchema'
'EventGridSchema'
expirationTimeUtc 이벤트 구독의 만료 시간입니다. 문자열
filter 이벤트 구독에 대한 필터에 대한 정보입니다. EventSubscriptionFilter
레이블 사용자 정의 레이블 목록입니다. string[]
retryPolicy 이벤트에 대한 재시도 정책입니다. 이를 사용하여 이벤트에 대한 최대 배달 시도 횟수와 TTL(Time to Live)을 구성할 수 있습니다. RetryPolicy

DeadLetterDestination

Name Description
endpointType 개체 유형 설정 StorageBlob (필수)

StorageBlobDeadLetterDestination

Name Description
endpointType 배달 못한 편지 대상에 대한 엔드포인트 유형 'StorageBlob'(필수)
properties Storage Blob 기반 배달 못 한 대상의 속성 StorageBlobDeadLetterDestinationProperties

StorageBlobDeadLetterDestinationProperties

Name Description
blobContainerName 배달 못 한 이벤트의 대상인 Storage Blob 컨테이너의 이름입니다. 문자열
resourceId 배달 못 한 이벤트의 대상인 스토리지 계정의 Azure 리소스 ID 문자열

DeadLetterWithResourceIdentity

Name Description
deadLetterDestination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 가져옵니다.
DeadLetterDestination
identity 배달 못한 편지 이벤트가 발생할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionIdentity

Name Description
형식 사용되는 관리 ID의 유형입니다. 'SystemAssigned, UserAssigned' 형식에는 암시적으로 생성된 ID와 사용자 할당 ID 집합이 모두 포함됩니다. 'None' 형식은 ID를 제거합니다. 'SystemAssigned'
'UserAssigned'
userAssignedIdentity 리소스와 연결된 사용자 ID입니다. string

DeliveryWithResourceIdentity

Name Description
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
identity 이벤트를 배달할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionDestination

Name Description
endpointType 개체 형식 설정 AzureFunction
EventHub
HybridConnection
MonitorAlert
네임스페이스토픽
PartnerDestination
ServiceBusQueue
ServiceBusTopic
StorageQueue
WebHook (필수)

AzureFunctionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'AzureFunction'(필수)
properties 이벤트 구독 대상의 Azure 함수 속성입니다. AzureFunctionEventSubscriptionDestinationProperties

AzureFunctionEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
preferredBatchSizeInKilobytes 기본 일괄 처리 크기(킬로바이트)입니다. int
resourceId 이벤트 구독의 Azure Function 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

DeliveryAttributeMapping

Name Description
name 배달 특성 또는 헤더의 이름입니다. 문자열
type 개체 형식 설정 동적
정적 (필수)

DynamicDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. 'Dynamic'(필수)
properties 동적 배달 특성 매핑의 속성입니다. DynamicDeliveryAttributeMappingProperties

DynamicDeliveryAttributeMappingProperties

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

StaticDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. 'Static'(필수)
properties 정적 배달 특성 매핑의 속성입니다. StaticDeliveryAttributeMappingProperties

StaticDeliveryAttributeMappingProperties

Name Description
isSecret 특성에 중요한 정보가 포함되어 있는지 여부를 나타내는 부울 플래그입니다. bool
배달 특성의 값입니다. 문자열

EventHubEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'EventHub'(필수)
properties 이벤트 구독 대상의 이벤트 허브 속성입니다. EventHubEventSubscriptionDestinationProperties

EventHubEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 이벤트 허브 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

HybridConnectionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'HybridConnection'(필수)
properties 하이브리드 연결 이벤트 구독 대상의 속성입니다. HybridConnectionEventSubscriptionDestinationProperti...

HybridConnectionEventSubscriptionDestinationProperti...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 대상인 하이브리드 연결의 Azure 리소스 ID입니다. 문자열

MonitorAlertEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'MonitorAlert'(필수)
properties 이벤트 구독 대상의 경고 속성을 모니터링합니다. MonitorAlertEventSubscriptionDestinationProperties

MonitorAlertEventSubscriptionDestinationProperties

Name Description
actionGroups 이 이벤트 구독을 통해 발생한 모든 경고에서 트리거되는 작업 그룹의 ARM ID 목록입니다.
각 리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Insights/actionGroups/{ActionGroupName} 패턴을 따라야 합니다.
string[]
description 이 이벤트 구독을 통해 발생한 모든 경고에 연결될 설명입니다. string
severity 이 이벤트 구독을 통해 발생한 모든 경고에 연결될 심각도입니다.
이 필드는 제공해야 합니다.
'Sev0'
'Sev1'
'Sev2'
'Sev3'
'Sev4'

NamespaceTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'NamespaceTopic'(필수)
properties 이벤트 구독 대상의 네임스페이스 토픽 속성입니다. NamespaceTopicEventSubscriptionDestinationProperties

NamespaceTopicEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 Event Grid 네임스페이스 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다.
이 필드는 필수이며 나열된 네임스페이스 토픽 리소스가 이미 있어야 합니다.
리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.EventGrid/namespaces/{NamespaceName}/topics/{TopicName}패턴을 따라야 합니다.
문자열

PartnerEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'PartnerDestination'(필수)
properties 이벤트 구독 대상의 파트너 대상 속성입니다. PartnerEventSubscriptionDestinationProperties

PartnerEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 파트너 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

ServiceBusQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'ServiceBusQueue'(필수)
properties 이벤트 구독 대상의 Service Bus 속성입니다. ServiceBusQueueEventSubscriptionDestinationPropertie...

ServiceBusQueueEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

ServiceBusTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'ServiceBusTopic'(필수)
properties Service Bus 토픽 이벤트 구독 대상의 속성입니다. ServiceBusTopicEventSubscriptionDestinationPropertie...

ServiceBusTopicEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

StorageQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'StorageQueue'(필수)
properties 이벤트 구독 대상의 스토리지 큐 속성입니다. StorageQueueEventSubscriptionDestinationProperties

StorageQueueEventSubscriptionDestinationProperties

Name Description
queueMessageTimeToLiveInSeconds 스토리지 큐 메시지 시간(초)입니다. 메시지의 Time To Live가 무한임을 나타내기 위해 -1을 사용하는 경우를 제외하고 이 값은 0 또는 음수일 수 없습니다. int
queueName 이벤트 구독의 대상인 스토리지 계정 아래의 Storage 큐 이름입니다. 문자열
resourceId 이벤트 구독의 대상인 큐를 포함하는 스토리지 계정의 Azure 리소스 ID입니다. 문자열

WebHookEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. 'WebHook'(필수)
properties 이벤트 구독 대상의 WebHook 속성입니다. WebHookEventSubscriptionDestinationProperties

WebHookEventSubscriptionDestinationProperties

Name Description
azureActiveDirectoryApplicationIdOrUri 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 애플리케이션 ID 또는 URI입니다. 문자열
azureActiveDirectoryTenantId 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 테넌트 ID입니다. 문자열
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
endpointUrl 이벤트 구독 대상의 엔드포인트를 나타내는 URL입니다. string

제약 조건:
중요한 값입니다. 보안 매개 변수로 전달합니다.
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
minimumTlsVersionAllowed 웹후크 엔드포인트에서 지원해야 하는 최소 TLS 버전 '1.0'
'1.1'
'1.2'
preferredBatchSizeInKilobytes 기본 일괄 처리 크기(킬로바이트)입니다. int

EventSubscriptionFilter

Name Description
advancedFilters 이벤트 구독을 필터링하는 데 사용되는 고급 필터의 배열입니다. AdvancedFilter[]
enableAdvancedFilteringOnArrays 단수 값을 예상하는 대신 값 배열에 대해 고급 필터를 평가할 수 있습니다. bool
includedEventTypes 이벤트 구독의 일부가 되어야 하는 적용 가능한 이벤트 유형 목록입니다. 모든 기본 이벤트 형식을 구독하려는 경우 IncludedEventTypes를 null로 설정합니다. string[]
isSubjectCaseSensitive 필터의 SubjectBeginsWith 및 SubjectEndsWith 속성을 지정합니다.
대/소문자를 구분하는 방식으로 비교해야 합니다.
bool
subjectBeginsWith 리소스 경로 접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
이 형식은 이벤트의 게시자에 따라 달라집니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
문자열
subjectEndsWith 리소스 경로 접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
문자열

AdvancedFilter

Name Description
key 필터링할 이벤트에 있는 필드/속성입니다. 문자열
operatorType 개체 형식 설정 BoolEquals
IsNotNull
IsNullOrUndefined
NumberGreaterThan
NumberGreaterThanOrEquals
NumberIn
NumberInRange
NumberLessThan
NumberLessThanOrEquals
NumberNotIn
NumberNotInRange
StringBeginsWith
StringContains
StringEndsWith
StringIn
StringNotBeginsWith
StringNotContains
StringNotEndsWith
StringNotIn (필수)

BoolEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'BoolEquals'(필수)
부울 필터 값입니다. bool

IsNotNullAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'IsNotNull'(필수)

IsNullOrUndefinedAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'IsNullOrUndefined'(필수)

NumberGreaterThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberGreaterThan'(필수)
필터 값입니다. int

NumberGreaterThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberGreaterThanOrEquals'(필수)
필터 값입니다. int

NumberInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberIn'(필수)
필터 값 집합입니다. int[]

NumberInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberInRange'(필수)
필터 값 집합입니다. int[][]

NumberLessThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberLessThan'(필수)
필터 값입니다. int

NumberLessThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberLessThanOrEquals'(필수)
필터 값입니다. int

NumberNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberNotIn'(필수)
필터 값 집합입니다. int[]

NumberNotInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. 'NumberNotInRange'(필수)
필터 값 집합입니다. int[][]

StringBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringBeginsWith'(필수)
필터 값 집합입니다. string[]

StringContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringContains'(필수)
필터 값 집합입니다. string[]

StringEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringEndsWith'(필수)
필터 값 집합입니다. string[]

StringInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringIn'(필수)
필터 값 집합입니다. string[]

StringNotBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotBeginsWith'(필수)
필터 값 집합입니다. string[]

StringNotContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotContains'(필수)
필터 값 집합입니다. string[]

StringNotEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotEndsWith'(필수)
필터 값 집합입니다. string[]

StringNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). 'StringNotIn'(필수)
필터 값 집합입니다. string[]

RetryPolicy

Name Description
eventTimeToLiveInMinutes 이벤트의 Time To Live(분)입니다. int
maxDeliveryAttempts 이벤트에 대한 최대 배달 다시 시도 횟수입니다. int

빠른 시작 템플릿

다음 빠른 시작 템플릿은 이 리소스 종류를 배포합니다.

템플릿 Description
Azure Event Grid 사용자 지정 토픽 및 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 웹후크 구독을 만듭니다. 원래 John Downs가 작성한 템플릿입니다.
CloudEvents를 사용하여 사용자 지정 Azure Event Grid 토픽/구독

Azure에 배포
사용자 지정 Azure Event Grid 토픽, CloudEvents 스키마가 있는 웹후크 구독 및 논리 앱을 이벤트 처리기로 만듭니다. 원래 저스틴 유에 의해 작성 된 템플릿.
Event Grid 사용자 지정 토픽 및 이벤트 허브 처리기 만들기

Azure에 배포
이벤트를 처리할 Azure Event Grid 사용자 지정 토픽 및 이벤트 허브를 만듭니다.
리소스 이벤트에 대한 Event Grid 구독 만들기

Azure에 배포
리소스 그룹 또는 Azure 구독에 대한 Event Grid 구독을 만듭니다.
Azure Event Grid 사용자 지정 토픽 및 큐 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 Service Bus 큐 구독을 만듭니다. 원래 마르쿠스 마이어에 의해 작성 된 템플릿.
Azure Event Grid 사용자 지정 토픽 구독 만들기

Azure에 배포
Azure Event Grid 사용자 지정 토픽 및 Service Bus 토픽 구독을 만듭니다. 원래 마르쿠스 마이어에 의해 작성 된 템플릿.

Terraform(AzAPI 공급자) 리소스 정의

eventSubscriptions 리소스 종류는 확장 리소스이므로 다른 리소스에 적용할 수 있습니다.

이 리소스의 parent_id 속성을 사용하여 이 리소스에 대한 scope 설정합니다.

eventSubscriptions 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

  • 리소스 그룹
  • 구독

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.EventGrid/eventSubscriptions 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.EventGrid/eventSubscriptions@2023-12-15-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      deadLetterDestination = {
        endpointType = "string"
        // For remaining properties, see DeadLetterDestination objects
      }
      deadLetterWithResourceIdentity = {
        deadLetterDestination = {
          endpointType = "string"
          // For remaining properties, see DeadLetterDestination objects
        }
        identity = {
          type = "string"
          userAssignedIdentity = "string"
        }
      }
      deliveryWithResourceIdentity = {
        destination = {
          endpointType = "string"
          // For remaining properties, see EventSubscriptionDestination objects
        }
        identity = {
          type = "string"
          userAssignedIdentity = "string"
        }
      }
      destination = {
        endpointType = "string"
        // For remaining properties, see EventSubscriptionDestination objects
      }
      eventDeliverySchema = "string"
      expirationTimeUtc = "string"
      filter = {
        advancedFilters = [
          {
            key = "string"
            operatorType = "string"
            // For remaining properties, see AdvancedFilter objects
          }
        ]
        enableAdvancedFilteringOnArrays = bool
        includedEventTypes = [
          "string"
        ]
        isSubjectCaseSensitive = bool
        subjectBeginsWith = "string"
        subjectEndsWith = "string"
      }
      labels = [
        "string"
      ]
      retryPolicy = {
        eventTimeToLiveInMinutes = int
        maxDeliveryAttempts = int
      }
    }
  })
}

DeadLetterDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

StorageBlob의 경우 다음을 사용합니다.

  endpointType = "StorageBlob"
  properties = {
    blobContainerName = "string"
    resourceId = "string"
  }

EventSubscriptionDestination 개체

endpointType 속성을 설정하여 개체 유형을 지정합니다.

AzureFunction의 경우 다음을 사용합니다.

  endpointType = "AzureFunction"
  properties = {
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    maxEventsPerBatch = int
    preferredBatchSizeInKilobytes = int
    resourceId = "string"
  }

EventHub의 경우 다음을 사용합니다.

  endpointType = "EventHub"
  properties = {
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId = "string"
  }

HybridConnection의 경우 다음을 사용합니다.

  endpointType = "HybridConnection"
  properties = {
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId = "string"
  }

MonitorAlert의 경우 다음을 사용합니다.

  endpointType = "MonitorAlert"
  properties = {
    actionGroups = [
      "string"
    ]
    description = "string"
    severity = "string"
  }

NamespaceTopic의 경우 다음을 사용합니다.

  endpointType = "NamespaceTopic"
  properties = {
    resourceId = "string"
  }

PartnerDestination의 경우 다음을 사용합니다.

  endpointType = "PartnerDestination"
  properties = {
    resourceId = "string"
  }

ServiceBusQueue의 경우 다음을 사용합니다.

  endpointType = "ServiceBusQueue"
  properties = {
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId = "string"
  }

ServiceBusTopic의 경우 다음을 사용합니다.

  endpointType = "ServiceBusTopic"
  properties = {
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    resourceId = "string"
  }

StorageQueue의 경우 다음을 사용합니다.

  endpointType = "StorageQueue"
  properties = {
    queueMessageTimeToLiveInSeconds = int
    queueName = "string"
    resourceId = "string"
  }

WebHook의 경우 다음을 사용합니다.

  endpointType = "WebHook"
  properties = {
    azureActiveDirectoryApplicationIdOrUri = "string"
    azureActiveDirectoryTenantId = "string"
    deliveryAttributeMappings = [
      {
        name = "string"
        type = "string"
        // For remaining properties, see DeliveryAttributeMapping objects
      }
    ]
    endpointUrl = "string"
    maxEventsPerBatch = int
    minimumTlsVersionAllowed = "string"
    preferredBatchSizeInKilobytes = int
  }

DeliveryAttributeMapping 개체

형식 속성을 설정하여 개체의 형식을 지정합니다.

동적의 경우 다음을 사용합니다.

  type = "Dynamic"
  properties = {
    sourceField = "string"
  }

Static의 경우 다음을 사용합니다.

  type = "Static"
  properties = {
    isSecret = bool
    value = "string"
  }

AdvancedFilter 개체

operatorType 속성을 설정하여 개체의 형식을 지정합니다.

BoolEquals의 경우 다음을 사용합니다.

  operatorType = "BoolEquals"
  value = bool

IsNotNull의 경우 다음을 사용합니다.

  operatorType = "IsNotNull"

IsNullOrUndefined의 경우 다음을 사용합니다.

  operatorType = "IsNullOrUndefined"

NumberGreaterThan의 경우 다음을 사용합니다.

  operatorType = "NumberGreaterThan"
  value = int

NumberGreaterThanOrEquals의 경우 다음을 사용합니다.

  operatorType = "NumberGreaterThanOrEquals"
  value = int

NumberIn의 경우 다음을 사용합니다.

  operatorType = "NumberIn"
  values = [
    int
  ]

NumberInRange의 경우 다음을 사용합니다.

  operatorType = "NumberInRange"
  values = [
    [
      int
    ]
  ]

NumberLessThan의 경우 다음을 사용합니다.

  operatorType = "NumberLessThan"
  value = int

NumberLessThanOrEquals의 경우 다음을 사용합니다.

  operatorType = "NumberLessThanOrEquals"
  value = int

NumberNotIn의 경우 다음을 사용합니다.

  operatorType = "NumberNotIn"
  values = [
    int
  ]

NumberNotInRange의 경우 다음을 사용합니다.

  operatorType = "NumberNotInRange"
  values = [
    [
      int
    ]
  ]

StringBeginsWith의 경우 다음을 사용합니다.

  operatorType = "StringBeginsWith"
  values = [
    "string"
  ]

StringContains의 경우 다음을 사용합니다.

  operatorType = "StringContains"
  values = [
    "string"
  ]

StringEndsWith의 경우 다음을 사용합니다.

  operatorType = "StringEndsWith"
  values = [
    "string"
  ]

StringIn의 경우 다음을 사용합니다.

  operatorType = "StringIn"
  values = [
    "string"
  ]

StringNotBeginsWith의 경우 다음을 사용합니다.

  operatorType = "StringNotBeginsWith"
  values = [
    "string"
  ]

StringNotContains의 경우 다음을 사용합니다.

  operatorType = "StringNotContains"
  values = [
    "string"
  ]

StringNotEndsWith의 경우 다음을 사용합니다.

  operatorType = "StringNotEndsWith"
  values = [
    "string"
  ]

StringNotIn의 경우 다음을 사용합니다.

  operatorType = "StringNotIn"
  values = [
    "string"
  ]

속성 값

eventSubscriptions

Name Description
형식 리소스 종류 "Microsoft.EventGrid/eventSubscriptions@2023-12-15-preview"
name 리소스 이름 string(필수)

문자 제한: 3-64

유효한 문자:
영숫자 및 하이픈
parent_id 이 확장 리소스를 적용할 리소스의 ID입니다. string(필수)
properties 이벤트 구독의 속성입니다. EventSubscriptionProperties

EventSubscriptionProperties

Name Description
deadLetterDestination 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
DeadLetterDestination
deadLetterWithResourceIdentity 이벤트 구독의 배달 못한 편지 대상입니다. 대상에 배달할 수 없는 모든 이벤트는 배달 못한 편지 대상으로 전송됩니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 가져옵니다.
DeadLetterWithResourceIdentity
deliveryWithResourceIdentity 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 가져옵니다.
DeliveryWithResourceIdentity
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
eventDeliverySchema 이벤트 구독에 대한 이벤트 배달 스키마입니다. "CloudEventSchemaV1_0"
"CustomInputSchema"
"EventGridSchema"
expirationTimeUtc 이벤트 구독의 만료 시간입니다. 문자열
filter 이벤트 구독에 대한 필터에 대한 정보입니다. EventSubscriptionFilter
레이블 사용자 정의 레이블 목록입니다. string[]
retryPolicy 이벤트에 대한 재시도 정책입니다. 이를 사용하여 최대 배달 시도 횟수 및 이벤트에 대한 라이브 시간을 구성할 수 있습니다. RetryPolicy

DeadLetterDestination

Name Description
endpointType 개체 형식 설정 StorageBlob (필수)

StorageBlobDeadLetterDestination

Name Description
endpointType 배달 못한 편지 대상에 대한 엔드포인트 유형 "StorageBlob"(필수)
properties Storage Blob 기반 데드렛 대상의 속성 StorageBlobDeadLetterDestinationProperties

StorageBlobDeadLetterDestinationProperties

Name Description
blobContainerName 배달 못 한 이벤트의 대상인 Storage Blob 컨테이너의 이름입니다. 문자열
resourceId 배달 못 한 이벤트의 대상인 스토리지 계정의 Azure 리소스 ID 문자열

DeadLetterWithResourceIdentity

Name Description
deadLetterDestination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
부모 리소스(즉, 토픽 또는 도메인)에서 관리 ID 설정을 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 가져옵니다.
DeadLetterDestination
identity 배달 못한 편지 이벤트가 발생할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionIdentity

Name Description
형식 사용되는 관리 ID의 유형입니다. 'SystemAssigned, UserAssigned' 형식에는 암시적으로 생성된 ID와 사용자 할당 ID 집합이 모두 포함됩니다. 'None' 형식은 ID를 제거합니다. "SystemAssigned"
"UserAssigned"
userAssignedIdentity 리소스와 연결된 사용자 ID입니다. string

DeliveryWithResourceIdentity

Name Description
destination 이벤트 구독에 대해 이벤트를 배달해야 하는 대상에 대한 정보입니다.
Azure Event Grid ID를 사용하여 배달/배달 못 한 편지 중에 사용되는 인증 토큰을 획득합니다.
EventSubscriptionDestination
identity 이벤트를 배달할 때 사용할 ID입니다. EventSubscriptionIdentity

EventSubscriptionDestination

Name Description
endpointType 개체 형식 설정 AzureFunction
EventHub
HybridConnection
MonitorAlert
네임스페이스토픽
PartnerDestination
ServiceBusQueue
ServiceBusTopic
StorageQueue
WebHook (필수)

AzureFunctionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "AzureFunction"(필수)
properties 이벤트 구독 대상의 Azure 함수 속성입니다. AzureFunctionEventSubscriptionDestinationProperties

AzureFunctionEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
preferredBatchSizeInKilobytes 기본 일괄 처리 크기(킬로바이트)입니다. int
resourceId 이벤트 구독의 Azure Function 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

DeliveryAttributeMapping

Name Description
name 배달 특성 또는 헤더의 이름입니다. 문자열
type 개체 형식 설정 동적
정적 (필수)

DynamicDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. "동적"(필수)
properties 동적 배달 특성 매핑의 속성입니다. DynamicDeliveryAttributeMappingProperties

DynamicDeliveryAttributeMappingProperties

Name Description
sourceField 특성 값이 포함된 이벤트의 JSON 경로입니다. 문자열

StaticDeliveryAttributeMapping

Name Description
형식 배달 특성 또는 헤더 이름의 형식입니다. "Static"(필수)
properties 정적 배달 특성 매핑의 속성입니다. StaticDeliveryAttributeMappingProperties

StaticDeliveryAttributeMappingProperties

Name Description
isSecret 특성에 중요한 정보가 포함되어 있는지 여부를 나타내는 부울 플래그입니다. bool
배달 특성의 값입니다. 문자열

EventHubEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "EventHub"(필수)
properties 이벤트 구독 대상의 이벤트 허브 속성입니다. EventHubEventSubscriptionDestinationProperties

EventHubEventSubscriptionDestinationProperties

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Event Hub 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

HybridConnectionEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "HybridConnection"(필수)
properties 하이브리드 연결 이벤트 구독 대상의 속성입니다. HybridConnectionEventSubscriptionDestinationProperti...

HybridConnectionEventSubscriptionDestinationProperti...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 대상인 하이브리드 연결의 Azure 리소스 ID입니다. string

MonitorAlertEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "MonitorAlert"(필수)
properties 이벤트 구독 대상의 경고 속성을 모니터링합니다. MonitorAlertEventSubscriptionDestinationProperties

MonitorAlertEventSubscriptionDestinationProperties

Name Description
actionGroups 이 이벤트 구독을 통해 발생한 모든 경고에서 트리거되는 작업 그룹의 ARM ID 목록입니다.
각 리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Insights/actionGroups/{ActionGroupName} 패턴을 따라야 합니다.
string[]
description 이 이벤트 구독을 통해 발생한 모든 경고에 연결할 설명입니다. 문자열
severity 이 이벤트 구독을 통해 발생한 모든 경고에 연결할 심각도입니다.
이 필드는 제공해야 합니다.
"Sev0"
"Sev1"
"Sev2"
"Sev3"
"Sev4"

NamespaceTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "NamespaceTopic"(필수)
properties 네임스페이스 이벤트 구독 대상의 토픽 속성입니다. NamespaceTopicEventSubscriptionDestinationProperties

NamespaceTopicEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 Event Grid 네임스페이스 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다.
이 필드는 필수이며 나열된 네임스페이스 토픽 리소스가 이미 있어야 합니다.
리소스 ARM ID는 /subscriptions/{AzureSubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.EventGrid/namespaces/{NamespaceName}/topics/{TopicName}패턴을 따라야 합니다.
문자열

PartnerEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "PartnerDestination"(필수)
properties 이벤트 구독 대상의 파트너 대상 속성입니다. PartnerEventSubscriptionDestinationProperties

PartnerEventSubscriptionDestinationProperties

Name Description
resourceId 이벤트 구독의 파트너 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. string

ServiceBusQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "ServiceBusQueue"(필수)
properties 이벤트 구독 대상의 Service Bus 속성입니다. ServiceBusQueueEventSubscriptionDestinationPropertie...

ServiceBusQueueEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 대상 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

ServiceBusTopicEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "ServiceBusTopic"(필수)
properties Service Bus 토픽 이벤트 구독 대상의 속성입니다. ServiceBusTopicEventSubscriptionDestinationPropertie...

ServiceBusTopicEventSubscriptionDestinationPropertie...

Name Description
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
resourceId 이벤트 구독의 Service Bus 토픽 대상의 엔드포인트를 나타내는 Azure 리소스 ID입니다. 문자열

StorageQueueEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "StorageQueue"(필수)
properties 이벤트 구독 대상의 스토리지 큐 속성입니다. StorageQueueEventSubscriptionDestinationProperties

StorageQueueEventSubscriptionDestinationProperties

Name Description
queueMessageTimeToLiveInSeconds 스토리지 큐 메시지 시간(초)입니다. 메시지의 Time To Live가 무한임을 나타내기 위해 -1을 사용하는 경우를 제외하고 이 값은 0 또는 음수일 수 없습니다. int
queueName 이벤트 구독의 대상인 스토리지 계정 아래의 Storage 큐 이름입니다. string
resourceId 이벤트 구독의 대상인 큐를 포함하는 스토리지 계정의 Azure 리소스 ID입니다. string

WebHookEventSubscriptionDestination

Name Description
endpointType 이벤트 구독 대상에 대한 엔드포인트의 유형입니다. "WebHook"(필수)
properties 이벤트 구독 대상의 WebHook 속성입니다. WebHookEventSubscriptionDestinationProperties

WebHookEventSubscriptionDestinationProperties

Name Description
azureActiveDirectoryApplicationIdOrUri 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 애플리케이션 ID 또는 URI입니다. string
azureActiveDirectoryTenantId 배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 테넌트 ID입니다. string
deliveryAttributeMappings 배달 특성 세부 정보입니다. DeliveryAttributeMapping[]
endpointUrl 이벤트 구독 대상의 엔드포인트를 나타내는 URL입니다. string

제약 조건:
중요한 값입니다. 보안 매개 변수로 전달합니다.
maxEventsPerBatch 일괄 처리당 최대 이벤트 수입니다. int
minimumTlsVersionAllowed 웹후크 엔드포인트에서 지원해야 하는 최소 TLS 버전 "1.0"
"1.1"
"1.2"
preferredBatchSizeInKilobytes 기본 배치 크기(킬로바이트)입니다. int

EventSubscriptionFilter

Name Description
advancedFilters 이벤트 구독을 필터링하는 데 사용되는 고급 필터의 배열입니다. AdvancedFilter[]
enableAdvancedFilteringOnArrays 단수 값을 예상하는 대신 고급 필터를 값 배열에 대해 평가할 수 있습니다. bool
includedEventTypes 이벤트 구독의 일부여야 하는 적용 가능한 이벤트 유형 목록입니다. 모든 기본 이벤트 유형을 구독하려면 IncludedEventTypes를 null로 설정합니다. string[]
isSubjectCaseSensitive 필터의 SubjectBeginsWith 및 SubjectEndsWith 속성을 지정합니다.
대/소문자를 구분하는 방식으로 비교해야 합니다.
bool
subjectBeginsWith 리소스 경로 접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
이 형식은 이벤트의 게시자에 따라 달라집니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
문자열
subjectEndsWith 리소스 경로 접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다.
와일드카드 문자는 이 경로에서 지원되지 않습니다.
string

AdvancedFilter

Name Description
key 필터링할 이벤트에 있는 필드/속성입니다. string
operatorType 개체 형식 설정 BoolEquals
IsNotNull
IsNullOrUndefined
NumberGreaterThan
NumberGreaterThanOrEquals
NumberIn
NumberInRange
NumberLessThan
NumberLessThanOrEquals
NumberNotIn
NumberNotInRange
StringBeginsWith
StringContains
StringEndsWith
StringIn
StringNotBeginsWith
StringNotContains
StringNotEndsWith
StringNotIn (필수)

BoolEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "BoolEquals"(필수)
부울 필터 값입니다. bool

IsNotNullAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "IsNotNull"(필수)

IsNullOrUndefinedAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "IsNullOrUndefined"(필수)

NumberGreaterThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "NumberGreaterThan"(필수)
필터 값입니다. int

NumberGreaterThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "NumberGreaterThanOrEquals"(필수)
필터 값입니다. int

NumberInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "NumberIn"(필수)
필터 값 집합입니다. int[]

NumberInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "NumberInRange"(필수)
필터 값 집합입니다. int[][]

NumberLessThanAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "NumberLessThan"(필수)
필터 값입니다. int

NumberLessThanOrEqualsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "NumberLessThanOrEquals"(필수)
필터 값입니다. int

NumberNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "NumberNotIn"(필수)
필터 값 집합입니다. int[]

NumberNotInRangeAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "NumberNotInRange"(필수)
필터 값 집합입니다. int[][]

StringBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "StringBeginsWith"(필수)
필터 값 집합입니다. string[]

StringContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "StringContains"(필수)
필터 값 집합입니다. string[]

StringEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "StringEndsWith"(필수)
필터 값 집합입니다. string[]

StringInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "StringIn"(필수)
필터 값 집합입니다. string[]

StringNotBeginsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등). "StringNotBeginsWith"(필수)
필터 값 집합입니다. string[]

StringNotContainsAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "StringNotContains"(필수)
필터 값 집합입니다. string[]

StringNotEndsWithAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "StringNotEndsWith"(필수)
필터 값 집합입니다. string[]

StringNotInAdvancedFilter

Name Description
operatorType 필터링에 사용되는 연산자 형식(예: NumberIn, StringContains, BoolEquals 등)입니다. "StringNotIn"(필수)
필터 값 집합입니다. string[]

RetryPolicy

Name Description
eventTimeToLiveInMinutes 이벤트에 대한 Time To Live(분)입니다. int
maxDeliveryAttempts 이벤트에 대한 최대 배달 다시 시도 횟수입니다. int