PreValidateEnableBackupRequest Class

Definition

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.
public class PreValidateEnableBackupRequest
type PreValidateEnableBackupRequest = class
Public Class PreValidateEnableBackupRequest
Inheritance
System.Object
PreValidateEnableBackupRequest

Constructors

PreValidateEnableBackupRequest()

Initializes a new instance of the PreValidateEnableBackupRequest class.

PreValidateEnableBackupRequest(String, String, String, String)

Initializes a new instance of the PreValidateEnableBackupRequest class.

Properties

Properties

Gets or sets configuration of VM if any needs to be validated like OS type etc

ResourceId

Gets or sets ARM Virtual Machine Id

ResourceType

Gets or sets protectedItem Type- VM, SqlDataBase, AzureFileShare etc. Possible values include: 'Invalid', 'VM', 'FileFolder', 'AzureSqlDb', 'SQLDB', 'Exchange', 'Sharepoint', 'VMwareVM', 'SystemState', 'Client', 'GenericDataSource', 'SQLDataBase', 'AzureFileShare', 'SAPHanaDatabase', 'SAPAseDatabase'

VaultId

Gets or sets ARM id of the Recovery Services Vault

Applies to