SqlManager.Authenticate Method

Definition

Overloads

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

Creates an instance of SqlManager that exposes Sql management API entry points.

Authenticate(AzureCredentials, String)

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

Parameters

credentials
AzureCredentials
subscriptionId
String

Returns

Applies to

Authenticate(RestClient, String)

Creates an instance of SqlManager that exposes Sql management API entry points.

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

Parameters

restClient
RestClient

the RestClient to be used for API calls

subscriptionId
String

the subscription

Returns

Applies to