az iot hub consumer-group
管理IoT中樞的事件中樞取用者群組。
命令
名稱 | Description | 類型 | 狀態 |
---|---|---|---|
az iot hub consumer-group create |
建立事件中樞取用者群組。 |
Core | GA |
az iot hub consumer-group delete |
刪除事件中樞取用者群組。 |
Core | GA |
az iot hub consumer-group list |
列出事件中樞取用者群組。 |
Core | GA |
az iot hub consumer-group show |
取得事件中樞取用者群組的詳細數據。 |
Core | GA |
az iot hub consumer-group create
建立事件中樞取用者群組。
az iot hub consumer-group create --hub-name
--name
[--event-hub-name]
[--resource-group]
範例
在預設事件中樞端點中建立取用者群組 『cg1』。
az iot hub consumer-group create --hub-name MyIotHub --name cg1
在作業監視事件中樞端點 'operationsMonitoringEvents' 中建立取用者群組 'cg1'。
az iot hub consumer-group create --hub-name MyIotHub --event-hub-name operationsMonitoringEvents --name cg1
必要參數
IoT 中樞 名稱。
事件中樞取用者組名。
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
事件中樞端點名稱。
屬性 | 值 |
---|---|
預設值: | events |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az iot hub consumer-group delete
刪除事件中樞取用者群組。
az iot hub consumer-group delete [--event-hub-name]
[--hub-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
事件中樞端點名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
預設值: | events |
IoT 中樞 名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
事件中樞取用者組名。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az iot hub consumer-group list
列出事件中樞取用者群組。
az iot hub consumer-group list [--event-hub-name]
[--hub-name]
[--ids]
[--resource-group]
[--subscription]
範例
列出事件中樞取用者群組。 (autogenerated)
az iot hub consumer-group list --hub-name MyHub
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
事件中樞端點名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
預設值: | events |
IoT 中樞 名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |
az iot hub consumer-group show
取得事件中樞取用者群組的詳細數據。
az iot hub consumer-group show [--event-hub-name]
[--hub-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
範例
取得事件中樞取用者群組的詳細數據。 (autogenerated)
az iot hub consumer-group show --hub-name MyHub --name MyEventHubConsumerGroup
選擇性參數
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
事件中樞端點名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
預設值: | events |
IoT 中樞 名稱。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一或多個資源識別碼(以空格分隔)。 它應該是包含 「資源標識碼」自變數所有資訊的完整資源識別碼。 您應該提供 --ids 或其他「資源識別碼」自變數。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
事件中樞取用者組名。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
資源組名。 您可以使用 az configure --defaults group=<name>
來設定預設群組。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
訂用帳戶的名稱或標識碼。 您可以使用 az account set -s NAME_OR_ID
來設定預設訂用帳戶。
屬性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全域參數
提高日誌詳細程度以顯示所有調試日誌。
屬性 | 值 |
---|---|
預設值: | False |
顯示此說明訊息並結束。
只顯示錯誤,隱藏警告。
屬性 | 值 |
---|---|
預設值: | False |
Output format.
屬性 | 值 |
---|---|
預設值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查詢字串。 如需詳細資訊和範例,請參閱 http://jmespath.org/。
增加記錄的詳細程度。 針對完整偵錯記錄使用 --debug。
屬性 | 值 |
---|---|
預設值: | False |