InsightsManagementClient Constructors

Definition

Overloads

InsightsManagementClient()

Initializes a new instance of InsightsManagementClient for mocking.

InsightsManagementClient(String, TokenCredential, InsightsManagementClientOptions)

Initializes a new instance of InsightsManagementClient.

InsightsManagementClient(String, Uri, TokenCredential, InsightsManagementClientOptions)

Initializes a new instance of InsightsManagementClient.

InsightsManagementClient()

Initializes a new instance of InsightsManagementClient for mocking.

protected InsightsManagementClient ();
Protected Sub New ()

Applies to

InsightsManagementClient(String, TokenCredential, InsightsManagementClientOptions)

Initializes a new instance of InsightsManagementClient.

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

Parameters

subscriptionId
System.String

The Azure subscription Id.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
InsightsManagementClientOptions

The options for configuring the client.

Applies to

InsightsManagementClient(String, Uri, TokenCredential, InsightsManagementClientOptions)

Initializes a new instance of InsightsManagementClient.

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

Parameters

subscriptionId
System.String

The Azure subscription Id.

endpoint
System.Uri

server parameter.

tokenCredential
TokenCredential

The OAuth token for making client requests.

options
InsightsManagementClientOptions

The options for configuring the client.

Exceptions

System.ArgumentNullException

subscriptionId is null.

Applies to