Compartir a través de


MetricsAdvisorClient Constructores

Definición

Sobrecargas

MetricsAdvisorClient()

Inicializa una nueva instancia de la clase MetricsAdvisorClient. Este constructor está diseñado para usarse solo para simular.

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential)

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

MetricsAdvisorClient(Uri, TokenCredential)

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential, MetricsAdvisorClientsOptions)

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

MetricsAdvisorClient(Uri, TokenCredential, MetricsAdvisorClientsOptions)

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

MetricsAdvisorClient()

Source:
MetricsAdvisorClient.cs

Inicializa una nueva instancia de la clase MetricsAdvisorClient. Este constructor está diseñado para usarse solo para simular.

protected MetricsAdvisorClient ();
Protected Sub New ()

Se aplica a

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential)

Source:
MetricsAdvisorClient.cs

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

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

Parámetros

endpoint
Uri

Punto de conexión que se va a usar para conectarse a Metrics Advisor Cognitive Service.

credential
MetricsAdvisorKeyCredential

Credencial usada para autenticarse en el servicio.

Excepciones

endpoint o credential es null.

Se aplica a

MetricsAdvisorClient(Uri, TokenCredential)

Source:
MetricsAdvisorClient.cs

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

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

Parámetros

endpoint
Uri

Punto de conexión que se va a usar para conectarse a Metrics Advisor Cognitive Service.

credential
TokenCredential

Credencial usada para autenticarse en el servicio.

Excepciones

endpoint o credential es null.

Se aplica a

MetricsAdvisorClient(Uri, MetricsAdvisorKeyCredential, MetricsAdvisorClientsOptions)

Source:
MetricsAdvisorClient.cs

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

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

Parámetros

endpoint
Uri

Punto de conexión que se va a usar para conectarse a Metrics Advisor Cognitive Service.

credential
MetricsAdvisorKeyCredential

Credencial usada para autenticarse en el servicio.

options
MetricsAdvisorClientsOptions

Conjunto de opciones que se aplicarán al configurar el cliente.

Excepciones

endpoint o credential es null.

Se aplica a

MetricsAdvisorClient(Uri, TokenCredential, MetricsAdvisorClientsOptions)

Source:
MetricsAdvisorClient.cs

Inicializa una nueva instancia de la clase MetricsAdvisorClient.

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

Parámetros

endpoint
Uri

Punto de conexión que se va a usar para conectarse a Metrics Advisor Cognitive Service.

credential
TokenCredential

Credencial usada para autenticarse en el servicio.

options
MetricsAdvisorClientsOptions

Conjunto de opciones que se aplicarán al configurar el cliente.

Excepciones

endpoint o credential es null.

Se aplica a