az iot hub consumer-group
Manage the event hub consumer groups of an IoT hub.
Name | Description | Type | Status |
---|---|---|---|
az iot hub consumer-group create |
Create an event hub consumer group. |
Core | GA |
az iot hub consumer-group delete |
Delete an event hub consumer group. |
Core | GA |
az iot hub consumer-group list |
List event hub consumer groups. |
Core | GA |
az iot hub consumer-group show |
Get the details for an event hub consumer group. |
Core | GA |
Create an event hub consumer group.
az iot hub consumer-group create --hub-name
--name
[--event-hub-name]
[--resource-group]
Create a consumer group 'cg1' in the default event hub endpoint.
az iot hub consumer-group create --hub-name MyIotHub --name cg1
Create a consumer group `cg1` in the operation monitoring event hub endpoint `operationsMonitoringEvents`.
az iot hub consumer-group create --hub-name MyIotHub --event-hub-name operationsMonitoringEvents --name cg1
IoT Hub name.
Event hub consumer group name.
Event hub endpoint name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Delete an event hub consumer group.
az iot hub consumer-group delete [--event-hub-name]
[--hub-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Event hub endpoint name.
IoT Hub name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Event hub consumer group name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
List event hub consumer groups.
az iot hub consumer-group list [--event-hub-name]
[--hub-name]
[--ids]
[--resource-group]
[--subscription]
List event hub consumer groups. (autogenerated)
az iot hub consumer-group list --hub-name MyHub
Event hub endpoint name.
IoT Hub name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Get the details for an event hub consumer group.
az iot hub consumer-group show [--event-hub-name]
[--hub-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Get the details for an event hub consumer group. (autogenerated)
az iot hub consumer-group show --hub-name MyHub --name MyEventHubConsumerGroup
Event hub endpoint name.
IoT Hub name.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Event hub consumer group name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: