Partager via


BatchAccountResource.GetBatchPrivateEndpointConnectionAsync Méthode

Définition

Obtient des informations sur la connexion de point de terminaison privé spécifiée.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
  • IdPrivateEndpointConnection_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>> GetBatchPrivateEndpointConnectionAsync (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>>
override this.GetBatchPrivateEndpointConnectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>>
Public Overridable Function GetBatchPrivateEndpointConnectionAsync (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchPrivateEndpointConnectionResource))

Paramètres

privateEndpointConnectionName
String

Nom de la connexion de point de terminaison privé. Cela doit être unique au sein du compte.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

privateEndpointConnectionName est une chaîne vide et devait être non vide.

privateEndpointConnectionName a la valeur null.

S’applique à