IotHubProperties interface
The properties of an IoT hub.
Properties
authorization |
The shared access policies you can use to secure a connection to the IoT hub. |
cloud |
The IoT hub cloud-to-device messaging properties. |
comments | IoT hub comments. |
device |
The device streams properties of iothub. |
enable |
If True, file upload notifications are enabled. |
event |
The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub. |
features | The capabilities and features enabled for the IoT hub. |
host |
The name of the host. NOTE: This property will not be serialized. It can only be populated by the server. |
ip |
The IP filter rules. |
locations | Primary and secondary location for iot hub NOTE: This property will not be serialized. It can only be populated by the server. |
messaging |
The messaging endpoint properties for the file upload notification queue. |
provisioning |
The provisioning state. NOTE: This property will not be serialized. It can only be populated by the server. |
routing | The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging |
state | The hub state. NOTE: This property will not be serialized. It can only be populated by the server. |
storage |
The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown. |
Property Details
authorizationPolicies
The shared access policies you can use to secure a connection to the IoT hub.
authorizationPolicies?: SharedAccessSignatureAuthorizationRule[]
Property Value
cloudToDevice
The IoT hub cloud-to-device messaging properties.
cloudToDevice?: CloudToDeviceProperties
Property Value
comments
IoT hub comments.
comments?: string
Property Value
string
deviceStreams
The device streams properties of iothub.
deviceStreams?: IotHubPropertiesDeviceStreams
Property Value
enableFileUploadNotifications
If True, file upload notifications are enabled.
enableFileUploadNotifications?: boolean
Property Value
boolean
eventHubEndpoints
The Event Hub-compatible endpoint properties. The only possible keys to this dictionary is events. This key has to be present in the dictionary while making create or update calls for the IoT hub.
eventHubEndpoints?: {[propertyName: string]: EventHubProperties}
Property Value
{[propertyName: string]: EventHubProperties}
features
The capabilities and features enabled for the IoT hub.
features?: string
Property Value
string
hostName
The name of the host. NOTE: This property will not be serialized. It can only be populated by the server.
hostName?: string
Property Value
string
ipFilterRules
locations
Primary and secondary location for iot hub NOTE: This property will not be serialized. It can only be populated by the server.
locations?: IotHubLocationDescription[]
Property Value
messagingEndpoints
The messaging endpoint properties for the file upload notification queue.
messagingEndpoints?: {[propertyName: string]: MessagingEndpointProperties}
Property Value
{[propertyName: string]: MessagingEndpointProperties}
provisioningState
The provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: string
Property Value
string
routing
The routing related properties of the IoT hub. See: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-messaging
routing?: RoutingProperties
Property Value
state
The hub state. NOTE: This property will not be serialized. It can only be populated by the server.
state?: string
Property Value
string
storageEndpoints
The list of Azure Storage endpoints where you can upload files. Currently you can configure only one Azure Storage account and that MUST have its key as $default. Specifying more than one storage account causes an error to be thrown. Not specifying a value for this property when the enableFileUploadNotifications property is set to True, causes an error to be thrown.
storageEndpoints?: {[propertyName: string]: StorageEndpointProperties}
Property Value
{[propertyName: string]: StorageEndpointProperties}