你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
- Latest
- 2026-10-01
- 2026-08-31-预览
- 2026-08-01
- 2026-07-01
- 2026-05-31-预览
- 2026-05-01
- 2026-03-31-预览
- 2026-02-01
- 2026-01-31-预览
- 2026-01-01
- 2025-08-01
- 2025-02-28-preview
- 2025-02-01
- 2025-01-01
- 2024-11-01-preview
- 2024-10-01
- 2024-07-30-preview
- 2024-04-30-preview
- 2024-04-01
- 2024-02-01
- 2024-01-01
- 2023-08-01
- 2023-06-01
- 2023-04-01
- 2023-02-01
- 2023-01-01
- 2022-10-01
- 2022-09-30-preview
- 2022-09-01-preview
- 2022-06-01-预览版
- 2022-04-01
- 2022-03-01
- 2022-02-01
- 2022-01-01
- 2021-12-01
- 2021-10-01
- 2021-08-01
- 2021-07-01
- 2021-06-01
- 2021-04-01
- 2021-03-01
- 2021-02-10
- 2021-02-01
- 2021-02-01-preview
- 2021-01-01
- 2020-12-01
- 2020-10-01
Bicep资源定义
可以使用目标操作部署 vaults/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。恢复服务/保险库/备份加密配置
| Name | Description | Value |
|---|---|---|
| eTag | 可选 ETag。 | 字符串 |
| 位置 | 资源所在的地理位置 | 字符串 |
| 名字 | 资源名称 | “backupResourceEncryptionConfig”(必需) |
| 父级 | 在 Bicep 中,你可以指定子资源的父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 更多信息请参见Child 资源 outside parent resource。 |
类型为:vaults 的资源的符号名称 |
| 属性 | 备份资源加密配置的属性 | BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended |
| 标记 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
| Name | Description | Value |
|---|---|---|
| encryptionAtRestType | 静态加密类型 | 'CustomerManaged' 'Invalid' “MicrosoftManaged” |
| infrastructureEncryptionState | 'Disabled' 'Enabled' 'Invalid' |
|
| keyUri 的 | 密钥保管库密钥 URI | 字符串 |
| lastUpdate状态 | “失败” “FirstInitialization” “Initialized” 'Invalid' “NotEnabled” “PartiallyFailed” “PartiallySucceeded” “Succeeded” |
|
| subscriptionId | 密钥保管库 订阅 ID | 字符串 |
BackupResourceEncryptionConfigResourceTags
| Name | Description | Value |
|---|
ARM 模板资源定义
可以使用目标操作部署 vaults/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。恢复服务/保险库/备份加密配置
| Name | Description | Value |
|---|---|---|
| apiVersion | API 版本 | '2026-05-01' |
| eTag | 可选 ETag。 | 字符串 |
| 位置 | 资源所在的地理位置 | 字符串 |
| 名字 | 资源名称 | “backupResourceEncryptionConfig”(必需) |
| 属性 | 备份资源加密配置的属性 | BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended |
| 标记 | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
| 类型 | 资源类型 | “Microsoft.RecoveryServices/vaults/backupEncryptionConfigs” |
BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
| Name | Description | Value |
|---|---|---|
| encryptionAtRestType | 静态加密类型 | 'CustomerManaged' 'Invalid' “MicrosoftManaged” |
| infrastructureEncryptionState | 'Disabled' 'Enabled' 'Invalid' |
|
| keyUri 的 | 密钥保管库密钥 URI | 字符串 |
| lastUpdate状态 | “失败” “FirstInitialization” “Initialized” 'Invalid' “NotEnabled” “PartiallyFailed” “PartiallySucceeded” “Succeeded” |
|
| subscriptionId | 密钥保管库 订阅 ID | 字符串 |
BackupResourceEncryptionConfigResourceTags
| Name | Description | Value |
|---|
Terraform (AzAPI 提供程序)资源定义
可以使用目标操作部署 vaults/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。恢复服务/保险库/备份加密配置
| Name | Description | Value |
|---|---|---|
| eTag | 可选 ETag。 | 字符串 |
| 位置 | 资源所在的地理位置 | 字符串 |
| 名字 | 资源名称 | “backupResourceEncryptionConfig”(必需) |
| parent_id | 此资源的父资源的 ID。 | 类型为:vaults 的资源的 ID |
| 属性 | 备份资源加密配置的属性 | BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended |
| 标记 | 资源标记 | 标记名称和值的字典。 |
| 类型 | 资源类型 | “Microsoft。RecoveryServices/vaults/backupEncryptionConfigs@2026-05-01” |
BackupResourceEncryptionConfigOrBackupResourceEncryptionConfigExtended
| Name | Description | Value |
|---|---|---|
| encryptionAtRestType | 静态加密类型 | 'CustomerManaged' 'Invalid' “MicrosoftManaged” |
| infrastructureEncryptionState | 'Disabled' 'Enabled' 'Invalid' |
|
| keyUri 的 | 密钥保管库密钥 URI | 字符串 |
| lastUpdate状态 | “失败” “FirstInitialization” “Initialized” 'Invalid' “NotEnabled” “PartiallyFailed” “PartiallySucceeded” “Succeeded” |
|
| subscriptionId | 密钥保管库 订阅 ID | 字符串 |
BackupResourceEncryptionConfigResourceTags
| Name | Description | Value |
|---|