Freigeben über


PrivateEndpointConnectionOperationsExtensions.GetAsync Methode

Definition

Ruft Informationen zur angegebenen verbindung mit dem privaten Endpunkt ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection> GetAsync (this Microsoft.Azure.Management.Batch.IPrivateEndpointConnectionOperations operations, string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Batch.IPrivateEndpointConnectionOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection>
<Extension()>
Public Function GetAsync (operations As IPrivateEndpointConnectionOperations, resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameter

operations
IPrivateEndpointConnectionOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, die das Batch-Konto enthält.

accountName
String

Der Name des Batch-Kontos.

privateEndpointConnectionName
String

Der Verbindungsname des privaten Endpunkts. Dies muss innerhalb des Kontos eindeutig sein.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: