Share via


ManagedHsmsOperationsExtensions.ListBySubscriptionAsync Method

Definition

The List operation gets information about the managed HSM Pools associated with the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm>> ListBySubscriptionAsync (this Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations operations, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IManagedHsmsOperations, Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of ManagedHsm))

Parameters

operations
IManagedHsmsOperations

The operations group for this extension method.

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to