oci logo
Oracle Cloud Infrastructure v0.7.0, Feb 8 23

oci.DisasterRecovery.getDrPlanExecutions

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

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDrPlanExecutions = Oci.DisasterRecovery.GetDrPlanExecutions.Invoke(new()
    {
        DrProtectionGroupId = oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id,
        DisplayName = @var.Dr_plan_execution_display_name,
        DrPlanExecutionId = oci_disaster_recovery_dr_plan_execution.Test_dr_plan_execution.Id,
        DrPlanExecutionType = @var.Dr_plan_execution_dr_plan_execution_type,
        State = @var.Dr_plan_execution_state,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id,
			DisplayName:         pulumi.StringRef(_var.Dr_plan_execution_display_name),
			DrPlanExecutionId:   pulumi.StringRef(oci_disaster_recovery_dr_plan_execution.Test_dr_plan_execution.Id),
			DrPlanExecutionType: pulumi.StringRef(_var.Dr_plan_execution_dr_plan_execution_type),
			State:               pulumi.StringRef(_var.Dr_plan_execution_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_disaster_recovery_dr_protection_group.test_dr_protection_group().id())
            .displayName(var_.dr_plan_execution_display_name())
            .drPlanExecutionId(oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution().id())
            .drPlanExecutionType(var_.dr_plan_execution_dr_plan_execution_type())
            .state(var_.dr_plan_execution_state())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_dr_plan_executions = oci.DisasterRecovery.get_dr_plan_executions(dr_protection_group_id=oci_disaster_recovery_dr_protection_group["test_dr_protection_group"]["id"],
    display_name=var["dr_plan_execution_display_name"],
    dr_plan_execution_id=oci_disaster_recovery_dr_plan_execution["test_dr_plan_execution"]["id"],
    dr_plan_execution_type=var["dr_plan_execution_dr_plan_execution_type"],
    state=var["dr_plan_execution_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrPlanExecutions = oci.DisasterRecovery.getDrPlanExecutions({
    drProtectionGroupId: oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id,
    displayName: _var.dr_plan_execution_display_name,
    drPlanExecutionId: oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution.id,
    drPlanExecutionType: _var.dr_plan_execution_dr_plan_execution_type,
    state: _var.dr_plan_execution_state,
});
variables:
  testDrPlanExecutions:
    fn::invoke:
      Function: oci:DisasterRecovery:getDrPlanExecutions
      Arguments:
        drProtectionGroupId: ${oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id}
        displayName: ${var.dr_plan_execution_display_name}
        drPlanExecutionId: ${oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution.id}
        drPlanExecutionType: ${var.dr_plan_execution_dr_plan_execution_type}
        state: ${var.dr_plan_execution_state}

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>
def get_dr_plan_executions(display_name: Optional[str] = None,
                           dr_plan_execution_id: Optional[str] = None,
                           dr_plan_execution_type: 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_plan_execution_type: 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]
func GetDrPlanExecutions(ctx *Context, args *GetDrPlanExecutionsArgs, opts ...InvokeOption) (*GetDrPlanExecutionsResult, error)
func GetDrPlanExecutionsOutput(ctx *Context, args *GetDrPlanExecutionsOutputArgs, opts ...InvokeOption) GetDrPlanExecutionsResultOutput

> 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)
}
public static CompletableFuture<GetDrPlanExecutionsResult> getDrPlanExecutions(GetDrPlanExecutionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:DisasterRecovery/getDrPlanExecutions:getDrPlanExecutions
  arguments:
    # arguments dictionary

The following arguments are supported:

DrProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrPlanExecutionId string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

DrPlanExecutionType string

The DR Plan Execution type.

Filters List<GetDrPlanExecutionsFilter>
State string

A filter to return only DR Plan Executions that match the given lifecycleState.

DrProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrPlanExecutionId string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

DrPlanExecutionType string

The DR Plan Execution type.

Filters []GetDrPlanExecutionsFilter
State string

A filter to return only DR Plan Executions that match the given lifecycleState.

drProtectionGroupId String

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drPlanExecutionId String

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

drPlanExecutionType String

The DR Plan Execution type.

filters List<GetDrPlanExecutionsFilter>
state String

A filter to return only DR Plan Executions that match the given lifecycleState.

drProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drPlanExecutionId string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

drPlanExecutionType string

The DR Plan Execution type.

filters GetDrPlanExecutionsFilter[]
state string

A filter to return only DR Plan Executions that match the given lifecycleState.

dr_protection_group_id str

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

dr_plan_execution_id str

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

dr_plan_execution_type str

The DR Plan Execution type.

filters GetDrPlanExecutionsFilter]
state str

A filter to return only DR Plan Executions that match the given lifecycleState.

drProtectionGroupId String

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drPlanExecutionId String

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid

drPlanExecutionType String

The DR Plan Execution type.

filters List<Property Map>
state String

A filter to return only DR Plan Executions that match the given lifecycleState.

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.iad.exampleocid2

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

The display name of the step. Example: DATABASE_SWITCHOVER

DrPlanExecutionId string
DrPlanExecutionType 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.iad.exampleocid2

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

The display name of the step. Example: DATABASE_SWITCHOVER

DrPlanExecutionId string
DrPlanExecutionType 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.iad.exampleocid2

id String

The provider-assigned unique ID for this managed resource.

displayName String

The display name of the step. Example: DATABASE_SWITCHOVER

drPlanExecutionId String
drPlanExecutionType 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.iad.exampleocid2

id string

The provider-assigned unique ID for this managed resource.

displayName string

The display name of the step. Example: DATABASE_SWITCHOVER

drPlanExecutionId string
drPlanExecutionType string
filters GetDrPlanExecutionsFilter[]
state string

The current state of the DR Plan Execution.

dr_plan_execution_collections 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.iad.exampleocid2

id str

The provider-assigned unique ID for this managed resource.

display_name str

The display name of the step. Example: DATABASE_SWITCHOVER

dr_plan_execution_id str
dr_plan_execution_type str
filters 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.iad.exampleocid2

id String

The provider-assigned unique ID for this managed resource.

displayName String

The display name of the step. Example: DATABASE_SWITCHOVER

drPlanExecutionId String
drPlanExecutionType String
filters List<Property Map>
state String

The current state of the DR Plan Execution.

Supporting Types

GetDrPlanExecutionsDrPlanExecutionCollection

GetDrPlanExecutionsDrPlanExecutionCollectionItem

CompartmentId string

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

ExecutionOptions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>

The options for a plan execution.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

GroupExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>

A list of groups executed in this DR Plan Execution.

Id string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

LifeCycleDetails string

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

LogLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>

Information about an Object Storage log location for a DR Protection Group.

PeerDrProtectionGroupId string

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

PlanExecutionType string

The type of the DR Plan executed.

PlanId string

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

State string

A filter to return only DR Plan Executions that match the given lifecycleState.

SystemTags Dictionary<string, object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated string

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

CompartmentId string

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

DrProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

ExecutionOptions []GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption

The options for a plan execution.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

GroupExecutions []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution

A list of groups executed in this DR Plan Execution.

Id string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

LifeCycleDetails string

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

LogLocations []GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation

Information about an Object Storage log location for a DR Protection Group.

PeerDrProtectionGroupId string

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

PeerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

PlanExecutionType string

The type of the DR Plan executed.

PlanId string

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

State string

A filter to return only DR Plan Executions that match the given lifecycleState.

SystemTags map[string]interface{}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

TimeUpdated string

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

compartmentId String

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId String

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

executionDurationInSec Integer

The total duration in seconds taken to complete step execution. Example: 35

executionOptions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>

The options for a plan execution.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

groupExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>

A list of groups executed in this DR Plan Execution.

id String

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

lifeCycleDetails String

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

logLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>

Information about an Object Storage log location for a DR Protection Group.

peerDrProtectionGroupId String

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

planExecutionType String

The type of the DR Plan executed.

planId String

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

state String

A filter to return only DR Plan Executions that match the given lifecycleState.

systemTags Map<String,Object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated String

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

compartmentId string

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId string

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

executionDurationInSec number

The total duration in seconds taken to complete step execution. Example: 35

executionOptions GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption[]

The options for a plan execution.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

groupExecutions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution[]

A list of groups executed in this DR Plan Execution.

id string

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

lifeCycleDetails string

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

logLocations GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation[]

Information about an Object Storage log location for a DR Protection Group.

peerDrProtectionGroupId string

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

peerRegion string

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

planExecutionType string

The type of the DR Plan executed.

planId string

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

state string

A filter to return only DR Plan Executions that match the given lifecycleState.

systemTags {[key: string]: any}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated string

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

compartment_id str

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

dr_protection_group_id str

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

execution_duration_in_sec int

The total duration in seconds taken to complete step execution. Example: 35

execution_options GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption]

The options for a plan execution.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

group_executions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution]

A list of groups executed in this DR Plan Execution.

id str

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

life_cycle_details str

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

log_locations GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation]

Information about an Object Storage log location for a DR Protection Group.

peer_dr_protection_group_id str

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

peer_region str

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

plan_execution_type str

The type of the DR Plan executed.

plan_id str

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

state str

A filter to return only DR Plan Executions that match the given lifecycleState.

system_tags Mapping[str, Any]

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created 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 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 str

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

time_updated str

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

compartmentId String

The OCID of the compartment containing this DR Plan Execution. Example: ocid1.compartment.oc1..exampleocid1

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

drProtectionGroupId String

The OCID of the DR Protection Group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid

executionDurationInSec Number

The total duration in seconds taken to complete step execution. Example: 35

executionOptions List<Property Map>

The options for a plan execution.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}

groupExecutions List<Property Map>

A list of groups executed in this DR Plan Execution.

id String

The OCID of the DR Plan Execution. Example: ocid1.drplanexecution.oc1.iad.exampleocid2

lifeCycleDetails String

A message describing the DR Plan Execution's current state in more detail. Example: The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress

logLocations List<Property Map>

Information about an Object Storage log location for a DR Protection Group.

peerDrProtectionGroupId String

The OCID of peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example: ocid1.drprotectiongroup.oc1.phx.exampleocid1

peerRegion String

The region of the peer (remote) DR Protection Group. Example: us-ashburn-1

planExecutionType String

The type of the DR Plan executed.

planId String

The OCID of the DR Plan. Example: ocid1.drplan.oc1.iad.exampleocid2

state String

A filter to return only DR Plan Executions that match the given lifecycleState.

systemTags Map<Any>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The date and time at which DR Plan Execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

timeUpdated String

The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption

ArePrechecksEnabled bool

A flag indicating whether a precheck was executed before the plan. Example: false

AreWarningsIgnored bool

A flag indicating whether warnigs was ignored during the switchover. Example: true

PlanExecutionType string

The type of the DR Plan executed.

ArePrechecksEnabled bool

A flag indicating whether a precheck was executed before the plan. Example: false

AreWarningsIgnored bool

A flag indicating whether warnigs was ignored during the switchover. Example: true

PlanExecutionType string

The type of the DR Plan executed.

arePrechecksEnabled Boolean

A flag indicating whether a precheck was executed before the plan. Example: false

areWarningsIgnored Boolean

A flag indicating whether warnigs was ignored during the switchover. Example: true

planExecutionType String

The type of the DR Plan executed.

arePrechecksEnabled boolean

A flag indicating whether a precheck was executed before the plan. Example: false

areWarningsIgnored boolean

A flag indicating whether warnigs was ignored during the switchover. Example: true

planExecutionType string

The type of the DR Plan executed.

are_prechecks_enabled bool

A flag indicating whether a precheck was executed before the plan. Example: false

are_warnings_ignored bool

A flag indicating whether warnigs was ignored during the switchover. Example: true

plan_execution_type str

The type of the DR Plan executed.

arePrechecksEnabled Boolean

A flag indicating whether a precheck was executed before the plan. Example: false

areWarningsIgnored Boolean

A flag indicating whether warnigs was ignored during the switchover. Example: true

planExecutionType String

The type of the DR Plan executed.

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

GroupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

Status string

The status of the step execution.

StatusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

StepExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>

A list of details of each step executed in this group.

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

Type string

The plan group type.

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

GroupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

Status string

The status of the step execution.

StatusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

StepExecutions []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution

A list of details of each step executed in this group.

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

Type string

The plan group type.

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec Integer

The total duration in seconds taken to complete step execution. Example: 35

groupId String

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

status String

The status of the step execution.

statusDetails String

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>

A list of details of each step executed in this group.

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type String

The plan group type.

displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec number

The total duration in seconds taken to complete step execution. Example: 35

groupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

status string

The status of the step execution.

statusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepExecutions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution[]

A list of details of each step executed in this group.

timeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type string

The plan group type.

display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

execution_duration_in_sec int

The total duration in seconds taken to complete step execution. Example: 35

group_id str

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

status str

The status of the step execution.

status_details str

Additional details about the step execution status. Example: This step failed to complete due to a timeout

step_executions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution]

A list of details of each step executed in this group.

time_ended 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 str

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type str

The plan group type.

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec Number

The total duration in seconds taken to complete step execution. Example: 35

groupId String

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

status String

The status of the step execution.

statusDetails String

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepExecutions List<Property Map>

A list of details of each step executed in this group.

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type String

The plan group type.

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

GroupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

LogLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>

Information about an Object Storage log location for a DR Protection Group.

Status string

The status of the step execution.

StatusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

StepId string

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

Type string

The plan group type.

DisplayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

ExecutionDurationInSec int

The total duration in seconds taken to complete step execution. Example: 35

GroupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

LogLocations []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation

Information about an Object Storage log location for a DR Protection Group.

Status string

The status of the step execution.

StatusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

StepId string

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

TimeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

Type string

The plan group type.

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec Integer

The total duration in seconds taken to complete step execution. Example: 35

groupId String

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

logLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>

Information about an Object Storage log location for a DR Protection Group.

status String

The status of the step execution.

statusDetails String

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepId String

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type String

The plan group type.

displayName string

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec number

The total duration in seconds taken to complete step execution. Example: 35

groupId string

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

logLocations GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation[]

Information about an Object Storage log location for a DR Protection Group.

status string

The status of the step execution.

statusDetails string

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepId string

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

timeEnded 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 string

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type string

The plan group type.

display_name str

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

execution_duration_in_sec int

The total duration in seconds taken to complete step execution. Example: 35

group_id str

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

log_locations GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation]

Information about an Object Storage log location for a DR Protection Group.

status str

The status of the step execution.

status_details str

Additional details about the step execution status. Example: This step failed to complete due to a timeout

step_id str

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

time_ended 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 str

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type str

The plan group type.

displayName String

A filter to return only resources that match the entire display name given. Example: MY UNIQUE DISPLAY NAME

executionDurationInSec Number

The total duration in seconds taken to complete step execution. Example: 35

groupId String

The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..examplegroupsgid

logLocations List<Property Map>

Information about an Object Storage log location for a DR Protection Group.

status String

The status of the step execution.

statusDetails String

Additional details about the step execution status. Example: This step failed to complete due to a timeout

stepId String

The unique id of this step. Must not be modified by user. Example: sgid1.step..examplestepsgid

timeEnded 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 String

The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

type String

The plan group type.

GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation

Bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

Object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

Bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

Object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket String

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object String

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket str

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace str

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object str

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket String

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object String

The object name inside the Object Storage bucket. Example: switchover_plan_executions

GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation

Bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

Object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

Bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

Namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

Object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket String

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object String

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket string

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace string

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object string

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket str

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace str

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object str

The object name inside the Object Storage bucket. Example: switchover_plan_executions

bucket String

The bucket name inside the Object Storage namespace. Example: operation_logs

namespace String

The namespace in Object Storage (Note - this is usually the tenancy name). Example: myocitenancy

object String

The object name inside the Object Storage bucket. Example: switchover_plan_executions

GetDrPlanExecutionsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values 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.