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
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
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
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
Get(String, CancellationToken)

Gets the specified Cloud HSM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
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
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
GetAsync(String, CancellationToken)

Gets the specified Cloud HSM Cluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HardwareSecurityModules/cloudHsmClusters/{cloudHsmClusterName}
  • Operation Id: CloudHsmClusters_Get
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
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
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