IotHubProperties interface
The properties of an IoT hub.
Properties
allowed |
List of allowed FQDNs(Fully Qualified Domain Name) for egress from Iot Hub. |
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. |
disable |
If true, all device(including Edge devices but excluding modules) scoped SAS keys cannot be used for authentication. |
disable |
If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication. |
disable |
If true, all module scoped SAS keys cannot be used for authentication. |
enable |
This property when set to true, will enable data residency, thus, disabling disaster recovery. |
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. |
min |
Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected. |
network |
Network Rule Set Properties of IotHub |
private |
Private endpoint connections created on this IotHub |
provisioning |
The provisioning state. NOTE: This property will not be serialized. It can only be populated by the server. |
public |
Whether requests from Public Network are allowed |
restrict |
If true, egress from IotHub will be restricted to only the allowed FQDNs that are configured via allowedFqdnList. |
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
allowedFqdnList
List of allowed FQDNs(Fully Qualified Domain Name) for egress from Iot Hub.
allowedFqdnList?: string[]
Property Value
string[]
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
disableDeviceSAS
If true, all device(including Edge devices but excluding modules) scoped SAS keys cannot be used for authentication.
disableDeviceSAS?: boolean
Property Value
boolean
disableLocalAuth
If true, SAS tokens with Iot hub scoped SAS keys cannot be used for authentication.
disableLocalAuth?: boolean
Property Value
boolean
disableModuleSAS
If true, all module scoped SAS keys cannot be used for authentication.
disableModuleSAS?: boolean
Property Value
boolean
enableDataResidency
This property when set to true, will enable data residency, thus, disabling disaster recovery.
enableDataResidency?: boolean
Property Value
boolean
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}
minTlsVersion
Specifies the minimum TLS version to support for this hub. Can be set to "1.2" to have clients that use a TLS version below 1.2 to be rejected.
minTlsVersion?: string
Property Value
string
networkRuleSets
Network Rule Set Properties of IotHub
networkRuleSets?: NetworkRuleSetProperties
Property Value
privateEndpointConnections
Private endpoint connections created on this IotHub
privateEndpointConnections?: PrivateEndpointConnection[]
Property Value
provisioningState
The provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: string
Property Value
string
publicNetworkAccess
Whether requests from Public Network are allowed
publicNetworkAccess?: string
Property Value
string
restrictOutboundNetworkAccess
If true, egress from IotHub will be restricted to only the allowed FQDNs that are configured via allowedFqdnList.
restrictOutboundNetworkAccess?: boolean
Property Value
boolean
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}