IProtectionIntentOperations Interface

Definition

ProtectionIntentOperations operations.

public interface IProtectionIntentOperations
type IProtectionIntentOperations = interface
Public Interface IProtectionIntentOperations

Methods

CreateOrUpdateWithHttpMessagesAsync(String, String, String, String, ProtectionIntentResource, Dictionary<String,List<String>>, CancellationToken)

Create Intent for Enabling backup of an item. This is a synchronous operation.

DeleteWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Used to remove intent from an item

GetWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

ValidateWithHttpMessagesAsync(String, PreValidateEnableBackupRequest, Dictionary<String,List<String>>, CancellationToken)

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.

Extension Methods

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

Create Intent for Enabling backup of an item. This is a synchronous operation.

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

Create Intent for Enabling backup of an item. This is a synchronous operation.

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

Used to remove intent from an item

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

Used to remove intent from an item

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

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

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

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

Validate(IProtectionIntentOperations, String, PreValidateEnableBackupRequest)

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.
ValidateAsync(IProtectionIntentOperations, String, PreValidateEnableBackupRequest, CancellationToken)

It will validate followings

  1. Vault capacity
  2. VM is already protected
  3. Any VM related configuration passed in properties.

Applies to