Freigeben über


DiskAccessesOperationsExtensions.GetAPrivateEndpointConnectionAsync Methode

Definition

Ruft Informationen zu einer privaten Endpunktverbindung unter einer Datenträgerzugriffsressource ab.

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

Parameter

operations
IDiskAccessesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

diskAccessName
String

Der Name der Datenträgerzugriffsressource, die erstellt wird. Der Name kann nicht geändert werden, nachdem der Datenträgerverschlüsselungssatz erstellt wurde. Unterstützte Zeichen für den Namen sind a-z, A-Z, 0-9, _ und -. Die maximale Namenslänge ist 80 Zeichen.

privateEndpointConnectionName
String

Der Name der privaten Endpunktverbindung.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: