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:

Get information about all managed HSM Pools in the specified subscription.

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.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resourceselectsubscriptionId, resourceGroupName, nameThe 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
namestringName of the managed HSM Pool
resourceGroupNamestringName of the resource group that contains the managed HSM pool.
subscriptionIdstringSubscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

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 subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
;