oci logo
Oracle Cloud Infrastructure v0.6.0, Jan 23 23

oci.DisasterRecovery.DrPlanExecution

This resource provides the Dr Plan Execution resource in Oracle Cloud Infrastructure Disaster Recovery service.

Execute a DR Plan for a DR Protection Group.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testDrPlanExecution = new Oci.DisasterRecovery.DrPlanExecution("testDrPlanExecution", new()
    {
        ExecutionOptions = new Oci.DisasterRecovery.Inputs.DrPlanExecutionExecutionOptionsArgs
        {
            PlanExecutionType = @var.Dr_plan_execution_execution_options_plan_execution_type,
            ArePrechecksEnabled = @var.Dr_plan_execution_execution_options_are_prechecks_enabled,
            AreWarningsIgnored = @var.Dr_plan_execution_execution_options_are_warnings_ignored,
        },
        PlanId = oci_disaster_recovery_plan.Test_plan.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = @var.Dr_plan_execution_display_name,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });

});
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.NewDrPlanExecution(ctx, "testDrPlanExecution", &DisasterRecovery.DrPlanExecutionArgs{
			ExecutionOptions: &disasterrecovery.DrPlanExecutionExecutionOptionsArgs{
				PlanExecutionType:   pulumi.Any(_var.Dr_plan_execution_execution_options_plan_execution_type),
				ArePrechecksEnabled: pulumi.Any(_var.Dr_plan_execution_execution_options_are_prechecks_enabled),
				AreWarningsIgnored:  pulumi.Any(_var.Dr_plan_execution_execution_options_are_warnings_ignored),
			},
			PlanId: pulumi.Any(oci_disaster_recovery_plan.Test_plan.Id),
			DefinedTags: pulumi.AnyMap{
				"Operations.CostCenter": pulumi.Any("42"),
			},
			DisplayName: pulumi.Any(_var.Dr_plan_execution_display_name),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
		})
		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.DrPlanExecution;
import com.pulumi.oci.DisasterRecovery.DrPlanExecutionArgs;
import com.pulumi.oci.DisasterRecovery.inputs.DrPlanExecutionExecutionOptionsArgs;
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) {
        var testDrPlanExecution = new DrPlanExecution("testDrPlanExecution", DrPlanExecutionArgs.builder()        
            .executionOptions(DrPlanExecutionExecutionOptionsArgs.builder()
                .planExecutionType(var_.dr_plan_execution_execution_options_plan_execution_type())
                .arePrechecksEnabled(var_.dr_plan_execution_execution_options_are_prechecks_enabled())
                .areWarningsIgnored(var_.dr_plan_execution_execution_options_are_warnings_ignored())
                .build())
            .planId(oci_disaster_recovery_plan.test_plan().id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(var_.dr_plan_execution_display_name())
            .freeformTags(Map.of("Department", "Finance"))
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_dr_plan_execution = oci.disaster_recovery.DrPlanExecution("testDrPlanExecution",
    execution_options=oci.disaster_recovery.DrPlanExecutionExecutionOptionsArgs(
        plan_execution_type=var["dr_plan_execution_execution_options_plan_execution_type"],
        are_prechecks_enabled=var["dr_plan_execution_execution_options_are_prechecks_enabled"],
        are_warnings_ignored=var["dr_plan_execution_execution_options_are_warnings_ignored"],
    ),
    plan_id=oci_disaster_recovery_plan["test_plan"]["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=var["dr_plan_execution_display_name"],
    freeform_tags={
        "Department": "Finance",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrPlanExecution = new oci.disasterrecovery.DrPlanExecution("testDrPlanExecution", {
    executionOptions: {
        planExecutionType: _var.dr_plan_execution_execution_options_plan_execution_type,
        arePrechecksEnabled: _var.dr_plan_execution_execution_options_are_prechecks_enabled,
        areWarningsIgnored: _var.dr_plan_execution_execution_options_are_warnings_ignored,
    },
    planId: oci_disaster_recovery_plan.test_plan.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: _var.dr_plan_execution_display_name,
    freeformTags: {
        Department: "Finance",
    },
});
resources:
  testDrPlanExecution:
    type: oci:DisasterRecovery:DrPlanExecution
    properties:
      executionOptions:
        planExecutionType: ${var.dr_plan_execution_execution_options_plan_execution_type}
        arePrechecksEnabled: ${var.dr_plan_execution_execution_options_are_prechecks_enabled}
        areWarningsIgnored: ${var.dr_plan_execution_execution_options_are_warnings_ignored}
      planId: ${oci_disaster_recovery_plan.test_plan.id}
      #Optional
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${var.dr_plan_execution_display_name}
      freeformTags:
        Department: Finance

Create DrPlanExecution Resource

new DrPlanExecution(name: string, args: DrPlanExecutionArgs, opts?: CustomResourceOptions);
@overload
def DrPlanExecution(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    defined_tags: Optional[Mapping[str, Any]] = None,
                    display_name: Optional[str] = None,
                    execution_options: Optional[_disasterrecovery.DrPlanExecutionExecutionOptionsArgs] = None,
                    freeform_tags: Optional[Mapping[str, Any]] = None,
                    plan_id: Optional[str] = None)
@overload
def DrPlanExecution(resource_name: str,
                    args: DrPlanExecutionArgs,
                    opts: Optional[ResourceOptions] = None)
func NewDrPlanExecution(ctx *Context, name string, args DrPlanExecutionArgs, opts ...ResourceOption) (*DrPlanExecution, error)
public DrPlanExecution(string name, DrPlanExecutionArgs args, CustomResourceOptions? opts = null)
public DrPlanExecution(String name, DrPlanExecutionArgs args)
public DrPlanExecution(String name, DrPlanExecutionArgs args, CustomResourceOptions options)
type: oci:DisasterRecovery:DrPlanExecution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DrPlanExecutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DrPlanExecutionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DrPlanExecutionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DrPlanExecutionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DrPlanExecutionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DrPlanExecution Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DrPlanExecution resource accepts the following input properties:

ExecutionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

PlanId string

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

DefinedTags Dictionary<string, object>

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

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

FreeformTags Dictionary<string, object>

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

ExecutionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

PlanId string

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

DefinedTags map[string]interface{}

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

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

FreeformTags map[string]interface{}

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

executionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

planId String

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

definedTags Map<String,Object>

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

displayName String

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

freeformTags Map<String,Object>

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

executionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

planId string

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

definedTags {[key: string]: any}

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

displayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

freeformTags {[key: string]: any}

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

execution_options DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

plan_id str

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

defined_tags Mapping[str, Any]

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

display_name str

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

freeform_tags Mapping[str, Any]

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

executionOptions Property Map

The options for a plan execution.

planId String

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

definedTags Map<Any>

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

displayName String

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

freeformTags Map<Any>

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

Outputs

All input properties are implicitly available as output properties. Additionally, the DrPlanExecution resource produces the following output properties:

CompartmentId string

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

DrProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

ExecutionDurationInSec int

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

GroupExecutions List<DrPlanExecutionGroupExecution>

A list of groups executed in this DR Plan Execution.

Id string

The provider-assigned unique ID for this managed resource.

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<DrPlanExecutionLogLocation>

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 plan execution.

State string

The current state of the DR Plan Execution.

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

DrProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

ExecutionDurationInSec int

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

GroupExecutions []DrPlanExecutionGroupExecution

A list of groups executed in this DR Plan Execution.

Id string

The provider-assigned unique ID for this managed resource.

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 []DrPlanExecutionLogLocation

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 plan execution.

State string

The current state of the DR Plan Execution.

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

drProtectionGroupId String

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec Integer

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

groupExecutions List<DrPlanExecutionGroupExecution>

A list of groups executed in this DR Plan Execution.

id String

The provider-assigned unique ID for this managed resource.

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<DrPlanExecutionLogLocation>

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 plan execution.

state String

The current state of the DR Plan Execution.

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

drProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec number

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

groupExecutions DrPlanExecutionGroupExecution[]

A list of groups executed in this DR Plan Execution.

id string

The provider-assigned unique ID for this managed resource.

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 DrPlanExecutionLogLocation[]

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 plan execution.

state string

The current state of the DR Plan Execution.

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

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

execution_duration_in_sec int

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

group_executions DrPlanExecutionGroupExecution]

A list of groups executed in this DR Plan Execution.

id str

The provider-assigned unique ID for this managed resource.

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 DrPlanExecutionLogLocation]

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 plan execution.

state str

The current state of the DR Plan Execution.

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

drProtectionGroupId String

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec Number

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

groupExecutions List<Property Map>

A list of groups executed in this DR Plan Execution.

id String

The provider-assigned unique ID for this managed resource.

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 plan execution.

state String

The current state of the DR Plan Execution.

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

Look up Existing DrPlanExecution Resource

Get an existing DrPlanExecution resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DrPlanExecutionState, opts?: CustomResourceOptions): DrPlanExecution
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        dr_protection_group_id: Optional[str] = None,
        execution_duration_in_sec: Optional[int] = None,
        execution_options: Optional[_disasterrecovery.DrPlanExecutionExecutionOptionsArgs] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        group_executions: Optional[Sequence[_disasterrecovery.DrPlanExecutionGroupExecutionArgs]] = None,
        life_cycle_details: Optional[str] = None,
        log_locations: Optional[Sequence[_disasterrecovery.DrPlanExecutionLogLocationArgs]] = None,
        peer_dr_protection_group_id: Optional[str] = None,
        peer_region: Optional[str] = None,
        plan_execution_type: Optional[str] = None,
        plan_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, Any]] = None,
        time_created: Optional[str] = None,
        time_ended: Optional[str] = None,
        time_started: Optional[str] = None,
        time_updated: Optional[str] = None) -> DrPlanExecution
func GetDrPlanExecution(ctx *Context, name string, id IDInput, state *DrPlanExecutionState, opts ...ResourceOption) (*DrPlanExecution, error)
public static DrPlanExecution Get(string name, Input<string> id, DrPlanExecutionState? state, CustomResourceOptions? opts = null)
public static DrPlanExecution get(String name, Output<String> id, DrPlanExecutionState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

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

DefinedTags Dictionary<string, object>

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

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

DrProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

ExecutionDurationInSec int

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

ExecutionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

FreeformTags Dictionary<string, object>

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

GroupExecutions List<DrPlanExecutionGroupExecutionArgs>

A list of groups executed in this DR Plan Execution.

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<DrPlanExecutionLogLocationArgs>

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 plan execution.

PlanId string

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

State string

The current state of the DR Plan Execution.

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{}

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

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

DrProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

ExecutionDurationInSec int

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

ExecutionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

FreeformTags map[string]interface{}

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

GroupExecutions []DrPlanExecutionGroupExecutionArgs

A list of groups executed in this DR Plan Execution.

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 []DrPlanExecutionLogLocationArgs

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 plan execution.

PlanId string

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

State string

The current state of the DR Plan Execution.

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>

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

displayName String

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

drProtectionGroupId String

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec Integer

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

executionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

freeformTags Map<String,Object>

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

groupExecutions List<DrPlanExecutionGroupExecutionArgs>

A list of groups executed in this DR Plan Execution.

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<DrPlanExecutionLogLocationArgs>

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 plan execution.

planId String

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

state String

The current state of the DR Plan Execution.

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}

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

displayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

drProtectionGroupId string

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec number

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

executionOptions DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

freeformTags {[key: string]: any}

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

groupExecutions DrPlanExecutionGroupExecutionArgs[]

A list of groups executed in this DR Plan Execution.

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 DrPlanExecutionLogLocationArgs[]

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 plan execution.

planId string

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

state string

The current state of the DR Plan Execution.

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]

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

display_name str

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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

execution_duration_in_sec int

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

execution_options DrPlanExecutionExecutionOptionsArgs

The options for a plan execution.

freeform_tags Mapping[str, Any]

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

group_executions DrPlanExecutionGroupExecutionArgs]

A list of groups executed in this DR Plan Execution.

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 DrPlanExecutionLogLocationArgs]

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 plan execution.

plan_id str

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

state str

The current state of the DR Plan Execution.

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>

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

displayName String

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

drProtectionGroupId String

The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example: ocid1.drprotectiongroup.oc1.iad.exampleocid2

executionDurationInSec Number

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

executionOptions Property Map

The options for a plan execution.

freeformTags Map<Any>

(Updatable) 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.

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 plan execution.

planId String

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

state String

The current state of the DR Plan Execution.

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

Supporting Types

DrPlanExecutionExecutionOptions

PlanExecutionType string

The type of the plan execution.

ArePrechecksEnabled bool

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

AreWarningsIgnored bool

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

PlanExecutionType string

The type of the plan execution.

ArePrechecksEnabled bool

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

AreWarningsIgnored bool

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

planExecutionType String

The type of the plan execution.

arePrechecksEnabled Boolean

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

areWarningsIgnored Boolean

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

planExecutionType string

The type of the plan execution.

arePrechecksEnabled boolean

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

areWarningsIgnored boolean

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

plan_execution_type str

The type of the plan execution.

are_prechecks_enabled bool

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

are_warnings_ignored bool

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

planExecutionType String

The type of the plan execution.

arePrechecksEnabled Boolean

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

areWarningsIgnored Boolean

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

DrPlanExecutionGroupExecution

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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<DrPlanExecutionGroupExecutionStepExecution>

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 []DrPlanExecutionGroupExecutionStepExecution

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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<DrPlanExecutionGroupExecutionStepExecution>

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 DrPlanExecutionGroupExecutionStepExecution[]

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 DrPlanExecutionGroupExecutionStepExecution]

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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.

DrPlanExecutionGroupExecutionStepExecution

DisplayName string

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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<DrPlanExecutionGroupExecutionStepExecutionLogLocation>

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 []DrPlanExecutionGroupExecutionStepExecutionLogLocation

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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<DrPlanExecutionGroupExecutionStepExecutionLogLocation>

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 DrPlanExecutionGroupExecutionStepExecutionLogLocation[]

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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 DrPlanExecutionGroupExecutionStepExecutionLogLocation]

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

(Updatable) The display name of the DR Plan Execution. Example: Execution - EBS Switchover PHX to IAD

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.

DrPlanExecutionGroupExecutionStepExecutionLogLocation

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

DrPlanExecutionLogLocation

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

Import

DrPlanExecutions can be imported using the id, e.g.

 $ pulumi import oci:DisasterRecovery/drPlanExecution:DrPlanExecution test_dr_plan_execution "id"

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.