az iot hub list [ { "etag": "XXXXXXXX", "id": "-----------------------------/XXXXXXXX", "identity": { "principalId": null, "tenantId": null, "type": "None", "userAssignedIdentities": null }, "location": "eastus2", "name": "XXXXXXXXX", "properties": { "allowedFqdnList": [], "authorizationPolicies": null, "cloudToDevice": { "defaultTtlAsIso8601": "1:00:00", "feedback": { "lockDurationAsIso8601": "0:01:00", "maxDeliveryCount": 10, "ttlAsIso8601": "1:00:00" }, "maxDeliveryCount": 10 }, "comments": null, "disableDeviceSas": null, "disableLocalAuth": null, "disableModuleSas": null, "enableDataResidency": null, "enableFileUploadNotifications": false, "eventHubEndpoints": { "events": { "endpoint": "sb://XXXXnamespace.servicebus.windows.net/", "partitionCount": 2, "partitionIds": [ "0", "1" ], "path": "iotXXX-XXX-XXXXXX-XXXXX-XXXXXXXX", "retentionTimeInDays": 1 } }, "features": "GWV2", "hostName": "XXXXXXX.azure-devices.net", "ipFilterRules": [], "locations": [ { "location": "East US 2", "role": "primary" }, { "location": "Central US", "role": "secondary" } ], "messagingEndpoints": { "fileNotifications": { "lockDurationAsIso8601": "0:01:00", "maxDeliveryCount": 10, "ttlAsIso8601": "1:00:00" } }, "minTlsVersion": null, "networkRuleSets": { "applyToBuiltInEventHubEndpoint": false, "defaultAction": "Allow", "ipRules": [] }, "privateEndpointConnections": null, "provisioningState": "Succeeded", "publicNetworkAccess": "Enabled", "restrictOutboundNetworkAccess": null, "routing": { "endpoints": { "eventHubs": [], "serviceBusQueues": [], "serviceBusTopics": [], "storageContainers": [] }, "enrichments": null, "fallbackRoute": { "condition": "true", "endpointNames": [ "events" ], "isEnabled": true, "name": "$fallback", "source": "DeviceMessages" }, "routes": [] }, "state": "Active", "storageEndpoints": { "$default": { "authenticationType": null, "connectionString": "", "containerName": "", "identity": null, "sasTtlAsIso8601": "1:00:00" } } }, "resourcegroup": "XXXXXProd", "sku": { "capacity": 1, "name": "F1", "tier": "Free" }, "subscriptionid": "XXXXX", "systemData": { "createdAt": "2018-08-25T20:35:28.050000+00:00", "createdBy": null, "createdByType": null, "lastModifiedAt": null, "lastModifiedBy": null, "lastModifiedByType": null }, "tags": {}, "type": "Microsoft.Devices/IotHubs" } ]