Condividi tramite


AnomalyDetectorClient Constructors

Definition

Overloads

AnomalyDetectorClient()

Initializes a new instance of AnomalyDetectorClient for mocking.

AnomalyDetectorClient(Uri, AzureKeyCredential)

Initializes a new instance of AnomalyDetectorClient.

AnomalyDetectorClient(Uri, AzureKeyCredential, AnomalyDetectorClientOptions)

Initializes a new instance of AnomalyDetectorClient.

AnomalyDetectorClient()

Source:
AnomalyDetectorClient.cs

Initializes a new instance of AnomalyDetectorClient for mocking.

protected AnomalyDetectorClient ();
Protected Sub New ()

Applies to

AnomalyDetectorClient(Uri, AzureKeyCredential)

Source:
AnomalyDetectorClient.cs

Initializes a new instance of AnomalyDetectorClient.

public AnomalyDetectorClient (Uri endpoint, Azure.AzureKeyCredential credential);
new Azure.AI.AnomalyDetector.AnomalyDetectorClient : Uri * Azure.AzureKeyCredential -> Azure.AI.AnomalyDetector.AnomalyDetectorClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential)

Parameters

endpoint
Uri

Supported Azure Cognitive Services endpoints (protocol and host name, such as https://westus2.api.cognitive.microsoft.com).

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

Exceptions

endpoint or credential is null.

Applies to

AnomalyDetectorClient(Uri, AzureKeyCredential, AnomalyDetectorClientOptions)

Source:
AnomalyDetectorClient.cs

Initializes a new instance of AnomalyDetectorClient.

public AnomalyDetectorClient (Uri endpoint, Azure.AzureKeyCredential credential, Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions options);
new Azure.AI.AnomalyDetector.AnomalyDetectorClient : Uri * Azure.AzureKeyCredential * Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions -> Azure.AI.AnomalyDetector.AnomalyDetectorClient
Public Sub New (endpoint As Uri, credential As AzureKeyCredential, options As AnomalyDetectorClientOptions)

Parameters

endpoint
Uri

Supported Azure Cognitive Services endpoints (protocol and host name, such as https://westus2.api.cognitive.microsoft.com).

credential
AzureKeyCredential

A credential used to authenticate to an Azure Service.

options
AnomalyDetectorClientOptions

The options for configuring the client.

Exceptions

endpoint or credential is null.

Applies to