az iot hub message-enrichment
Manage message enrichments for endpoints of an IoT Hub.
Commands
az iot hub message-enrichment create |
Create a message enrichment for chosen endpoints in your IoT Hub. |
az iot hub message-enrichment delete |
Delete a message enrichment in your IoT hub (by key). |
az iot hub message-enrichment list |
Get information on all message enrichments for your IoT Hub. |
az iot hub message-enrichment update |
Update a message enrichment in your IoT hub (by key). |
az iot hub message-enrichment create
Create a message enrichment for chosen endpoints in your IoT Hub.
Create a message enrichment for chosen endpoints in your IoT Hub.
az iot hub message-enrichment create --endpoints
--key
--name
--value
[--resource-group]
[--subscription]
Examples
Create a message enrichment of {"key":"value"} for the "events" endpoint in your IoT Hub
az iot hub message-enrichment create --key key --value value --endpoints events -n {iothub_name}
Required Parameters
Endpoint(s) to apply enrichments to. Use a space-separated list for multiple endpoints.
The enrichment's key.
IoT Hub name.
The enrichment's value.
Optional Parameters
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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az iot hub message-enrichment delete
Delete a message enrichment in your IoT hub (by key).
Delete a message enrichment in your IoT hub (by key).
az iot hub message-enrichment delete --key
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Delete a message enrichment with key 'test' from your IoT Hub
az iot hub message-enrichment delete --key test -n {iothub_name}
Required Parameters
The enrichment's key.
Optional Parameters
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.
IoT Hub 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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az iot hub message-enrichment list
Get information on all message enrichments for your IoT Hub.
Get information on all message enrichments for your IoT Hub.
az iot hub message-enrichment list [--ids]
[--name]
[--query-examples]
[--resource-group]
[--subscription]
Examples
List all message enrichments for your IoT Hub
az iot hub message-enrichment list -n {iothub_name}
Optional Parameters
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.
IoT Hub name.
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az iot hub message-enrichment update
Update a message enrichment in your IoT hub (by key).
Update a message enrichment in your IoT hub (by key).
az iot hub message-enrichment update --endpoints
--key
--value
[--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Update a message enrichment in your IoT hub to apply to a new set of endpoints
az iot hub message-enrichment update --key {key} --value {value} --endpoints NewEndpoint1 NewEndpoint2 -n {iothub_name}
Required Parameters
Endpoint(s) to apply enrichments to. Use a space-separated list for multiple endpoints.
The enrichment's key.
The enrichment's value.
Optional Parameters
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.
IoT Hub 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
.
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.
Increase logging verbosity. Use --debug for full debug logs.