Share via


ICosmosDBAccount.GetPrivateEndpointConnectionAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IPrivateEndpointConnection> GetPrivateEndpointConnectionAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IPrivateEndpointConnection>
Public Function GetPrivateEndpointConnectionAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPrivateEndpointConnection)

Parameters

name
String

Name of private endpoint connection.

cancellationToken
CancellationToken

Returns

Applies to