az iot central app device-twin

Manage IoT Central device twins.

Commands

az iot central app device-twin show

Get the device twin from IoT Hub.

az iot central app device-twin show

Get the device twin from IoT Hub.

az iot central app device-twin show --app-id
                                    --device-id
                                    [--central-api-uri]
                                    [--token]

Required Parameters

--app-id -n

Target App.

--device-id -d

Target Device.

Optional Parameters

--central-api-uri --central-dns-suffix

Central dns suffix. This enables running cli commands against non public/prod environments.

default value: azureiotcentral.com
--token

Authorization token for request. More info available here: https://docs.microsoft.com/en-us/learn/modules/manage-iot-central-apps-with-rest-api/ MUST INCLUDE type (e.g. 'SharedAccessToken ...', 'Bearer ...'). Example: 'Bearer someBearerTokenHere'.