1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DisasterRecovery
  5. getDrPlanExecutions
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

oci.DisasterRecovery.getDrPlanExecutions

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi

This data source provides the list of Dr Plan Executions in Oracle Cloud Infrastructure Disaster Recovery service.

Get a summary list of all DR plan executions for a DR protection group.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrPlanExecutions = oci.DisasterRecovery.getDrPlanExecutions({
    drProtectionGroupId: testDrProtectionGroup.id,
    displayName: drPlanExecutionDisplayName,
    drPlanExecutionId: testDrPlanExecution.id,
    state: drPlanExecutionState,
});
Copy
import pulumi
import pulumi_oci as oci

test_dr_plan_executions = oci.DisasterRecovery.get_dr_plan_executions(dr_protection_group_id=test_dr_protection_group["id"],
    display_name=dr_plan_execution_display_name,
    dr_plan_execution_id=test_dr_plan_execution["id"],
    state=dr_plan_execution_state)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/disasterrecovery"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := disasterrecovery.GetDrPlanExecutions(ctx, &disasterrecovery.GetDrPlanExecutionsArgs{
			DrProtectionGroupId: testDrProtectionGroup.Id,
			DisplayName:         pulumi.StringRef(drPlanExecutionDisplayName),
			DrPlanExecutionId:   pulumi.StringRef(testDrPlanExecution.Id),
			State:               pulumi.StringRef(drPlanExecutionState),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDrPlanExecutions = Oci.DisasterRecovery.GetDrPlanExecutions.Invoke(new()
    {
        DrProtectionGroupId = testDrProtectionGroup.Id,
        DisplayName = drPlanExecutionDisplayName,
        DrPlanExecutionId = testDrPlanExecution.Id,
        State = drPlanExecutionState,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DisasterRecovery.DisasterRecoveryFunctions;
import com.pulumi.oci.DisasterRecovery.inputs.GetDrPlanExecutionsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testDrPlanExecutions = DisasterRecoveryFunctions.getDrPlanExecutions(GetDrPlanExecutionsArgs.builder()
            .drProtectionGroupId(testDrProtectionGroup.id())
            .displayName(drPlanExecutionDisplayName)
            .drPlanExecutionId(testDrPlanExecution.id())
            .state(drPlanExecutionState)
            .build());

    }
}
Copy
variables:
  testDrPlanExecutions:
    fn::invoke:
      function: oci:DisasterRecovery:getDrPlanExecutions
      arguments:
        drProtectionGroupId: ${testDrProtectionGroup.id}
        displayName: ${drPlanExecutionDisplayName}
        drPlanExecutionId: ${testDrPlanExecution.id}
        state: ${drPlanExecutionState}
Copy

Using getDrPlanExecutions

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDrPlanExecutions(args: GetDrPlanExecutionsArgs, opts?: InvokeOptions): Promise<GetDrPlanExecutionsResult>
function getDrPlanExecutionsOutput(args: GetDrPlanExecutionsOutputArgs, opts?: InvokeOptions): Output<GetDrPlanExecutionsResult>
Copy
def get_dr_plan_executions(display_name: Optional[str] = None,
                           dr_plan_execution_id: Optional[str] = None,
                           dr_protection_group_id: Optional[str] = None,
                           filters: Optional[Sequence[_disasterrecovery.GetDrPlanExecutionsFilter]] = None,
                           state: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetDrPlanExecutionsResult
def get_dr_plan_executions_output(display_name: Optional[pulumi.Input[str]] = None,
                           dr_plan_execution_id: Optional[pulumi.Input[str]] = None,
                           dr_protection_group_id: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_disasterrecovery.GetDrPlanExecutionsFilterArgs]]]] = None,
                           state: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetDrPlanExecutionsResult]
Copy
func GetDrPlanExecutions(ctx *Context, args *GetDrPlanExecutionsArgs, opts ...InvokeOption) (*GetDrPlanExecutionsResult, error)
func GetDrPlanExecutionsOutput(ctx *Context, args *GetDrPlanExecutionsOutputArgs, opts ...InvokeOption) GetDrPlanExecutionsResultOutput
Copy

> Note: This function is named GetDrPlanExecutions in the Go SDK.

public static class GetDrPlanExecutions 
{
    public static Task<GetDrPlanExecutionsResult> InvokeAsync(GetDrPlanExecutionsArgs args, InvokeOptions? opts = null)
    public static Output<GetDrPlanExecutionsResult> Invoke(GetDrPlanExecutionsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDrPlanExecutionsResult> getDrPlanExecutions(GetDrPlanExecutionsArgs args, InvokeOptions options)
public static Output<GetDrPlanExecutionsResult> getDrPlanExecutions(GetDrPlanExecutionsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DisasterRecovery/getDrPlanExecutions:getDrPlanExecutions
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DrProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
DisplayName string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
DrPlanExecutionId string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
Filters Changes to this property will trigger replacement. List<GetDrPlanExecutionsFilter>
State string
A filter to return only DR plan executions that match the given lifecycle state.
DrProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
DisplayName string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
DrPlanExecutionId string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
Filters Changes to this property will trigger replacement. []GetDrPlanExecutionsFilter
State string
A filter to return only DR plan executions that match the given lifecycle state.
drProtectionGroupId This property is required. String
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
displayName String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drPlanExecutionId String
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
filters Changes to this property will trigger replacement. List<GetDrPlanExecutionsFilter>
state String
A filter to return only DR plan executions that match the given lifecycle state.
drProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
displayName string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drPlanExecutionId string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
filters Changes to this property will trigger replacement. GetDrPlanExecutionsFilter[]
state string
A filter to return only DR plan executions that match the given lifecycle state.
dr_protection_group_id This property is required. str
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
display_name str
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
dr_plan_execution_id str
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
filters Changes to this property will trigger replacement. Sequence[disasterrecovery.GetDrPlanExecutionsFilter]
state str
A filter to return only DR plan executions that match the given lifecycle state.
drProtectionGroupId This property is required. String
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
displayName String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drPlanExecutionId String
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
filters Changes to this property will trigger replacement. List<Property Map>
state String
A filter to return only DR plan executions that match the given lifecycle state.

getDrPlanExecutions Result

The following output properties are available:

DrPlanExecutionCollections List<GetDrPlanExecutionsDrPlanExecutionCollection>
The list of dr_plan_execution_collection.
DrProtectionGroupId string
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
The display name of the step execution. Example: DATABASE_SWITCHOVER
DrPlanExecutionId string
Filters List<GetDrPlanExecutionsFilter>
State string
The current state of the DR plan execution.
DrPlanExecutionCollections []GetDrPlanExecutionsDrPlanExecutionCollection
The list of dr_plan_execution_collection.
DrProtectionGroupId string
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
Id string
The provider-assigned unique ID for this managed resource.
DisplayName string
The display name of the step execution. Example: DATABASE_SWITCHOVER
DrPlanExecutionId string
Filters []GetDrPlanExecutionsFilter
State string
The current state of the DR plan execution.
drPlanExecutionCollections List<GetDrPlanExecutionsDrPlanExecutionCollection>
The list of dr_plan_execution_collection.
drProtectionGroupId String
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
id String
The provider-assigned unique ID for this managed resource.
displayName String
The display name of the step execution. Example: DATABASE_SWITCHOVER
drPlanExecutionId String
filters List<GetDrPlanExecutionsFilter>
state String
The current state of the DR plan execution.
drPlanExecutionCollections GetDrPlanExecutionsDrPlanExecutionCollection[]
The list of dr_plan_execution_collection.
drProtectionGroupId string
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
id string
The provider-assigned unique ID for this managed resource.
displayName string
The display name of the step execution. Example: DATABASE_SWITCHOVER
drPlanExecutionId string
filters GetDrPlanExecutionsFilter[]
state string
The current state of the DR plan execution.
dr_plan_execution_collections Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollection]
The list of dr_plan_execution_collection.
dr_protection_group_id str
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
id str
The provider-assigned unique ID for this managed resource.
display_name str
The display name of the step execution. Example: DATABASE_SWITCHOVER
dr_plan_execution_id str
filters Sequence[disasterrecovery.GetDrPlanExecutionsFilter]
state str
The current state of the DR plan execution.
drPlanExecutionCollections List<Property Map>
The list of dr_plan_execution_collection.
drProtectionGroupId String
The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
id String
The provider-assigned unique ID for this managed resource.
displayName String
The display name of the step execution. Example: DATABASE_SWITCHOVER
drPlanExecutionId String
filters List<Property Map>
state String
The current state of the DR plan execution.

Supporting Types

GetDrPlanExecutionsDrPlanExecutionCollection

items This property is required. List<Property Map>

GetDrPlanExecutionsDrPlanExecutionCollectionItem

CompartmentId This property is required. string
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
DrProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
ExecutionOptions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>
The options for a plan execution.
FreeformTags This property is required. Dictionary<string, string>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
GroupExecutions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>
A list of groups executed in this DR plan execution.
Id This property is required. string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
LifeCycleDetails This property is required. string
A message describing the DR plan execution's current state in more detail.
LogLocations This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>
The details of an object storage log location for a DR protection group.
PeerDrProtectionGroupId This property is required. string
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
PeerRegion This property is required. string
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
PlanExecutionType This property is required. string
The type of the DR plan executed.
PlanId This property is required. string
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
State This property is required. string
A filter to return only DR plan executions that match the given lifecycle state.
SystemTags This property is required. Dictionary<string, string>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeUpdated This property is required. string
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
CompartmentId This property is required. string
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
DrProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
ExecutionOptions This property is required. []GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption
The options for a plan execution.
FreeformTags This property is required. map[string]string
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
GroupExecutions This property is required. []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution
A list of groups executed in this DR plan execution.
Id This property is required. string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
LifeCycleDetails This property is required. string
A message describing the DR plan execution's current state in more detail.
LogLocations This property is required. []GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation
The details of an object storage log location for a DR protection group.
PeerDrProtectionGroupId This property is required. string
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
PeerRegion This property is required. string
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
PlanExecutionType This property is required. string
The type of the DR plan executed.
PlanId This property is required. string
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
State This property is required. string
A filter to return only DR plan executions that match the given lifecycle state.
SystemTags This property is required. map[string]string
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
TimeCreated This property is required. string
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeUpdated This property is required. string
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
compartmentId This property is required. String
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drProtectionGroupId This property is required. String
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
executionDurationInSec This property is required. Integer
The total duration in seconds taken to complete the step execution. Example: 35
executionOptions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>
The options for a plan execution.
freeformTags This property is required. Map<String,String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
groupExecutions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>
A list of groups executed in this DR plan execution.
id This property is required. String
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
lifeCycleDetails This property is required. String
A message describing the DR plan execution's current state in more detail.
logLocations This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>
The details of an object storage log location for a DR protection group.
peerDrProtectionGroupId This property is required. String
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
peerRegion This property is required. String
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
planExecutionType This property is required. String
The type of the DR plan executed.
planId This property is required. String
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
state This property is required. String
A filter to return only DR plan executions that match the given lifecycle state.
systemTags This property is required. Map<String,String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeUpdated This property is required. String
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
compartmentId This property is required. string
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
displayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drProtectionGroupId This property is required. string
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
executionDurationInSec This property is required. number
The total duration in seconds taken to complete the step execution. Example: 35
executionOptions This property is required. GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption[]
The options for a plan execution.
freeformTags This property is required. {[key: string]: string}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
groupExecutions This property is required. GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution[]
A list of groups executed in this DR plan execution.
id This property is required. string
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
lifeCycleDetails This property is required. string
A message describing the DR plan execution's current state in more detail.
logLocations This property is required. GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation[]
The details of an object storage log location for a DR protection group.
peerDrProtectionGroupId This property is required. string
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
peerRegion This property is required. string
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
planExecutionType This property is required. string
The type of the DR plan executed.
planId This property is required. string
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
state This property is required. string
A filter to return only DR plan executions that match the given lifecycle state.
systemTags This property is required. {[key: string]: string}
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. string
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeUpdated This property is required. string
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
compartment_id This property is required. str
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
display_name This property is required. str
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
dr_protection_group_id This property is required. str
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
execution_duration_in_sec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
execution_options This property is required. Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption]
The options for a plan execution.
freeform_tags This property is required. Mapping[str, str]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
group_executions This property is required. Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution]
A list of groups executed in this DR plan execution.
id This property is required. str
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
life_cycle_details This property is required. str
A message describing the DR plan execution's current state in more detail.
log_locations This property is required. Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation]
The details of an object storage log location for a DR protection group.
peer_dr_protection_group_id This property is required. str
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
peer_region This property is required. str
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
plan_execution_type This property is required. str
The type of the DR plan executed.
plan_id This property is required. str
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
state This property is required. str
A filter to return only DR plan executions that match the given lifecycle state.
system_tags This property is required. Mapping[str, str]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
time_created This property is required. str
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
time_ended This property is required. str
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
time_started This property is required. str
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
time_updated This property is required. str
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
compartmentId This property is required. String
The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
drProtectionGroupId This property is required. String
The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
executionDurationInSec This property is required. Number
The total duration in seconds taken to complete the step execution. Example: 35
executionOptions This property is required. List<Property Map>
The options for a plan execution.
freeformTags This property is required. Map<String>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
groupExecutions This property is required. List<Property Map>
A list of groups executed in this DR plan execution.
id This property is required. String
The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
lifeCycleDetails This property is required. String
A message describing the DR plan execution's current state in more detail.
logLocations This property is required. List<Property Map>
The details of an object storage log location for a DR protection group.
peerDrProtectionGroupId This property is required. String
The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
peerRegion This property is required. String
The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
planExecutionType This property is required. String
The type of the DR plan executed.
planId This property is required. String
The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
state This property is required. String
A filter to return only DR plan executions that match the given lifecycle state.
systemTags This property is required. Map<String>
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
timeCreated This property is required. String
The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeUpdated This property is required. String
The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption

ArePrechecksEnabled This property is required. bool
A flag indicating whether a precheck should be executed before the plan execution. Example: true
AreWarningsIgnored This property is required. bool
A flag indicating whether warnings should be ignored during the plan execution. Example: false
PlanExecutionType This property is required. string
The type of the DR plan executed.
ArePrechecksEnabled This property is required. bool
A flag indicating whether a precheck should be executed before the plan execution. Example: true
AreWarningsIgnored This property is required. bool
A flag indicating whether warnings should be ignored during the plan execution. Example: false
PlanExecutionType This property is required. string
The type of the DR plan executed.
arePrechecksEnabled This property is required. Boolean
A flag indicating whether a precheck should be executed before the plan execution. Example: true
areWarningsIgnored This property is required. Boolean
A flag indicating whether warnings should be ignored during the plan execution. Example: false
planExecutionType This property is required. String
The type of the DR plan executed.
arePrechecksEnabled This property is required. boolean
A flag indicating whether a precheck should be executed before the plan execution. Example: true
areWarningsIgnored This property is required. boolean
A flag indicating whether warnings should be ignored during the plan execution. Example: false
planExecutionType This property is required. string
The type of the DR plan executed.
are_prechecks_enabled This property is required. bool
A flag indicating whether a precheck should be executed before the plan execution. Example: true
are_warnings_ignored This property is required. bool
A flag indicating whether warnings should be ignored during the plan execution. Example: false
plan_execution_type This property is required. str
The type of the DR plan executed.
arePrechecksEnabled This property is required. Boolean
A flag indicating whether a precheck should be executed before the plan execution. Example: true
areWarningsIgnored This property is required. Boolean
A flag indicating whether warnings should be ignored during the plan execution. Example: false
planExecutionType This property is required. String
The type of the DR plan executed.

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution

DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
GroupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
Status This property is required. string
The status of the step execution.
StatusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
StepExecutions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>
A list of step executions in the group.
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Type This property is required. string
The group type. Example: BUILT_IN
DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
GroupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
Status This property is required. string
The status of the step execution.
StatusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
StepExecutions This property is required. []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution
A list of step executions in the group.
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Type This property is required. string
The group type. Example: BUILT_IN
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. Integer
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. String
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
status This property is required. String
The status of the step execution.
statusDetails This property is required. String
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepExecutions This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>
A list of step executions in the group.
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. String
The group type. Example: BUILT_IN
displayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. number
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
status This property is required. string
The status of the step execution.
statusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepExecutions This property is required. GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution[]
A list of step executions in the group.
timeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. string
The group type. Example: BUILT_IN
display_name This property is required. str
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
execution_duration_in_sec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
group_id This property is required. str
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
status This property is required. str
The status of the step execution.
status_details This property is required. str
Additional details on the step execution status. Example: This step failed to complete due to a timeout
step_executions This property is required. Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution]
A list of step executions in the group.
time_ended This property is required. str
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
time_started This property is required. str
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. str
The group type. Example: BUILT_IN
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. Number
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. String
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
status This property is required. String
The status of the step execution.
statusDetails This property is required. String
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepExecutions This property is required. List<Property Map>
A list of step executions in the group.
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. String
The group type. Example: BUILT_IN

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution

DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
GroupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
LogLocations This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>
The details of an object storage log location for a DR protection group.
Status This property is required. string
The status of the step execution.
StatusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
StepId This property is required. string
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Type This property is required. string
The group type. Example: BUILT_IN
DisplayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
ExecutionDurationInSec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
GroupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
LogLocations This property is required. []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation
The details of an object storage log location for a DR protection group.
Status This property is required. string
The status of the step execution.
StatusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
StepId This property is required. string
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
TimeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
TimeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Type This property is required. string
The group type. Example: BUILT_IN
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. Integer
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. String
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
logLocations This property is required. List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>
The details of an object storage log location for a DR protection group.
status This property is required. String
The status of the step execution.
statusDetails This property is required. String
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepId This property is required. String
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. String
The group type. Example: BUILT_IN
displayName This property is required. string
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. number
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. string
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
logLocations This property is required. GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation[]
The details of an object storage log location for a DR protection group.
status This property is required. string
The status of the step execution.
statusDetails This property is required. string
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepId This property is required. string
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
timeEnded This property is required. string
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. string
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. string
The group type. Example: BUILT_IN
display_name This property is required. str
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
execution_duration_in_sec This property is required. int
The total duration in seconds taken to complete the step execution. Example: 35
group_id This property is required. str
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
log_locations This property is required. Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation]
The details of an object storage log location for a DR protection group.
status This property is required. str
The status of the step execution.
status_details This property is required. str
Additional details on the step execution status. Example: This step failed to complete due to a timeout
step_id This property is required. str
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
time_ended This property is required. str
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
time_started This property is required. str
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. str
The group type. Example: BUILT_IN
displayName This property is required. String
A filter to return only resources that match the given display name. Example: MyResourceDisplayName
executionDurationInSec This property is required. Number
The total duration in seconds taken to complete the step execution. Example: 35
groupId This property is required. String
The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
logLocations This property is required. List<Property Map>
The details of an object storage log location for a DR protection group.
status This property is required. String
The status of the step execution.
statusDetails This property is required. String
Additional details on the step execution status. Example: This step failed to complete due to a timeout
stepId This property is required. String
The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
timeEnded This property is required. String
The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
timeStarted This property is required. String
The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
type This property is required. String
The group type. Example: BUILT_IN

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation

Bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
Namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
Object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
Bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
Namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
Object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. String
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. String
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. String
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. str
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. str
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. str
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. String
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. String
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. String
The object name inside the object storage bucket. Example: switchover_plan_executions

GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation

Bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
Namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
Object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
Bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
Namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
Object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. String
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. String
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. String
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. string
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. string
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. string
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. str
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. str
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. str
The object name inside the object storage bucket. Example: switchover_plan_executions
bucket This property is required. String
The bucket name inside the object storage namespace. Example: operation_logs
namespace This property is required. String
The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
object This property is required. String
The object name inside the object storage bucket. Example: switchover_plan_executions

GetDrPlanExecutionsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi