HardwareSecurityModulesExtensions.GetCloudHsmClusters 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.
Overloads
| Name | Description |
|---|---|
| GetCloudHsmClusters(ResourceGroupResource) |
Gets a collection of CloudHsmClusters in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCloudHsmClusters() instead. </item> |
| GetCloudHsmClusters(SubscriptionResource, String, CancellationToken) |
The List operation gets information about the Cloud HSM Clusters associated with the subscription. <item> Mocking. To mock this method, please mock GetCloudHsmClusters(String, CancellationToken) instead. </item> |
GetCloudHsmClusters(ResourceGroupResource)
Gets a collection of CloudHsmClusters in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCloudHsmClusters() instead. </item>
public static Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterCollection GetCloudHsmClusters(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetCloudHsmClusters : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterCollection
<Extension()>
Public Function GetCloudHsmClusters (resourceGroupResource As ResourceGroupResource) As CloudHsmClusterCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource the method will execute against.
Returns
An object representing collection of CloudHsmClusters and their operations over a CloudHsmClusterResource.
Exceptions
resourceGroupResource is null.
Applies to
GetCloudHsmClusters(SubscriptionResource, String, CancellationToken)
The List operation gets information about the Cloud HSM Clusters associated with the subscription. <item> Mocking. To mock this method, please mock GetCloudHsmClusters(String, CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource> GetCloudHsmClusters(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string skiptoken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetCloudHsmClusters : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>
<Extension()>
Public Function GetCloudHsmClusters (subscriptionResource As SubscriptionResource, Optional skiptoken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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.