ResourcesManagementClient Constructors

Definition

Overloads

ResourcesManagementClient()

Initializes a new instance of ResourcesManagementClient for mocking.

ResourcesManagementClient(String, TokenCredential, ResourcesManagementClientOptions)

Initializes a new instance of ResourcesManagementClient.

ResourcesManagementClient(Uri, String, TokenCredential, ResourcesManagementClientOptions)

Initializes a new instance of ResourcesManagementClient.

ResourcesManagementClient()

Initializes a new instance of ResourcesManagementClient for mocking.

protected ResourcesManagementClient ();
Protected Sub New ()

Applies to

ResourcesManagementClient(String, TokenCredential, ResourcesManagementClientOptions)

Initializes a new instance of ResourcesManagementClient.

public ResourcesManagementClient (string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Resources.ResourcesManagementClientOptions options = default);
new Azure.ResourceManager.Resources.ResourcesManagementClient : string * Azure.Core.TokenCredential * Azure.ResourceManager.Resources.ResourcesManagementClientOptions -> Azure.ResourceManager.Resources.ResourcesManagementClient
Public Sub New (subscriptionId As String, tokenCredential As TokenCredential, Optional options As ResourcesManagementClientOptions = Nothing)

Parameters

subscriptionId
System.String

The ID of the target subscription.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
ResourcesManagementClientOptions

The options for configuring the client.

Applies to

ResourcesManagementClient(Uri, String, TokenCredential, ResourcesManagementClientOptions)

Initializes a new instance of ResourcesManagementClient.

public ResourcesManagementClient (Uri endpoint, string subscriptionId, Azure.Core.TokenCredential tokenCredential, Azure.ResourceManager.Resources.ResourcesManagementClientOptions options = default);
new Azure.ResourceManager.Resources.ResourcesManagementClient : Uri * string * Azure.Core.TokenCredential * Azure.ResourceManager.Resources.ResourcesManagementClientOptions -> Azure.ResourceManager.Resources.ResourcesManagementClient
Public Sub New (endpoint As Uri, subscriptionId As String, tokenCredential As TokenCredential, Optional options As ResourcesManagementClientOptions = Nothing)

Parameters

endpoint
System.Uri

server parameter.

subscriptionId
System.String

The ID of the target subscription.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
ResourcesManagementClientOptions

The options for configuring the client.

Exceptions

System.ArgumentNullException

subscriptionId is null.

Applies to