ProgrammableConnectivityClient Constructors
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
ProgrammableConnectivityClient() |
Initializes a new instance of ProgrammableConnectivityClient for mocking. |
ProgrammableConnectivityClient(Uri, TokenCredential) |
Initializes a new instance of ProgrammableConnectivityClient. |
ProgrammableConnectivityClient(Uri, TokenCredential, ProgrammableConnectivityClientOptions) |
Initializes a new instance of ProgrammableConnectivityClient. |
ProgrammableConnectivityClient()
Initializes a new instance of ProgrammableConnectivityClient for mocking.
protected ProgrammableConnectivityClient ();
Protected Sub New ()
Applies to
ProgrammableConnectivityClient(Uri, TokenCredential)
Initializes a new instance of ProgrammableConnectivityClient.
public ProgrammableConnectivityClient (Uri endpoint, Azure.Core.TokenCredential credential);
new Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClient : Uri * Azure.Core.TokenCredential -> Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClient
Public Sub New (endpoint As Uri, credential As TokenCredential)
Parameters
- endpoint
- Uri
An Azure Programmable Connectivity Endpoint providing access to Network APIs, for example https://{region}.apcgatewayapi.azure.com.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
Exceptions
endpoint
or credential
is null.
Applies to
ProgrammableConnectivityClient(Uri, TokenCredential, ProgrammableConnectivityClientOptions)
Initializes a new instance of ProgrammableConnectivityClient.
public ProgrammableConnectivityClient (Uri endpoint, Azure.Core.TokenCredential credential, Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClientOptions options);
new Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClient : Uri * Azure.Core.TokenCredential * Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClientOptions -> Azure.Communication.ProgrammableConnectivity.ProgrammableConnectivityClient
Public Sub New (endpoint As Uri, credential As TokenCredential, options As ProgrammableConnectivityClientOptions)
Parameters
- endpoint
- Uri
An Azure Programmable Connectivity Endpoint providing access to Network APIs, for example https://{region}.apcgatewayapi.azure.com.
- credential
- TokenCredential
A credential used to authenticate to an Azure Service.
The options for configuring the client.
Exceptions
endpoint
or credential
is null.
Applies to
Azure SDK for .NET