HardwareSecurityModulesExtensions.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
public static Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource> GetCloudHsmClustersAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCloudHsmClustersAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>
<Extension()>
Public Function GetCloudHsmClustersAsync (subscriptionResource As SubscriptionResource, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of CloudHsmClusterResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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.

Exceptions

subscriptionResource is null.

Applies to