Udostępnij za pośrednictwem


SubscriptionClient Constructors

Definition

Overloads

SubscriptionClient()

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(CloudCredentials)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(HttpClient)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(CloudCredentials, HttpClient)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(CloudCredentials, Uri)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient(CloudCredentials, Uri, HttpClient)

Initializes a new instance of the SubscriptionClient class.

SubscriptionClient()

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient ();
Public Sub New ()

Applies to

SubscriptionClient(CloudCredentials)

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient (Hyak.Common.CloudCredentials credentials);
new Microsoft.WindowsAzure.Subscriptions.SubscriptionClient : Hyak.Common.CloudCredentials -> Microsoft.WindowsAzure.Subscriptions.SubscriptionClient
Public Sub New (credentials As CloudCredentials)

Parameters

credentials
Hyak.Common.CloudCredentials

Required. Credentials used to authenticate requests.

Applies to

SubscriptionClient(HttpClient)

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient (System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Subscriptions.SubscriptionClient : System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Subscriptions.SubscriptionClient
Public Sub New (httpClient As HttpClient)

Parameters

httpClient
HttpClient

The Http client

Applies to

SubscriptionClient(CloudCredentials, HttpClient)

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient (Hyak.Common.CloudCredentials credentials, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Subscriptions.SubscriptionClient : Hyak.Common.CloudCredentials * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Subscriptions.SubscriptionClient
Public Sub New (credentials As CloudCredentials, httpClient As HttpClient)

Parameters

credentials
Hyak.Common.CloudCredentials

Required. Credentials used to authenticate requests.

httpClient
HttpClient

The Http client

Applies to

SubscriptionClient(CloudCredentials, Uri)

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient (Hyak.Common.CloudCredentials credentials, Uri baseUri);
new Microsoft.WindowsAzure.Subscriptions.SubscriptionClient : Hyak.Common.CloudCredentials * Uri -> Microsoft.WindowsAzure.Subscriptions.SubscriptionClient
Public Sub New (credentials As CloudCredentials, baseUri As Uri)

Parameters

credentials
Hyak.Common.CloudCredentials

Required. Credentials used to authenticate requests.

baseUri
Uri

Optional. Gets the URI used as the base for all cloud service requests.

Applies to

SubscriptionClient(CloudCredentials, Uri, HttpClient)

Initializes a new instance of the SubscriptionClient class.

public SubscriptionClient (Hyak.Common.CloudCredentials credentials, Uri baseUri, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Subscriptions.SubscriptionClient : Hyak.Common.CloudCredentials * Uri * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Subscriptions.SubscriptionClient
Public Sub New (credentials As CloudCredentials, baseUri As Uri, httpClient As HttpClient)

Parameters

credentials
Hyak.Common.CloudCredentials

Required. Credentials used to authenticate requests.

baseUri
Uri

Optional. Gets the URI used as the base for all cloud service requests.

httpClient
HttpClient

The Http client

Applies to