az iot edge
Manage IoT solutions on the Edge.
Commands
az iot edge deployment |
Manage IoT Edge deployments at scale. |
az iot edge deployment create |
Create an IoT Edge deployment in a target IoT Hub. |
az iot edge deployment delete |
Delete an IoT Edge deployment. |
az iot edge deployment list |
List IoT Edge deployments in an IoT Hub. |
az iot edge deployment show |
Get the details of an IoT Edge deployment. |
az iot edge deployment show-metric |
Evaluate a target system metric defined in an IoT Edge deployment. |
az iot edge deployment update |
Update specified properties of an IoT Edge deployment. Use --set followed by property assignments for updating a deployment. Note: IoT Edge deployment content is immutable. Deployment properties that can be updated are 'labels', 'metrics', 'priority' and 'targetCondition'. |
az iot edge set-modules |
Set edge modules on a single device. |
az iot edge set-modules
Set edge modules on a single device.
Modules content is json and in the form of {"modulesContent":{...}} or {"content":{"modulesContent":{...}}}.
Note: Upon execution the command will output the collection of modules applied to the device.
az iot edge set-modules --content
--device-id
[--hub-name]
[--login]
[--resource-group]
Examples
Test edge modules while in development by setting modules on a target device.
az iot edge set-modules --hub-name {iothub_name} --device-id {device_id} --content ../modules_content.json
Required Parameters
IoT Edge deployment content. Provide file path or raw json.
Target Device.
Optional Parameters
IoT Hub name.
This command supports an entity connection string with rights to perform action. Use to avoid session login via "az login". If both an entity connection string and name are provided the connection string takes priority.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.