az eventhubs eventhub consumer-group

Azure Event Hubs 소비자 그룹을 관리합니다.

명령

az eventhubs eventhub consumer-group create

EventHub ConsumerGroup을 만듭니다.

az eventhubs eventhub consumer-group delete

ConsumerGroup을 삭제합니다.

az eventhubs eventhub consumer-group list

Eventhub별 ConsumerGroup을 나열합니다.

az eventhubs eventhub consumer-group show

ConsumerGroup 세부 정보를 표시합니다.

az eventhubs eventhub consumer-group update

EventHub ConsumerGroup을 업데이트합니다.

az eventhubs eventhub consumer-group create

EventHub ConsumerGroup을 만듭니다.

az eventhubs eventhub consumer-group create --eventhub-name
                                            --name
                                            --namespace-name
                                            --resource-group
                                            [--subscription]
                                            [--user-metadata]

예제

EventHub ConsumerGroup을 만듭니다.

az eventhubs eventhub consumer-group create --resource-group myresourcegroup --namespace-name mynamespace --eventhub-name myeventhub --name myconsumergroup

필수 매개 변수

--eventhub-name

EventHub의 이름입니다.

--name -n

ConsumerGroup의 이름입니다.

--namespace-name

네임스페이스의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--subscription

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

--user-metadata

Usermetadata는 최대 길이가 1024인 사용자 정의 문자열 데이터를 저장하는 자리 표시자입니다. 예를 들어 팀 목록 및 연락처 정보와 같은 설명이 포함된 데이터를 저장하는 데 사용할 수 있으며 사용자 정의 구성 설정을 저장할 수도 있습니다.

az eventhubs eventhub consumer-group delete

ConsumerGroup을 삭제합니다.

az eventhubs eventhub consumer-group delete [--eventhub-name]
                                            [--ids]
                                            [--name]
                                            [--namespace-name]
                                            [--resource-group]
                                            [--subscription]

예제

ConsumerGroup을 삭제합니다.

az eventhubs eventhub consumer-group delete --resource-group myresourcegroup --namespace-name mynamespace --eventhub-name myeventhub --name myconsumergroup

선택적 매개 변수

--eventhub-name

EventHub의 이름입니다.

--ids

하나 이상의 리소스 ID(공백으로 구분). '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--name -n

ConsumerGroup의 이름입니다.

--namespace-name

네임스페이스의 이름입니다.

--resource-group -g

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

--subscription

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

az eventhubs eventhub consumer-group list

Eventhub별 ConsumerGroup을 나열합니다.

az eventhubs eventhub consumer-group list --eventhub-name
                                          --namespace-name
                                          --resource-group
                                          [--query-examples]
                                          [--skip]
                                          [--subscription]
                                          [--top]

예제

Eventhub별 ConsumerGroup을 나열합니다.

az eventhubs eventhub consumer-group list --resource-group myresourcegroup --namespace-name mynamespace --eventhub-name myeventhub

필수 매개 변수

--eventhub-name

EventHub의 이름입니다.

--namespace-name

네임스페이스의 이름입니다.

--resource-group -g

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

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 볼 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--skip

Skip은 이전 작업에서 부분 결과를 반환한 경우에만 사용됩니다. 이전 응답에 nextLink 요소가 포함된 경우 nextLink 요소의 값에는 후속 호출에 사용할 시작점을 지정하는 skip 매개 변수가 포함됩니다.

--subscription

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

--top

결과의 수를 최신 N usageDetails로 제한하는 데 사용할 수 있습니다.

az eventhubs eventhub consumer-group show

ConsumerGroup 세부 정보를 표시합니다.

az eventhubs eventhub consumer-group show [--eventhub-name]
                                          [--ids]
                                          [--name]
                                          [--namespace-name]
                                          [--query-examples]
                                          [--resource-group]
                                          [--subscription]

예제

ConsumerGroup 세부 정보를 표시합니다.

az eventhubs eventhub consumer-group show --resource-group myresourcegroup --namespace-name mynamespace --eventhub-name myeventhub --name myconsumergroup

선택적 매개 변수

--eventhub-name

EventHub의 이름입니다.

--ids

하나 이상의 리소스 ID(공백으로 구분). '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--name -n

ConsumerGroup의 이름입니다.

--namespace-name

네임스페이스의 이름입니다.

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 볼 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--resource-group -g

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

--subscription

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

az eventhubs eventhub consumer-group update

EventHub ConsumerGroup을 업데이트합니다.

az eventhubs eventhub consumer-group update [--add]
                                            [--eventhub-name]
                                            [--force-string]
                                            [--ids]
                                            [--name]
                                            [--namespace-name]
                                            [--remove]
                                            [--resource-group]
                                            [--set]
                                            [--subscription]
                                            [--user-metadata]

예제

ConsumerGroup을 업데이트합니다.

az eventhubs eventhub consumer-group update --resource-group myresourcegroup --namespace-name mynamespace --eventhub-name myeventhub --name myconsumergroup --user-metadata MyUserMetadata

선택적 매개 변수

--add

경로 및 키 값 쌍을 지정하여 개체를 개체 목록에 추가합니다. 예: --add property.listProperty <key=value, string 또는 JSON string>.

--eventhub-name

EventHub의 이름입니다.

--force-string

'set' 또는 'add'를 사용하는 경우 JSON으로 변환하는 대신 문자열 리터럴을 유지합니다.

--ids

하나 이상의 리소스 ID(공백으로 구분). '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

--name -n

ConsumerGroup의 이름입니다.

--namespace-name

네임스페이스의 이름입니다.

--remove

목록에서 속성 또는 요소를 제거합니다. 예: --remove property.list OR --remove propertyToRemove.

--resource-group -g

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

--set

설정할 속성 경로와 값을 지정하여 개체를 업데이트합니다. 예: --set property1.property2=.

--subscription

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

--user-metadata

Usermetadata는 최대 길이가 1024인 사용자 정의 문자열 데이터를 저장하는 자리 표시자입니다. 예를 들어 팀 목록 및 연락처 정보와 같은 설명이 포함된 데이터를 저장하는 데 사용할 수 있으며 사용자 정의 구성 설정을 저장할 수도 있습니다.