ProtectionIntentOperations interface
Interface representing a ProtectionIntent operations.
Properties
| create |
Create Intent for Enabling backup of an item. This is a synchronous operation. |
| delete | Used to remove intent from an item |
| get | 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 | It will validate followings
|
Property Details
createOrUpdate
Create Intent for Enabling backup of an item. This is a synchronous operation.
createOrUpdate: (vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: ProtectionIntentResource, options?: ProtectionIntentCreateOrUpdateOptionalParams) => Promise<ProtectionIntentResource>
Property Value
(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, parameters: ProtectionIntentResource, options?: ProtectionIntentCreateOrUpdateOptionalParams) => Promise<ProtectionIntentResource>
delete
Used to remove intent from an item
delete: (vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentDeleteOptionalParams) => Promise<void>
Property Value
(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentDeleteOptionalParams) => Promise<void>
get
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.
get: (vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentGetOptionalParams) => Promise<ProtectionIntentResource>
Property Value
(vaultName: string, resourceGroupName: string, fabricName: string, intentObjectName: string, options?: ProtectionIntentGetOptionalParams) => Promise<ProtectionIntentResource>
validate
It will validate followings
- Vault capacity
- VM is already protected
- Any VM related configuration passed in properties.
validate: (azureRegion: string, parameters: PreValidateEnableBackupRequest, options?: ProtectionIntentValidateOptionalParams) => Promise<PreValidateEnableBackupResponse>
Property Value
(azureRegion: string, parameters: PreValidateEnableBackupRequest, options?: ProtectionIntentValidateOptionalParams) => Promise<PreValidateEnableBackupResponse>