Share via


CloudHsmClusterCollection Class

Definition

A class representing a collection of CloudHsmClusterResource and their operations. Each CloudHsmClusterResource in the collection will belong to the same instance of ResourceGroupResource. To get a CloudHsmClusterCollection instance call the GetCloudHsmClusters method from an instance of ResourceGroupResource.

public class CloudHsmClusterCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.HardwareSecurityModules.CloudHsmClusterResource>
type CloudHsmClusterCollection = class
    inherit ArmCollection
    interface seq<CloudHsmClusterResource>
    interface IEnumerable
    interface IAsyncEnumerable<CloudHsmClusterResource>
Public Class CloudHsmClusterCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CloudHsmClusterResource), IEnumerable(Of CloudHsmClusterResource)
Inheritance
CloudHsmClusterCollection
Implements

Constructors

CloudHsmClusterCollection()

Initializes a new instance of the CloudHsmClusterCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, CloudHsmClusterData, CancellationToken)

Create or Update a Cloud HSM Cluster in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_CreateOrUpdate
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
CreateOrUpdateAsync(WaitUntil, String, CloudHsmClusterData, CancellationToken)

Create or Update a Cloud HSM Cluster in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_CreateOrUpdate
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
Get(String, CancellationToken)

Gets the specified Cloud HSM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
GetAll(String, CancellationToken)

The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters
  • Operation Id: CloudHsmClusters_ListByResourceGroup
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
GetAllAsync(String, CancellationToken)

The List operation gets information about the Cloud HSM Clusters associated with the subscription and within the specified resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters
  • Operation Id: CloudHsmClusters_ListByResourceGroup
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
GetAsync(String, CancellationToken)

Gets the specified Cloud HSM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
  • Default Api Version: 2024-06-30-preview
  • Resource: CloudHsmClusterResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<CloudHsmClusterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CloudHsmClusterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to