az eventgrid system-topic event-subscription

참고 항목

이 명령 그룹에는 Azure CLI 및 하나 이상의 확장 모두에 정의된 명령이 있습니다. 확장된 기능을 활용하려면 각 확장을 설치합니다. 확장 프로그램에 대해 자세히 알아보세요.

시스템 토픽의 이벤트 구독을 관리합니다.

명령

Name Description 형식 상태
az eventgrid system-topic event-subscription create

시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

핵심 GA
az eventgrid system-topic event-subscription create (eventgrid 확장)

시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

내선 번호 프리뷰
az eventgrid system-topic event-subscription delete

시스템 토픽의 이벤트 구독을 삭제합니다.

핵심 GA
az eventgrid system-topic event-subscription delete (eventgrid 확장)

시스템 토픽의 이벤트 구독을 삭제합니다.

내선 번호 프리뷰
az eventgrid system-topic event-subscription list

특정 시스템 토픽의 이벤트 구독을 나열합니다.

핵심 GA
az eventgrid system-topic event-subscription list (eventgrid 확장)

특정 시스템 토픽의 이벤트 구독을 나열합니다.

내선 번호 프리뷰
az eventgrid system-topic event-subscription show

시스템 토픽의 이벤트 구독에 대한 세부 정보를 가져옵니다.

핵심 GA
az eventgrid system-topic event-subscription show (eventgrid 확장)

시스템 토픽의 이벤트 구독에 대한 세부 정보를 가져옵니다.

내선 번호 프리뷰
az eventgrid system-topic event-subscription update

시스템 토픽의 이벤트 구독을 업데이트합니다.

핵심 GA
az eventgrid system-topic event-subscription update (eventgrid 확장)

시스템 토픽의 이벤트 구독을 업데이트합니다.

내선 번호 프리뷰

az eventgrid system-topic event-subscription create

시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name
                                                    --resource-group
                                                    --system-topic-name
                                                    [--aad-tenant-id]
                                                    [--advanced-filter]
                                                    [--azure-active-directory-application-id-or-uri]
                                                    [--deadletter-endpoint]
                                                    [--delivery-attribute-mapping]
                                                    [--enable-advanced-filtering-on-arrays {false, true}]
                                                    [--endpoint]
                                                    [--endpoint-type {azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook}]
                                                    [--event-delivery-schema {cloudeventschemav1_0, custominputschema, eventgridschema}]
                                                    [--event-ttl]
                                                    [--expiration-date]
                                                    [--included-event-types]
                                                    [--labels]
                                                    [--max-delivery-attempts]
                                                    [--max-events-per-batch]
                                                    [--preferred-batch-size-in-kilobytes]
                                                    [--qttl]
                                                    [--subject-begins-with]
                                                    [--subject-case-sensitive {false, true}]
                                                    [--subject-ends-with]

예제

기본 필터를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code

주체 접두사를 지정하는 필터를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es4 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --subject-begins-with mysubject_prefix

기본 필터 및 CloudEvent V 1.0을 배달 스키마로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create -n es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --event-delivery-schema cloudeventschemav1_0

배달 못 한 대상 및 최대 10회 배달 시도의 사용자 지정 재시도 정책 및 이벤트 TTL이 2시간(이전에 발생한 경우) 및 만료 날짜를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/s2/blobServices/default/containers/blobcontainer1 \
    --max-delivery-attempts 10 --event-ttl 120 --expiration-date "2022-10-31"

Azure Active Directory 사용 웹후크를 대상으로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --azure-active-directory-tenant-id azureactivedirectorytenantid
    --azure-active-directory-application-id-or-uri azureactivedirectoryapplicationidoruri

Azure Function을 대상으로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Web/sites/{functionappname}/functions/{functionname} --endpoint-type azurefunction

ttl이 5분인 대상으로 Storage Queue를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독 만들기

az eventgrid system-topic event-subscription create -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint-type storagequeue \
    --endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/sa1/queueservices/default/queues/q1 \
    --storage-queue-msg-ttl 300

Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만들고 배열에서 고급 필터링을 사용하도록 설정

az eventgrid system-topic event-subscription create -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Web/sites/{functionappname}/functions/{functionname} --endpoint-type azurefunction \
    --enable-advanced-filtering-on-arrays true

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--aad-tenant-id --azure-active-directory-tenant-id

배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 테넌트 ID입니다. 웹후크를 대상으로 하는 경우에만 적용됩니다.

--advanced-filter

고급 필터를 사용하면 특정 이벤트 속성을 기반으로 이벤트를 필터링할 수 있습니다.

사용: --advanced-filter KEY[. INNERKEY] FILTEROPERATOR 값 [VALUE ...] StringIn: --advanced-filter 데이터. Color StringIn Blue Red Orange Yellow StringNotIn: --advanced-filter data. Color StringNotIn Blue Red Orange Yellow StringContains: --advanced-filter subject StringContains Blue Red StringNotContains: --advanced-filter subject StringNotContains Blue Red StringBeginsWith: --advanced-filter subject StringBeginsWith Blue Red StringNotBeginsWith : --advanced-filter subject StringNotBeginsWith Blue Red StringEndsWith: --advanced-filter subject StringEndsWith img png jpg StringNotEndsWith: --advanced-filter subject StringNotEndsWith img png jpg NumberIn: --advanced-filter data.property1 NumberIn 5 10 20 NumberInRange --advanced-filter data.property1 NumberInRange 5,10 20,30 40,50 NumberNotIn: --advanced-filter data.property2 NumberNotIn 100 200 300 NumberNotInRange: --advanced-filter data.property2 NumberNotInRangee 100,110 200,210 300,310 NumberLessThan: --advanced-filter data.property3 NumberLessThan 100 NumberLessThanOrEquals: --advanced-filter data.property2 NumberLessThanOrEquals 100 NumberGreaterThan: --advanced-filter data.property3 NumberGreaterThan 100 NumberGreaterThanOrEquals: --advanced-filter data.property2 NumberGreaterThanOrEquals 100 BoolEquals: --advanced-filter data.property3 Bool true IsNullOrUndefined: --advanced-filter data.property3 IsNullOrUndefined IsNotNull: --advanced-filter data.property3 IsNotNull 다중 고급 필터는 둘 --advanced-filter 이상의 인수를 사용하여 지정할 수 있습니다.

--azure-active-directory-application-id-or-uri

배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 애플리케이션 ID 또는 URI입니다. 웹후크를 대상으로 하는 경우에만 적용됩니다.

--deadletter-endpoint

EventGrid가 이 이벤트 구독에 대해 배달할 수 없는 이벤트를 배달 취소해야 하는 Azure Storage Blob 컨테이너 대상의 Azure 리소스 ID입니다.

예: --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/containerName.

--delivery-attribute-mapping

이벤트를 배달할 때 HTTP 헤더를 통해 추가 정보를 보내도록 배달 특성 매핑을 추가합니다. 이 특성은 StorageQueue를 제외한 모든 대상 형식에 유효합니다. 둘 --delivery-attribute-mapping 이상의 인수를 사용하여 여러 특성을 지정할 수 있습니다.

사용법: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue Static Attribute Mapping: --delivery-attribute -mapping somename static somevalue false Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue Static and Dynamic: -- delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue.

--enable-advanced-filtering-on-arrays --enable-af-arr

단수 값을 예상하는 대신 고급 필터를 값 배열에 대해 평가할 수 있습니다.

허용되는 값: false, true
--endpoint

EventGrid가 이 이벤트 구독과 일치하는 이벤트를 제공해야 하는 엔드포인트입니다. 웹후크 엔드포인트 형식의 경우 해당 웹후크 URL이어야 합니다. 다른 엔드포인트 유형의 경우 엔드포인트의 Azure 리소스 식별자여야 합니다. Event Grid 명령을 실행하기 전에 대상 엔드포인트를 이미 만들고 사용할 수 있어야 합니다.

--endpoint-type

대상 엔드포인트의 형식입니다.

허용되는 값: azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook
기본값: webhook
--event-delivery-schema

이 이벤트 구독에 대해 이벤트를 배달해야 하는 스키마입니다. 기본적으로 이벤트는 게시되는 것과 동일한 스키마로 전달됩니다(해당 토픽의 입력 스키마에 따라).

허용되는 값: cloudeventschemav1_0, custominputschema, eventgridschema
--event-ttl

이벤트 라이브 시간(분)입니다. 1에서 1440 사이의 숫자여야 합니다.

기본값: 1440
--expiration-date

이벤트 구독이 만료되는 날짜 또는 날짜/시간(예: '2018-11-30T11:59:59+00:00' 또는 '2018-11-30')입니다. 기본적으로 이벤트 구독에 대한 만료는 없습니다.

--included-event-types

공간으로 구분된 이벤트 유형 목록(예: Microsoft.Storage.BlobCreated 및 Microsoft.Storage.BlobDeleted)입니다. 모든 기본 이벤트 형식을 구독하려면 이 인수에 대한 값을 지정하지 마세요. Event Grid 토픽의 경우 이벤트 유형은 고객이 정의합니다. Azure 이벤트(예: 스토리지 계정, IoT Hub 등)의 경우 이 CLI 명령 'az eventgrid topic-type list-event-types'을 사용하여 해당 이벤트 유형을 쿼리할 수 있습니다.

--labels

이 이벤트 구독과 연결할 공백으로 구분된 레이블 목록입니다.

--max-delivery-attempts

최대 배달 시도 횟수입니다. 1에서 30 사이의 숫자여야 합니다.

기본값: 30
--max-events-per-batch

일괄 처리의 최대 이벤트 수입니다. 1에서 5000 사이의 숫자여야 합니다.

--preferred-batch-size-in-kilobytes

기본 배치 크기(킬로바이트)입니다. 1에서 1024 사이의 숫자여야 합니다.

--qttl --storage-queue-msg-ttl

스토리지 큐 메시지 시간(초)입니다.

--subject-begins-with

접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

--subject-case-sensitive

주체 필드를 대/소문자를 구분하여 비교할지 여부를 지정합니다. 플래그가 있으면 True입니다.

허용되는 값: false, true
기본값: False
--subject-ends-with

접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription create (eventgrid 확장)

미리 보기

명령 그룹 'az eventgrid'는 미리 보기로 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name
                                                    --resource-group
                                                    --system-topic-name
                                                    [--advanced-filter]
                                                    [--azure-active-directory-application-id-or-uri]
                                                    [--azure-active-directory-tenant-id]
                                                    [--deadletter-endpoint]
                                                    [--endpoint]
                                                    [--endpoint-type {azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook}]
                                                    [--event-delivery-schema {cloudeventschemav1_0, custominputschema, eventgridschema}]
                                                    [--event-ttl]
                                                    [--expiration-date]
                                                    [--included-event-types]
                                                    [--labels]
                                                    [--max-delivery-attempts]
                                                    [--max-events-per-batch]
                                                    [--preferred-batch-size-in-kilobytes]
                                                    [--subject-begins-with]
                                                    [--subject-case-sensitive {false, true}]
                                                    [--subject-ends-with]

예제

기본 필터를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code

주체 접두사를 지정하는 필터를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es4 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --subject-begins-with mysubject_prefix

기본 필터 및 CloudEvent V 1.0을 배달 스키마로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create -n es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --event-delivery-schema cloudeventschemav1_0

배달 못 한 대상 및 최대 10회 배달 시도의 사용자 지정 재시도 정책 및 이벤트 TTL이 2시간(이전에 발생한 경우) 및 만료 날짜를 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code \
    --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/s2/blobServices/default/containers/blobcontainer1 \
    --max-delivery-attempts 10 --event-ttl 120 --expiration-date "2022-10-31"

Azure Active Directory 사용 웹후크를 대상으로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create --name es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --azure-active-directory-tenant-id azureactivedirectorytenantid
    --azure-active-directory-application-id-or-uri azureactivedirectoryapplicationidoruri

Azure Function을 대상으로 사용하여 Event Grid 시스템 토픽에 대한 새 이벤트 구독을 만듭니다.

az eventgrid system-topic event-subscription create -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint /subscriptions/{SubID}/resourceGroups/{RG}/providers/Microsoft.Web/sites/{functionappname}/functions/{functionname} --endpoint-type azurefunction

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--advanced-filter

고급 필터를 사용하면 특정 이벤트 속성을 기반으로 이벤트를 필터링할 수 있습니다.

사용: --advanced-filter KEY[. INNERKEY] FILTEROPERATOR 값 [VALUE ...] StringIn: --advanced-filter 데이터. Color StringIn Blue Red Orange Yellow StringNotIn: --advanced-filter data. Color StringNotIn Blue Red Orange Yellow StringContains: --advanced-filter subject StringContains Blue Red StringBeginsWith: --advanced-filter subject StringBeginsWith Blue Red StringEndsWith: --advanced-filter subject StringEndsWith img png jpg NumberIn: --advanced-filter data. property1 NumberIn 5 10 20 NumberNotIn: --advanced-filter data.property2 NumberNotIn 100 200 300 NumberLessThan: --advanced-filter data.property3 NumberLessThan 100 NumberLessThan 100 NumberLessThanOrEquals: --advanced-filter data.property2 NumberLessThanOrEquals 100 NumberGreaterThan: --advanced-filter data.property3 NumberGreaterThan 100 NumberGreaterThanOrEquals: --advanced-filter data.property2 NumberGreaterThanOrEquals 100 BoolEquals: --advanced-filter data.property3 BoolEquals true 다중 고급 필터는 둘 --advanced-filter 이상의 인수를 사용하여 지정할 수 있습니다.

--azure-active-directory-application-id-or-uri

배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 애플리케이션 ID 또는 URI입니다. 웹후크를 대상으로 하는 경우에만 적용됩니다.

--azure-active-directory-tenant-id

배달 요청에 전달자 토큰으로 포함될 액세스 토큰을 가져오는 Azure Active Directory 테넌트 ID입니다. 웹후크를 대상으로 하는 경우에만 적용됩니다.

--deadletter-endpoint

EventGrid가 이 이벤트 구독에 대해 배달할 수 없는 이벤트를 배달 취소해야 하는 Azure Storage Blob 컨테이너 대상의 Azure 리소스 ID입니다.

예: --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/containerName.

--endpoint

EventGrid가 이 이벤트 구독과 일치하는 이벤트를 제공해야 하는 엔드포인트입니다. 웹후크 엔드포인트 형식의 경우 해당 웹후크 URL이어야 합니다. 다른 엔드포인트 유형의 경우 엔드포인트의 Azure 리소스 식별자여야 합니다.

--endpoint-type

대상 엔드포인트의 형식입니다.

허용되는 값: azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook
기본값: webhook
--event-delivery-schema

이 이벤트 구독에 대해 이벤트를 배달해야 하는 스키마입니다. 기본적으로 이벤트는 게시되는 것과 동일한 스키마로 전달됩니다(해당 토픽의 입력 스키마에 따라).

허용되는 값: cloudeventschemav1_0, custominputschema, eventgridschema
--event-ttl

이벤트 라이브 시간(분)입니다. 1에서 1440 사이의 숫자여야 합니다.

기본값: 1440
--expiration-date

이벤트 구독이 만료되는 날짜 또는 날짜/시간(예: '2018-11-30T11:59:59+00:00' 또는 '2018-11-30')입니다. 기본적으로 이벤트 구독에 대한 만료는 없습니다.

--included-event-types

공백으로 구분된 이벤트 형식 목록입니다. 예: Microsoft.Storage.BlobCreated Microsoft.Storage.BlobDeleted. 모든 기본 이벤트 형식을 구독하려면 이 인수에 대한 값을 지정하지 마세요.

--labels

이 이벤트 구독과 연결할 공백으로 구분된 레이블 목록입니다.

--max-delivery-attempts

최대 배달 시도 횟수입니다. 1에서 30 사이의 숫자여야 합니다.

기본값: 30
--max-events-per-batch

일괄 처리의 최대 이벤트 수입니다. 1에서 5000 사이의 숫자여야 합니다.

--preferred-batch-size-in-kilobytes

기본 배치 크기(킬로바이트)입니다. 1에서 1024 사이의 숫자여야 합니다.

--subject-begins-with

접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

--subject-case-sensitive

주체 필드를 대/소문자를 구분하여 비교할지 여부를 지정합니다. 플래그가 있으면 True입니다.

허용되는 값: false, true
기본값: False
--subject-ends-with

접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription delete

시스템 토픽의 이벤트 구독을 삭제합니다.

az eventgrid system-topic event-subscription delete --name
                                                    --resource-group
                                                    --system-topic-name
                                                    [--yes]

예제

Event Grid 시스템 토픽에 대한 이벤트 구독을 삭제합니다.

az eventgrid system-topic event-subscription delete --name es1 \
    -g rg1 --system-topic-name systemtopic1 \

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--yes -y

확인 메시지를 표시하지 않습니다.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription delete (eventgrid 확장)

미리 보기

명령 그룹 'az eventgrid'는 미리 보기로 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

시스템 토픽의 이벤트 구독을 삭제합니다.

az eventgrid system-topic event-subscription delete --name
                                                    --resource-group
                                                    --system-topic-name

예제

Event Grid 시스템 토픽에 대한 이벤트 구독을 삭제합니다.

az eventgrid system-topic event-subscription delete --name es1 \
    -g rg1 --system-topic-name systemtopic1 \

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription list

특정 시스템 토픽의 이벤트 구독을 나열합니다.

az eventgrid system-topic event-subscription list --resource-group
                                                  --system-topic-name
                                                  [--odata-query]

예제

Event Grid 시스템 토픽에 대해 만든 모든 이벤트 구독을 나열합니다.

az eventgrid system-topic event-subscription list -g rg1 --system-topic-name systemtopic1

필수 매개 변수

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--odata-query

목록 결과를 필터링하는 데 사용되는 OData 쿼리입니다. 필터링은 현재 Name 속성에서만 허용됩니다. 지원되는 작업에는 CONTAINS, eq(같음), ne(같지 않음), AND, OR 및 NOT이 포함됩니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription list (eventgrid 확장)

미리 보기

명령 그룹 'az eventgrid'는 미리 보기로 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

특정 시스템 토픽의 이벤트 구독을 나열합니다.

az eventgrid system-topic event-subscription list --resource-group
                                                  --system-topic-name
                                                  [--odata-query]

예제

Event Grid 시스템 토픽에 대해 만든 모든 이벤트 구독을 나열합니다.

az eventgrid system-topic event-subscription list -g rg1 --system-topic-name systemtopic1

필수 매개 변수

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--odata-query

OData 구문을 사용하여 결과를 필터링하는 데 사용되는 쿼리입니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription show

시스템 토픽의 이벤트 구독에 대한 세부 정보를 가져옵니다.

az eventgrid system-topic event-subscription show --name
                                                  --resource-group
                                                  --system-topic-name
                                                  [--include-attrib-secret {false, true}]
                                                  [--include-full-endpoint-url {false, true}]

예제

Event Grid 시스템 토픽에 대한 이벤트 구독의 세부 정보를 표시합니다.

az eventgrid system-topic event-subscription show --name es1 \
     -g rg1 --system-topic-name systemtopic1

Event Grid 시스템 토픽에 대한 이벤트 구독의 세부 정보에 정적 배달 특성 비밀이 포함됩니다.

az eventgrid system-topic event-subscription show --name es1 \
     -g rg1 --system-topic-name systemtopic1 --include-attrib-secret

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--include-attrib-secret --include-static-delivery-attribute-secret

정적 배달 특성 비밀을 반환해야 하는지 여부를 나타냅니다. 플래그가 있으면 True입니다.

허용되는 값: false, true
기본값: False
--include-full-endpoint-url

전체 엔드포인트 URL을 반환할지 여부를 지정합니다. 플래그가 있으면 True입니다.

허용되는 값: false, true
기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription show (eventgrid 확장)

미리 보기

명령 그룹 'az eventgrid'는 미리 보기로 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

시스템 토픽의 이벤트 구독에 대한 세부 정보를 가져옵니다.

az eventgrid system-topic event-subscription show --name
                                                  --resource-group
                                                  --system-topic-name
                                                  [--include-full-endpoint-url {false, true}]

예제

Event Grid 시스템 토픽에 대한 이벤트 구독의 세부 정보를 표시합니다.

az eventgrid system-topic event-subscription show --name es1 \
     -g rg1 --system-topic-name systemtopic1

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--include-full-endpoint-url

전체 엔드포인트 URL을 반환할지 여부를 지정합니다. 플래그가 있으면 True입니다.

허용되는 값: false, true
기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription update

시스템 토픽의 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name
                                                    --resource-group
                                                    --system-topic-name
                                                    [--advanced-filter]
                                                    [--deadletter-endpoint]
                                                    [--delivery-attribute-mapping]
                                                    [--enable-advanced-filtering-on-arrays {false, true}]
                                                    [--endpoint]
                                                    [--endpoint-type {azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook}]
                                                    [--included-event-types]
                                                    [--labels]
                                                    [--qttl]
                                                    [--subject-begins-with]
                                                    [--subject-ends-with]

예제

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 새 엔드포인트를 지정합니다.

az eventgrid system-topic event-subscription update --name es1 \
    -g rg1 --system-topic-name systemtopic1 --endpoint https://contoso.azurewebsites.net/api/f1?code=code

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 새 제목 끝 필터를 지정합니다.

az eventgrid system-topic event-subscription update --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --subject-ends-with .jpg

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 포함된 이벤트 유형의 새 목록을 필터링하여 새 엔드포인트 및 새 제목 끝 필터를 지정합니다.

az eventgrid system-topic event-subscription update --name es3 \
    -g rg1 --system-topic-name systemtopic1 \
    --subject-ends-with .png \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --included-event-types Microsoft.Storage.BlobCreated Microsoft.Storage.BlobDeleted

데드렛 대상을 포함하도록 Azure Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/blobcontainer1

고급 필터를 사용하여 Azure Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name es3 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --advanced-filter data.blobType StringIn BlockBlob
    --advanced-filter data.url StringBeginsWith https://myaccount.blob.core.windows.net

Ttl이 5분인 대상으로 Storage Queue를 사용하여 Event Grid 시스템 토픽에 대한 이벤트 구독 업데이트

az eventgrid system-topic event-subscription update -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --storage-queue-msg-ttl 300

배열에 대한 고급 필터링을 사용하도록 설정하여 Event Grid 시스템 토픽에 대한 이벤트 구독 업데이트

az eventgrid system-topic event-subscription update -n es1 \
    -g rg1 --system-topic-name systemtopic1 \
    --enable-advanced-filtering-on-arrays true

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--advanced-filter

고급 필터를 사용하면 특정 이벤트 속성을 기반으로 이벤트를 필터링할 수 있습니다.

사용: --advanced-filter KEY[. INNERKEY] FILTEROPERATOR 값 [VALUE ...] StringIn: --advanced-filter 데이터. Color StringIn Blue Red Orange Yellow StringNotIn: --advanced-filter data. Color StringNotIn Blue Red Orange Yellow StringContains: --advanced-filter subject StringContains Blue Red StringNotContains: --advanced-filter subject StringNotContains Blue Red StringBeginsWith: --advanced-filter subject StringBeginsWith Blue Red StringNotBeginsWith : --advanced-filter subject StringNotBeginsWith Blue Red StringEndsWith: --advanced-filter subject StringEndsWith img png jpg StringNotEndsWith: --advanced-filter subject StringNotEndsWith img png jpg NumberIn: --advanced-filter data.property1 NumberIn 5 10 20 NumberInRange --advanced-filter data.property1 NumberInRange 5,10 20,30 40,50 NumberNotIn: --advanced-filter data.property2 NumberNotIn 100 200 300 NumberNotInRange: --advanced-filter data.property2 NumberNotInRangee 100,110 200,210 300,310 NumberLessThan: --advanced-filter data.property3 NumberLessThan 100 NumberLessThanOrEquals: --advanced-filter data.property2 NumberLessThanOrEquals 100 NumberGreaterThan: --advanced-filter data.property3 NumberGreaterThan 100 NumberGreaterThanOrEquals: --advanced-filter data.property2 NumberGreaterThanOrEquals 100 BoolEquals: --advanced-filter data.property3 Bool true IsNullOrUndefined: --advanced-filter data.property3 IsNullOrUndefined IsNotNull: --advanced-filter data.property3 IsNotNull 다중 고급 필터는 둘 --advanced-filter 이상의 인수를 사용하여 지정할 수 있습니다.

--deadletter-endpoint

EventGrid가 이 이벤트 구독에 대해 배달할 수 없는 이벤트를 배달 취소해야 하는 Azure Storage Blob 컨테이너 대상의 Azure 리소스 ID입니다.

--delivery-attribute-mapping

이벤트를 배달할 때 HTTP 헤더를 통해 추가 정보를 보내도록 배달 특성 매핑을 추가합니다. 이 특성은 StorageQueue를 제외한 모든 대상 형식에 유효합니다. 둘 --delivery-attribute-mapping 이상의 인수를 사용하여 여러 특성을 지정할 수 있습니다.

사용법: --delivery-attribute-mapping attribute-name attribute-type attribute-value [attribute-is-secret] Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue Static Attribute Mapping: --delivery-attribute -mapping somename static somevalue false Static Attribute Mapping: --delivery-attribute-mapping somename static somevalue true Dynamic Attribute Mapping: --delivery-attribute-mapping somename dynamic somevalue Static and Dynamic: -- delivery-attribute-mapping somename dynamic somevalue --delivery-attribute-mapping somename2 static somevalue.

--enable-advanced-filtering-on-arrays --enable-af-arr

단수 값을 예상하는 대신 고급 필터를 값 배열에 대해 평가할 수 있습니다.

허용되는 값: false, true
--endpoint

EventGrid가 이 이벤트 구독과 일치하는 이벤트를 제공해야 하는 엔드포인트입니다. 웹후크 엔드포인트 형식의 경우 해당 웹후크 URL이어야 합니다. 다른 엔드포인트 유형의 경우 엔드포인트의 Azure 리소스 식별자여야 합니다. Event Grid 명령을 실행하기 전에 대상 엔드포인트를 이미 만들고 사용할 수 있어야 합니다.

--endpoint-type

대상 엔드포인트의 형식입니다.

허용되는 값: azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook
기본값: webhook
--included-event-types

공간으로 구분된 이벤트 유형 목록(예: Microsoft.Storage.BlobCreated 및 Microsoft.Storage.BlobDeleted)입니다. 모든 기본 이벤트 형식을 구독하려면 이 인수에 대한 값을 지정하지 마세요. Event Grid 토픽의 경우 이벤트 유형은 고객이 정의합니다. Azure 이벤트(예: 스토리지 계정, IoT Hub 등)의 경우 이 CLI 명령 'az eventgrid topic-type list-event-types'을 사용하여 해당 이벤트 유형을 쿼리할 수 있습니다.

--labels

이 이벤트 구독과 연결할 공백으로 구분된 레이블 목록입니다.

--qttl --storage-queue-msg-ttl

스토리지 큐 메시지 시간(초)입니다.

--subject-begins-with

접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

--subject-ends-with

접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az eventgrid system-topic event-subscription update (eventgrid 확장)

미리 보기

명령 그룹 'az eventgrid'는 미리 보기로 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

시스템 토픽의 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name
                                                    --resource-group
                                                    --system-topic-name
                                                    [--advanced-filter]
                                                    [--deadletter-endpoint]
                                                    [--endpoint]
                                                    [--endpoint-type {azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook}]
                                                    [--included-event-types]
                                                    [--labels]
                                                    [--subject-begins-with]
                                                    [--subject-ends-with]

예제

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 새 엔드포인트를 지정합니다.

az eventgrid system-topic event-subscription update --name es1 \
    -g rg1 --system-topic-name systemtopic1 --endpoint https://contoso.azurewebsites.net/api/f1?code=code

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 새 제목 끝 필터를 지정합니다.

az eventgrid system-topic event-subscription update --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --subject-ends-with .jpg

Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트하여 포함된 이벤트 유형의 새 목록을 필터링하여 새 엔드포인트 및 새 제목 끝 필터를 지정합니다.

az eventgrid system-topic event-subscription update --name es3 \
    -g rg1 --system-topic-name systemtopic1 \
    --subject-ends-with .png \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --included-event-types Microsoft.Storage.BlobCreated Microsoft.Storage.BlobDeleted

데드렛 대상을 포함하도록 Azure Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name es2 \
    -g rg1 --system-topic-name systemtopic1 \
    --deadletter-endpoint /subscriptions/{SubID}/resourceGroups/TestRG/providers/Microsoft.Storage/storageAccounts/sa1/blobServices/default/containers/blobcontainer1

고급 필터를 사용하여 Azure Event Grid 시스템 토픽에 대한 이벤트 구독을 업데이트합니다.

az eventgrid system-topic event-subscription update --name es3 \
    -g rg1 --system-topic-name systemtopic1 \
    --endpoint https://contoso.azurewebsites.net/api/f1?code=code
    --advanced-filter data.blobType StringIn BlockBlob
    --advanced-filter data.url StringBeginsWith https://myaccount.blob.core.windows.net

필수 매개 변수

--name -n

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

--resource-group -g

리소스 그룹의 이름입니다. 를 사용하여 az configure --defaults group=<name>기본 그룹을 구성할 수 있습니다.

--system-topic-name

시스템 항목의 이름입니다.

선택적 매개 변수

--advanced-filter

고급 필터를 사용하면 특정 이벤트 속성을 기반으로 이벤트를 필터링할 수 있습니다.

사용: --advanced-filter KEY[. INNERKEY] FILTEROPERATOR 값 [VALUE ...] StringIn: --advanced-filter 데이터. Color StringIn Blue Red Orange Yellow StringNotIn: --advanced-filter data. Color StringNotIn Blue Red Orange Yellow StringContains: --advanced-filter subject StringContains Blue Red StringBeginsWith: --advanced-filter subject StringBeginsWith Blue Red StringEndsWith: --advanced-filter subject StringEndsWith img png jpg NumberIn: --advanced-filter data. property1 NumberIn 5 10 20 NumberNotIn: --advanced-filter data.property2 NumberNotIn 100 200 300 NumberLessThan: --advanced-filter data.property3 NumberLessThan 100 NumberLessThan 100 NumberLessThanOrEquals: --advanced-filter data.property2 NumberLessThanOrEquals 100 NumberGreaterThan: --advanced-filter data.property3 NumberGreaterThan 100 NumberGreaterThanOrEquals: --advanced-filter data.property2 NumberGreaterThanOrEquals 100 BoolEquals: --advanced-filter data.property3 BoolEquals true 다중 고급 필터는 둘 --advanced-filter 이상의 인수를 사용하여 지정할 수 있습니다.

--deadletter-endpoint

EventGrid가 이 이벤트 구독에 대해 배달할 수 없는 이벤트를 배달 취소해야 하는 Azure Storage Blob 컨테이너 대상의 Azure 리소스 ID입니다.

--endpoint

EventGrid가 이 이벤트 구독과 일치하는 이벤트를 제공해야 하는 엔드포인트입니다. 웹후크 엔드포인트 형식의 경우 해당 웹후크 URL이어야 합니다. 다른 엔드포인트 유형의 경우 엔드포인트의 Azure 리소스 식별자여야 합니다.

--endpoint-type

대상 엔드포인트의 형식입니다.

허용되는 값: azurefunction, eventhub, hybridconnection, servicebusqueue, servicebustopic, storagequeue, webhook
기본값: webhook
--included-event-types

공백으로 구분된 이벤트 형식 목록입니다. 예: Microsoft.Storage.BlobCreated Microsoft.Storage.BlobDeleted. 모든 기본 이벤트 형식을 구독하려면 이 인수에 대한 값을 지정하지 마세요.

--labels

이 이벤트 구독과 연결할 공백으로 구분된 레이블 목록입니다.

--subject-begins-with

접두사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

--subject-ends-with

접미사를 기반으로 이벤트 구독에 대한 이벤트를 필터링하는 선택적 문자열입니다. 와일드카드 문자는 지원되지 않습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. 를 사용하여 az account set -s NAME_OR_ID기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.