Skip to main content

mhsm_regions

Creates, updates, deletes, gets or lists a mhsm_regions resource.

Overview

Namemhsm_regions
TypeResource
Idazure.key_vault.mhsm_regions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringName of the geo replicated region.
isPrimarybooleanA boolean value that indicates whether the region is the primary region or a secondary region.
provisioningStatestringProvisioning state of the geo replicated region. Known values are: "Preprovisioning", "Provisioning", "Succeeded", "Failed", "Deleting", and "Cleanup". (Preprovisioning, Provisioning, Succeeded, Failed, Deleting, Cleanup)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resourceselectresource_group_name, name, subscription_idThe List operation gets information about the regions associated with the managed HSM Pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
namestringThe name of the managed HSM Pool. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

The List operation gets information about the regions associated with the managed HSM Pool.

SELECT
name,
isPrimary,
provisioningState
FROM azure.key_vault.mhsm_regions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND name = '{{ name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;