Partager via


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

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.

Properties

properties

Configuration of VM if any needs to be validated like OS type etc

resourceId

ARM Virtual Machine Id

resourceType

ProtectedItem Type- VM, SqlDataBase, AzureFileShare etc

vaultId

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