Freigeben über


PrivateEndpointConnectionsOperationsExtensions.GetAsync Methode

Definition

Ruft die angegebene private Endpunktverbindung ab, die dem Redis-Cache zugeordnet ist.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection> GetAsync (this Microsoft.Azure.Management.Redis.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string cacheName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Redis.IPrivateEndpointConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Redis.Models.PrivateEndpointConnection>
<Extension()>
Public Function GetAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, cacheName 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.

cacheName
String

Der Name des Redis-Caches.

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung, die der Azure-Ressource zugeordnet ist

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: