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