Partager via


ProtectionIntentOperationsExtensions Classe

Définition

Méthodes d’extension pour ProtectionIntentOperations.

public static class ProtectionIntentOperationsExtensions
type ProtectionIntentOperationsExtensions = class
Public Module ProtectionIntentOperationsExtensions
Héritage
ProtectionIntentOperationsExtensions

Méthodes

CreateOrUpdate(IProtectionIntentOperations, String, String, String, String, ProtectionIntentResource)

Créer une intention pour l’activation de la sauvegarde d’un élément. Il s’agit d’une opération synchrone.

CreateOrUpdateAsync(IProtectionIntentOperations, String, String, String, String, ProtectionIntentResource, CancellationToken)

Créer une intention pour l’activation de la sauvegarde d’un élément. Il s’agit d’une opération synchrone.

Delete(IProtectionIntentOperations, String, String, String, String)

Utilisé pour supprimer l’intention d’un élément

DeleteAsync(IProtectionIntentOperations, String, String, String, String, CancellationToken)

Utilisé pour supprimer l’intention d’un élément

Get(IProtectionIntentOperations, String, String, String, String)

Fournit les détails de l’élément d’intention de protection. S'agissant d'une opération asynchrone, Pour connaître les status de l’opération, appelez l’API GetItemOperationResult.

GetAsync(IProtectionIntentOperations, String, String, String, String, CancellationToken)

Fournit les détails de l’élément d’intention de protection. S'agissant d'une opération asynchrone, Pour connaître les status de l’opération, appelez l’API GetItemOperationResult.

Validate(IProtectionIntentOperations, String, PreValidateEnableBackupRequest)

Il valide les éléments suivants

  1. Capacité du coffre
  2. La machine virtuelle est déjà protégée
  3. Toute configuration liée à la machine virtuelle transmise dans les propriétés.
ValidateAsync(IProtectionIntentOperations, String, PreValidateEnableBackupRequest, CancellationToken)

Il valide les éléments suivants

  1. Capacité du coffre
  2. La machine virtuelle est déjà protégée
  3. Toute configuration liée à la machine virtuelle transmise dans les propriétés.

S’applique à