Microsoft.RecoveryServices vaults/backupEncryptionConfigs 2020-10-01

Template format

To create a Microsoft.RecoveryServices/vaults/backupEncryptionConfigs resource, add the following JSON to the resources section of your template.

{
  "name": "backupResourceEncryptionConfig",
  "type": "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs",
  "apiVersion": "2020-10-01",
  "location": "string",
  "tags": {},
  "properties": {
    "encryptionAtRestType": "string",
    "keyUri": "string",
    "subscriptionId": "string",
    "lastUpdateStatus": "string",
    "infrastructureEncryptionState": "string"
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.RecoveryServices/vaults/backupEncryptionConfigs object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Use backupResourceEncryptionConfig.
type enum Yes For JSON -backupEncryptionConfigs
-or-
Microsoft.RecoveryServices/vaults/backupEncryptionConfigs

See Set name and type for child resources.
apiVersion enum Yes For JSON - 2020-10-01
location string No Resource location.
tags object No Resource tags.
properties object Yes BackupResourceEncryptionConfigResource properties - BackupResourceEncryptionConfig object

BackupResourceEncryptionConfig object

Name Type Required Value
encryptionAtRestType enum No Encryption At Rest Type. - Invalid, MicrosoftManaged, CustomerManaged
keyUri string No Key Vault Key URI
subscriptionId string No Key Vault Subscription Id
lastUpdateStatus enum No Invalid, NotEnabled, PartiallySucceeded, PartiallyFailed, Failed, Succeeded
infrastructureEncryptionState enum No Invalid, Disabled, Enabled