StorageManager.Authenticate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET