Share via


CloudHsmClusters interface

Interface representing a CloudHsmClusters.

Methods

beginBackup(string, string, CloudHsmClustersBackupOptionalParams)

Create a backup of the Cloud HSM Cluster in the specified subscription

beginBackupAndWait(string, string, CloudHsmClustersBackupOptionalParams)

Create a backup of the Cloud HSM Cluster in the specified subscription

beginCreateOrUpdate(string, string, string, CloudHsmClustersCreateOrUpdateOptionalParams)

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

beginCreateOrUpdateAndWait(string, string, string, CloudHsmClustersCreateOrUpdateOptionalParams)

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

beginDelete(string, string, CloudHsmClustersDeleteOptionalParams)

Deletes the specified Cloud HSM Cluster

beginDeleteAndWait(string, string, CloudHsmClustersDeleteOptionalParams)

Deletes the specified Cloud HSM Cluster

beginRestore(string, string, RestoreRequestProperties, CloudHsmClustersRestoreOptionalParams)

Restores all key materials of a specified Cloud HSM Cluster

beginRestoreAndWait(string, string, RestoreRequestProperties, CloudHsmClustersRestoreOptionalParams)

Restores all key materials of a specified Cloud HSM Cluster

beginUpdate(string, string, CloudHsmClustersUpdateOptionalParams)

Update a Cloud HSM Cluster in the specified subscription.

beginUpdateAndWait(string, string, CloudHsmClustersUpdateOptionalParams)

Update a Cloud HSM Cluster in the specified subscription.

beginValidateBackupProperties(string, string, CloudHsmClustersValidateBackupPropertiesOptionalParams)

Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster resource in the specified subscription.

beginValidateBackupPropertiesAndWait(string, string, CloudHsmClustersValidateBackupPropertiesOptionalParams)

Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster resource in the specified subscription.

beginValidateRestoreProperties(string, string, CloudHsmClustersValidateRestorePropertiesOptionalParams)

Queued validating pre restore operation

beginValidateRestorePropertiesAndWait(string, string, CloudHsmClustersValidateRestorePropertiesOptionalParams)

Queued validating pre restore operation

get(string, string, CloudHsmClustersGetOptionalParams)

Gets the specified Cloud HSM Cluster

listByResourceGroup(string, CloudHsmClustersListByResourceGroupOptionalParams)

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

listBySubscription(CloudHsmClustersListBySubscriptionOptionalParams)

The List operation gets information about the Cloud HSM Clusters associated with the subscription.

Method Details

beginBackup(string, string, CloudHsmClustersBackupOptionalParams)

Create a backup of the Cloud HSM Cluster in the specified subscription

function beginBackup(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersBackupOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersBackupResponse>, CloudHsmClustersBackupResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersBackupOptionalParams

The options parameters.

Returns

beginBackupAndWait(string, string, CloudHsmClustersBackupOptionalParams)

Create a backup of the Cloud HSM Cluster in the specified subscription

function beginBackupAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersBackupOptionalParams): Promise<CloudHsmClustersBackupResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersBackupOptionalParams

The options parameters.

Returns

beginCreateOrUpdate(string, string, string, CloudHsmClustersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdate(resourceGroupName: string, cloudHsmClusterName: string, location: string, options?: CloudHsmClustersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmCluster>, CloudHsmCluster>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

location

string

The geo-location where the resource lives

options
CloudHsmClustersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CloudHsmCluster>, CloudHsmCluster>>

beginCreateOrUpdateAndWait(string, string, string, CloudHsmClustersCreateOrUpdateOptionalParams)

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

function beginCreateOrUpdateAndWait(resourceGroupName: string, cloudHsmClusterName: string, location: string, options?: CloudHsmClustersCreateOrUpdateOptionalParams): Promise<CloudHsmCluster>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

location

string

The geo-location where the resource lives

options
CloudHsmClustersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<CloudHsmCluster>

beginDelete(string, string, CloudHsmClustersDeleteOptionalParams)

Deletes the specified Cloud HSM Cluster

function beginDelete(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersDeleteHeaders>, CloudHsmClustersDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CloudHsmClustersDeleteHeaders>, CloudHsmClustersDeleteHeaders>>

beginDeleteAndWait(string, string, CloudHsmClustersDeleteOptionalParams)

Deletes the specified Cloud HSM Cluster

function beginDeleteAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersDeleteOptionalParams): Promise<CloudHsmClustersDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersDeleteOptionalParams

The options parameters.

Returns

beginRestore(string, string, RestoreRequestProperties, CloudHsmClustersRestoreOptionalParams)

Restores all key materials of a specified Cloud HSM Cluster

function beginRestore(resourceGroupName: string, cloudHsmClusterName: string, restoreRequestProperties: RestoreRequestProperties, options?: CloudHsmClustersRestoreOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersRestoreResponse>, CloudHsmClustersRestoreResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

restoreRequestProperties
RestoreRequestProperties

Restore Operation Required properties

options
CloudHsmClustersRestoreOptionalParams

The options parameters.

Returns

beginRestoreAndWait(string, string, RestoreRequestProperties, CloudHsmClustersRestoreOptionalParams)

Restores all key materials of a specified Cloud HSM Cluster

function beginRestoreAndWait(resourceGroupName: string, cloudHsmClusterName: string, restoreRequestProperties: RestoreRequestProperties, options?: CloudHsmClustersRestoreOptionalParams): Promise<CloudHsmClustersRestoreResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

restoreRequestProperties
RestoreRequestProperties

Restore Operation Required properties

options
CloudHsmClustersRestoreOptionalParams

The options parameters.

Returns

beginUpdate(string, string, CloudHsmClustersUpdateOptionalParams)

Update a Cloud HSM Cluster in the specified subscription.

function beginUpdate(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmCluster>, CloudHsmCluster>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<CloudHsmCluster>, CloudHsmCluster>>

beginUpdateAndWait(string, string, CloudHsmClustersUpdateOptionalParams)

Update a Cloud HSM Cluster in the specified subscription.

function beginUpdateAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersUpdateOptionalParams): Promise<CloudHsmCluster>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersUpdateOptionalParams

The options parameters.

Returns

Promise<CloudHsmCluster>

beginValidateBackupProperties(string, string, CloudHsmClustersValidateBackupPropertiesOptionalParams)

Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster resource in the specified subscription.

function beginValidateBackupProperties(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersValidateBackupPropertiesOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersValidateBackupPropertiesResponse>, CloudHsmClustersValidateBackupPropertiesResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

Returns

beginValidateBackupPropertiesAndWait(string, string, CloudHsmClustersValidateBackupPropertiesOptionalParams)

Pre Backup operation to validate whether the customer can perform a backup on the Cloud HSM Cluster resource in the specified subscription.

function beginValidateBackupPropertiesAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersValidateBackupPropertiesOptionalParams): Promise<CloudHsmClustersValidateBackupPropertiesResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

Returns

beginValidateRestoreProperties(string, string, CloudHsmClustersValidateRestorePropertiesOptionalParams)

Queued validating pre restore operation

function beginValidateRestoreProperties(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersValidateRestorePropertiesOptionalParams): Promise<SimplePollerLike<OperationState<CloudHsmClustersValidateRestorePropertiesResponse>, CloudHsmClustersValidateRestorePropertiesResponse>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

Returns

beginValidateRestorePropertiesAndWait(string, string, CloudHsmClustersValidateRestorePropertiesOptionalParams)

Queued validating pre restore operation

function beginValidateRestorePropertiesAndWait(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersValidateRestorePropertiesOptionalParams): Promise<CloudHsmClustersValidateRestorePropertiesResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

Returns

get(string, string, CloudHsmClustersGetOptionalParams)

Gets the specified Cloud HSM Cluster

function get(resourceGroupName: string, cloudHsmClusterName: string, options?: CloudHsmClustersGetOptionalParams): Promise<CloudHsmCluster>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

cloudHsmClusterName

string

The name of the Cloud HSM Cluster within the specified resource group. Cloud HSM Cluster names must be between 3 and 23 characters in length.

options
CloudHsmClustersGetOptionalParams

The options parameters.

Returns

Promise<CloudHsmCluster>

listByResourceGroup(string, CloudHsmClustersListByResourceGroupOptionalParams)

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

function listByResourceGroup(resourceGroupName: string, options?: CloudHsmClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CloudHsmCluster, CloudHsmCluster[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
CloudHsmClustersListByResourceGroupOptionalParams

The options parameters.

Returns

listBySubscription(CloudHsmClustersListBySubscriptionOptionalParams)

The List operation gets information about the Cloud HSM Clusters associated with the subscription.

function listBySubscription(options?: CloudHsmClustersListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CloudHsmCluster, CloudHsmCluster[], PageSettings>

Parameters

options
CloudHsmClustersListBySubscriptionOptionalParams

The options parameters.

Returns