共用方式為


ProtectionIntentOperationsExtensions Class

Definition

Extension methods for ProtectionIntentOperations.

public static class ProtectionIntentOperationsExtensions
type ProtectionIntentOperationsExtensions = class
Public Module ProtectionIntentOperationsExtensions
Inheritance
ProtectionIntentOperationsExtensions

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