az iot dps enrollment registration

Note

This reference is part of the azure-iot extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an az iot dps enrollment registration command. Learn more about extensions.

Manage service-side device registrations for an individual enrollment in an Azure IoT Hub Device Provisioning Service.

Use az iot device registration create to simulate device registration.

Commands

az iot dps enrollment registration delete

Delete a device registration for an individual enrollment in an Azure IoT Hub Device Provisioning Service.

az iot dps enrollment registration show

Get a device registration for an individual enrollment in an Azure IoT Hub Device Provisioning Service.

az iot dps enrollment registration delete

Delete a device registration for an individual enrollment in an Azure IoT Hub Device Provisioning Service.

az iot dps enrollment registration delete --eid
                                          [--auth-type {key, login}]
                                          [--dps-name]
                                          [--etag]
                                          [--login]
                                          [--resource-group]

Required Parameters

--eid --enrollment-id

Individual device enrollment ID.

Optional Parameters

--auth-type

Indicates whether the operation should auto-derive a policy key or use the current Azure AD session. You can configure the default using az configure --defaults iotdps-data-auth-type=<auth-type-value>.

accepted values: key, login
default value: key
--dps-name -n

Name of the Azure IoT Hub Device Provisioning Service. Required if --login is not provided.

--etag -e

Etag or entity tag corresponding to the last state of the resource. If no etag is provided the value '*' is used.

--login -l

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. Required if --dps-name is not provided.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az iot dps enrollment registration show

Get a device registration for an individual enrollment in an Azure IoT Hub Device Provisioning Service.

az iot dps enrollment registration show --eid
                                        [--auth-type {key, login}]
                                        [--dps-name]
                                        [--login]
                                        [--resource-group]

Required Parameters

--eid --enrollment-id

Individual device enrollment ID.

Optional Parameters

--auth-type

Indicates whether the operation should auto-derive a policy key or use the current Azure AD session. You can configure the default using az configure --defaults iotdps-data-auth-type=<auth-type-value>.

accepted values: key, login
default value: key
--dps-name -n

Name of the Azure IoT Hub Device Provisioning Service. Required if --login is not provided.

--login -l

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. Required if --dps-name is not provided.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.