Compartir a través de


CosmosDBAccountResource.GetCosmosDBPrivateEndpointConnectionAsync Método

Definición

Obtiene una conexión de punto de conexión privado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnections_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>> GetCosmosDBPrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCosmosDBPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>>
override this.GetCosmosDBPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>>
Public Overridable Function GetCosmosDBPrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBPrivateEndpointConnectionResource))

Parámetros

privateEndpointConnectionName
String

Nombre de la conexión del punto de conexión privado.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

privateEndpointConnectionName es una cadena vacía y se espera que no esté vacía.

privateEndpointConnectionName es null.

Se aplica a