IotHubDefinitionDescription Class

Description of the IoT hub.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
IotHubDefinitionDescription

Constructor

IotHubDefinitionDescription(*, connection_string: str, location: str, apply_allocation_policy: Optional[bool] = None, allocation_weight: Optional[int] = None, **kwargs)

Variables

apply_allocation_policy
bool

flag for applying allocationPolicy or not for a given iot hub.

allocation_weight
int

weight to apply for a given iot h.

name
str

Host name of the IoT hub.

connection_string
str

Required. Connection string of the IoT hub.

location
str

Required. ARM region of the IoT hub.