StorageManager.Authenticate Method

Definition

Overloads

Authenticate(AzureCredentials, String)

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

Authenticate(RestClient, String)

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

Authenticate(AzureCredentials, String)

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

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

Parameters

credentials
AzureCredentials

the credentials to use

subscriptionId
String

the subscription UUID

Returns

the StorageManager

Applies to

Authenticate(RestClient, String)

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

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

Parameters

restClient
RestClient

the RestClient to be used for API calls.

subscriptionId
String

the subscription UUID

Returns

the StorageManager

Applies to