Interface ItemLevelRecoveryConnectionsClient


public interface ItemLevelRecoveryConnectionsClient
An instance of this class provides access to all the operations defined in ItemLevelRecoveryConnectionsClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    provision(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, IlrRequestResource parameters)
    Provisions a script which invokes an iSCSI connection to the backup data.
    com.azure.core.http.rest.Response<Void>
    provisionWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, IlrRequestResource parameters, com.azure.core.util.Context context)
    Provisions a script which invokes an iSCSI connection to the backup data.
    void
    revoke(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId)
    Revokes an iSCSI connection which can be used to download a script.
    com.azure.core.http.rest.Response<Void>
    revokeWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, com.azure.core.util.Context context)
    Revokes an iSCSI connection which can be used to download a script.
  • Method Details

    • provisionWithResponse

      com.azure.core.http.rest.Response<Void> provisionWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, IlrRequestResource parameters, com.azure.core.util.Context context)
      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.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backed up items.
      containerName - Container name associated with the backed up items.
      protectedItemName - Backed up item name whose files/folders are to be restored.
      recoveryPointId - Recovery point ID which represents backed up data. iSCSI connection will be provisioned for this backed up data.
      parameters - resource ILR request.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • provision

      void provision(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, IlrRequestResource parameters)
      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.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backed up items.
      containerName - Container name associated with the backed up items.
      protectedItemName - Backed up item name whose files/folders are to be restored.
      recoveryPointId - Recovery point ID which represents backed up data. iSCSI connection will be provisioned for this backed up data.
      parameters - resource ILR request.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • revokeWithResponse

      com.azure.core.http.rest.Response<Void> revokeWithResponse(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, com.azure.core.util.Context context)
      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.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backed up items.
      containerName - Container name associated with the backed up items.
      protectedItemName - Backed up item name whose files/folders are to be restored.
      recoveryPointId - Recovery point ID which represents backed up data. iSCSI connection will be revoked for this backed up data.
      context - The context to associate with this operation.
      Returns:
      the Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • revoke

      void revoke(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId)
      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.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      fabricName - Fabric name associated with the backed up items.
      containerName - Container name associated with the backed up items.
      protectedItemName - Backed up item name whose files/folders are to be restored.
      recoveryPointId - Recovery point ID which represents backed up data. iSCSI connection will be revoked for this backed up data.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.