Share via


SshPublicKeysOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all of the SSH public keys in the subscription. Use the nextLink property in the response to get the next page of SSH public keys.

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))

Parameters

operations
ISshPublicKeysOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to