Freigeben über


SshPublicKeysOperationsExtensions.ListBySubscriptionAsync Methode

Definition

Listet alle öffentlichen SSH-Schlüssel im Abonnement auf. Verwenden Sie die nextLink-Eigenschaft in der Antwort, um die nächste Seite der öffentlichen SSH-Schlüssel abzurufen.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Compute.ISshPublicKeysOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Compute.ISshPublicKeysOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As ISshPublicKeysOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SshPublicKeyResource))

Parameter

operations
ISshPublicKeysOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: