你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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.

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.

Default value: None
allocation_weight
int

weight to apply for a given iot h.

Default value: None
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.