Skip to main content

backup_resource_encryption_configs

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

Overview

Namebackup_resource_encryption_configs
TypeResource
Idazure.recovery_services_backup.backup_resource_encryption_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
eTagstringOptional ETag.
encryptionAtRestTypestringEncryption At Rest Type. Known values are: "Invalid", "MicrosoftManaged", and "CustomerManaged". (Invalid, MicrosoftManaged, CustomerManaged)
infrastructureEncryptionStatestringKnown values are: "Invalid", "Disabled", and "Enabled". (Invalid, Disabled, Enabled)
keyUristringKey Vault Key URI.
lastUpdateStatusstringKnown values are: "Invalid", "NotEnabled", "PartiallySucceeded", "PartiallyFailed", "Failed", "Succeeded", "Initialized", and "FirstInitialization". (Invalid, NotEnabled, PartiallySucceeded, PartiallyFailed, Failed, Succeeded, Initialized, FirstInitialization)
locationstringThe geo-location where the resource lives.
subscriptionIdstringKey Vault Subscription Id.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
useSystemAssignedIdentitybooleanbool to indicate whether to use system Assigned Identity or not.
userAssignedIdentitystringUser Assigned Identity Id.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectvault_name, resource_group_name, subscription_idFetches Vault Encryption config.
updateupdatevault_name, resource_group_name, subscription_idUpdates Vault encryption config.

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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe name of the VaultResource. Required.

SELECT examples

Fetches Vault Encryption config.

SELECT
id,
name,
eTag,
encryptionAtRestType,
infrastructureEncryptionState,
keyUri,
lastUpdateStatus,
location,
subscriptionId,
systemData,
tags,
type,
useSystemAssignedIdentity,
userAssignedIdentity
FROM azure.recovery_services_backup.backup_resource_encryption_configs
WHERE vault_name = '{{ vault_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

UPDATE examples

Updates Vault encryption config.

UPDATE azure.recovery_services_backup.backup_resource_encryption_configs
SET
properties = '{{ properties }}',
tags = '{{ tags }}',
location = '{{ location }}',
eTag = '{{ eTag }}'
WHERE
vault_name = '{{ vault_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required;