AnomalyDetectorClientBuilderExtensions.AddAnomalyDetectorClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddAnomalyDetectorClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registers a AnomalyDetectorClient instance. |
AddAnomalyDetectorClient<TBuilder>(TBuilder, Uri, AzureKeyCredential) |
Registers a AnomalyDetectorClient instance. |
AddAnomalyDetectorClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registers a AnomalyDetectorClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.AnomalyDetector.AnomalyDetectorClient,Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions> AddAnomalyDetectorClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddAnomalyDetectorClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.AnomalyDetector.AnomalyDetectorClient, Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddAnomalyDetectorClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of AnomalyDetectorClient, AnomalyDetectorClientOptions)
Type Parameters
- TBuilder
- TConfiguration
Parameters
- builder
- TBuilder
The builder to register with.
- configuration
- TConfiguration
The configuration values.
Returns
Applies to
AddAnomalyDetectorClient<TBuilder>(TBuilder, Uri, AzureKeyCredential)
Registers a AnomalyDetectorClient instance.
public static Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.AnomalyDetector.AnomalyDetectorClient,Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions> AddAnomalyDetectorClient<TBuilder> (this TBuilder builder, Uri endpoint, Azure.AzureKeyCredential credential) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddAnomalyDetectorClient : 'Builder * Uri * Azure.AzureKeyCredential -> Azure.Core.Extensions.IAzureClientBuilder<Azure.AI.AnomalyDetector.AnomalyDetectorClient, Azure.AI.AnomalyDetector.AnomalyDetectorClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddAnomalyDetectorClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, endpoint As Uri, credential As AzureKeyCredential) As IAzureClientBuilder(Of AnomalyDetectorClient, AnomalyDetectorClientOptions)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
The builder to register with.
- 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.
Returns
Applies to
Azure SDK for .NET