ConnectorClientBase Constructors

Definition

Overloads

Name Description
ConnectorClientBase()

Initializes a new instance of the ConnectorClientBase class. This constructor exists for mocking frameworks (e.g. Moq) and should not be used directly.

ConnectorClientBase(String)

Initializes a new instance of the ConnectorClientBase class with a string connection runtime URL. Uses ManagedIdentityCredential by default.

ConnectorClientBase(Uri)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL. Uses ManagedIdentityCredential by default.

ConnectorClientBase(Uri, TokenCredential)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL and explicit Azure credential.

ConnectorClientBase(Uri, TokenCredential, ConnectorClientOptions)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL and explicit Azure credential.

ConnectorClientBase()

Initializes a new instance of the ConnectorClientBase class. This constructor exists for mocking frameworks (e.g. Moq) and should not be used directly.

protected ConnectorClientBase();
Protected Sub New ()

Applies to

ConnectorClientBase(String)

Initializes a new instance of the ConnectorClientBase class with a string connection runtime URL. Uses ManagedIdentityCredential by default.

protected ConnectorClientBase(string connectionRuntimeUrl);
new Azure.Connectors.Sdk.ConnectorClientBase : string -> Azure.Connectors.Sdk.ConnectorClientBase
Protected Sub New (connectionRuntimeUrl As String)

Parameters

connectionRuntimeUrl
String

The connection runtime URL from Azure Portal.

Applies to

ConnectorClientBase(Uri)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL. Uses ManagedIdentityCredential by default.

protected ConnectorClientBase(Uri connectionRuntimeUrl);
new Azure.Connectors.Sdk.ConnectorClientBase : Uri -> Azure.Connectors.Sdk.ConnectorClientBase
Protected Sub New (connectionRuntimeUrl As Uri)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

Applies to

ConnectorClientBase(Uri, TokenCredential)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL and explicit Azure credential.

protected ConnectorClientBase(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential);
new Azure.Connectors.Sdk.ConnectorClientBase : Uri * Azure.Core.TokenCredential -> Azure.Connectors.Sdk.ConnectorClientBase
Protected Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

credential
TokenCredential

The Azure credential for authentication.

Applies to

ConnectorClientBase(Uri, TokenCredential, ConnectorClientOptions)

Initializes a new instance of the ConnectorClientBase class with a connection runtime URL and explicit Azure credential.

protected ConnectorClientBase(Uri connectionRuntimeUrl, Azure.Core.TokenCredential credential, Azure.Connectors.Sdk.ConnectorClientOptions? options = default);
new Azure.Connectors.Sdk.ConnectorClientBase : Uri * Azure.Core.TokenCredential * Azure.Connectors.Sdk.ConnectorClientOptions -> Azure.Connectors.Sdk.ConnectorClientBase
Protected Sub New (connectionRuntimeUrl As Uri, credential As TokenCredential, Optional options As ConnectorClientOptions = Nothing)

Parameters

connectionRuntimeUrl
Uri

The connection runtime URL from Azure Portal.

credential
TokenCredential

The Azure credential for authentication.

options
ConnectorClientOptions

Optional client options for retry, transport, diagnostics, etc.

Applies to