Skip to main content

vault_extended_info

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

Overview

Namevault_extended_info
TypeResource
Idazure.recovery_services.vault_extended_info

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
algorithmtextfield from the properties object
encryption_keytextfield from the properties object
encryption_key_thumbprinttextfield from the properties object
integrity_keytextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
vaultNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, vaultNameGet the vault extended info.
create_or_updateINSERTresourceGroupName, subscriptionId, vaultNameCreate vault extended info.
updateUPDATEresourceGroupName, subscriptionId, vaultNameUpdate vault extended info.

SELECT examples

Get the vault extended info.

SELECT
id,
name,
algorithm,
encryption_key,
encryption_key_thumbprint,
integrity_key,
resourceGroupName,
subscriptionId,
system_data,
type,
vaultName
FROM azure.recovery_services.vw_vault_extended_info
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';

INSERT example

Use the following StackQL query and manifest file to create a new vault_extended_info resource.

/*+ create */
INSERT INTO azure.recovery_services.vault_extended_info (
resourceGroupName,
subscriptionId,
vaultName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ vaultName }}',
'{{ properties }}'
;

UPDATE example

Updates a vault_extended_info resource.

/*+ update */
UPDATE azure.recovery_services.vault_extended_info
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND vaultName = '{{ vaultName }}';