共用方式為


EventHubManager.Authenticate Method

Definition

Overloads

Authenticate(AzureCredentials, String)

Creates an instance of EventHubManager that exposes storage resource management API entry points.

Authenticate(RestClient, String)

Creates an instance of EventHubManager that exposes storage resource management API entry points.

Authenticate(AzureCredentials, String)

Creates an instance of EventHubManager that exposes storage resource management API entry points.

public static Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials credentials, string subscriptionId);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Authentication.AzureCredentials * string -> Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager
Public Shared Function Authenticate (credentials As AzureCredentials, subscriptionId As String) As IEventHubManager

Parameters

credentials
AzureCredentials

the credentials to use

subscriptionId
String

the subscription UUID

Returns

the EventHubManager

Applies to

Authenticate(RestClient, String)

Creates an instance of EventHubManager that exposes storage resource management API entry points.

public static Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager Authenticate (Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient restClient, string subscriptionId);
static member Authenticate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.RestClient * string -> Microsoft.Azure.Management.EventHub.Fluent.IEventHubManager
Public Shared Function Authenticate (restClient As RestClient, subscriptionId As String) As IEventHubManager

Parameters

restClient
RestClient

the RestClient to be used for API calls.

subscriptionId
String

the subscription UUID

Returns

the EventHubManager

Applies to