Dela via


IotHubClient Class

Definition

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

public class IotHubClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.IotHub.IotHubClient>, IDisposable, Microsoft.Azure.Management.IotHub.IIotHubClient, Microsoft.Rest.Azure.IAzureClient
type IotHubClient = class
    inherit ServiceClient<IotHubClient>
    interface IIotHubClient
    interface IDisposable
    interface IAzureClient
Public Class IotHubClient
Inherits ServiceClient(Of IotHubClient)
Implements IAzureClient, IDisposable, IIotHubClient
Inheritance
Implements

Constructors

IotHubClient(DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(HttpClient, Boolean)

Initializes a new instance of the IotHubClient class.

IotHubClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(ServiceClientCredentials, HttpClient, Boolean)

Initializes a new instance of the IotHubClient class.

IotHubClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(Uri, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(Uri, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(Uri, ServiceClientCredentials, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

IotHubClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the IotHubClient class.

Properties

AcceptLanguage

The preferred language for the response.

ApiVersion

The version of the API.

BaseUri

The base URI of the service.

Certificates

Gets the ICertificatesOperations.

Credentials

Credentials needed for the client to connect to Azure.

DeserializationSettings

Gets or sets json deserialization settings.

FirstMessageHandler (Inherited from ServiceClient<T>)
GenerateClientRequestId

Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.

HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
IotHub

Gets the IIotHubOperations.

IotHubResource

Gets the IIotHubResourceOperations.

LongRunningOperationRetryTimeout

The retry timeout in seconds for Long Running Operations. Default value is 30.

Operations

Gets the IOperations.

PrivateEndpointConnections

Gets the IPrivateEndpointConnectionsOperations.

PrivateLinkResources

Gets the IPrivateLinkResourcesOperations.

ResourceProviderCommon

Gets the IResourceProviderCommonOperations.

SerializationSettings

Gets or sets json serialization settings.

SubscriptionId

The subscription identifier.

UserAgent (Inherited from ServiceClient<T>)

Methods

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)

Applies to