Share via


DedicatedHsmCollection.GetAll Method

Definition

The List operation gets information about the dedicated hsms associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/dedicatedHSMs
  • Operation Id: DedicatedHsm_ListByResourceGroup
  • Default Api Version: 2024-06-30-preview
  • Resource: DedicatedHsmResource
public virtual Azure.Pageable<Azure.ResourceManager.HardwareSecurityModules.DedicatedHsmResource> GetAll (int? top = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HardwareSecurityModules.DedicatedHsmResource>
override this.GetAll : Nullable<int> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HardwareSecurityModules.DedicatedHsmResource>
Public Overridable Function GetAll (Optional top As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DedicatedHsmResource)

Parameters

top
Nullable<Int32>

Maximum number of results to return.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DedicatedHsmResource that may take multiple service requests to iterate over.

Applies to