CmdID

CmdID / az / az iot / az iot dps / az iot dps linked-hub

az iot dps linked-hub update

Update a linked IoT hub in an Azure IoT Hub Device Provisioning Service instance. Azure CLI reference

1 example 2 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Update linked IoT hub 'MyLinkedHub.azure-devices.net' in an Azure IoT Hub Device Provisioning Service

az iot dps linked-hub update --dps-name MyDps --resource-group MyResourceGroup --linked-hub MyLinkedHub.azure-devices.net --allocation-weight 10 --apply-allocation-policy TrueIdentify
--resource-groupName of resource group.
--linked-hubHost name of linked IoT Hub.
--allocation-weightAllocation weight of the IoT hub.
--apply-allocation-policyA boolean indicating whether to apply allocation policy to the Iot hub.

Options

2 in the Azure CLI reference
--allocation-weightAllocation weight of the IoT hub.
--apply-allocation-policyA boolean indicating whether to apply allocation policy to the Iot hub.