Interface DisasterRecovery
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
DisasterRecoveryClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public interface DisasterRecovery extends AutoCloseableUse 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 AssociateDrProtectionGroupResponseassociateDrProtectionGroup(AssociateDrProtectionGroupRequest request)Create an association between the DR protection group identified by drProtectionGroupId and another DR protection group.CancelDrPlanExecutionResponsecancelDrPlanExecution(CancelDrPlanExecutionRequest request)Cancel the DR plan execution identified by drPlanExecutionId.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancel the work request identified by workRequestId.ChangeDrProtectionGroupCompartmentResponsechangeDrProtectionGroupCompartment(ChangeDrProtectionGroupCompartmentRequest request)Move the DR protection group identified by drProtectionGroupId to a different compartment.CreateDrPlanResponsecreateDrPlan(CreateDrPlanRequest request)Create a DR plan of the specified DR plan type.CreateDrPlanExecutionResponsecreateDrPlanExecution(CreateDrPlanExecutionRequest request)Execute a DR plan for a DR protection group.CreateDrProtectionGroupResponsecreateDrProtectionGroup(CreateDrProtectionGroupRequest request)Create a DR protection group.DeleteDrPlanResponsedeleteDrPlan(DeleteDrPlanRequest request)Delete the DR plan identified by drPlanId.DeleteDrPlanExecutionResponsedeleteDrPlanExecution(DeleteDrPlanExecutionRequest request)Delete the DR plan execution identified by drPlanExecutionId.DeleteDrProtectionGroupResponsedeleteDrProtectionGroup(DeleteDrProtectionGroupRequest request)Delete the DR protection group identified by drProtectionGroupId.DisassociateDrProtectionGroupResponsedisassociateDrProtectionGroup(DisassociateDrProtectionGroupRequest request)Delete the association between the DR protection group identified by drProtectionGroupId.GetDrPlanResponsegetDrPlan(GetDrPlanRequest request)Get details for the DR plan identified by drPlanId.GetDrPlanExecutionResponsegetDrPlanExecution(GetDrPlanExecutionRequest request)Get details for the DR plan execution identified by drPlanExecutionId.GetDrProtectionGroupResponsegetDrProtectionGroup(GetDrProtectionGroupRequest request)Get the DR protection group identified by drProtectionGroupId.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)DisasterRecoveryPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.DisasterRecoveryWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Get the status of the work request identified by workRequestId.IgnoreDrPlanExecutionResponseignoreDrPlanExecution(IgnoreDrPlanExecutionRequest request)Ignore the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.ListDrPlanExecutionsResponselistDrPlanExecutions(ListDrPlanExecutionsRequest request)Get a summary list of all DR plan executions for a DR protection group.ListDrPlansResponselistDrPlans(ListDrPlansRequest request)Get a summary list of all DR plans for a DR protection group.ListDrProtectionGroupsResponselistDrProtectionGroups(ListDrProtectionGroupsRequest request)Get a summary list of all DR protection groups in a compartment.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Get a list of work request errors for the work request identified by workRequestId.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Get a list of logs for the work request identified by workRequestId.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.PauseDrPlanExecutionResponsepauseDrPlanExecution(PauseDrPlanExecutionRequest request)Pause the DR plan execution identified by drPlanExecutionId.voidrefreshClient()Rebuilds the client from scratch.RefreshDrPlanResponserefreshDrPlan(RefreshDrPlanRequest request)Refresh DR Plan identified by drPlanId.ResumeDrPlanExecutionResponseresumeDrPlanExecution(ResumeDrPlanExecutionRequest request)Resume the DR plan execution identified by drPlanExecutionId.RetryDrPlanExecutionResponseretryDrPlanExecution(RetryDrPlanExecutionRequest request)Retry the failed group or step in DR plan execution identified by drPlanExecutionId and resume execution.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateDrPlanResponseupdateDrPlan(UpdateDrPlanRequest request)Update the DR plan identified by drPlanId.UpdateDrPlanExecutionResponseupdateDrPlanExecution(UpdateDrPlanExecutionRequest request)Update the DR plan execution identified by drPlanExecutionId.UpdateDrProtectionGroupResponseupdateDrProtectionGroup(UpdateDrProtectionGroupRequest request)Update the DR protection group identified by drProtectionGroupId.UpdateDrProtectionGroupRoleResponseupdateDrProtectionGroupRole(UpdateDrProtectionGroupRoleRequest request)Update the role of the DR protection group identified by drProtectionGroupId.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.VerifyDrPlanResponseverifyDrPlan(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
setEndpointafter 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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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/latest/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
Iterableinterface 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.
-
-