Interface DisasterRecovery
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DisasterRecoveryClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public interface DisasterRecovery extends AutoCloseable
Use the Full Stack Disaster Recovery (DR) API to manage disaster recovery for business applications.Full Stack DR is an OCI disaster recovery orchestration and management service that provides comprehensive disaster recovery capabilities for all layers of an application stack, including infrastructure, middleware, database, and application.
This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociateDrProtectionGroupResponse
associateDrProtectionGroup(AssociateDrProtectionGroupRequest request)
Create an association between the DR protection group identified by drProtectionGroupId and another DR protection group.CancelDrPlanExecutionResponse
cancelDrPlanExecution(CancelDrPlanExecutionRequest request)
Cancel the DR plan execution identified by drPlanExecutionId.CancelWorkRequestResponse
cancelWorkRequest(CancelWorkRequestRequest request)
Cancel the work request identified by workRequestId.ChangeDrProtectionGroupCompartmentResponse
changeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)
Move the DR protection group identified by drProtectionGroupId to a different compartment.CreateDrPlanResponse
createDrPlan(CreateDrPlanRequest request)
Create a DR plan of the specified DR plan type.CreateDrPlanExecutionResponse
createDrPlanExecution(CreateDrPlanExecutionRequest request)
Execute a DR plan for a DR protection group.CreateDrProtectionGroupResponse
createDrProtectionGroup(CreateDrProtectionGroupRequest request)
Create a DR protection group.DeleteDrPlanResponse
deleteDrPlan(DeleteDrPlanRequest request)
Delete the DR plan identified by drPlanId.DeleteDrPlanExecutionResponse
deleteDrPlanExecution(DeleteDrPlanExecutionRequest request)
Delete the DR plan execution identified by drPlanExecutionId.DeleteDrProtectionGroupResponse
deleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)
Delete the DR protection group identified by drProtectionGroupId.DisassociateDrProtectionGroupResponse
disassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)
Delete the association between the DR protection group identified by drProtectionGroupId.GetDrPlanResponse
getDrPlan(GetDrPlanRequest request)
Get details for the DR plan identified by drPlanId.GetDrPlanExecutionResponse
getDrPlanExecution(GetDrPlanExecutionRequest request)
Get details for the DR plan execution identified by drPlanExecutionId.GetDrProtectionGroupResponse
getDrProtectionGroup(GetDrProtectionGroupRequest request)
Get the DR protection group identified by drProtectionGroupId.String
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)DisasterRecoveryPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.DisasterRecoveryWaiters
getWaiters()
Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponse
getWorkRequest(GetWorkRequestRequest request)
Get the status of the work request identified by workRequestId.IgnoreDrPlanExecutionResponse
ignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)
Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.ListDrPlanExecutionsResponse
listDrPlanExecutions(ListDrPlanExecutionsRequest request)
Get a summary list of all DR plan executions for a DR protection group.ListDrPlansResponse
listDrPlans(ListDrPlansRequest request)
Get a summary list of all DR plans for a DR protection group.ListDrProtectionGroupsResponse
listDrProtectionGroups(ListDrProtectionGroupsRequest request)
Get a summary list of all DR protection groups in a compartment.ListWorkRequestErrorsResponse
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get a list of work request errors for the work request identified by workRequestId.ListWorkRequestLogsResponse
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get a list of logs for the work request identified by workRequestId.ListWorkRequestsResponse
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.PauseDrPlanExecutionResponse
pauseDrPlanExecution(PauseDrPlanExecutionRequest request)
Pause the DR plan execution identified by drPlanExecutionId.void
refreshClient()
Rebuilds the client from scratch.RefreshDrPlanResponse
refreshDrPlan(RefreshDrPlanRequest request)
Refresh DR Plan identified by drPlanId.ResumeDrPlanExecutionResponse
resumeDrPlanExecution(ResumeDrPlanExecutionRequest request)
Resume the DR plan execution identified by drPlanExecutionId.RetryDrPlanExecutionResponse
retryDrPlanExecution(RetryDrPlanExecutionRequest request)
Retry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.void
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).void
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).void
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).UpdateDrPlanResponse
updateDrPlan(UpdateDrPlanRequest request)
Update the DR plan identified by drPlanId.UpdateDrPlanExecutionResponse
updateDrPlanExecution(UpdateDrPlanExecutionRequest request)
Update the DR plan execution identified by drPlanExecutionId.UpdateDrProtectionGroupResponse
updateDrProtectionGroup(UpdateDrProtectionGroupRequest request)
Update the DR protection group identified by drProtectionGroupId.UpdateDrProtectionGroupRoleResponse
updateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)
Update the role of the DR protection group identified by drProtectionGroupId.void
useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.VerifyDrPlanResponse
verifyDrPlan(VerifyDrPlanRequest request)
Verify DR Plan identified by drPlanId.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpoint
after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
associateDrProtectionGroup
AssociateDrProtectionGroupResponse associateDrProtectionGroup(AssociateDrProtectionGroupRequest request)
Create an association between the DR protection group identified by drProtectionGroupId and another DR protection group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/AssociateDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AssociateDrProtectionGroup API.
-
cancelDrPlanExecution
CancelDrPlanExecutionResponse cancelDrPlanExecution(CancelDrPlanExecutionRequest request)
Cancel the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/CancelDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelDrPlanExecution API.
-
cancelWorkRequest
CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Cancel the work request identified by workRequestId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/CancelWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelWorkRequest API.
-
changeDrProtectionGroupCompartment
ChangeDrProtectionGroupCompartmentResponse changeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)
Move the DR protection group identified by drProtectionGroupId to a different compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ChangeDrProtectionGroupCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDrProtectionGroupCompartment API.
-
createDrPlan
CreateDrPlanResponse createDrPlan(CreateDrPlanRequest request)
Create a DR plan of the specified DR plan type.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/CreateDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDrPlan API.
-
createDrPlanExecution
CreateDrPlanExecutionResponse createDrPlanExecution(CreateDrPlanExecutionRequest request)
Execute a DR plan for a DR protection group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/CreateDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDrPlanExecution API.
-
createDrProtectionGroup
CreateDrProtectionGroupResponse createDrProtectionGroup(CreateDrProtectionGroupRequest request)
Create a DR protection group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/CreateDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDrProtectionGroup API.
-
deleteDrPlan
DeleteDrPlanResponse deleteDrPlan(DeleteDrPlanRequest request)
Delete the DR plan identified by drPlanId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/DeleteDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDrPlan API.
-
deleteDrPlanExecution
DeleteDrPlanExecutionResponse deleteDrPlanExecution(DeleteDrPlanExecutionRequest request)
Delete the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/DeleteDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDrPlanExecution API.
-
deleteDrProtectionGroup
DeleteDrProtectionGroupResponse deleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)
Delete the DR protection group identified by drProtectionGroupId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/DeleteDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDrProtectionGroup API.
-
disassociateDrProtectionGroup
DisassociateDrProtectionGroupResponse disassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)
Delete the association between the DR protection group identified by drProtectionGroupId.and its peer DR protection group.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/DisassociateDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DisassociateDrProtectionGroup API.
-
getDrPlan
GetDrPlanResponse getDrPlan(GetDrPlanRequest request)
Get details for the DR plan identified by drPlanId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/GetDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDrPlan API.
-
getDrPlanExecution
GetDrPlanExecutionResponse getDrPlanExecution(GetDrPlanExecutionRequest request)
Get details for the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/GetDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDrPlanExecution API.
-
getDrProtectionGroup
GetDrProtectionGroupResponse getDrProtectionGroup(GetDrProtectionGroupRequest request)
Get the DR protection group identified by drProtectionGroupId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/GetDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDrProtectionGroup API.
-
getWorkRequest
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Get the status of the work request identified by workRequestId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.
-
ignoreDrPlanExecution
IgnoreDrPlanExecutionResponse ignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)
Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/IgnoreDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use IgnoreDrPlanExecution API.
-
listDrPlanExecutions
ListDrPlanExecutionsResponse listDrPlanExecutions(ListDrPlanExecutionsRequest request)
Get a summary list of all DR plan executions for a DR protection group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListDrPlanExecutionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDrPlanExecutions API.
-
listDrPlans
ListDrPlansResponse listDrPlans(ListDrPlansRequest request)
Get a summary list of all DR plans for a DR protection group.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListDrPlansExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDrPlans API.
-
listDrProtectionGroups
ListDrProtectionGroupsResponse listDrProtectionGroups(ListDrProtectionGroupsRequest request)
Get a summary list of all DR protection groups in a compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListDrProtectionGroupsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDrProtectionGroups API.
-
listWorkRequestErrors
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Get a list of work request errors for the work request identified by workRequestId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.
-
listWorkRequestLogs
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Get a list of logs for the work request identified by workRequestId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.
-
listWorkRequests
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.
-
pauseDrPlanExecution
PauseDrPlanExecutionResponse pauseDrPlanExecution(PauseDrPlanExecutionRequest request)
Pause the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/PauseDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PauseDrPlanExecution API.
-
refreshDrPlan
RefreshDrPlanResponse refreshDrPlan(RefreshDrPlanRequest request)
Refresh DR Plan identified by drPlanId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/RefreshDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RefreshDrPlan API.
-
resumeDrPlanExecution
ResumeDrPlanExecutionResponse resumeDrPlanExecution(ResumeDrPlanExecutionRequest request)
Resume the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/ResumeDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ResumeDrPlanExecution API.
-
retryDrPlanExecution
RetryDrPlanExecutionResponse retryDrPlanExecution(RetryDrPlanExecutionRequest request)
Retry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/RetryDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RetryDrPlanExecution API.
-
updateDrPlan
UpdateDrPlanResponse updateDrPlan(UpdateDrPlanRequest request)
Update the DR plan identified by drPlanId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/UpdateDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDrPlan API.
-
updateDrPlanExecution
UpdateDrPlanExecutionResponse updateDrPlanExecution(UpdateDrPlanExecutionRequest request)
Update the DR plan execution identified by drPlanExecutionId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/UpdateDrPlanExecutionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDrPlanExecution API.
-
updateDrProtectionGroup
UpdateDrProtectionGroupResponse updateDrProtectionGroup(UpdateDrProtectionGroupRequest request)
Update the DR protection group identified by drProtectionGroupId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/UpdateDrProtectionGroupExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDrProtectionGroup API.
-
updateDrProtectionGroupRole
UpdateDrProtectionGroupRoleResponse updateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)
Update the role of the DR protection group identified by drProtectionGroupId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/UpdateDrProtectionGroupRoleExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDrProtectionGroupRole API.
-
verifyDrPlan
VerifyDrPlanResponse verifyDrPlan(VerifyDrPlanRequest request)
Verify DR Plan identified by drPlanId.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/disasterrecovery/VerifyDrPlanExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use VerifyDrPlan API.
-
getWaiters
DisasterRecoveryWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
DisasterRecoveryPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
-
-