az iot hub
Manage Azure IoT hubs. Azure CLI reference
18 commands 30 options Its page in the Azure CLI reference
Commands
certificateManage IoT Hub certificates.consumer-groupManage the event hub consumer groups of an IoT hub.createCreate an Azure IoT hub.deleteDelete an IoT hub.identityManage identities of an Azure IoT hub.listList IoT hubs.list-skusList available pricing tiers.manual-failoverInitiate a manual failover for the IoT Hub to the geo-paired disaster recovery region.message-enrichmentManage message enrichments for endpoints of an IoT Hub.policyManage shared access policies of an IoT hub.routeManage routes of an IoT hub.routing-endpointManage custom endpoints of an IoT hub.showGet the details of an IoT hub.show-connection-stringShow the connection strings for an IoT hub.show-quota-metricsGet the quota metrics for an IoT hub.show-statsGet the statistics for an IoT hub.updateUpdate metadata for an IoT hub.waitWait until an operation on an IoT Hub instance is complete.Options
Show its 30 options
--c2d-max-delivery-count, --cddThe number of times the IoT hub will attempt to deliver a cloud-to-device message to a device, between 1 and 100.--c2d-ttl, --ctThe amount of time a message is available for the device to consume before it is expired by IoT Hub, between 1 and 48 hours.--disable-device-sas, --ddsA boolean indicating whether or not to disable all device (including Edge devices but excluding modules) scoped SAS keys for authentication--disable-local-auth, --dlaA boolean indicating whether or not to disable IoT hub scoped SAS keys for authentication.--disable-module-sas, --dmsA boolean indicating whether or not to disable module-scoped SAS keys for authentication.--etag, -eEntity Tag (etag) of the object.--feedback-lock-duration, --fldThe lock duration for the feedback queue, between 5 and 300 seconds.--feedback-max-delivery-count, --fdThe number of times the IoT hub attempts to deliver a message on the feedback queue, between 1 and 100.--feedback-ttl, --ftThe period of time for which the IoT hub will maintain the feedback for expiration or delivery of cloud-to-device messages, between 1 and 48 hours.--fileupload-notification-lock-duration, --fnldThe lock duration for the file upload notifications queue, between 5 and 300 seconds.--fileupload-notification-max-delivery-count, --fndThe number of times the IoT hub will attempt to deliver a file notification message, between 1 and 100.--fileupload-notification-ttl, --fntThe amount of time a file upload notification is available for the service to consume before it is expired by IoT Hub, between 1 and 48 hours.--fileupload-notifications, --fnA boolean indicating whether to log information about uploaded files to the messages/servicebound/filenotifications IoT Hub endpoint.--fileupload-sas-ttl, --fstThe amount of time a SAS URI generated by IoT Hub is valid before it expires, between 1 and 24 hours.--fileupload-storage-auth-type, --fsaThe authentication type for the Azure Storage account to which files are uploaded.--fileupload-storage-connectionstring, --fcsThe connection string for the Azure Storage account to which files are uploaded.--fileupload-storage-container-name, --fcThe name of the root container where you upload files.--fileupload-storage-container-uri, --fcuThe container URI for the Azure Storage account to which files are uploaded.--fileupload-storage-identity, --fsiThe managed identity to use for file upload authentication.--mi-system-assignedEnable system-assigned managed identity for this hub--mi-user-assignedEnable user-assigned managed identities for this hub.--min-tls-version, --mintlsSpecify the minimum TLS version to support for this hub.--name, -nIoT Hub name.--partition-countThe number of partitions of the backing Event Hub for device-to-cloud messages.--retention-day, --rdSpecifies how long this IoT hub will maintain device-to-cloud events, between 1 and 7 days.--roleRole to assign to the hub's system-assigned managed identity.--scopesSpace separated list of scopes to assign the role (--role) for the system-assigned managed identity.--skuPricing tier for Azure IoT Hub.--tagsspace-separated tags: key[=value] [key[=value] ...].--unitUnits in your IoT Hub.