Compartir a través de


CosmosDBAccountResource.GetCosmosDBPrivateEndpointConnection 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 Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource> GetCosmosDBPrivateEndpointConnection (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCosmosDBPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
override this.GetCosmosDBPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBPrivateEndpointConnectionResource>
Public Overridable Function GetCosmosDBPrivateEndpointConnection (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CosmosDBPrivateEndpointConnectionResource)

Parámetros

privateEndpointConnectionName
String

Nombre de la conexión de 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 esperaba que no estuviera vacía.

privateEndpointConnectionName es null.

Se aplica a