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.
C#
public class PreValidateEnableBackupContent
Inheritance
PreValidateEnableBackupContent

Constructors

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

Táirge Leaganacha
Azure SDK for .NET Latest