az iot

Manage Internet of Things (IoT) assets. Augmented with the IoT extension.

Review the extension wiki tips to maximize usage https://github.com/Azure/azure-iot-cli-extension/wiki/Tips.

Commands

az iot central Manage Azure IoT Central assets.
az iot central app Manage Azure IoT Central applications.
az iot central app monitor-events Monitor device telemetry & messages sent to the IoT Hub for an IoT Central app.
az iot central device-twin Manage IoT Central device twins.
az iot central device-twin show Get the device twin from IoT Hub.
az iot device Leverage device-to-cloud and cloud-to-device messaging capabilities.
az iot device c2d-message Cloud-to-device messaging commands.
az iot device c2d-message abandon Abandon a cloud-to-device message.
az iot device c2d-message complete Complete a cloud-to-device message.
az iot device c2d-message receive Receive a cloud-to-device message.
az iot device c2d-message reject Reject or deadletter a cloud-to-device message.
az iot device c2d-message send Send a cloud-to-device message.
az iot device send-d2c-message Send an mqtt device-to-cloud message. The command supports sending messages with application and system properties.
az iot device simulate Simulate a device in an Azure IoT Hub. While the device simulation is running, the device will automatically receive and acknowledge cloud-to-device (c2d) messages. For mqtt simulation, all c2d messages will be acknowledged with completion. For http simulation c2d acknowledgement is based on user selection which can be complete, reject or abandon. Note: The command by default will set content-type to application/json and content-encoding to utf-8. This can be overriden.
az iot device upload-file Upload a local file as a device to a pre-configured blob storage container.
az iot dps Manage entities in an Azure IoT Hub Device Provisioning Service. Augmented with the IoT extension.
az iot dps enrollment Manage enrollments in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment create Create a device enrollment in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment delete Delete a device enrollment in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment list List device enrollments in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment show Get device enrollment details in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment update Update a device enrollment in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group Manage Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group create Create an enrollment group in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group delete Delete an enrollment group in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group list List enrollments groups in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group show Get the details of an enrollment group in an Azure IoT Hub Device Provisioning Service.
az iot dps enrollment-group update Update an enrollment group in an Azure IoT Hub Device Provisioning Service.
az iot dps registration Manage Azure IoT Hub Device Provisioning Service registrations.
az iot dps registration delete Delete a device registration in an Azure IoT Hub Device Provisioning Service.
az iot dps registration list List device registration state in an Azure IoT Hub Device Provisioning Service enrollment group.
az iot dps registration show Get the device registration state in an Azure IoT Hub Device Provisioning Service.
az iot dt Manage digital twin of an IoT Plug and Play device.
az iot dt invoke-command Executes a command on an IoT Plug and Play device.
az iot dt list-commands List commands of an IoT Plug and Play devices interface(s).
az iot dt list-interfaces List interfaces of a target IoT Plug and Play device.
az iot dt list-properties List properties of a target IoT Plug and Play device interface(s).
az iot dt monitor-events Monitor Digital Twin events.
az iot dt update-property Update an IoT Plug and Play device interfaces writable property.
az iot edge Manage IoT solutions on the Edge.
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 hub Manage entities in an Azure IoT Hub.
az iot hub configuration Manage IoT automatic device management configuration at scale.
az iot hub configuration create Create an IoT automatic device management configuration in a target IoT Hub.
az iot hub configuration delete Delete an IoT device configuration.
az iot hub configuration list List IoT automatic device management configurations in an IoT Hub.
az iot hub configuration show Get the details of an IoT automatic device management configuration.
az iot hub configuration show-metric Evaluate a target user or system metric defined in an IoT device configuration.
az iot hub configuration update Update specified properties of an IoT automatic device management configuration. Use --set followed by property assignments for updating a configuration. Note: Configuration content is immutable. Configuration properties that can be updated are 'labels', 'metrics', 'priority' and 'targetCondition'.
az iot hub device-identity Manage IoT devices.
az iot hub device-identity add-children Add specified comma-separated list of non edge device ids as children of specified edge device.
az iot hub device-identity create Create a device in an IoT Hub.
az iot hub device-identity delete Delete an IoT Hub device.
az iot hub device-identity export Export all device identities from an IoT Hub to an Azure Storage blob container.
az iot hub device-identity get-parent Get the parent device of the specified device.
az iot hub device-identity import Import device identities to an IoT Hub from a blob.
az iot hub device-identity list List devices in an IoT Hub.
az iot hub device-identity list-children Print comma-separated list of assigned child devices.
az iot hub device-identity remove-children Remove non edge devices as children from specified edge device.
az iot hub device-identity set-parent Set the parent device of the specified non-edge device.
az iot hub device-identity show Get the details of an IoT Hub device.
az iot hub device-identity show-connection-string Show a given IoT Hub device connection string.
az iot hub device-identity update Update an IoT Hub device.
az iot hub device-twin Manage IoT device twin configuration.
az iot hub device-twin replace Replace device twin definition with target json.
az iot hub device-twin show Get a device twin definition.
az iot hub device-twin update Update device twin definition.
az iot hub distributed-tracing Manage distributed settings per-device.
az iot hub distributed-tracing show Get the distributed tracing settings for a device.
az iot hub distributed-tracing update Update the distributed tracing options for a device.
az iot hub generate-sas-token Generate a SAS token for a target IoT Hub, device or module.
az iot hub invoke-device-method Invoke a device method.
az iot hub invoke-module-method Invoke an Edge module method.
az iot hub job Manage IoT Hub jobs (v2).
az iot hub job cancel Cancel an IoT Hub job.
az iot hub job create Create and schedule an IoT Hub job for execution.
az iot hub job list List the historical jobs of an IoT Hub.
az iot hub job show Show details of an existing IoT Hub job.
az iot hub module-identity Manage IoT device modules.
az iot hub module-identity create Create a module on a target IoT device in an IoT Hub.
az iot hub module-identity delete Delete a device in an IoT Hub.
az iot hub module-identity list List modules located on an IoT device in an IoT Hub.
az iot hub module-identity show Get the details of an IoT device module in an IoT Hub.
az iot hub module-identity show-connection-string Show a target IoT device module connection string.
az iot hub module-identity update Update an IoT Hub device module.
az iot hub module-twin Manage IoT device module twin configuration.
az iot hub module-twin replace Replace a module twin definition with target json.
az iot hub module-twin show Show a module twin definition.
az iot hub module-twin update Update module twin definition.
az iot hub monitor-events Monitor device telemetry & messages sent to an IoT Hub.
az iot hub monitor-feedback Monitor feedback sent by devices to acknowledge cloud-to-device (C2D) messages.
az iot hub query Query an IoT Hub using a powerful SQL-like language.
az iot pnp Manage entities of an IoT Plug and Play model repository.
az iot pnp capability-model Manage device capability models in an IoT Plug and Play model repository.
az iot pnp capability-model create Create a capability-model in the company repository.
az iot pnp capability-model delete Delete the capability-model in the company repository.
az iot pnp capability-model list List all capability-model.
az iot pnp capability-model publish Publish the capability-model to public repository.
az iot pnp capability-model show Get the details of a capability-model.
az iot pnp capability-model update Update the capability-model in the company repository.
az iot pnp interface Manage interfaces in an IoT Plug and Play model repository.
az iot pnp interface create Create an interface in the company repository.
az iot pnp interface delete Delete an interface in the company repository.
az iot pnp interface list List all interfaces.
az iot pnp interface publish Publish an interface to public repository.
az iot pnp interface show Get the details of an interface.
az iot pnp interface update Update an interface in the company repository.