- 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-預覽版
- 2025-02-01
- 2025-01-01
- 2024-11-01-preview
- 2024-10-01
- 2024-07-30-預覽版
- 2024-04-30-預覽版
- 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-預覽版
- 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
- 2016-12-01
- 2016-06-01
Bicep 資源定義
保存庫/backupFabrics/protectionContainers 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
使用範例
Azure 快速入門範例
下列 Azure 快速入門範本 包含用於部署此資源類型的 Bicep 範例。
| Bicep 檔案 | Description |
|---|---|
| Azure 虛擬機中工作負載的 Azure 備份 | 此範本會建立復原服務保存庫和工作負載特定的備份原則。 向備份服務和設定保護註冊 VM |
| 使用復原服務備份現有的檔案共用 (每日) | 此範本會設定現有記憶體帳戶中現有檔案共享的保護。 它會根據 set 參數值,建立新的 或使用現有的復原服務保存庫和備份原則。 |
| 使用復原服務備份現有的檔案共用 (每小時) | 此範本會以每小時頻率設定現有記憶體帳戶中現有檔案共享的保護。 它會根據 set 參數值,建立新的 或使用現有的復原服務保存庫和備份原則。 |
| 使用 FSLogix 和 AD DS Join 建立 AVD | 此範本可讓您建立 Azure 虛擬桌面資源,例如主機集區、應用程式群組、工作區、FSLogix 儲存器帳戶、檔案共用、檔案共用、用於檔案共享的復原服務保存庫備份測試會話主機,其擴充功能與 Microsoft Entra ID join pr Active Directory 網域加入。 |
資源格式
若要建立 Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers@2026-05-31-preview' = {
parent: resourceSymbolicName
eTag: 'string'
location: 'string'
name: 'string'
properties: {
backupManagementType: 'string'
friendlyName: 'string'
healthStatus: 'string'
protectableObjectType: 'string'
registrationStatus: 'string'
containerType: 'string'
// For remaining properties, see ProtectionContainer objects
}
tags: {
{customized property}: 'string'
}
}
ProtectionContainer 物件
設定 containerType 屬性,以指定對象的類型。
針對 azureBackupServerContainer
{
canReRegister: bool
containerId: 'string'
containerType: 'AzureBackupServerContainer'
dpmAgentVersion: 'string'
dpmServers: [
'string'
]
extendedInfo: {
lastRefreshedAt: 'string'
}
protectedItemCount: int
protectionStatus: 'string'
upgradeAvailable: bool
}
針對 azureSqlContainer ,請使用:
{
containerType: 'AzureSqlContainer'
}
針對 sqlAGWorkLoadContainer
{
containerType: 'SQLAGWorkLoadContainer'
extendedInfo: {
hostServerName: 'string'
inquiryInfo: {
errorDetail: {}
inquiryDetails: [
{
inquiryValidation: {
errorDetail: {}
status: 'string'
}
itemCount: int
type: 'string'
}
]
status: 'string'
}
nodesList: [
{
errorDetail: {}
nodeName: 'string'
sourceResourceId: 'string'
status: 'string'
}
]
}
lastUpdatedTime: 'string'
operationType: 'string'
sourceResourceId: 'string'
workloadType: 'string'
}
針對 VMAppContainer,請使用:
{
containerType: 'VMAppContainer'
extendedInfo: {
hostServerName: 'string'
inquiryInfo: {
errorDetail: {}
inquiryDetails: [
{
inquiryValidation: {
errorDetail: {}
status: 'string'
}
itemCount: int
type: 'string'
}
]
status: 'string'
}
nodesList: [
{
errorDetail: {}
nodeName: 'string'
sourceResourceId: 'string'
status: 'string'
}
]
}
lastUpdatedTime: 'string'
operationType: 'string'
sourceResourceId: 'string'
workloadType: 'string'
}
針對 GenericContainer,請使用:
{
containerType: 'GenericContainer'
extendedInformation: {
containerIdentityInfo: {
aadTenantId: 'string'
audience: 'string'
servicePrincipalClientId: 'string'
uniqueName: 'string'
}
rawCertData: 'string'
serviceEndpoints: {
{customized property}: 'string'
}
}
fabricName: 'string'
}
針對 Microsoft.ClassicCompute/virtualMachines,請使用:
{
containerType: 'Microsoft.ClassicCompute/virtualMachines'
resourceGroup: 'string'
virtualMachineId: 'string'
virtualMachineVersion: 'string'
}
針對 Microsoft.Compute/virtualMachines,請使用:
{
containerType: 'Microsoft.Compute/virtualMachines'
resourceGroup: 'string'
virtualMachineId: 'string'
virtualMachineVersion: 'string'
}
針對 StorageContainer,請使用:
{
accessType: 'string'
acquireStorageAccountLock: 'string'
containerType: 'StorageContainer'
identityInfo: {
isSystemAssignedIdentity: bool
managedIdentityResourceId: 'string'
}
operationType: 'string'
protectedItemCount: int
resourceGroup: 'string'
sourceResourceId: 'string'
storageAccountVersion: 'string'
}
對於Windows,請使用:
{
agentVersion: 'string'
canReRegister: bool
containerHealthState: 'string'
containerId: int
containerType: 'Windows'
extendedInfo: {
backupItems: [
'string'
]
backupItemType: 'string'
lastBackupStatus: 'string'
lastRefreshedAt: 'string'
policyName: 'string'
}
mabContainerHealthDetails: [
{
code: int
message: 'string'
recommendations: [
'string'
]
title: 'string'
}
]
protectedItemCount: int
}
屬性值
Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers
| 名稱 | Description | Value |
|---|---|---|
| eTag | 選擇性 ETag。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 |
| 名字 | 資源名稱 | 字串 (必要) |
| 父代 | 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。 如需詳細資訊,請參閱 父資源外部的子資源。 |
資源的符號名稱:vaults/backupFabrics |
| 屬性 | ProtectionContainerResource 屬性 | ProtectionContainer (保護容器) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
AzureBackupServerContainer
| 名稱 | Description | Value |
|---|---|---|
| canReRegister | 指定容器是否可重新登錄。 | 布爾 (bool) |
| 容器識別碼 | 容器的標識碼。 | 字串 |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureBackupServerContainer' (必要) |
| dpmAgentVersion | 備份引擎代理程式版本 | 字串 |
| dpm伺服器 | 保護容器的BackupEngines清單 | string[] |
| 擴展資訊 | 容器的擴充資訊。 | DPMContainerExtendedInfo |
| protectedItemCount | BackupEngine 中的受保護項目數目 | int |
| protectionStatus | 容器的保護狀態。 | 字串 |
| upgrade可用 | 檢查是否有可用的升級 | 布爾 (bool) |
AzureIaaSClassicComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.ClassicCompute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureIaaSComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.Compute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureSqlagWorkloadContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'SQLAGWorkLoadContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureSqlContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureSqlContainer' (必要) |
AzureStorageContainer
| 名稱 | Description | Value |
|---|---|---|
| 訪問類型 | 無論是存取儲存帳戶是基於金鑰還是基於身份。 當 IdentityBased時, identityInfo 必須提供以識別使用管理身份存取儲存帳號。 |
'基於身份' '基於金鑰' |
| acquireStorageAccountLock | 是否要為此容器取得記憶體帳戶鎖定。 | '收購' “NotAcquire” |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'StorageContainer' (必要) |
| 身份資訊 | 存取儲存帳號所需的管理身份資訊。 | 身份資訊 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| protectedItemCount | 此容器中備份的項目數目。 | int |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| 源資源ID | 完整ARM URL。 | 字串 |
| storageAccountVersion | 記憶體帳戶版本。 | 字串 |
AzureVMAppContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'VMAppContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureWorkloadContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| hostServer名稱 | 在分散式容器的情況下,若是獨立主機和叢集名稱,則為主機名。 | 字串 |
| 詢問資訊 | 容器的查詢狀態。 | 查詢Info |
| nodesList (節點清單) | 分散式容器時節點的清單。 | 分散式節點資訊[] |
ContainerIdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| aadTenantId | 保護容器身分識別 - AAD 租使用者 | 字串 |
| 觀眾 | 保護容器身分識別 - 物件 | 字串 |
| servicePrincipalClientId 服務 | 保護容器身分識別 - AAD 服務主體 | 字串 |
| uniqueName | 容器的唯一名稱 | 字串 |
DistributedNodesInfo
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 節點名稱 | 分散式容器下節點的名稱。 | 字串 |
| 源資源ID | 節點的 ARM 資源識別碼 | 字串 |
| 狀態 | 此節點的狀態。 失敗 |成功 |
字串 |
DPMContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| lastRefreshedAt | DPMContainer 上次重新整理時間。 | 字串 |
ErrorDetailAutoGenerated 錯誤
| 名稱 | Description | Value |
|---|
GenericContainer (通用容器)
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'GenericContainer' (必要) |
| extendedInformation | 擴充資訊(未在清單容器 API 呼叫中傳回) | GenericContainerExtendedInfo |
| fabricName (織物名稱) | 容器網狀架構的名稱 | 字串 |
GenericContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| containerIdentityInfo | 容器身分識別資訊 | ContainerIdentityInfo |
| 原始證書數據 | 容器憑證的公鑰 | 字串 |
| serviceEndpoints | 容器的 Azure 備份服務端點 | GenericContainerExtendedInfoServiceEndpoints |
GenericContainerExtendedInfoServiceEndpoints
| 名稱 | Description | Value |
|---|
IdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| 是系統指派身份 | 區分受控識別是否為系統指派或使用者指派 | 布爾 (bool) |
| managedIdentityResourceId | 管理身份資源識別碼 可選:在系統指派的管理身份情況下,可能不需要 |
字串 |
詢問資訊
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 詢問細節 | 查詢詳細數據,其中將會有工作負載特定詳細數據。 例如 - 針對 SQL 和 Oracle,這將會包含不同的詳細數據。 |
WorkloadInquiryDetails[] |
| 狀態 | 此容器的查詢狀態,例如 進行中 |失敗 |成功 |
字串 |
詢價驗證
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 狀態 | 查詢驗證的狀態。 | 字串 |
MabContainer 容器
| 名稱 | Description | Value |
|---|---|---|
| agentVersion | 此容器的代理程式版本。 | 字串 |
| canReRegister | 容器可以再註冊一次。 | 布爾 (bool) |
| containerHealthState | mab 容器的健康情況狀態。 | 字串 |
| 容器識別碼 | ContainerID 代表容器。 | int |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
「Windows」(必填) |
| 擴展資訊 | 此容器的其他資訊 | MabContainerExtendedInfo |
| mabContainerHealthDetails | 此 mab 容器的健康情況詳細數據。 | MABContainerHealthDetails[] |
| protectedItemCount | 此容器中備份的項目數目。 | int |
MabContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| backupItems (備份專案) | 與此容器相關聯的備份項目清單。 | string[] |
| backupItemType | 與此容器相關聯的備份項目類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
| lastBackupStatus (上次備份狀態) | 此容器的最新備份狀態。 | 字串 |
| lastRefreshedAt | 重新整理此容器時的時間戳。 | 字串 |
| policyName | 與此容器相關聯的備份原則。 | 字串 |
MABContainerHealth詳細資訊
| 名稱 | Description | Value |
|---|---|---|
| 字碼 | 健康情況代碼 | int |
| 訊息 | 健康情況訊息 | 字串 |
| 建議 | 健康情況建議動作 | string[] |
| title | 健康情況標題 | 字串 |
ProtectionContainer (保護容器)
| 名稱 | Description | Value |
|---|---|---|
| backupManagementType | 容器的備份管理類型。 | “AzureBackupServer” “AzureIaasVM” “AzureSql” “AzureStorage” “AzureWorkload” '默認備份' “每分鐘” 'Invalid' “MAB” |
| containerType 容器類型 | 針對 azureBackupServerContainer 類型設定為 'AzureBackupServerContainer',。 針對 azureSqlContainer 類型 設定為 'AzureSqlContainer',。 針對 azureSqlagWorkloadContainerProtectionContainer類型 |
“AzureBackupServerContainer” “AzureSqlContainer” 'GenericContainer' (通用容器) “Microsoft.ClassicCompute/virtualMachines” “Microsoft.Compute/virtualMachines” “SQLAGWorkLoadContainer” 'StorageContainer' “VMAppContainer” 「Windows」(必填) |
| friendlyName | 容器的易記名稱。 | 字串 |
| 健康狀況 | 容器健全狀況的狀態。 | 字串 |
| protectableObjectType | 與此容器相關聯的可保護物件類型 | 字串 |
| registrationStatus | 使用復原服務保存庫註冊容器的狀態。 | 字串 |
ProtectionContainerResource標籤
| 名稱 | Description | Value |
|---|
WorkloadInquiryDetails
| 名稱 | Description | Value |
|---|---|---|
| inquiry驗證 | 查詢驗證,例如許可權和其他備份驗證。 | 查詢驗證 |
| 項計數 | 包含此容器內的可保護項目計數。 | int |
| 型別 | 工作負載的類型,例如 SQL、Oracle 等。 | 字串 |
ARM 樣本資源定義
保存庫/backupFabrics/protectionContainers 資源類型可以使用目標作業來部署:
使用範例
Azure 快速入門範本
下列 Azure 快速入門範本 部署此資源類型。
| Template | Description |
|---|---|
|
Azure 虛擬機中工作負載的 Azure 備份 |
此範本會建立復原服務保存庫和工作負載特定的備份原則。 向備份服務和設定保護註冊 VM |
|
使用復原服務備份現有的檔案共用 (每日) |
此範本會設定現有記憶體帳戶中現有檔案共享的保護。 它會根據 set 參數值,建立新的 或使用現有的復原服務保存庫和備份原則。 |
|
使用復原服務備份現有的檔案共用 (每小時) |
此範本會以每小時頻率設定現有記憶體帳戶中現有檔案共享的保護。 它會根據 set 參數值,建立新的 或使用現有的復原服務保存庫和備份原則。 |
|
使用 FSLogix 和 AD DS Join 建立 AVD |
此範本可讓您建立 Azure 虛擬桌面資源,例如主機集區、應用程式群組、工作區、FSLogix 儲存器帳戶、檔案共用、檔案共用、用於檔案共享的復原服務保存庫備份測試會話主機,其擴充功能與 Microsoft Entra ID join pr Active Directory 網域加入。 |
資源格式
若要建立 Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers",
"apiVersion": "2026-05-31-preview",
"name": "string",
"eTag": "string",
"location": "string",
"properties": {
"backupManagementType": "string",
"friendlyName": "string",
"healthStatus": "string",
"protectableObjectType": "string",
"registrationStatus": "string",
"containerType": "string"
// For remaining properties, see ProtectionContainer objects
},
"tags": {
"{customized property}": "string"
}
}
ProtectionContainer 物件
設定 containerType 屬性,以指定對象的類型。
針對 azureBackupServerContainer
{
"canReRegister": "bool",
"containerId": "string",
"containerType": "AzureBackupServerContainer",
"dpmAgentVersion": "string",
"dpmServers": [ "string" ],
"extendedInfo": {
"lastRefreshedAt": "string"
},
"protectedItemCount": "int",
"protectionStatus": "string",
"upgradeAvailable": "bool"
}
針對 azureSqlContainer ,請使用:
{
"containerType": "AzureSqlContainer"
}
針對 sqlAGWorkLoadContainer
{
"containerType": "SQLAGWorkLoadContainer",
"extendedInfo": {
"hostServerName": "string",
"inquiryInfo": {
"errorDetail": {
},
"inquiryDetails": [
{
"inquiryValidation": {
"errorDetail": {
},
"status": "string"
},
"itemCount": "int",
"type": "string"
}
],
"status": "string"
},
"nodesList": [
{
"errorDetail": {
},
"nodeName": "string",
"sourceResourceId": "string",
"status": "string"
}
]
},
"lastUpdatedTime": "string",
"operationType": "string",
"sourceResourceId": "string",
"workloadType": "string"
}
針對 VMAppContainer,請使用:
{
"containerType": "VMAppContainer",
"extendedInfo": {
"hostServerName": "string",
"inquiryInfo": {
"errorDetail": {
},
"inquiryDetails": [
{
"inquiryValidation": {
"errorDetail": {
},
"status": "string"
},
"itemCount": "int",
"type": "string"
}
],
"status": "string"
},
"nodesList": [
{
"errorDetail": {
},
"nodeName": "string",
"sourceResourceId": "string",
"status": "string"
}
]
},
"lastUpdatedTime": "string",
"operationType": "string",
"sourceResourceId": "string",
"workloadType": "string"
}
針對 GenericContainer,請使用:
{
"containerType": "GenericContainer",
"extendedInformation": {
"containerIdentityInfo": {
"aadTenantId": "string",
"audience": "string",
"servicePrincipalClientId": "string",
"uniqueName": "string"
},
"rawCertData": "string",
"serviceEndpoints": {
"{customized property}": "string"
}
},
"fabricName": "string"
}
針對 Microsoft.ClassicCompute/virtualMachines,請使用:
{
"containerType": "Microsoft.ClassicCompute/virtualMachines",
"resourceGroup": "string",
"virtualMachineId": "string",
"virtualMachineVersion": "string"
}
針對 Microsoft.Compute/virtualMachines,請使用:
{
"containerType": "Microsoft.Compute/virtualMachines",
"resourceGroup": "string",
"virtualMachineId": "string",
"virtualMachineVersion": "string"
}
針對 StorageContainer,請使用:
{
"accessType": "string",
"acquireStorageAccountLock": "string",
"containerType": "StorageContainer",
"identityInfo": {
"isSystemAssignedIdentity": "bool",
"managedIdentityResourceId": "string"
},
"operationType": "string",
"protectedItemCount": "int",
"resourceGroup": "string",
"sourceResourceId": "string",
"storageAccountVersion": "string"
}
對於Windows,請使用:
{
"agentVersion": "string",
"canReRegister": "bool",
"containerHealthState": "string",
"containerId": "int",
"containerType": "Windows",
"extendedInfo": {
"backupItems": [ "string" ],
"backupItemType": "string",
"lastBackupStatus": "string",
"lastRefreshedAt": "string",
"policyName": "string"
},
"mabContainerHealthDetails": [
{
"code": "int",
"message": "string",
"recommendations": [ "string" ],
"title": "string"
}
],
"protectedItemCount": "int"
}
屬性值
Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers
| 名稱 | Description | Value |
|---|---|---|
| apiVersion | API 版本 | 『2026-05-31預覽』 |
| eTag | 選擇性 ETag。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 |
| 名字 | 資源名稱 | 字串 (必要) |
| 屬性 | ProtectionContainerResource 屬性 | ProtectionContainer (保護容器) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 | 資源類型 | “Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers” |
AzureBackupServerContainer
| 名稱 | Description | Value |
|---|---|---|
| canReRegister | 指定容器是否可重新登錄。 | 布爾 (bool) |
| 容器識別碼 | 容器的標識碼。 | 字串 |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureBackupServerContainer' (必要) |
| dpmAgentVersion | 備份引擎代理程式版本 | 字串 |
| dpm伺服器 | 保護容器的BackupEngines清單 | string[] |
| 擴展資訊 | 容器的擴充資訊。 | DPMContainerExtendedInfo |
| protectedItemCount | BackupEngine 中的受保護項目數目 | int |
| protectionStatus | 容器的保護狀態。 | 字串 |
| upgrade可用 | 檢查是否有可用的升級 | 布爾 (bool) |
AzureIaaSClassicComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.ClassicCompute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureIaaSComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.Compute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureSqlagWorkloadContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'SQLAGWorkLoadContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureSqlContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureSqlContainer' (必要) |
AzureStorageContainer
| 名稱 | Description | Value |
|---|---|---|
| 訪問類型 | 無論是存取儲存帳戶是基於金鑰還是基於身份。 當 IdentityBased時, identityInfo 必須提供以識別使用管理身份存取儲存帳號。 |
'基於身份' '基於金鑰' |
| acquireStorageAccountLock | 是否要為此容器取得記憶體帳戶鎖定。 | '收購' “NotAcquire” |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'StorageContainer' (必要) |
| 身份資訊 | 存取儲存帳號所需的管理身份資訊。 | 身份資訊 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| protectedItemCount | 此容器中備份的項目數目。 | int |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| 源資源ID | 完整ARM URL。 | 字串 |
| storageAccountVersion | 記憶體帳戶版本。 | 字串 |
AzureVMAppContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'VMAppContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureWorkloadContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| hostServer名稱 | 在分散式容器的情況下,若是獨立主機和叢集名稱,則為主機名。 | 字串 |
| 詢問資訊 | 容器的查詢狀態。 | 查詢Info |
| nodesList (節點清單) | 分散式容器時節點的清單。 | 分散式節點資訊[] |
ContainerIdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| aadTenantId | 保護容器身分識別 - AAD 租使用者 | 字串 |
| 觀眾 | 保護容器身分識別 - 物件 | 字串 |
| servicePrincipalClientId 服務 | 保護容器身分識別 - AAD 服務主體 | 字串 |
| uniqueName | 容器的唯一名稱 | 字串 |
DistributedNodesInfo
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 節點名稱 | 分散式容器下節點的名稱。 | 字串 |
| 源資源ID | 節點的 ARM 資源識別碼 | 字串 |
| 狀態 | 此節點的狀態。 失敗 |成功 |
字串 |
DPMContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| lastRefreshedAt | DPMContainer 上次重新整理時間。 | 字串 |
ErrorDetailAutoGenerated 錯誤
| 名稱 | Description | Value |
|---|
GenericContainer (通用容器)
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'GenericContainer' (必要) |
| extendedInformation | 擴充資訊(未在清單容器 API 呼叫中傳回) | GenericContainerExtendedInfo |
| fabricName (織物名稱) | 容器網狀架構的名稱 | 字串 |
GenericContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| containerIdentityInfo | 容器身分識別資訊 | ContainerIdentityInfo |
| 原始證書數據 | 容器憑證的公鑰 | 字串 |
| serviceEndpoints | 容器的 Azure 備份服務端點 | GenericContainerExtendedInfoServiceEndpoints |
GenericContainerExtendedInfoServiceEndpoints
| 名稱 | Description | Value |
|---|
IdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| 是系統指派身份 | 區分受控識別是否為系統指派或使用者指派 | 布爾 (bool) |
| managedIdentityResourceId | 管理身份資源識別碼 可選:在系統指派的管理身份情況下,可能不需要 |
字串 |
詢問資訊
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 詢問細節 | 查詢詳細數據,其中將會有工作負載特定詳細數據。 例如 - 針對 SQL 和 Oracle,這將會包含不同的詳細數據。 |
WorkloadInquiryDetails[] |
| 狀態 | 此容器的查詢狀態,例如 進行中 |失敗 |成功 |
字串 |
詢價驗證
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 狀態 | 查詢驗證的狀態。 | 字串 |
MabContainer 容器
| 名稱 | Description | Value |
|---|---|---|
| agentVersion | 此容器的代理程式版本。 | 字串 |
| canReRegister | 容器可以再註冊一次。 | 布爾 (bool) |
| containerHealthState | mab 容器的健康情況狀態。 | 字串 |
| 容器識別碼 | ContainerID 代表容器。 | int |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
「Windows」(必填) |
| 擴展資訊 | 此容器的其他資訊 | MabContainerExtendedInfo |
| mabContainerHealthDetails | 此 mab 容器的健康情況詳細數據。 | MABContainerHealthDetails[] |
| protectedItemCount | 此容器中備份的項目數目。 | int |
MabContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| backupItems (備份專案) | 與此容器相關聯的備份項目清單。 | string[] |
| backupItemType | 與此容器相關聯的備份項目類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
| lastBackupStatus (上次備份狀態) | 此容器的最新備份狀態。 | 字串 |
| lastRefreshedAt | 重新整理此容器時的時間戳。 | 字串 |
| policyName | 與此容器相關聯的備份原則。 | 字串 |
MABContainerHealth詳細資訊
| 名稱 | Description | Value |
|---|---|---|
| 字碼 | 健康情況代碼 | int |
| 訊息 | 健康情況訊息 | 字串 |
| 建議 | 健康情況建議動作 | string[] |
| title | 健康情況標題 | 字串 |
ProtectionContainer (保護容器)
| 名稱 | Description | Value |
|---|---|---|
| backupManagementType | 容器的備份管理類型。 | “AzureBackupServer” “AzureIaasVM” “AzureSql” “AzureStorage” “AzureWorkload” '默認備份' “每分鐘” 'Invalid' “MAB” |
| containerType 容器類型 | 針對 azureBackupServerContainer 類型設定為 'AzureBackupServerContainer',。 針對 azureSqlContainer 類型 設定為 'AzureSqlContainer',。 針對 azureSqlagWorkloadContainerProtectionContainer類型 |
“AzureBackupServerContainer” “AzureSqlContainer” 'GenericContainer' (通用容器) “Microsoft.ClassicCompute/virtualMachines” “Microsoft.Compute/virtualMachines” “SQLAGWorkLoadContainer” 'StorageContainer' “VMAppContainer” 「Windows」(必填) |
| friendlyName | 容器的易記名稱。 | 字串 |
| 健康狀況 | 容器健全狀況的狀態。 | 字串 |
| protectableObjectType | 與此容器相關聯的可保護物件類型 | 字串 |
| registrationStatus | 使用復原服務保存庫註冊容器的狀態。 | 字串 |
ProtectionContainerResource標籤
| 名稱 | Description | Value |
|---|
WorkloadInquiryDetails
| 名稱 | Description | Value |
|---|---|---|
| inquiry驗證 | 查詢驗證,例如許可權和其他備份驗證。 | 查詢驗證 |
| 項計數 | 包含此容器內的可保護項目計數。 | int |
| 型別 | 工作負載的類型,例如 SQL、Oracle 等。 | 字串 |
Terraform (AzAPI 提供者) 資源定義
保存庫/backupFabrics/protectionContainers 資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
使用範例
Terraform 範例
在 Azure 復原保存庫中部署儲存體帳戶容器的基本範例。
terraform {
required_providers {
azapi = {
source = "Azure/azapi"
}
}
}
provider "azapi" {
skip_provider_registration = false
}
variable "resource_name" {
type = string
default = "acctest0001"
}
variable "location" {
type = string
default = "westus"
}
locals {
# Storage Account name must be 3-24 lowercase alphanumeric
sa_name = substr(join("", regexall("[a-z0-9]", lower(var.resource_name))), 0, 24)
vault_name = "${var.resource_name}-vault"
}
resource "azapi_resource" "resourceGroup" {
type = "Microsoft.Resources/resourceGroups@2020-06-01"
name = var.resource_name
location = var.location
}
resource "azapi_resource" "vault" {
type = "Microsoft.RecoveryServices/vaults@2024-01-01"
parent_id = azapi_resource.resourceGroup.id
name = local.vault_name
location = var.location
body = {
properties = {
publicNetworkAccess = "Enabled"
redundancySettings = {
crossRegionRestore = "Disabled"
standardTierStorageRedundancy = "GeoRedundant"
}
}
sku = {
name = "Standard"
}
}
}
resource "azapi_resource" "storageAccount" {
type = "Microsoft.Storage/storageAccounts@2023-05-01"
parent_id = azapi_resource.resourceGroup.id
name = local.sa_name
location = var.location
body = {
kind = "StorageV2"
properties = {
accessTier = "Hot"
allowBlobPublicAccess = true
allowCrossTenantReplication = false
allowSharedKeyAccess = true
defaultToOAuthAuthentication = false
dnsEndpointType = "Standard"
encryption = {
keySource = "Microsoft.Storage"
services = {
queue = {
keyType = "Service"
}
table = {
keyType = "Service"
}
}
}
isHnsEnabled = false
isLocalUserEnabled = true
isNfsV3Enabled = false
isSftpEnabled = false
minimumTlsVersion = "TLS1_2"
networkAcls = {
bypass = "AzureServices"
defaultAction = "Allow"
ipRules = []
resourceAccessRules = []
virtualNetworkRules = []
}
publicNetworkAccess = "Enabled"
supportsHttpsTrafficOnly = true
}
sku = {
name = "Standard_LRS"
}
}
}
resource "azapi_resource" "protectionContainer" {
type = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers@2023-02-01"
parent_id = "${azapi_resource.vault.id}/backupFabrics/Azure"
# Format: "StorageContainer;storage;<resourceGroupName>;<storageAccountName>"
name = "StorageContainer;storage;${var.resource_name};${local.sa_name}"
body = {
properties = {
backupManagementType = "AzureStorage"
containerType = "StorageContainer"
friendlyName = local.sa_name
sourceResourceId = azapi_resource.storageAccount.id
}
}
}
資源格式
若要建立 Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers@2026-05-31-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
eTag = "string"
properties = {
backupManagementType = "string"
friendlyName = "string"
healthStatus = "string"
protectableObjectType = "string"
registrationStatus = "string"
containerType = "string"
// For remaining properties, see ProtectionContainer objects
}
}
}
ProtectionContainer 物件
設定 containerType 屬性,以指定對象的類型。
針對 azureBackupServerContainer
{
canReRegister = bool
containerId = "string"
containerType = "AzureBackupServerContainer"
dpmAgentVersion = "string"
dpmServers = [
"string"
]
extendedInfo = {
lastRefreshedAt = "string"
}
protectedItemCount = int
protectionStatus = "string"
upgradeAvailable = bool
}
針對 azureSqlContainer ,請使用:
{
containerType = "AzureSqlContainer"
}
針對 sqlAGWorkLoadContainer
{
containerType = "SQLAGWorkLoadContainer"
extendedInfo = {
hostServerName = "string"
inquiryInfo = {
errorDetail = {
}
inquiryDetails = [
{
inquiryValidation = {
errorDetail = {
}
status = "string"
}
itemCount = int
type = "string"
}
]
status = "string"
}
nodesList = [
{
errorDetail = {
}
nodeName = "string"
sourceResourceId = "string"
status = "string"
}
]
}
lastUpdatedTime = "string"
operationType = "string"
sourceResourceId = "string"
workloadType = "string"
}
針對 VMAppContainer,請使用:
{
containerType = "VMAppContainer"
extendedInfo = {
hostServerName = "string"
inquiryInfo = {
errorDetail = {
}
inquiryDetails = [
{
inquiryValidation = {
errorDetail = {
}
status = "string"
}
itemCount = int
type = "string"
}
]
status = "string"
}
nodesList = [
{
errorDetail = {
}
nodeName = "string"
sourceResourceId = "string"
status = "string"
}
]
}
lastUpdatedTime = "string"
operationType = "string"
sourceResourceId = "string"
workloadType = "string"
}
針對 GenericContainer,請使用:
{
containerType = "GenericContainer"
extendedInformation = {
containerIdentityInfo = {
aadTenantId = "string"
audience = "string"
servicePrincipalClientId = "string"
uniqueName = "string"
}
rawCertData = "string"
serviceEndpoints = {
{customized property} = "string"
}
}
fabricName = "string"
}
針對 Microsoft.ClassicCompute/virtualMachines,請使用:
{
containerType = "Microsoft.ClassicCompute/virtualMachines"
resourceGroup = "string"
virtualMachineId = "string"
virtualMachineVersion = "string"
}
針對 Microsoft.Compute/virtualMachines,請使用:
{
containerType = "Microsoft.Compute/virtualMachines"
resourceGroup = "string"
virtualMachineId = "string"
virtualMachineVersion = "string"
}
針對 StorageContainer,請使用:
{
accessType = "string"
acquireStorageAccountLock = "string"
containerType = "StorageContainer"
identityInfo = {
isSystemAssignedIdentity = bool
managedIdentityResourceId = "string"
}
operationType = "string"
protectedItemCount = int
resourceGroup = "string"
sourceResourceId = "string"
storageAccountVersion = "string"
}
對於Windows,請使用:
{
agentVersion = "string"
canReRegister = bool
containerHealthState = "string"
containerId = int
containerType = "Windows"
extendedInfo = {
backupItems = [
"string"
]
backupItemType = "string"
lastBackupStatus = "string"
lastRefreshedAt = "string"
policyName = "string"
}
mabContainerHealthDetails = [
{
code = int
message = "string"
recommendations = [
"string"
]
title = "string"
}
]
protectedItemCount = int
}
屬性值
Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers
| 名稱 | Description | Value |
|---|---|---|
| eTag | 選擇性 ETag。 | 字串 |
| 位置 | 資源所在的地理位置 | 字串 |
| 名字 | 資源名稱 | 字串 (必要) |
| parent_id | 此資源為父系之資源的標識碼。 | 資源類型的 ID:vaults/backupFabrics |
| 屬性 | ProtectionContainerResource 屬性 | ProtectionContainer (保護容器) |
| tags | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。RecoveryServices/vaults/backupFabrics/protectionContainers@2026-05-31-preview” |
AzureBackupServerContainer
| 名稱 | Description | Value |
|---|---|---|
| canReRegister | 指定容器是否可重新登錄。 | 布爾 (bool) |
| 容器識別碼 | 容器的標識碼。 | 字串 |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureBackupServerContainer' (必要) |
| dpmAgentVersion | 備份引擎代理程式版本 | 字串 |
| dpm伺服器 | 保護容器的BackupEngines清單 | string[] |
| 擴展資訊 | 容器的擴充資訊。 | DPMContainerExtendedInfo |
| protectedItemCount | BackupEngine 中的受保護項目數目 | int |
| protectionStatus | 容器的保護狀態。 | 字串 |
| upgrade可用 | 檢查是否有可用的升級 | 布爾 (bool) |
AzureIaaSClassicComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.ClassicCompute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureIaaSComputeVMContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'Microsoft.Compute/virtualMachines' (必要) |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| virtualMachineId | 此 Azure IaaS VM 容器所代表之虛擬機的完整 ARM URL。 | 字串 |
| virtualMachineVersion 版本 | 指定容器代表傳統或 Azure Resource Manager VM。 | 字串 |
AzureSqlagWorkloadContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'SQLAGWorkLoadContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureSqlContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'AzureSqlContainer' (必要) |
AzureStorageContainer
| 名稱 | Description | Value |
|---|---|---|
| 訪問類型 | 無論是存取儲存帳戶是基於金鑰還是基於身份。 當 IdentityBased時, identityInfo 必須提供以識別使用管理身份存取儲存帳號。 |
'基於身份' '基於金鑰' |
| acquireStorageAccountLock | 是否要為此容器取得記憶體帳戶鎖定。 | '收購' “NotAcquire” |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'StorageContainer' (必要) |
| 身份資訊 | 存取儲存帳號所需的管理身份資訊。 | 身份資訊 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| protectedItemCount | 此容器中備份的項目數目。 | int |
| resourceGroup | 復原服務保存庫的資源組名。 | 字串 |
| 源資源ID | 完整ARM URL。 | 字串 |
| storageAccountVersion | 記憶體帳戶版本。 | 字串 |
AzureVMAppContainerProtectionContainer
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'VMAppContainer' (必要) |
| 擴展資訊 | 工作負載容器的其他詳細數據。 | AzureWorkloadContainerExtendedInfo |
| 最後更新時間 | 更新此容器時的時間戳。 | 字串 |
| operationType | Re-Do 作業 | 'Invalid' '註冊' “補水” “重新註冊” |
| 源資源ID | 此 Azure 工作負載容器所代表之虛擬機的 ARM 識別碼 | 字串 |
| workloadType | 傳送註冊的工作負載類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
AzureWorkloadContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| hostServer名稱 | 在分散式容器的情況下,若是獨立主機和叢集名稱,則為主機名。 | 字串 |
| 詢問資訊 | 容器的查詢狀態。 | 查詢Info |
| nodesList (節點清單) | 分散式容器時節點的清單。 | 分散式節點資訊[] |
ContainerIdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| aadTenantId | 保護容器身分識別 - AAD 租使用者 | 字串 |
| 觀眾 | 保護容器身分識別 - 物件 | 字串 |
| servicePrincipalClientId 服務 | 保護容器身分識別 - AAD 服務主體 | 字串 |
| uniqueName | 容器的唯一名稱 | 字串 |
DistributedNodesInfo
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 節點名稱 | 分散式容器下節點的名稱。 | 字串 |
| 源資源ID | 節點的 ARM 資源識別碼 | 字串 |
| 狀態 | 此節點的狀態。 失敗 |成功 |
字串 |
DPMContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| lastRefreshedAt | DPMContainer 上次重新整理時間。 | 字串 |
ErrorDetailAutoGenerated 錯誤
| 名稱 | Description | Value |
|---|
GenericContainer (通用容器)
| 名稱 | Description | Value |
|---|---|---|
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
'GenericContainer' (必要) |
| extendedInformation | 擴充資訊(未在清單容器 API 呼叫中傳回) | GenericContainerExtendedInfo |
| fabricName (織物名稱) | 容器網狀架構的名稱 | 字串 |
GenericContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| containerIdentityInfo | 容器身分識別資訊 | ContainerIdentityInfo |
| 原始證書數據 | 容器憑證的公鑰 | 字串 |
| serviceEndpoints | 容器的 Azure 備份服務端點 | GenericContainerExtendedInfoServiceEndpoints |
GenericContainerExtendedInfoServiceEndpoints
| 名稱 | Description | Value |
|---|
IdentityInfo
| 名稱 | Description | Value |
|---|---|---|
| 是系統指派身份 | 區分受控識別是否為系統指派或使用者指派 | 布爾 (bool) |
| managedIdentityResourceId | 管理身份資源識別碼 可選:在系統指派的管理身份情況下,可能不需要 |
字串 |
詢問資訊
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 詢問細節 | 查詢詳細數據,其中將會有工作負載特定詳細數據。 例如 - 針對 SQL 和 Oracle,這將會包含不同的詳細數據。 |
WorkloadInquiryDetails[] |
| 狀態 | 此容器的查詢狀態,例如 進行中 |失敗 |成功 |
字串 |
詢價驗證
| 名稱 | Description | Value |
|---|---|---|
| errorDetail 錯誤 | 如果狀態為非成功,則錯誤詳細數據。 | ErrorDetail自動產生 |
| 狀態 | 查詢驗證的狀態。 | 字串 |
MabContainer 容器
| 名稱 | Description | Value |
|---|---|---|
| agentVersion | 此容器的代理程式版本。 | 字串 |
| canReRegister | 容器可以再註冊一次。 | 布爾 (bool) |
| containerHealthState | mab 容器的健康情況狀態。 | 字串 |
| 容器識別碼 | ContainerID 代表容器。 | int |
| containerType 容器類型 | 容器的類型。 此屬性的值:1。 計算 Azure VM Microsoft.Compute/virtualMachines 2。 傳統計算 Azure VM Microsoft.ClassicCompute/virtualMachines 3。 Windows 機器(如 MAB、DPM 等) 是 視窗 4. Azure SQL 實例是 AzureSqlContainer。 5. 記憶體容器是 StorageContainer。 6. Azure 工作負載 備份為 VMAppContainer |
「Windows」(必填) |
| 擴展資訊 | 此容器的其他資訊 | MabContainerExtendedInfo |
| mabContainerHealthDetails | 此 mab 容器的健康情況詳細數據。 | MABContainerHealthDetails[] |
| protectedItemCount | 此容器中備份的項目數目。 | int |
MabContainerExtendedInfo
| 名稱 | Description | Value |
|---|---|---|
| backupItems (備份專案) | 與此容器相關聯的備份項目清單。 | string[] |
| backupItemType | 與此容器相關聯的備份項目類型。 | 'AzureFileShare' 'AzureSqlDb' 'Client' 「Exchange」 'FileFolder' 'GenericDataSource' 'Invalid' 'SAPAseDatabase' 'SAPHanaDatabase' 'SAPHanaDBInstance' 'Sharepoint' 'SQLDataBase' 'SQLDB' 'SystemState' 'VM' 'VMwareVM' |
| lastBackupStatus (上次備份狀態) | 此容器的最新備份狀態。 | 字串 |
| lastRefreshedAt | 重新整理此容器時的時間戳。 | 字串 |
| policyName | 與此容器相關聯的備份原則。 | 字串 |
MABContainerHealth詳細資訊
| 名稱 | Description | Value |
|---|---|---|
| 字碼 | 健康情況代碼 | int |
| 訊息 | 健康情況訊息 | 字串 |
| 建議 | 健康情況建議動作 | string[] |
| title | 健康情況標題 | 字串 |
ProtectionContainer (保護容器)
| 名稱 | Description | Value |
|---|---|---|
| backupManagementType | 容器的備份管理類型。 | “AzureBackupServer” “AzureIaasVM” “AzureSql” “AzureStorage” “AzureWorkload” '默認備份' “每分鐘” 'Invalid' “MAB” |
| containerType 容器類型 | 針對 azureBackupServerContainer 類型設定為 'AzureBackupServerContainer',。 針對 azureSqlContainer 類型 設定為 'AzureSqlContainer',。 針對 azureSqlagWorkloadContainerProtectionContainer類型 |
“AzureBackupServerContainer” “AzureSqlContainer” 'GenericContainer' (通用容器) “Microsoft.ClassicCompute/virtualMachines” “Microsoft.Compute/virtualMachines” “SQLAGWorkLoadContainer” 'StorageContainer' “VMAppContainer” 「Windows」(必填) |
| friendlyName | 容器的易記名稱。 | 字串 |
| 健康狀況 | 容器健全狀況的狀態。 | 字串 |
| protectableObjectType | 與此容器相關聯的可保護物件類型 | 字串 |
| registrationStatus | 使用復原服務保存庫註冊容器的狀態。 | 字串 |
ProtectionContainerResource標籤
| 名稱 | Description | Value |
|---|
WorkloadInquiryDetails
| 名稱 | Description | Value |
|---|---|---|
| inquiry驗證 | 查詢驗證,例如許可權和其他備份驗證。 | 查詢驗證 |
| 項計數 | 包含此容器內的可保護項目計數。 | int |
| 型別 | 工作負載的類型,例如 SQL、Oracle 等。 | 字串 |