IotHubDefinitionDescription Class
Description of the IoT hub.
Constructor
IotHubDefinitionDescription()
Variables
| Name | Description |
|---|---|
|
applyAllocationPolicy
|
flag for applying allocationPolicy or not for a given iot hub. |
|
allocationWeight
|
weight to apply for a given iot h. |
|
name
|
Host name of the IoT hub. |
|
hostName
|
Host name of the IoT hub. This is required when connectionString is not provided. |
|
authenticationType
|
IotHub MI authentication type: KeyBased, UserAssigned, SystemAssigned. Known values are: "KeyBased", "UserAssigned", and "SystemAssigned". |
|
selectedUserAssignedIdentityResourceId
|
The selected user-assigned identity resource Id associated with IoT hub. This is required when authenticationType is UserAssigned. |
|
connectionString
|
Connection string of the IoT hub. This is required when authenticationType is KeyBased. |
|
location
|
ARM region of the IoT hub. Required. |
Attributes
allocationWeight
weight to apply for a given iot h.
allocationWeight: int
applyAllocationPolicy
flag for applying allocationPolicy or not for a given iot hub.
applyAllocationPolicy: bool
authenticationType
KeyBased, UserAssigned, SystemAssigned. Known values are: "KeyBased", "UserAssigned", and "SystemAssigned".
authenticationType: str | IotHubAuthenticationType
connectionString
Connection string of the IoT hub. This is required when authenticationType is KeyBased.
connectionString: str
hostName
Host name of the IoT hub. This is required when connectionString is not provided.
hostName: str
location
ARM region of the IoT hub. Required.
location: Required[str]
name
Host name of the IoT hub.
name: str
selectedUserAssignedIdentityResourceId
The selected user-assigned identity resource Id associated with IoT hub. This is required when authenticationType is UserAssigned.
selectedUserAssignedIdentityResourceId: str