1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DisasterRecovery
  5. DrPlanExecution
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DisasterRecovery.DrPlanExecution

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    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[_disasterrecovery.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 DrPlanExecutionExecutionOptions
    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

    DefinedTags 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
    FreeformTags 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 DrPlanExecutionExecutionOptionsArgs
    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

    DefinedTags 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
    FreeformTags 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 DrPlanExecutionExecutionOptions
    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

    definedTags 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
    freeformTags 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 DrPlanExecutionExecutionOptions
    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

    definedTags {[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
    freeformTags {[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 disasterrecovery.DrPlanExecutionExecutionOptionsArgs
    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

    defined_tags 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
    freeform_tags 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

    definedTags 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
    freeformTags 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
    DrProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the 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.
    LogLocations List<DrPlanExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    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
    PlanExecutionType string
    The type of the DR plan executed.
    State string
    The current state of the DR plan execution.
    SystemTags 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
    DrProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the 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.
    LogLocations []DrPlanExecutionLogLocation
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    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
    PlanExecutionType string
    The type of the DR plan executed.
    State string
    The current state of the DR plan execution.
    SystemTags 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
    drProtectionGroupId String
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Integer
    The total duration in seconds taken to complete the 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.
    logLocations List<DrPlanExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId String
    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
    planExecutionType String
    The type of the DR plan executed.
    state String
    The current state of the DR plan execution.
    systemTags 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
    drProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec number
    The total duration in seconds taken to complete the 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.
    logLocations DrPlanExecutionLogLocation[]
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId string
    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
    planExecutionType string
    The type of the DR plan executed.
    state string
    The current state of the DR plan execution.
    systemTags {[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_group_id str
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    execution_duration_in_sec int
    The total duration in seconds taken to complete the step execution. Example: 35
    group_executions Sequence[disasterrecovery.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.
    log_locations Sequence[disasterrecovery.DrPlanExecutionLogLocation]
    The details of an object storage log location for a DR protection group.
    peer_dr_protection_group_id str
    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_type str
    The type of the DR plan executed.
    state str
    The current state of the DR plan execution.
    system_tags 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
    drProtectionGroupId String
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Number
    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.
    lifeCycleDetails String
    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.
    peerDrProtectionGroupId String
    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
    planExecutionType String
    The type of the DR plan executed.
    state String
    The current state of the DR plan execution.
    systemTags 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[_disasterrecovery.DrPlanExecutionExecutionOptionsArgs] = None,
            freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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..uniqueID
    DefinedTags 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
    DrProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    ExecutionOptions DrPlanExecutionExecutionOptions
    The options for a plan execution.
    FreeformTags 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<DrPlanExecutionGroupExecution>
    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.
    LogLocations List<DrPlanExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    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
    PlanExecutionType string
    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.
    SystemTags 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
    DefinedTags 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
    DrProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    ExecutionOptions DrPlanExecutionExecutionOptionsArgs
    The options for a plan execution.
    FreeformTags 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 []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.
    LogLocations []DrPlanExecutionLogLocationArgs
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    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
    PlanExecutionType string
    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.
    SystemTags 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
    definedTags 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
    drProtectionGroupId String
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Integer
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions DrPlanExecutionExecutionOptions
    The options for a plan execution.
    freeformTags 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<DrPlanExecutionGroupExecution>
    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.
    logLocations List<DrPlanExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId String
    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
    planExecutionType String
    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.
    systemTags 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
    definedTags {[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
    drProtectionGroupId string
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec number
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions DrPlanExecutionExecutionOptions
    The options for a plan execution.
    freeformTags {[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 DrPlanExecutionGroupExecution[]
    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.
    logLocations DrPlanExecutionLogLocation[]
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId string
    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
    planExecutionType string
    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.
    systemTags {[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
    defined_tags 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_group_id str
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    execution_duration_in_sec int
    The total duration in seconds taken to complete the step execution. Example: 35
    execution_options disasterrecovery.DrPlanExecutionExecutionOptionsArgs
    The options for a plan execution.
    freeform_tags 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[disasterrecovery.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.
    log_locations Sequence[disasterrecovery.DrPlanExecutionLogLocationArgs]
    The details of an object storage log location for a DR protection group.
    peer_dr_protection_group_id str
    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_type str
    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.
    system_tags 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
    definedTags 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
    drProtectionGroupId String
    The OCID of the DR protection group to which this DR plan execution belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Number
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions Property Map
    The options for a plan execution.
    freeformTags 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.
    lifeCycleDetails String
    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.
    peerDrProtectionGroupId String
    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
    planExecutionType String
    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.
    systemTags 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

    PlanExecutionType string
    The type of the plan execution.
    ArePrechecksEnabled bool
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    AreWarningsIgnored bool
    A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
    PlanExecutionType string
    The type of the plan execution.
    ArePrechecksEnabled bool
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    AreWarningsIgnored bool
    A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
    planExecutionType String
    The type of the plan execution.
    arePrechecksEnabled Boolean
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    areWarningsIgnored Boolean
    A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
    planExecutionType string
    The type of the plan execution.
    arePrechecksEnabled boolean
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    areWarningsIgnored boolean
    A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
    plan_execution_type str
    The type of the plan execution.
    are_prechecks_enabled bool
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    are_warnings_ignored bool
    A flag indicating whether warnings should be ignored during the switchover precheck. Example: true
    planExecutionType String
    The type of the plan execution.
    arePrechecksEnabled Boolean
    A flag indicating whether prechecks should be executed before the plan execution. Example: false
    areWarningsIgnored Boolean
    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
    ExecutionDurationInSec int
    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<DrPlanExecutionGroupExecutionStepExecution>
    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
    ExecutionDurationInSec int
    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 []DrPlanExecutionGroupExecutionStepExecution
    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
    executionDurationInSec Integer
    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<DrPlanExecutionGroupExecutionStepExecution>
    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
    executionDurationInSec number
    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 DrPlanExecutionGroupExecutionStepExecution[]
    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_in_sec int
    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[disasterrecovery.DrPlanExecutionGroupExecutionStepExecution]
    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
    executionDurationInSec Number
    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
    ExecutionDurationInSec int
    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<DrPlanExecutionGroupExecutionStepExecutionLogLocation>
    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
    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 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 []DrPlanExecutionGroupExecutionStepExecutionLogLocation
    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
    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 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<DrPlanExecutionGroupExecutionStepExecutionLogLocation>
    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
    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 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 DrPlanExecutionGroupExecutionStepExecutionLogLocation[]
    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
    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 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[disasterrecovery.DrPlanExecutionGroupExecutionStepExecutionLogLocation]
    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
    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 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

    DrPlanExecutionGroupExecutionStepExecutionLogLocation, DrPlanExecutionGroupExecutionStepExecutionLogLocationArgs

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

    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"
    

    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi