Share via


MetricsAdvisorAdministrationClient Constructors

Definition

Overloads

MetricsAdvisorAdministrationClient()

Initializes a new instance of the MetricsAdvisorAdministrationClient class. This constructor is intended to be used for mocking only.

MetricsAdvisorAdministrationClient(Uri, MetricsAdvisorKeyCredential)

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

MetricsAdvisorAdministrationClient(Uri, TokenCredential)

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

MetricsAdvisorAdministrationClient(Uri, MetricsAdvisorKeyCredential, MetricsAdvisorClientsOptions)

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

MetricsAdvisorAdministrationClient(Uri, TokenCredential, MetricsAdvisorClientsOptions)

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

MetricsAdvisorAdministrationClient()

Source:
MetricsAdvisorAdministrationClient.cs

Initializes a new instance of the MetricsAdvisorAdministrationClient class. This constructor is intended to be used for mocking only.

protected MetricsAdvisorAdministrationClient ();
Protected Sub New ()

Applies to

MetricsAdvisorAdministrationClient(Uri, MetricsAdvisorKeyCredential)

Source:
MetricsAdvisorAdministrationClient.cs

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

public MetricsAdvisorAdministrationClient (Uri endpoint, Azure.AI.MetricsAdvisor.MetricsAdvisorKeyCredential credential);
new Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient : Uri * Azure.AI.MetricsAdvisor.MetricsAdvisorKeyCredential -> Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient
Public Sub New (endpoint As Uri, credential As MetricsAdvisorKeyCredential)

Parameters

endpoint
Uri

The endpoint to use for connecting to the Metrics Advisor Cognitive Service.

credential
MetricsAdvisorKeyCredential

A credential used to authenticate to the service.

Exceptions

endpoint or credential is null.

Applies to

MetricsAdvisorAdministrationClient(Uri, TokenCredential)

Source:
MetricsAdvisorAdministrationClient.cs

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

public MetricsAdvisorAdministrationClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient : Uri * Azure.Core.TokenCredential -> Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient
Public Sub New (endpoint As Uri, credential As TokenCredential)

Parameters

endpoint
Uri

The endpoint to use for connecting to the Metrics Advisor Cognitive Service.

credential
TokenCredential

A credential used to authenticate to the service.

Exceptions

endpoint or credential is null.

Applies to

MetricsAdvisorAdministrationClient(Uri, MetricsAdvisorKeyCredential, MetricsAdvisorClientsOptions)

Source:
MetricsAdvisorAdministrationClient.cs

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

public MetricsAdvisorAdministrationClient (Uri endpoint, Azure.AI.MetricsAdvisor.MetricsAdvisorKeyCredential credential, Azure.AI.MetricsAdvisor.MetricsAdvisorClientsOptions options);
new Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient : Uri * Azure.AI.MetricsAdvisor.MetricsAdvisorKeyCredential * Azure.AI.MetricsAdvisor.MetricsAdvisorClientsOptions -> Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient
Public Sub New (endpoint As Uri, credential As MetricsAdvisorKeyCredential, options As MetricsAdvisorClientsOptions)

Parameters

endpoint
Uri

The endpoint to use for connecting to the Metrics Advisor Cognitive Service.

credential
MetricsAdvisorKeyCredential

A credential used to authenticate to the service.

options
MetricsAdvisorClientsOptions

A set of options to apply when configuring the client.

Exceptions

endpoint or credential is null.

Applies to

MetricsAdvisorAdministrationClient(Uri, TokenCredential, MetricsAdvisorClientsOptions)

Source:
MetricsAdvisorAdministrationClient.cs

Initializes a new instance of the MetricsAdvisorAdministrationClient class.

public MetricsAdvisorAdministrationClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.AI.MetricsAdvisor.MetricsAdvisorClientsOptions options);
new Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient : Uri * Azure.Core.TokenCredential * Azure.AI.MetricsAdvisor.MetricsAdvisorClientsOptions -> Azure.AI.MetricsAdvisor.Administration.MetricsAdvisorAdministrationClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As MetricsAdvisorClientsOptions)

Parameters

endpoint
Uri

The endpoint to use for connecting to the Metrics Advisor Cognitive Service.

credential
TokenCredential

A credential used to authenticate to the service.

options
MetricsAdvisorClientsOptions

A set of options to apply when configuring the client.

Exceptions

endpoint or credential is null.

Applies to