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

ProtectionIntent interface

Base class for backup ProtectionIntent.

Properties

backupManagementType

Type of backup management for the backed up item.

itemId

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

policyId

ID of the backup policy with which this item is backed up.

protectionIntentItemType

Polymorphic discriminator, which specifies the different types this object can be

protectionState

Backup state of this backup item.

sourceResourceId

ARM ID of the resource to be backed up.

Property Details

backupManagementType

Type of backup management for the backed up item.

backupManagementType?: string

Property Value

string

itemId

ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId

itemId?: string

Property Value

string

policyId

ID of the backup policy with which this item is backed up.

policyId?: string

Property Value

string

protectionIntentItemType

Polymorphic discriminator, which specifies the different types this object can be

protectionIntentItemType: "RecoveryServiceVaultItem" | "AzureWorkloadAutoProtectionIntent" | "AzureWorkloadSQLAutoProtectionIntent" | "AzureResourceItem" | "AzureWorkloadContainerAutoProtectionIntent"

Property Value

"RecoveryServiceVaultItem" | "AzureWorkloadAutoProtectionIntent" | "AzureWorkloadSQLAutoProtectionIntent" | "AzureResourceItem" | "AzureWorkloadContainerAutoProtectionIntent"

protectionState

Backup state of this backup item.

protectionState?: string

Property Value

string

sourceResourceId

ARM ID of the resource to be backed up.

sourceResourceId?: string

Property Value

string