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

  1. Vault capacity

  2. VM is already protected

  3. Any VM related configuration passed in properties.

Constructor

PreValidateEnableBackupRequest()

Variables

Name Description
resourceType
Union[str, <xref:"DataSourceType">]

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
str

ARM Virtual Machine Id.

vaultId
str

ARM id of the Recovery Services Vault.

properties
str

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