diff --git a/src/azure-cli/azure/cli/command_modules/iot/_help.py b/src/azure-cli/azure/cli/command_modules/iot/_help.py index b0cd4692c50..459cc586258 100644 --- a/src/azure-cli/azure/cli/command_modules/iot/_help.py +++ b/src/azure-cli/azure/cli/command_modules/iot/_help.py @@ -764,6 +764,28 @@ text: | az iot hub update --name MyIotHub --set properties.allocationPolicy="GeoLatency" crafted: true + - name: Update units of an IoT Hub to 2 + text: > + az iot hub update -n MyIotHub --unit 2 + - name: Update pricing tier for an IoT Hub as S2 + text: > + az iot hub update -n MyIotHub --sku S2 + - name: Update the retention days of IoT Hub device-to-cloud events as 3 days + text: > + az iot hub update -n MyIotHub --retention-day 3 + - name: Update the IoT Hub cloud-to-device messaging settings + text: > + az iot hub update --name MyIotHub --c2d-max-delivery-count 30 --c2d-ttl 5 + - name: Update the IoT Hub feedback queue settings + text: > + az iot hub update --name MyIoTHub --feedback-max-delivery-count 20 --feedback-lock-duration 100 --feedback-ttl 4 + - name: Update the IoT Hub file upload settings + text: > + az iot hub update -n MyIoTHub --fileupload-sas-ttl 5 --fileupload-storage-auth-type identityBased + - name: Update the IoT Hub file upload notification settings + text: > + az iot hub update -n MyIoTHub --fileupload-notification-max-delivery-count 50 + --fileupload-notification-ttl 48 --fileupload-notifications """ helps['iot central'] = """