ProtectionIntentOperationsExtensions.Validate(IProtectionIntentOperations, String, PreValidateEnableBackupRequest) Method

Definition

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.
public static Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse Validate (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest parameters);
static member Validate : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupRequest -> Microsoft.Azure.Management.RecoveryServices.Backup.Models.PreValidateEnableBackupResponse
<Extension()>
Public Function Validate (operations As IProtectionIntentOperations, azureRegion As String, parameters As PreValidateEnableBackupRequest) As PreValidateEnableBackupResponse

Parameters

operations
IProtectionIntentOperations

The operations group for this extension method.

azureRegion
System.String

Azure region to hit Api

parameters
PreValidateEnableBackupRequest

Enable backup validation request on Virtual Machine

Returns

PreValidateEnableBackupResponse

Applies to