Udostępnij za pośrednictwem


ManagementClient Constructors

Definition

Overloads

ManagementClient()

Initializes a new instance of the ManagementClient class.

ManagementClient(SubscriptionCloudCredentials)

Initializes a new instance of the ManagementClient class.

ManagementClient(HttpClient)

Initializes a new instance of the ManagementClient class.

ManagementClient(SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the ManagementClient class.

ManagementClient(SubscriptionCloudCredentials, Uri)

Initializes a new instance of the ManagementClient class.

ManagementClient(SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the ManagementClient class.

ManagementClient()

Initializes a new instance of the ManagementClient class.

public ManagementClient ();
Public Sub New ()

Applies to

ManagementClient(SubscriptionCloudCredentials)

Initializes a new instance of the ManagementClient class.

public ManagementClient (Microsoft.Azure.SubscriptionCloudCredentials credentials);
new Microsoft.WindowsAzure.Management.ManagementClient : Microsoft.Azure.SubscriptionCloudCredentials -> Microsoft.WindowsAzure.Management.ManagementClient
Public Sub New (credentials As SubscriptionCloudCredentials)

Parameters

credentials
Microsoft.Azure.SubscriptionCloudCredentials

Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Applies to

ManagementClient(HttpClient)

Initializes a new instance of the ManagementClient class.

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

Parameters

httpClient
HttpClient

The Http client

Applies to

ManagementClient(SubscriptionCloudCredentials, HttpClient)

Initializes a new instance of the ManagementClient class.

public ManagementClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Management.ManagementClient : Microsoft.Azure.SubscriptionCloudCredentials * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Management.ManagementClient
Public Sub New (credentials As SubscriptionCloudCredentials, httpClient As HttpClient)

Parameters

credentials
Microsoft.Azure.SubscriptionCloudCredentials

Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

httpClient
HttpClient

The Http client

Applies to

ManagementClient(SubscriptionCloudCredentials, Uri)

Initializes a new instance of the ManagementClient class.

public ManagementClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri);
new Microsoft.WindowsAzure.Management.ManagementClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri -> Microsoft.WindowsAzure.Management.ManagementClient
Public Sub New (credentials As SubscriptionCloudCredentials, baseUri As Uri)

Parameters

credentials
Microsoft.Azure.SubscriptionCloudCredentials

Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

baseUri
Uri

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

Applies to

ManagementClient(SubscriptionCloudCredentials, Uri, HttpClient)

Initializes a new instance of the ManagementClient class.

public ManagementClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri, System.Net.Http.HttpClient httpClient);
new Microsoft.WindowsAzure.Management.ManagementClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri * System.Net.Http.HttpClient -> Microsoft.WindowsAzure.Management.ManagementClient
Public Sub New (credentials As SubscriptionCloudCredentials, baseUri As Uri, httpClient As HttpClient)

Parameters

credentials
Microsoft.Azure.SubscriptionCloudCredentials

Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

baseUri
Uri

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

httpClient
HttpClient

The Http client

Applies to