Partager via


BatchAccountResource.GetBatchPrivateEndpointConnection 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 Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource> GetBatchPrivateEndpointConnection (string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>
override this.GetBatchPrivateEndpointConnection : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchPrivateEndpointConnectionResource>
Public Overridable Function GetBatchPrivateEndpointConnection (privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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 à