HardwareSecurityModulesExtensions.GetCloudHsmClustersAsync Method

Definition

The List operation gets information about the Cloud HSM Clusters associated with the subscription. <item> Mocking. To mock this method, please mock GetCloudHsmClustersAsync(String, CancellationToken) instead. </item>

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 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

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

Exceptions

subscriptionResource is null.

Applies to