AuthorizationClient Constructors
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
AuthorizationClient() |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient(SubscriptionCloudCredentials) |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient(HttpClient) |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient(SubscriptionCloudCredentials, HttpClient) |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient(SubscriptionCloudCredentials, Uri) |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient(SubscriptionCloudCredentials, Uri, HttpClient) |
Initializes a new instance of the AuthorizationClient class. |
AuthorizationClient()
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient ();
Public Sub New ()
Applies to
AuthorizationClient(SubscriptionCloudCredentials)
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient (Microsoft.Azure.SubscriptionCloudCredentials credentials);
new Microsoft.Azure.Management.Resources.AuthorizationClient : Microsoft.Azure.SubscriptionCloudCredentials -> Microsoft.Azure.Management.Resources.AuthorizationClient
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
AuthorizationClient(HttpClient)
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient (System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Management.Resources.AuthorizationClient : System.Net.Http.HttpClient -> Microsoft.Azure.Management.Resources.AuthorizationClient
Public Sub New (httpClient As HttpClient)
Parameters
- httpClient
- HttpClient
The Http client
Applies to
AuthorizationClient(SubscriptionCloudCredentials, HttpClient)
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Management.Resources.AuthorizationClient : Microsoft.Azure.SubscriptionCloudCredentials * System.Net.Http.HttpClient -> Microsoft.Azure.Management.Resources.AuthorizationClient
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
AuthorizationClient(SubscriptionCloudCredentials, Uri)
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri);
new Microsoft.Azure.Management.Resources.AuthorizationClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri -> Microsoft.Azure.Management.Resources.AuthorizationClient
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
AuthorizationClient(SubscriptionCloudCredentials, Uri, HttpClient)
Initializes a new instance of the AuthorizationClient class.
public AuthorizationClient (Microsoft.Azure.SubscriptionCloudCredentials credentials, Uri baseUri, System.Net.Http.HttpClient httpClient);
new Microsoft.Azure.Management.Resources.AuthorizationClient : Microsoft.Azure.SubscriptionCloudCredentials * Uri * System.Net.Http.HttpClient -> Microsoft.Azure.Management.Resources.AuthorizationClient
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