PreValidateEnableBackupRequest Class
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.
Constructor
PreValidateEnableBackupRequest()
Variables
| Name | Description |
|---|---|
|
resourceType
|
ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc. Known values are: "Invalid", "VM", "FileFolder", "AzureSqlDb", "SQLDB", "Exchange", "Sharepoint", "VMwareVM", "SystemState", "Client", "GenericDataSource", "SQLDataBase", "AzureFileShare", "SAPHanaDatabase", "SAPAseDatabase", and "SAPHanaDBInstance". |
|
resourceId
|
ARM Virtual Machine Id. |
|
vaultId
|
ARM id of the Recovery Services Vault. |
|
properties
|
Configuration of VM if any needs to be validated like OS type etc. |
Attributes
properties
Configuration of VM if any needs to be validated like OS type etc.
properties: str
resourceId
ARM Virtual Machine Id.
resourceId: str
resourceType
"Invalid", "VM", "FileFolder", "AzureSqlDb", "SQLDB", "Exchange", "Sharepoint", "VMwareVM", "SystemState", "Client", "GenericDataSource", "SQLDataBase", "AzureFileShare", "SAPHanaDatabase", "SAPAseDatabase", and "SAPHanaDBInstance".
resourceType: str | DataSourceType
vaultId
ARM id of the Recovery Services Vault.
vaultId: str