Interface ResourceProvidersClient


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

      • getOperationStatus

        OperationStatusInner getOperationStatus​(String vaultName,
                                                String resourceGroupName,
                                                String operationId)
        Fetches operation status for data move operation on vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        operationId - The operationId parameter.
        Returns:
        operation status.
        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.
      • getOperationStatusWithResponse

        com.azure.core.http.rest.Response<OperationStatusInner> getOperationStatusWithResponse​(String vaultName,
                                                                                               String resourceGroupName,
                                                                                               String operationId,
                                                                                               com.azure.core.util.Context context)
        Fetches operation status for data move operation on vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        operationId - The operationId parameter.
        context - The context to associate with this operation.
        Returns:
        operation status along with 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.
      • beginBmsPrepareDataMove

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBmsPrepareDataMove​(String vaultName,
                                                                                                                                      String resourceGroupName,
                                                                                                                                      PrepareDataMoveRequest parameters)
        Prepares source vault for Data Move operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Prepare data move request.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginBmsPrepareDataMove

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBmsPrepareDataMove​(String vaultName,
                                                                                                                                      String resourceGroupName,
                                                                                                                                      PrepareDataMoveRequest parameters,
                                                                                                                                      com.azure.core.util.Context context)
        Prepares source vault for Data Move operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Prepare data move request.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • bmsPrepareDataMove

        void bmsPrepareDataMove​(String vaultName,
                                String resourceGroupName,
                                PrepareDataMoveRequest parameters)
        Prepares source vault for Data Move operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Prepare data move 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.
      • bmsPrepareDataMove

        void bmsPrepareDataMove​(String vaultName,
                                String resourceGroupName,
                                PrepareDataMoveRequest parameters,
                                com.azure.core.util.Context context)
        Prepares source vault for Data Move operation.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Prepare data move request.
        context - The context to associate with this operation.
        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.
      • beginBmsTriggerDataMove

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBmsTriggerDataMove​(String vaultName,
                                                                                                                                      String resourceGroupName,
                                                                                                                                      TriggerDataMoveRequest parameters)
        Triggers Data Move Operation on target vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Trigger data move request.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginBmsTriggerDataMove

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginBmsTriggerDataMove​(String vaultName,
                                                                                                                                      String resourceGroupName,
                                                                                                                                      TriggerDataMoveRequest parameters,
                                                                                                                                      com.azure.core.util.Context context)
        Triggers Data Move Operation on target vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Trigger data move request.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • bmsTriggerDataMove

        void bmsTriggerDataMove​(String vaultName,
                                String resourceGroupName,
                                TriggerDataMoveRequest parameters)
        Triggers Data Move Operation on target vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Trigger data move 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.
      • bmsTriggerDataMove

        void bmsTriggerDataMove​(String vaultName,
                                String resourceGroupName,
                                TriggerDataMoveRequest parameters,
                                com.azure.core.util.Context context)
        Triggers Data Move Operation on target vault.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        parameters - Trigger data move request.
        context - The context to associate with this operation.
        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.
      • beginMoveRecoveryPoint

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginMoveRecoveryPoint​(String vaultName,
                                                                                                                                     String resourceGroupName,
                                                                                                                                     String fabricName,
                                                                                                                                     String containerName,
                                                                                                                                     String protectedItemName,
                                                                                                                                     String recoveryPointId,
                                                                                                                                     MoveRPAcrossTiersRequest parameters)
        Move recovery point from one datastore to another store.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - The fabricName parameter.
        containerName - The containerName parameter.
        protectedItemName - The protectedItemName parameter.
        recoveryPointId - The recoveryPointId parameter.
        parameters - Move Resource Across Tiers Request.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • beginMoveRecoveryPoint

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginMoveRecoveryPoint​(String vaultName,
                                                                                                                                     String resourceGroupName,
                                                                                                                                     String fabricName,
                                                                                                                                     String containerName,
                                                                                                                                     String protectedItemName,
                                                                                                                                     String recoveryPointId,
                                                                                                                                     MoveRPAcrossTiersRequest parameters,
                                                                                                                                     com.azure.core.util.Context context)
        Move recovery point from one datastore to another store.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - The fabricName parameter.
        containerName - The containerName parameter.
        protectedItemName - The protectedItemName parameter.
        recoveryPointId - The recoveryPointId parameter.
        parameters - Move Resource Across Tiers Request.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of long-running operation.
        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.
      • moveRecoveryPoint

        void moveRecoveryPoint​(String vaultName,
                               String resourceGroupName,
                               String fabricName,
                               String containerName,
                               String protectedItemName,
                               String recoveryPointId,
                               MoveRPAcrossTiersRequest parameters)
        Move recovery point from one datastore to another store.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - The fabricName parameter.
        containerName - The containerName parameter.
        protectedItemName - The protectedItemName parameter.
        recoveryPointId - The recoveryPointId parameter.
        parameters - Move Resource Across Tiers 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.
      • moveRecoveryPoint

        void moveRecoveryPoint​(String vaultName,
                               String resourceGroupName,
                               String fabricName,
                               String containerName,
                               String protectedItemName,
                               String recoveryPointId,
                               MoveRPAcrossTiersRequest parameters,
                               com.azure.core.util.Context context)
        Move recovery point from one datastore to another store.
        Parameters:
        vaultName - The name of the recovery services vault.
        resourceGroupName - The name of the resource group where the recovery services vault is present.
        fabricName - The fabricName parameter.
        containerName - The containerName parameter.
        protectedItemName - The protectedItemName parameter.
        recoveryPointId - The recoveryPointId parameter.
        parameters - Move Resource Across Tiers Request.
        context - The context to associate with this operation.
        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.