oci.DisasterRecovery.DrPlanExecution
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDrPlanExecution = new oci.disasterrecovery.DrPlanExecution("test_dr_plan_execution", {
    executionOptions: {
        planExecutionType: drPlanExecutionExecutionOptionsPlanExecutionType,
        arePrechecksEnabled: drPlanExecutionExecutionOptionsArePrechecksEnabled,
        areWarningsIgnored: drPlanExecutionExecutionOptionsAreWarningsIgnored,
    },
    planId: testPlan.id,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    displayName: drPlanExecutionDisplayName,
    freeformTags: {
        Department: "Finance",
    },
});
import pulumi
import pulumi_oci as oci
test_dr_plan_execution = oci.disaster_recovery.DrPlanExecution("test_dr_plan_execution",
    execution_options={
        "plan_execution_type": dr_plan_execution_execution_options_plan_execution_type,
        "are_prechecks_enabled": dr_plan_execution_execution_options_are_prechecks_enabled,
        "are_warnings_ignored": dr_plan_execution_execution_options_are_warnings_ignored,
    },
    plan_id=test_plan["id"],
    defined_tags={
        "Operations.CostCenter": "42",
    },
    display_name=dr_plan_execution_display_name,
    freeform_tags={
        "Department": "Finance",
    })
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/disasterrecovery"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := disasterrecovery.NewDrPlanExecution(ctx, "test_dr_plan_execution", &disasterrecovery.DrPlanExecutionArgs{
			ExecutionOptions: &disasterrecovery.DrPlanExecutionExecutionOptionsArgs{
				PlanExecutionType:   pulumi.Any(drPlanExecutionExecutionOptionsPlanExecutionType),
				ArePrechecksEnabled: pulumi.Any(drPlanExecutionExecutionOptionsArePrechecksEnabled),
				AreWarningsIgnored:  pulumi.Any(drPlanExecutionExecutionOptionsAreWarningsIgnored),
			},
			PlanId: pulumi.Any(testPlan.Id),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			DisplayName: pulumi.Any(drPlanExecutionDisplayName),
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testDrPlanExecution = new Oci.DisasterRecovery.DrPlanExecution("test_dr_plan_execution", new()
    {
        ExecutionOptions = new Oci.DisasterRecovery.Inputs.DrPlanExecutionExecutionOptionsArgs
        {
            PlanExecutionType = drPlanExecutionExecutionOptionsPlanExecutionType,
            ArePrechecksEnabled = drPlanExecutionExecutionOptionsArePrechecksEnabled,
            AreWarningsIgnored = drPlanExecutionExecutionOptionsAreWarningsIgnored,
        },
        PlanId = testPlan.Id,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        DisplayName = drPlanExecutionDisplayName,
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });
});
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(drPlanExecutionExecutionOptionsPlanExecutionType)
                .arePrechecksEnabled(drPlanExecutionExecutionOptionsArePrechecksEnabled)
                .areWarningsIgnored(drPlanExecutionExecutionOptionsAreWarningsIgnored)
                .build())
            .planId(testPlan.id())
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .displayName(drPlanExecutionDisplayName)
            .freeformTags(Map.of("Department", "Finance"))
            .build());
    }
}
resources:
  testDrPlanExecution:
    type: oci:DisasterRecovery:DrPlanExecution
    name: test_dr_plan_execution
    properties:
      executionOptions:
        planExecutionType: ${drPlanExecutionExecutionOptionsPlanExecutionType}
        arePrechecksEnabled: ${drPlanExecutionExecutionOptionsArePrechecksEnabled}
        areWarningsIgnored: ${drPlanExecutionExecutionOptionsAreWarningsIgnored}
      planId: ${testPlan.id}
      definedTags:
        Operations.CostCenter: '42'
      displayName: ${drPlanExecutionDisplayName}
      freeformTags:
        Department: Finance
Create DrPlanExecution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DrPlanExecution(name: string, args: DrPlanExecutionArgs, opts?: CustomResourceOptions);@overload
def DrPlanExecution(resource_name: str,
                    args: DrPlanExecutionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def DrPlanExecution(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    execution_options: Optional[DrPlanExecutionExecutionOptionsArgs] = None,
                    plan_id: Optional[str] = None,
                    defined_tags: Optional[Mapping[str, str]] = None,
                    display_name: Optional[str] = None,
                    freeform_tags: Optional[Mapping[str, str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var drPlanExecutionResource = new Oci.DisasterRecovery.DrPlanExecution("drPlanExecutionResource", new()
{
    ExecutionOptions = new Oci.DisasterRecovery.Inputs.DrPlanExecutionExecutionOptionsArgs
    {
        PlanExecutionType = "string",
        ArePrechecksEnabled = false,
        AreWarningsIgnored = false,
    },
    PlanId = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    FreeformTags = 
    {
        { "string", "string" },
    },
});
example, err := disasterrecovery.NewDrPlanExecution(ctx, "drPlanExecutionResource", &disasterrecovery.DrPlanExecutionArgs{
	ExecutionOptions: &disasterrecovery.DrPlanExecutionExecutionOptionsArgs{
		PlanExecutionType:   pulumi.String("string"),
		ArePrechecksEnabled: pulumi.Bool(false),
		AreWarningsIgnored:  pulumi.Bool(false),
	},
	PlanId: pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var drPlanExecutionResource = new DrPlanExecution("drPlanExecutionResource", DrPlanExecutionArgs.builder()
    .executionOptions(DrPlanExecutionExecutionOptionsArgs.builder()
        .planExecutionType("string")
        .arePrechecksEnabled(false)
        .areWarningsIgnored(false)
        .build())
    .planId("string")
    .definedTags(Map.of("string", "string"))
    .displayName("string")
    .freeformTags(Map.of("string", "string"))
    .build());
dr_plan_execution_resource = oci.disaster_recovery.DrPlanExecution("drPlanExecutionResource",
    execution_options={
        "plan_execution_type": "string",
        "are_prechecks_enabled": False,
        "are_warnings_ignored": False,
    },
    plan_id="string",
    defined_tags={
        "string": "string",
    },
    display_name="string",
    freeform_tags={
        "string": "string",
    })
const drPlanExecutionResource = new oci.disasterrecovery.DrPlanExecution("drPlanExecutionResource", {
    executionOptions: {
        planExecutionType: "string",
        arePrechecksEnabled: false,
        areWarningsIgnored: false,
    },
    planId: "string",
    definedTags: {
        string: "string",
    },
    displayName: "string",
    freeformTags: {
        string: "string",
    },
});
type: oci:DisasterRecovery:DrPlanExecution
properties:
    definedTags:
        string: string
    displayName: string
    executionOptions:
        arePrechecksEnabled: false
        areWarningsIgnored: false
        planExecutionType: string
    freeformTags:
        string: string
    planId: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DrPlanExecution resource accepts the following input properties:
- ExecutionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- PlanId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Dictionary<string, string>
- (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
- Dictionary<string, string>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
- ExecutionOptions DrPlan Execution Execution Options Args 
- The options for a plan execution.
- PlanId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- map[string]string
- (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
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
- executionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- planId String
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String,String>
- (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
- Map<String,String>
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
- executionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- planId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- {[key: string]: string}
- (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
- {[key: string]: string}
- (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 DrPlan Execution Execution Options Args 
- The options for a plan execution.
- plan_id str
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Mapping[str, str]
- (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
- Mapping[str, str]
- (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..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Map<String>
- (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
- Map<String>
- (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..uniqueID
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- GroupExecutions List<DrPlan Execution Group Execution> 
- A list of groups executed in this DR plan execution.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- LogLocations List<DrPlan Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- PeerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- PeerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- PlanExecution stringType 
- The type of the DR plan executed.
- State string
- The current state of the DR plan execution.
- Dictionary<string, string>
- 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 when 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..uniqueID
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- GroupExecutions []DrPlan Execution Group Execution 
- A list of groups executed in this DR plan execution.
- Id string
- The provider-assigned unique ID for this managed resource.
- LifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- LogLocations []DrPlan Execution Log Location 
- The details of an object storage log location for a DR protection group.
- PeerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- PeerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- PlanExecution stringType 
- The type of the DR plan executed.
- State string
- The current state of the DR plan execution.
- map[string]string
- 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 when 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..uniqueID
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration IntegerIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- groupExecutions List<DrPlan Execution Group Execution> 
- A list of groups executed in this DR plan execution.
- id String
- The provider-assigned unique ID for this managed resource.
- lifeCycle StringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations List<DrPlan Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- peerDr StringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion String
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution StringType 
- The type of the DR plan executed.
- state String
- The current state of the DR plan execution.
- Map<String,String>
- 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 when 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..uniqueID
- drProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration numberIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- groupExecutions DrPlan Execution Group Execution[] 
- A list of groups executed in this DR plan execution.
- id string
- The provider-assigned unique ID for this managed resource.
- lifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations DrPlan Execution Log Location[] 
- The details of an object storage log location for a DR protection group.
- peerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution stringType 
- The type of the DR plan executed.
- state string
- The current state of the DR plan execution.
- {[key: string]: string}
- 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 when 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..uniqueID
- dr_protection_ strgroup_ id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- execution_duration_ intin_ sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- group_executions Sequence[DrPlan Execution Group Execution] 
- A list of groups executed in this DR plan execution.
- id str
- The provider-assigned unique ID for this managed resource.
- life_cycle_ strdetails 
- A message describing the DR plan execution's current state in more detail.
- log_locations Sequence[DrPlan Execution Log Location] 
- The details of an object storage log location for a DR protection group.
- peer_dr_ strprotection_ group_ id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peer_region str
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- plan_execution_ strtype 
- The type of the DR plan executed.
- state str
- The current state of the DR plan execution.
- Mapping[str, str]
- 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 when 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..uniqueID
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration NumberIn Sec 
- The total duration in seconds taken to complete the 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.
- lifeCycle StringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations List<Property Map>
- The details of an object storage log location for a DR protection group.
- peerDr StringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion String
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution StringType 
- The type of the DR plan executed.
- state String
- The current state of the DR plan execution.
- Map<String>
- 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 when 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, str]] = None,
        display_name: Optional[str] = None,
        dr_protection_group_id: Optional[str] = None,
        execution_duration_in_sec: Optional[int] = None,
        execution_options: Optional[DrPlanExecutionExecutionOptionsArgs] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        group_executions: Optional[Sequence[DrPlanExecutionGroupExecutionArgs]] = None,
        life_cycle_details: Optional[str] = None,
        log_locations: Optional[Sequence[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, str]] = None,
        time_created: Optional[str] = None,
        time_ended: Optional[str] = None,
        time_started: Optional[str] = None,
        time_updated: Optional[str] = None) -> DrPlanExecutionfunc 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)resources:  _:    type: oci:DisasterRecovery:DrPlanExecution    get:      id: ${id}- 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.
- CompartmentId string
- The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
- Dictionary<string, string>
- (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
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- ExecutionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- Dictionary<string, string>
- (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<DrPlan Execution Group Execution> 
- A list of groups executed in this DR plan execution.
- LifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- LogLocations List<DrPlan Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- PeerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- PeerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- PlanExecution stringType 
- The type of the DR plan executed.
- PlanId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The current state of the DR plan execution.
- Dictionary<string, string>
- 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 when 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..uniqueID
- map[string]string
- (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
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- ExecutionOptions DrPlan Execution Execution Options Args 
- The options for a plan execution.
- map[string]string
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
- GroupExecutions []DrPlan Execution Group Execution Args 
- A list of groups executed in this DR plan execution.
- LifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- LogLocations []DrPlan Execution Log Location Args 
- The details of an object storage log location for a DR protection group.
- PeerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- PeerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- PlanExecution stringType 
- The type of the DR plan executed.
- PlanId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The current state of the DR plan execution.
- map[string]string
- 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 when 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..uniqueID
- Map<String,String>
- (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
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration IntegerIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- executionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- Map<String,String>
- (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<DrPlan Execution Group Execution> 
- A list of groups executed in this DR plan execution.
- lifeCycle StringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations List<DrPlan Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- peerDr StringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion String
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution StringType 
- The type of the DR plan executed.
- planId String
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The current state of the DR plan execution.
- Map<String,String>
- 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 when 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..uniqueID
- {[key: string]: string}
- (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
- drProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration numberIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- executionOptions DrPlan Execution Execution Options 
- The options for a plan execution.
- {[key: string]: string}
- (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
- groupExecutions DrPlan Execution Group Execution[] 
- A list of groups executed in this DR plan execution.
- lifeCycle stringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations DrPlan Execution Log Location[] 
- The details of an object storage log location for a DR protection group.
- peerDr stringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion string
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution stringType 
- The type of the DR plan executed.
- planId string
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state string
- The current state of the DR plan execution.
- {[key: string]: string}
- 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 when 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..uniqueID
- Mapping[str, str]
- (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_ strgroup_ id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- execution_duration_ intin_ sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- execution_options DrPlan Execution Execution Options Args 
- The options for a plan execution.
- Mapping[str, str]
- (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 Sequence[DrPlan Execution Group Execution Args] 
- A list of groups executed in this DR plan execution.
- life_cycle_ strdetails 
- A message describing the DR plan execution's current state in more detail.
- log_locations Sequence[DrPlan Execution Log Location Args] 
- The details of an object storage log location for a DR protection group.
- peer_dr_ strprotection_ group_ id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peer_region str
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- plan_execution_ strtype 
- The type of the DR plan executed.
- plan_id str
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state str
- The current state of the DR plan execution.
- Mapping[str, str]
- 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 when 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..uniqueID
- Map<String>
- (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
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- executionDuration NumberIn Sec 
- The total duration in seconds taken to complete the step execution. Example: 35
- executionOptions Property Map
- The options for a plan execution.
- Map<String>
- (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.
- lifeCycle StringDetails 
- A message describing the DR plan execution's current state in more detail.
- logLocations List<Property Map>
- The details of an object storage log location for a DR protection group.
- peerDr StringProtection Group Id 
- The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
- peerRegion String
- The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
- planExecution StringType 
- The type of the DR plan executed.
- planId String
- The OCID of the DR plan. Example: - ocid1.drplan.oc1..uniqueID- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The current state of the DR plan execution.
- Map<String>
- 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 when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Supporting Types
DrPlanExecutionExecutionOptions, DrPlanExecutionExecutionOptionsArgs          
- PlanExecution stringType 
- The type of the plan execution.
- ArePrechecks boolEnabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- AreWarnings boolIgnored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
- PlanExecution stringType 
- The type of the plan execution.
- ArePrechecks boolEnabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- AreWarnings boolIgnored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
- planExecution StringType 
- The type of the plan execution.
- arePrechecks BooleanEnabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- areWarnings BooleanIgnored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
- planExecution stringType 
- The type of the plan execution.
- arePrechecks booleanEnabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- areWarnings booleanIgnored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
- plan_execution_ strtype 
- The type of the plan execution.
- are_prechecks_ boolenabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- are_warnings_ boolignored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
- planExecution StringType 
- The type of the plan execution.
- arePrechecks BooleanEnabled 
- A flag indicating whether prechecks should be executed before the plan execution. Example: false
- areWarnings BooleanIgnored 
- A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
DrPlanExecutionGroupExecution, DrPlanExecutionGroupExecutionArgs          
- DisplayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- Status string
- The status of the step execution.
- StatusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- StepExecutions List<DrPlan Execution Group Execution Step Execution> 
- A list of step executions in the 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 group type. Example: BUILT_IN
- DisplayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- Status string
- The status of the step execution.
- StatusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- StepExecutions []DrPlan Execution Group Execution Step Execution 
- A list of step executions in the 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 group type. Example: BUILT_IN
- displayName String
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration IntegerIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- status String
- The status of the step execution.
- statusDetails String
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepExecutions List<DrPlan Execution Group Execution Step Execution> 
- A list of step executions in the 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 group type. Example: BUILT_IN
- displayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration numberIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- status string
- The status of the step execution.
- statusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepExecutions DrPlan Execution Group Execution Step Execution[] 
- A list of step executions in the 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 group type. Example: BUILT_IN
- display_name str
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- execution_duration_ intin_ sec 
- The total duration in seconds taken to complete the 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..uniqueID
- status str
- The status of the step execution.
- status_details str
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- step_executions Sequence[DrPlan Execution Group Execution Step Execution] 
- A list of step executions in the 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 group type. Example: BUILT_IN
- displayName String
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration NumberIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- status String
- The status of the step execution.
- statusDetails String
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepExecutions List<Property Map>
- A list of step executions in the 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 group type. Example: BUILT_IN
DrPlanExecutionGroupExecutionStepExecution, DrPlanExecutionGroupExecutionStepExecutionArgs              
- DisplayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- LogLocations List<DrPlan Execution Group Execution Step Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- Status string
- The status of the step execution.
- StatusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- StepId string
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- TypeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- DisplayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- ExecutionDuration intIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- LogLocations []DrPlan Execution Group Execution Step Execution Log Location 
- The details of an object storage log location for a DR protection group.
- Status string
- The status of the step execution.
- StatusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- StepId string
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- TypeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- displayName String
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration IntegerIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- logLocations List<DrPlan Execution Group Execution Step Execution Log Location> 
- The details of an object storage log location for a DR protection group.
- status String
- The status of the step execution.
- statusDetails String
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepId String
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- typeDisplay StringName 
- The display name of the DR Plan step type. Example: Database Switchover
- displayName string
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration numberIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- logLocations DrPlan Execution Group Execution Step Execution Log Location[] 
- The details of an object storage log location for a DR protection group.
- status string
- The status of the step execution.
- statusDetails string
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepId string
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- typeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- display_name str
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- execution_duration_ intin_ sec 
- The total duration in seconds taken to complete the 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..uniqueID
- log_locations Sequence[DrPlan Execution Group Execution Step Execution Log Location] 
- The details of an object storage log location for a DR protection group.
- status str
- The status of the step execution.
- status_details str
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- step_id str
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- type_display_ strname 
- The display name of the DR Plan step type. Example: Database Switchover
- displayName String
- (Updatable) The display name of the DR plan execution. Example: Execution - EBS Switchover PHX to IAD
- executionDuration NumberIn Sec 
- The total duration in seconds taken to complete the 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..uniqueID
- logLocations List<Property Map>
- The details of an object storage log location for a DR protection group.
- status String
- The status of the step execution.
- statusDetails String
- Additional details on the step execution status. Example: This step failed to complete due to a timeout
- stepId String
- The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
- 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 group type. Example: BUILT_IN
- typeDisplay StringName 
- The display name of the DR Plan step type. Example: Database Switchover
DrPlanExecutionGroupExecutionStepExecutionLogLocation, DrPlanExecutionGroupExecutionStepExecutionLogLocationArgs                  
DrPlanExecutionLogLocation, DrPlanExecutionLogLocationArgs          
Import
DrPlanExecutions can be imported using the id, e.g.
$ pulumi import oci:DisasterRecovery/drPlanExecution:DrPlanExecution test_dr_plan_execution "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.