ภาษา

HardwareSecurityModulesExtensions.GetPaymentHsmClustersAsync Method

Definition

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

public static Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.PaymentHsmClusterResource> GetPaymentHsmClustersAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetPaymentHsmClustersAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.HardwareSecurityModules.PaymentHsmClusterResource>
<Extension()>
Public Function GetPaymentHsmClustersAsync (subscriptionResource As SubscriptionResource, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PaymentHsmClusterResource)

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 PaymentHsmClusterResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to