MockableHardwareSecurityModulesSubscriptionResource.GetCloudHsmClustersAsync Method

Definition

The List operation gets information about the Cloud HSM Clusters associated with the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters
  • Operation Id: CloudHsmClusters_ListBySubscription
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource> GetCloudHsmClustersAsync (string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCloudHsmClustersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>
override this.GetCloudHsmClustersAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>
Public Overridable Function GetCloudHsmClustersAsync (Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CloudHsmClusterResource)

Parameters

skiptoken
String

The page-continuation token to use with a paged version of this API.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of CloudHsmClusterResource that may take multiple service requests to iterate over.

Applies to