Freigeben über


PrivateEndpointConnectionsOperationsExtensions.GetAsync Methode

Definition

Ruft die angegebene private Endpunktverbindung ab, die dem Cognitive Services-Konto zugeordnet ist.

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

Parameter

operations
IPrivateEndpointConnectionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

accountName
String

Der Name des Cognitive Services-Kontos.

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung, die dem Cognitive Services-Konto zugeordnet ist

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: