Sdílet prostřednictvím


ArmClient Constructors

Definition

Overloads

ArmClient()

Initializes a new instance of the ArmClient class for mocking.

ArmClient(TokenCredential)

Initializes a new instance of the ArmClient class.

ArmClient(TokenCredential, String)

Initializes a new instance of the ArmClient class.

ArmClient(TokenCredential, String, ArmClientOptions)

Initializes a new instance of the ArmClient class.

ArmClient()

Source:
ArmClient.cs
Source:
ArmClient.cs

Initializes a new instance of the ArmClient class for mocking.

protected ArmClient ();
Protected Sub New ()

Applies to

ArmClient(TokenCredential)

Source:
ArmClient.cs
Source:
ArmClient.cs

Initializes a new instance of the ArmClient class.

public ArmClient (Azure.Core.TokenCredential credential);
new Azure.ResourceManager.ArmClient : Azure.Core.TokenCredential -> Azure.ResourceManager.ArmClient
Public Sub New (credential As TokenCredential)

Parameters

credential
TokenCredential

A credential used to authenticate to an Azure Service.

Exceptions

Applies to

ArmClient(TokenCredential, String)

Source:
ArmClient.cs
Source:
ArmClient.cs

Initializes a new instance of the ArmClient class.

public ArmClient (Azure.Core.TokenCredential credential, string defaultSubscriptionId);
new Azure.ResourceManager.ArmClient : Azure.Core.TokenCredential * string -> Azure.ResourceManager.ArmClient
Public Sub New (credential As TokenCredential, defaultSubscriptionId As String)

Parameters

credential
TokenCredential

A credential used to authenticate to an Azure Service.

defaultSubscriptionId
String

The id of the default Azure subscription.

Exceptions

Applies to

ArmClient(TokenCredential, String, ArmClientOptions)

Source:
ArmClient.cs
Source:
ArmClient.cs

Initializes a new instance of the ArmClient class.

public ArmClient (Azure.Core.TokenCredential credential, string defaultSubscriptionId, Azure.ResourceManager.ArmClientOptions options);
new Azure.ResourceManager.ArmClient : Azure.Core.TokenCredential * string * Azure.ResourceManager.ArmClientOptions -> Azure.ResourceManager.ArmClient
Public Sub New (credential As TokenCredential, defaultSubscriptionId As String, options As ArmClientOptions)

Parameters

credential
TokenCredential

A credential used to authenticate to an Azure Service.

defaultSubscriptionId
String

The id of the default Azure subscription.

options
ArmClientOptions

The client parameters to use in these operations.

Exceptions

Applies to