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
Examples
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
--allocation-weightAllocation weight of the IoT hub.--apply-allocation-policyA boolean indicating whether to apply allocation policy to the Iot hub.