Partager via


ItemLevelRecoveryConnections interface

Interface representing a ItemLevelRecoveryConnections.

Methods

provision(string, string, string, string, string, string, ILRRequestResource, ItemLevelRecoveryConnectionsProvisionOptionalParams)

Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of provisioning, call GetProtectedItemOperationResult API.

revoke(string, string, string, string, string, string, ItemLevelRecoveryConnectionsRevokeOptionalParams)

Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer displaying all recoverable files and folders. This is an asynchronous operation.

Method Details

provision(string, string, string, string, string, string, ILRRequestResource, ItemLevelRecoveryConnectionsProvisionOptionalParams)

Provisions a script which invokes an iSCSI connection to the backup data. Executing this script opens a file explorer displaying all the recoverable files and folders. This is an asynchronous operation. To know the status of provisioning, call GetProtectedItemOperationResult API.

function provision(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, parameters: ILRRequestResource, options?: ItemLevelRecoveryConnectionsProvisionOptionalParams): Promise<void>

Parameters

vaultName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

fabricName

string

Fabric name associated with the backed up items.

containerName

string

Container name associated with the backed up items.

protectedItemName

string

Backed up item name whose files/folders are to be restored.

recoveryPointId

string

Recovery point ID which represents backed up data. iSCSI connection will be provisioned for this backed up data.

parameters
ILRRequestResource

resource ILR request

options
ItemLevelRecoveryConnectionsProvisionOptionalParams

The options parameters.

Returns

Promise<void>

revoke(string, string, string, string, string, string, ItemLevelRecoveryConnectionsRevokeOptionalParams)

Revokes an iSCSI connection which can be used to download a script. Executing this script opens a file explorer displaying all recoverable files and folders. This is an asynchronous operation.

function revoke(vaultName: string, resourceGroupName: string, fabricName: string, containerName: string, protectedItemName: string, recoveryPointId: string, options?: ItemLevelRecoveryConnectionsRevokeOptionalParams): Promise<void>

Parameters

vaultName

string

The name of the recovery services vault.

resourceGroupName

string

The name of the resource group where the recovery services vault is present.

fabricName

string

Fabric name associated with the backed up items.

containerName

string

Container name associated with the backed up items.

protectedItemName

string

Backed up item name whose files/folders are to be restored.

recoveryPointId

string

Recovery point ID which represents backed up data. iSCSI connection will be revoked for this backed up data.

options
ItemLevelRecoveryConnectionsRevokeOptionalParams

The options parameters.

Returns

Promise<void>