HardwareSecurityModulesExtensions.GetCloudHsmClusters Method

Definition

Overloads

GetCloudHsmClusters(ResourceGroupResource)

Gets a collection of CloudHsmClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCloudHsmClusters() instead.

GetCloudHsmClusters(SubscriptionResource, String, CancellationToken)

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

GetCloudHsmClusters(ResourceGroupResource)

Source:
HardwareSecurityModulesExtensions.cs

Gets a collection of CloudHsmClusterResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCloudHsmClusters() instead.

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 instance the method will execute against.

Returns

An object representing collection of CloudHsmClusterResources and their operations over a CloudHsmClusterResource.

Exceptions

resourceGroupResource is null.

Applies to

GetCloudHsmClusters(SubscriptionResource, String, CancellationToken)

Source:
HardwareSecurityModulesExtensions.cs

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

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

Exceptions

subscriptionResource is null.

Applies to