az iot hub message-route fallback
Note
This reference is part of the azure-iot extension for the Azure CLI (version 2.59.0 or higher). The extension will automatically install the first time you run an az iot hub message-route fallback command. Learn more about extensions.
Command group 'iot hub message-route' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage the fallback route of an IoT hub.
Commands
Name | Description | Type | Status |
---|---|---|---|
az iot hub message-route fallback set |
Enable or disable the fallback route in an IoT Hub. |
Extension | Preview |
az iot hub message-route fallback show |
Show the fallback route of an IoT Hub. |
Extension | Preview |
az iot hub message-route fallback set
Command group 'iot hub message-route' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Enable or disable the fallback route in an IoT Hub.
az iot hub message-route fallback set --enabled {false, true}
--hub-name
[--resource-group]
Examples
Enable the fallback route in an IoT Hub
az iot hub message-route fallback set -n {iothub_name} --enabled true
Disable the fallback route in an IoT Hub.
az iot hub message-route fallback set -n {iothub_name} --enabled false
Required Parameters
A boolean indicating whether to enable route to the IoT Hub.
Property | Value |
---|---|
Accepted values: | false, true |
IoT Hub name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |
az iot hub message-route fallback show
Command group 'iot hub message-route' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show the fallback route of an IoT Hub.
az iot hub message-route fallback show --hub-name
[--resource-group]
Examples
Show the fallback route from an IoT Hub.
az iot hub message-route fallback show -n {iothub_name}
Required Parameters
IoT Hub name.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
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.
Property | Value |
---|---|
Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
Property | Value |
---|---|
Default value: | False |
Output format.
Property | Value |
---|---|
Default value: | json |
Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
Property | Value |
---|---|
Default value: | False |