共用方式為


ComputeManager.Authenticate Method

Definition

Overloads

Authenticate(AzureCredentials, String)
Authenticate(RestClient, String)

Authenticate(AzureCredentials, String)

public static Microsoft.Azure.Management.Compute.Fluent.IComputeManager 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.Compute.Fluent.IComputeManager
Public Shared Function Authenticate (credentials As AzureCredentials, subscriptionId As String) As IComputeManager

Parameters

credentials
AzureCredentials
subscriptionId
String

Returns

Applies to

Authenticate(RestClient, String)

public static Microsoft.Azure.Management.Compute.Fluent.IComputeManager 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.Compute.Fluent.IComputeManager
Public Shared Function Authenticate (restClient As RestClient, subscriptionId As String) As IComputeManager

Parameters

restClient
RestClient
subscriptionId
String

Returns

Applies to