EventHubsManagementClient Constructors

Definition

Overloads

EventHubsManagementClient()

Initializes a new instance of EventHubsManagementClient for mocking.

EventHubsManagementClient(String, TokenCredential, EventHubsManagementClientOptions)

Initializes a new instance of EventHubsManagementClient.

EventHubsManagementClient(String, Uri, TokenCredential, EventHubsManagementClientOptions)

Initializes a new instance of EventHubsManagementClient.

EventHubsManagementClient()

Initializes a new instance of EventHubsManagementClient for mocking.

protected EventHubsManagementClient ();
Protected Sub New ()

Applies to

EventHubsManagementClient(String, TokenCredential, EventHubsManagementClientOptions)

Initializes a new instance of EventHubsManagementClient.

public EventHubsManagementClient (string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = default);
new Azure.ResourceManager.EventHubs.EventHubsManagementClient : string * Azure.Core.TokenCredential * Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions -> Azure.ResourceManager.EventHubs.EventHubsManagementClient
Public Sub New (subscriptionId As String, tokenCredential As TokenCredential, Optional options As EventHubsManagementClientOptions = Nothing)

Parameters

subscriptionId
System.String

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
EventHubsManagementClientOptions

The options for configuring the client.

Applies to

EventHubsManagementClient(String, Uri, TokenCredential, EventHubsManagementClientOptions)

Initializes a new instance of EventHubsManagementClient.

public EventHubsManagementClient (string subscriptionId, Uri endpoint, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions options = default);
new Azure.ResourceManager.EventHubs.EventHubsManagementClient : string * Uri * Azure.Core.TokenCredential * Azure.ResourceManager.EventHubs.EventHubsManagementClientOptions -> Azure.ResourceManager.EventHubs.EventHubsManagementClient
Public Sub New (subscriptionId As String, endpoint As Uri, tokenCredential As TokenCredential, Optional options As EventHubsManagementClientOptions = Nothing)

Parameters

subscriptionId
System.String

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

endpoint
System.Uri

server parameter.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
EventHubsManagementClientOptions

The options for configuring the client.

Exceptions

System.ArgumentNullException

This occurs when one of the required arguments is null.

Applies to