Microsoft。RecoveryServices 保險庫/backup加密設定 2026-05-01

Bicep 資源定義

保存庫/backupEncryptionConfigs 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要建立 Microsoft.RecoveryServices/vaults/backupEncryptionConfigs 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.RecoveryServices/vaults/backupEncryptionConfigs@2026-05-01' = {
  parent: resourceSymbolicName
  eTag: 'string'
  location: 'string'
  name: 'backupResourceEncryptionConfig'
  properties: {
    encryptionAtRestType: 'string'
    infrastructureEncryptionState: 'string'
    keyUri: 'string'
    lastUpdateStatus: 'string'
    subscriptionId: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft。RecoveryServices/vaults/backup加密設定

名稱 Description 價值
eTag 選擇性 ETag。 字串
位置 資源所在的地理位置 字串
名字 資源名稱 'backupResourceEncryptionConfig' (必要)
父代 在 Bicep 中,你可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

欲了解更多資訊,請參閱 Child 資源 外部 parent resource。
類型資源的符號名稱:保存庫
properties 備份資源加密設定的屬性 BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤

BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended

名稱 Description 價值
encryptionAtRestType 待用加密類型 'CustomerManaged'
'Invalid'
“MicrosoftManaged”
infrastructureEncryptionState 'Disabled'
'Enabled'
'Invalid'
keyUri 的 金鑰保存庫金鑰 URI 字串
lastUpdate狀態 「失敗」
'FirstInitialization'
“已初始化”
'Invalid'
“未啟用”
“部分失敗”
“部分成功”
'Succeeded'
subscriptionId (訂閱ID) 金鑰保存庫 訂用帳戶標識碼 字串

BackupResourceEncryptionConfigResourceTags

名稱 Description 價值

ARM 樣本資源定義

保存庫/backupEncryptionConfigs 資源類型可以使用目標作業來部署:

使用範例

資源格式

若要建立 Microsoft.RecoveryServices/vaults/backupEncryptionConfigs 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs",
  "apiVersion": "2026-05-01",
  "name": "string",
  "eTag": "string",
  "location": "string",
  "properties": {
    "encryptionAtRestType": "string",
    "infrastructureEncryptionState": "string",
    "keyUri": "string",
    "lastUpdateStatus": "string",
    "subscriptionId": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft。RecoveryServices/vaults/backup加密設定

名稱 Description 價值
apiVersion API 版本 '2026-05-01'
eTag 選擇性 ETag。 字串
位置 資源所在的地理位置 字串
名字 資源名稱 'backupResourceEncryptionConfig' (必要)
properties 備份資源加密設定的屬性 BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤
型別 資源類型 “Microsoft.RecoveryServices/vaults/backupEncryptionConfigs”

BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended

名稱 Description 價值
encryptionAtRestType 待用加密類型 'CustomerManaged'
'Invalid'
“MicrosoftManaged”
infrastructureEncryptionState 'Disabled'
'Enabled'
'Invalid'
keyUri 的 金鑰保存庫金鑰 URI 字串
lastUpdate狀態 「失敗」
'FirstInitialization'
“已初始化”
'Invalid'
“未啟用”
“部分失敗”
“部分成功”
'Succeeded'
subscriptionId (訂閱ID) 金鑰保存庫 訂用帳戶標識碼 字串

BackupResourceEncryptionConfigResourceTags

名稱 Description 價值

Terraform (AzAPI 提供者) 資源定義

保存庫/backupEncryptionConfigs 資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 Microsoft.RecoveryServices/vaults/backupEncryptionConfigs 資源,請將下列 Terraform 新增至您的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.RecoveryServices/vaults/backupEncryptionConfigs@2026-05-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    eTag = "string"
    properties = {
      encryptionAtRestType = "string"
      infrastructureEncryptionState = "string"
      keyUri = "string"
      lastUpdateStatus = "string"
      subscriptionId = "string"
    }
  }
}

屬性值

Microsoft。RecoveryServices/vaults/backup加密設定

名稱 Description 價值
eTag 選擇性 ETag。 字串
位置 資源所在的地理位置 字串
名字 資源名稱 'backupResourceEncryptionConfig' (必要)
parent_id 此資源為父系之資源的標識碼。 類型的資源標識碼:保存庫
properties 備份資源加密設定的屬性 BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
tags 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft。RecoveryServices/vaults/backupEncryptionConfigs@2026-05-01”

BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended

名稱 Description 價值
encryptionAtRestType 待用加密類型 'CustomerManaged'
'Invalid'
“MicrosoftManaged”
infrastructureEncryptionState 'Disabled'
'Enabled'
'Invalid'
keyUri 的 金鑰保存庫金鑰 URI 字串
lastUpdate狀態 「失敗」
'FirstInitialization'
“已初始化”
'Invalid'
“未啟用”
“部分失敗”
“部分成功”
'Succeeded'
subscriptionId (訂閱ID) 金鑰保存庫 訂用帳戶標識碼 字串

BackupResourceEncryptionConfigResourceTags

名稱 Description 價值