Partager via


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
msrest.serialization.Model
IotHubDefinitionDescription

Constructor

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

Keyword-Only Parameters

Name Description
apply_allocation_policy

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

allocation_weight
int

weight to apply for a given iot h.

connection_string
str

Required. Connection string of the IoT hub.

location
str

Required. ARM region of the IoT hub.

Variables

Name Description
apply_allocation_policy

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.