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[_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:
- Execution
Options DrPlan Execution Execution Options - The options for a plan execution.
- Plan
Id 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"}
- Display
Name 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"}
- Execution
Options DrPlan Execution Execution Options Args - The options for a plan execution.
- Plan
Id 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"}
- Display
Name 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"}
- execution
Options DrPlan Execution Execution Options - The options for a plan execution.
- plan
Id 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"}
- display
Name 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"}
- execution
Options DrPlan Execution Execution Options - The options for a plan execution.
- plan
Id 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"}
- display
Name 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 disasterrecovery.Dr Plan 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"}
- execution
Options Property Map - The options for a plan execution.
- plan
Id 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"}
- display
Name 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:
- Compartment
Id string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
- Dr
Protection stringGroup 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 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.
- Life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- Log
Locations List<DrPlan Execution Log Location> - The details of an object storage log location for a DR protection group.
- Peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution 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"}
- Time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Ended 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
- Time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Compartment
Id string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
- Dr
Protection stringGroup 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 []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.
- Life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- Log
Locations []DrPlan Execution Log Location - The details of an object storage log location for a DR protection group.
- Peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution 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"}
- Time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Ended 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
- Time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id String - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
- dr
Protection StringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration IntegerIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Executions 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.
- life
Cycle StringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations List<DrPlan Execution Log Location> - The details of an object storage log location for a DR protection group.
- peer
Dr StringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution 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"}
- time
Created String - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
- dr
Protection stringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration numberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Executions 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.
- life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations DrPlan Execution Log Location[] - The details of an object storage log location for a DR protection group.
- peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution 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"}
- time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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[disasterrecovery.Dr Plan 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[disasterrecovery.Dr Plan 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
- compartment
Id String - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
- dr
Protection StringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration NumberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Executions List<Property Map> - A list of groups executed in this DR plan execution.
- id String
- The provider-assigned unique ID for this managed resource.
- life
Cycle StringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations List<Property Map> - The details of an object storage log location for a DR protection group.
- peer
Dr StringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution 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"}
- time
Created String - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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.
- Compartment
Id 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"}
- Display
Name string - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- Dr
Protection stringGroup 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 - 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"}
- Group
Executions List<DrPlan Execution Group Execution> - A list of groups executed in this DR plan execution.
- Life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- Log
Locations List<DrPlan Execution Log Location> - The details of an object storage log location for a DR protection group.
- Peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution stringType - The type of the DR plan executed.
- Plan
Id 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"}
- Time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Ended 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
- Time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Compartment
Id 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"}
- Display
Name string - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- Dr
Protection stringGroup 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.
- 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"}
- Group
Executions []DrPlan Execution Group Execution Args - A list of groups executed in this DR plan execution.
- Life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- Log
Locations []DrPlan Execution Log Location Args - The details of an object storage log location for a DR protection group.
- Peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution stringType - The type of the DR plan executed.
- Plan
Id 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"}
- Time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Ended 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
- Time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id 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"}
- display
Name String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- dr
Protection StringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration IntegerIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options 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"}
- group
Executions List<DrPlan Execution Group Execution> - A list of groups executed in this DR plan execution.
- life
Cycle StringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations List<DrPlan Execution Log Location> - The details of an object storage log location for a DR protection group.
- peer
Dr StringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution StringType - The type of the DR plan executed.
- plan
Id 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"}
- time
Created String - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated String - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id 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"}
- display
Name string - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- dr
Protection stringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration numberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options 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"}
- group
Executions DrPlan Execution Group Execution[] - A list of groups executed in this DR plan execution.
- life
Cycle stringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations DrPlan Execution Log Location[] - The details of an object storage log location for a DR protection group.
- peer
Dr stringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution stringType - The type of the DR plan executed.
- plan
Id 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"}
- time
Created string - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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 disasterrecovery.Dr Plan 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[disasterrecovery.Dr Plan 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[disasterrecovery.Dr Plan 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
- compartment
Id 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"}
- display
Name String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- dr
Protection StringGroup Id - The OCID of the DR protection group to which this DR plan execution belongs. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration NumberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options 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"}
- group
Executions List<Property Map> - A list of groups executed in this DR plan execution.
- life
Cycle StringDetails - A message describing the DR plan execution's current state in more detail.
- log
Locations List<Property Map> - The details of an object storage log location for a DR protection group.
- peer
Dr StringProtection Group Id - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution StringType - The type of the DR plan executed.
- plan
Id 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"}
- time
Created String - The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Ended 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
- time
Started String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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
- Plan
Execution stringType - 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
- Plan
Execution stringType - 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
- plan
Execution StringType - The type of the plan execution.
- are
Prechecks BooleanEnabled - A flag indicating whether prechecks should be executed before the plan execution. Example:
false
- are
Warnings BooleanIgnored - A flag indicating whether warnings should be ignored during the switchover precheck. Example:
true
- plan
Execution stringType - The type of the plan execution.
- are
Prechecks booleanEnabled - A flag indicating whether prechecks should be executed before the plan execution. Example:
false
- are
Warnings 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
- plan
Execution StringType - The type of the plan execution.
- are
Prechecks BooleanEnabled - A flag indicating whether prechecks should be executed before the plan execution. Example:
false
- are
Warnings BooleanIgnored - A flag indicating whether warnings should be ignored during the switchover precheck. Example:
true
DrPlanExecutionGroupExecution, DrPlanExecutionGroupExecutionArgs
- Display
Name string - (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 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.
- Status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions List<DrPlan Execution Group Execution Step Execution> - A list of step executions in the group.
- Time
Ended 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
- Time
Started 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 string - (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 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.
- Status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions []DrPlan Execution Group Execution Step Execution - A list of step executions in the group.
- Time
Ended 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
- Time
Started 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 String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration IntegerIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id 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.
- status
Details String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions List<DrPlan Execution Group Execution Step Execution> - A list of step executions in the group.
- time
Ended 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
- time
Started 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 string - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration numberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id 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.
- status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions DrPlan Execution Group Execution Step Execution[] - A list of step executions in the group.
- time
Ended 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
- time
Started 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[disasterrecovery.Dr Plan 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
- display
Name String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration NumberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id 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.
- status
Details String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions List<Property Map> - A list of step executions in the group.
- time
Ended 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
- time
Started 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
- Display
Name string - (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 string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Log
Locations 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.
- Status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- Time
Ended 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
- Time
Started 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 string - (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 string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Log
Locations []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.
- Status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- Time
Ended 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
- Time
Started 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 String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration IntegerIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations 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.
- status
Details String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id String - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended 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
- time
Started 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 string - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration numberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations 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.
- status
Details string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended 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
- time
Started 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
- log_
locations Sequence[disasterrecovery.Dr Plan 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
- display
Name String - (Updatable) The display name of the DR plan execution. Example:
Execution - EBS Switchover PHX to IAD
- execution
Duration NumberIn Sec - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations List<Property Map> - The details of an object storage log location for a DR protection group.
- status String
- The status of the step execution.
- status
Details String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id String - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended 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
- time
Started 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
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
oci
Terraform Provider.