你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PreValidateEnableBackupRequest interface
Contract to validate if backup can be enabled on the given resource in a given vault and given configuration. It will validate followings
- Vault capacity
- VM is already protected
- Any VM related configuration passed in properties.
Properties
properties | Configuration of VM if any needs to be validated like OS type etc |
resource |
ARM Virtual Machine Id |
resource |
ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc |
vault |
ARM id of the Recovery Services Vault |
Property Details
properties
Configuration of VM if any needs to be validated like OS type etc
properties?: string
Property Value
string
resourceId
ARM Virtual Machine Id
resourceId?: string
Property Value
string
resourceType
ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc
resourceType?: string
Property Value
string
vaultId
ARM id of the Recovery Services Vault
vaultId?: string
Property Value
string