Interface ResourceProviders
-
public interface ResourceProviders
Resource collection API of ResourceProviders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters)
Prepares source vault for Data Move operation.void
bmsPrepareDataMove(String vaultName, String resourceGroupName, PrepareDataMoveRequest parameters, com.azure.core.util.Context context)
Prepares source vault for Data Move operation.void
bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters)
Triggers Data Move Operation on target vault.void
bmsTriggerDataMove(String vaultName, String resourceGroupName, TriggerDataMoveRequest parameters, com.azure.core.util.Context context)
Triggers Data Move Operation on target vault.OperationStatus
getOperationStatus(String vaultName, String resourceGroupName, String operationId)
Fetches operation status for data move operation on vault.com.azure.core.http.rest.Response<OperationStatus>
getOperationStatusWithResponse(String vaultName, String resourceGroupName, String operationId, com.azure.core.util.Context context)
Fetches operation status for data move operation on vault.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.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.
-
-
-
Method Detail
-
getOperationStatus
OperationStatus 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<OperationStatus> 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.
-
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.
-
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.
-
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.
-
-