PreValidateEnableBackupContent 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 PreValidateEnableBackupContent
type PreValidateEnableBackupContent = class
Public Class PreValidateEnableBackupContent
Inheritance
PreValidateEnableBackupContent

Constructors

PreValidateEnableBackupContent()

Initializes a new instance of PreValidateEnableBackupContent.

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.

Applies to