IotHubClient Sınıf
Azure aboneliğinizdeki IoT hub'larını yönetmek için bu API'yi kullanın.
Bu hazır, tüm Azure bulutlarıyla (Azure Stack, Azure Kamu, Azure Çin vb.) ilgilenmenize yardımcı olmak için birden çok API sürümü içerir. Varsayılan olarak, genel Azure'da kullanılabilen en son API sürümünü kullanır. Üretim için belirli bir api sürümüne ve/veya profiline bağlı kalmalısınız. Profil, bir işlem grubu ile API sürümü arasında bir eşleme ayarlar. İşlem grubu profilde açıklanmadıysa api-version parametresi varsayılan API sürümünü ayarlar.
- Devralma
-
IotHubClientazure.mgmt.iothub._iot_hub_client._SDKClientIotHubClient
Oluşturucu
IotHubClient(credential: TokenCredential, subscription_id: str, api_version: str | None = None, base_url: str = 'https://management.azure.com', profile: KnownProfiles = KnownProfiles.default, **kwargs: Any)
Parametreler
- credential
- TokenCredential
İstemcinin Azure'a bağlanması için gereken kimlik bilgileri. Gereklidir.
- api_version
- str
Profil sağlanmazsa veya profilde eksikse kullanılacak API sürümü.
- profile
- KnownProfiles
BilinenProfiller'den dikteye kadar bir profil tanımı.
- polling_interval
- int
Retry-After üst bilgisi yoksa LRO işlemleri için iki yoklama arasındaki varsayılan bekleme süresi.
Yöntemler
close | |
models |
Modül, API sürümüne bağlıdır:
|
close
close()
models
Modül, API sürümüne bağlıdır:
2016-02-03: models
2017-01-19: models
2017-07-01: models
2018-01-22: models
2018-04-01: models
2019-03-22: models
2019-07-01-önizleme: models
2019-11-04: models
2020-03-01: models
2021-03-03-preview: models
2021-03-31: models
2021-07-01: models
2021-07-02: models
2022-04-30-preview: models
2022-11-15-preview: models
2023-06-30: models
2023-06-30-preview: models
models(api_version='2023-06-30')
Parametreler
- api_version
Öznitelikler
certificates
Örnek, API sürümüne bağlıdır:
2017-07-01: CertificatesOperations
2018-01-22: CertificatesOperations
2018-04-01: CertificatesOperations
2019-03-22: CertificatesOperations
2019-07-01-önizleme: CertificatesOperations
2019-11-04: CertificatesOperations
2020-03-01: CertificatesOperations
2021-03-03-preview: CertificatesOperations
2021-03-31: CertificatesOperations
2021-07-01: CertificatesOperations
2021-07-02: CertificatesOperations
2022-04-30-preview: CertificatesOperations
2022-11-15-preview: CertificatesOperations
2023-06-30: CertificatesOperations
2023-06-30-preview: CertificatesOperations
iot_hub
Örnek, API sürümüne bağlıdır:
2019-03-22: IotHubOperations
2019-07-01-önizleme: IotHubOperations
2019-11-04: IotHubOperations
2020-03-01: IotHubOperations
2021-03-03-preview: IotHubOperations
2021-03-31: IotHubOperations
2021-07-01: IotHubOperations
2021-07-02: IotHubOperations
2022-04-30-preview: IotHubOperations
2022-11-15-preview: IotHubOperations
2023-06-30: IotHubOperations
2023-06-30-preview: IotHubOperations
iot_hub_resource
Örnek, API sürümüne bağlıdır:
2016-02-03: IotHubResourceOperations
2017-01-19: IotHubResourceOperations
2017-07-01: IotHubResourceOperations
2018-01-22: IotHubResourceOperations
2018-04-01: IotHubResourceOperations
2019-03-22: IotHubResourceOperations
2019-07-01-önizleme: IotHubResourceOperations
2019-11-04: IotHubResourceOperations
2020-03-01: IotHubResourceOperations
2021-03-03-preview: IotHubResourceOperations
2021-03-31: IotHubResourceOperations
2021-07-01: IotHubResourceOperations
2021-07-02: IotHubResourceOperations
2022-04-30-preview: IotHubResourceOperations
2022-11-15-preview: IotHubResourceOperations
2023-06-30: IotHubResourceOperations
2023-06-30-preview: IotHubResourceOperations
operations
Örnek, API sürümüne bağlıdır:
2017-07-01: Operations
2018-01-22: Operations
2018-04-01: Operations
2019-03-22: Operations
2019-07-01-önizleme: Operations
2019-11-04: Operations
2020-03-01: Operations
2021-03-03-preview: Operations
2021-03-31: Operations
2021-07-01: Operations
2021-07-02: Operations
2022-04-30-preview: Operations
2022-11-15-preview: Operations
2023-06-30: Operations
2023-06-30-preview: Operations
private_endpoint_connections
Örnek, API sürümüne bağlıdır:
2020-03-01: PrivateEndpointConnectionsOperations
2021-03-03-preview: PrivateEndpointConnectionsOperations
2021-03-31: PrivateEndpointConnectionsOperations
2021-07-01: PrivateEndpointConnectionsOperations
2021-07-02: PrivateEndpointConnectionsOperations
2022-04-30-preview: PrivateEndpointConnectionsOperations
2022-11-15-preview: PrivateEndpointConnectionsOperations
2023-06-30: PrivateEndpointConnectionsOperations
2023-06-30-preview: PrivateEndpointConnectionsOperations
private_link_resources
Örnek, API sürümüne bağlıdır:
2020-03-01: PrivateLinkResourcesOperations
2021-03-03-preview: PrivateLinkResourcesOperations
2021-03-31: PrivateLinkResourcesOperations
2021-07-01: PrivateLinkResourcesOperations
2021-07-02: PrivateLinkResourcesOperations
2022-04-30-preview: PrivateLinkResourcesOperations
2022-11-15-preview: PrivateLinkResourcesOperations
2023-06-30: PrivateLinkResourcesOperations
2023-06-30-preview: PrivateLinkResourcesOperations
resource_provider_common
Örnek, API sürümüne bağlıdır:
2018-04-01: ResourceProviderCommonOperations
2019-03-22: ResourceProviderCommonOperations
2019-07-01-önizleme: ResourceProviderCommonOperations
2019-11-04: ResourceProviderCommonOperations
2020-03-01: ResourceProviderCommonOperations
2021-03-03-preview: ResourceProviderCommonOperations
2021-03-31: ResourceProviderCommonOperations
2021-07-01: ResourceProviderCommonOperations
2021-07-02: ResourceProviderCommonOperations
2022-04-30-preview: ResourceProviderCommonOperations
2022-11-15-preview: ResourceProviderCommonOperations
2023-06-30: ResourceProviderCommonOperations
2023-06-30-preview: ResourceProviderCommonOperations
DEFAULT_API_VERSION
DEFAULT_API_VERSION = '2023-06-30'
LATEST_PROFILE
LATEST_PROFILE = azure.mgmt.iothub.IotHubClient latest
Azure SDK for Python
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin