Share via


ManagedHsmsOperationsExtensions.ListByResourceGroupAsync Method

Definition

The List operation gets information about the managed HSM Pools associated with the subscription and within the specified resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm>> ListByResourceGroupAsync (this Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations operations, string resourceGroupName, int? top = default, System.Threading.CancellationToken cancellationToken = default);
static member ListByResourceGroupAsync : Microsoft.Azure.Management.KeyVault.IManagedHsmsOperations * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.KeyVault.Models.ManagedHsm>>
<Extension()>
Public Function ListByResourceGroupAsync (operations As IManagedHsmsOperations, resourceGroupName As String, 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.

resourceGroupName
String

Name of the resource group that contains the managed HSM pool.

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to