IotHubClient Class

Use this API to manage the IoT hubs in your Azure subscription.

Inheritance
builtins.object
IotHubClient

Constructor

IotHubClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

credential
TokenCredential
Required

Credential needed for the client to connect to Azure.

subscription_id
str
Required

The subscription identifier.

base_url
str
default value: https://management.azure.com

Service URL. Default value is 'https://management.azure.com'.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

operations
Operations

Operations operations

iot_hub_resource
IotHubResourceOperations

IotHubResourceOperations operations

resource_provider_common
ResourceProviderCommonOperations

ResourceProviderCommonOperations operations

certificates
CertificatesOperations

CertificatesOperations operations

iot_hub
IotHubOperations

IotHubOperations operations

Methods

close

close

close() -> None