你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProtectionIntent 类

定义

backup ProtectionIntent 的基类。

public class ProtectionIntent
type ProtectionIntent = class
Public Class ProtectionIntent
继承
ProtectionIntent
派生

构造函数

ProtectionIntent()

初始化 ProtectionIntent 类的新实例。

ProtectionIntent(String, String, String, String, String)

初始化 ProtectionIntent 类的新实例。

属性

BackupManagementType

获取或设置备份项的备份管理类型。 可能的值包括:“Invalid”、“AzureIaasVM”、“MAB”、“DPM”、“AzureBackupServer”、“AzureSql”、“AzureStorage”、“AzureWorkload”、“DefaultBackup”

ItemId

获取或设置受保护项的 ID,如果是 Azure Vm,则为 ProtectedItemId

PolicyId

获取或设置用于备份此项的备份策略的 ID。

ProtectionState

获取或设置此备份项的备份状态。 可能的值包括:“Invalid”、“NotProtected”、“Protecting”、“Protected”、“ProtectionFailed”

SourceResourceId

获取或设置要备份的资源的 ARM ID。

适用于