HardwareSecurityModulesExtensions.GetCloudHsmClustersAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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
Azure SDK for .NET