oci.DisasterRecovery.DrPlan
Explore with Pulumi AI
This resource provides the Dr Plan resource in Oracle Cloud Infrastructure Disaster Recovery service.
Create a DR plan of the specified DR plan type.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDrPlan = new oci.disasterrecovery.DrPlan("test_dr_plan", {
    displayName: drPlanDisplayName,
    drProtectionGroupId: testDrProtectionGroup.id,
    type: drPlanType,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
    sourcePlanId: testSourcePlan.id,
});
import pulumi
import pulumi_oci as oci
test_dr_plan = oci.disaster_recovery.DrPlan("test_dr_plan",
    display_name=dr_plan_display_name,
    dr_protection_group_id=test_dr_protection_group["id"],
    type=dr_plan_type,
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    },
    source_plan_id=test_source_plan["id"])
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.NewDrPlan(ctx, "test_dr_plan", &disasterrecovery.DrPlanArgs{
			DisplayName:         pulumi.Any(drPlanDisplayName),
			DrProtectionGroupId: pulumi.Any(testDrProtectionGroup.Id),
			Type:                pulumi.Any(drPlanType),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
			SourcePlanId: pulumi.Any(testSourcePlan.Id),
		})
		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 testDrPlan = new Oci.DisasterRecovery.DrPlan("test_dr_plan", new()
    {
        DisplayName = drPlanDisplayName,
        DrProtectionGroupId = testDrProtectionGroup.Id,
        Type = drPlanType,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
        SourcePlanId = testSourcePlan.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DisasterRecovery.DrPlan;
import com.pulumi.oci.DisasterRecovery.DrPlanArgs;
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 testDrPlan = new DrPlan("testDrPlan", DrPlanArgs.builder()
            .displayName(drPlanDisplayName)
            .drProtectionGroupId(testDrProtectionGroup.id())
            .type(drPlanType)
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .freeformTags(Map.of("Department", "Finance"))
            .sourcePlanId(testSourcePlan.id())
            .build());
    }
}
resources:
  testDrPlan:
    type: oci:DisasterRecovery:DrPlan
    name: test_dr_plan
    properties:
      displayName: ${drPlanDisplayName}
      drProtectionGroupId: ${testDrProtectionGroup.id}
      type: ${drPlanType}
      definedTags:
        Operations.CostCenter: '42'
      freeformTags:
        Department: Finance
      sourcePlanId: ${testSourcePlan.id}
Create DrPlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DrPlan(name: string, args: DrPlanArgs, opts?: CustomResourceOptions);@overload
def DrPlan(resource_name: str,
           args: DrPlanArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def DrPlan(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           display_name: Optional[str] = None,
           dr_protection_group_id: Optional[str] = None,
           type: Optional[str] = None,
           defined_tags: Optional[Mapping[str, str]] = None,
           freeform_tags: Optional[Mapping[str, str]] = None,
           refresh_trigger: Optional[int] = None,
           source_plan_id: Optional[str] = None,
           verify_trigger: Optional[int] = None)func NewDrPlan(ctx *Context, name string, args DrPlanArgs, opts ...ResourceOption) (*DrPlan, error)public DrPlan(string name, DrPlanArgs args, CustomResourceOptions? opts = null)
public DrPlan(String name, DrPlanArgs args)
public DrPlan(String name, DrPlanArgs args, CustomResourceOptions options)
type: oci:DisasterRecovery:DrPlan
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 DrPlanArgs
- 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 DrPlanArgs
- 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 DrPlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DrPlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DrPlanArgs
- 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 drPlanResource = new Oci.DisasterRecovery.DrPlan("drPlanResource", new()
{
    DisplayName = "string",
    DrProtectionGroupId = "string",
    Type = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
    RefreshTrigger = 0,
    SourcePlanId = "string",
    VerifyTrigger = 0,
});
example, err := disasterrecovery.NewDrPlan(ctx, "drPlanResource", &disasterrecovery.DrPlanArgs{
	DisplayName:         pulumi.String("string"),
	DrProtectionGroupId: pulumi.String("string"),
	Type:                pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	RefreshTrigger: pulumi.Int(0),
	SourcePlanId:   pulumi.String("string"),
	VerifyTrigger:  pulumi.Int(0),
})
var drPlanResource = new DrPlan("drPlanResource", DrPlanArgs.builder()
    .displayName("string")
    .drProtectionGroupId("string")
    .type("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .refreshTrigger(0)
    .sourcePlanId("string")
    .verifyTrigger(0)
    .build());
dr_plan_resource = oci.disaster_recovery.DrPlan("drPlanResource",
    display_name="string",
    dr_protection_group_id="string",
    type="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    },
    refresh_trigger=0,
    source_plan_id="string",
    verify_trigger=0)
const drPlanResource = new oci.disasterrecovery.DrPlan("drPlanResource", {
    displayName: "string",
    drProtectionGroupId: "string",
    type: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
    refreshTrigger: 0,
    sourcePlanId: "string",
    verifyTrigger: 0,
});
type: oci:DisasterRecovery:DrPlan
properties:
    definedTags:
        string: string
    displayName: string
    drProtectionGroupId: string
    freeformTags:
        string: string
    refreshTrigger: 0
    sourcePlanId: string
    type: string
    verifyTrigger: 0
DrPlan 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 DrPlan resource accepts the following input properties:
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- Type string
- The type of DR plan to be created.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- 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"}
- RefreshTrigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- SourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- VerifyTrigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- Type string
- The type of DR plan to be created.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- 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"}
- RefreshTrigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- SourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- VerifyTrigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- type String
- The type of DR plan to be created.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- 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"}
- refreshTrigger Integer
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan StringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- verifyTrigger Integer
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- displayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- type string
- The type of DR plan to be created.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- {[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"}
- refreshTrigger number
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- verifyTrigger number
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- display_name str
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- dr_protection_ strgroup_ id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- type str
- The type of DR plan to be created.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- 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"}
- refresh_trigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- source_plan_ strid 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- verify_trigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- type String
- The type of DR plan to be created.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- 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"}
- refreshTrigger Number
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan StringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- verifyTrigger Number
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
Outputs
All input properties are implicitly available as output properties. Additionally, the DrPlan resource produces the following output properties:
- CompartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- Id string
- The provider-assigned unique ID for this managed resource.
- LifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- LifecycleSub stringState 
- The current state of the DR plan.
- PeerDr stringProtection Group Id 
- The OCID of the 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
- PlanGroups List<DrPlan Plan Group> 
- The list of groups in this DR plan.
- State string
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- TimeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- CompartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- Id string
- The provider-assigned unique ID for this managed resource.
- LifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- LifecycleSub stringState 
- The current state of the DR plan.
- PeerDr stringProtection Group Id 
- The OCID of the 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
- PlanGroups []DrPlan Plan Group 
- The list of groups in this DR plan.
- State string
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- TimeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- compartmentId String
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- id String
- The provider-assigned unique ID for this managed resource.
- lifeCycle StringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub StringState 
- The current state of the DR plan.
- peerDr StringProtection Group Id 
- The OCID of the 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
- planGroups List<DrPlan Plan Group> 
- The list of groups in this DR plan.
- state String
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated String
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- compartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- id string
- The provider-assigned unique ID for this managed resource.
- lifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub stringState 
- The current state of the DR plan.
- peerDr stringProtection Group Id 
- The OCID of the 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
- planGroups DrPlan Plan Group[] 
- The list of groups in this DR plan.
- state string
- The current state of the DR plan.
- {[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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- compartment_id str
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- id str
- The provider-assigned unique ID for this managed resource.
- life_cycle_ strdetails 
- A message describing the DR plan's current state in more detail.
- lifecycle_sub_ strstate 
- The current state of the DR plan.
- peer_dr_ strprotection_ group_ id 
- The OCID of the 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_groups Sequence[DrPlan Plan Group] 
- The list of groups in this DR plan.
- state str
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- time_updated str
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- compartmentId String
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- id String
- The provider-assigned unique ID for this managed resource.
- lifeCycle StringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub StringState 
- The current state of the DR plan.
- peerDr StringProtection Group Id 
- The OCID of the 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
- planGroups List<Property Map>
- The list of groups in this DR plan.
- state String
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated String
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
Look up Existing DrPlan Resource
Get an existing DrPlan 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?: DrPlanState, opts?: CustomResourceOptions): DrPlan@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,
        freeform_tags: Optional[Mapping[str, str]] = None,
        life_cycle_details: Optional[str] = None,
        lifecycle_sub_state: Optional[str] = None,
        peer_dr_protection_group_id: Optional[str] = None,
        peer_region: Optional[str] = None,
        plan_groups: Optional[Sequence[DrPlanPlanGroupArgs]] = None,
        refresh_trigger: Optional[int] = None,
        source_plan_id: Optional[str] = None,
        state: Optional[str] = None,
        system_tags: Optional[Mapping[str, str]] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        type: Optional[str] = None,
        verify_trigger: Optional[int] = None) -> DrPlanfunc GetDrPlan(ctx *Context, name string, id IDInput, state *DrPlanState, opts ...ResourceOption) (*DrPlan, error)public static DrPlan Get(string name, Input<string> id, DrPlanState? state, CustomResourceOptions? opts = null)public static DrPlan get(String name, Output<String> id, DrPlanState state, CustomResourceOptions options)resources:  _:    type: oci:DisasterRecovery:DrPlan    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- 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"}
- LifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- LifecycleSub stringState 
- The current state of the DR plan.
- PeerDr stringProtection Group Id 
- The OCID of the 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
- PlanGroups List<DrPlan Plan Group> 
- The list of groups in this DR plan.
- RefreshTrigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- SourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- State string
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- TimeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- Type string
- The type of DR plan to be created.
- VerifyTrigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- CompartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- DrProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- 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"}
- LifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- LifecycleSub stringState 
- The current state of the DR plan.
- PeerDr stringProtection Group Id 
- The OCID of the 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
- PlanGroups []DrPlan Plan Group Args 
- The list of groups in this DR plan.
- RefreshTrigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- SourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- State string
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- TimeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- Type string
- The type of DR plan to be created.
- VerifyTrigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- compartmentId String
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- 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"}
- lifeCycle StringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub StringState 
- The current state of the DR plan.
- peerDr StringProtection Group Id 
- The OCID of the 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
- planGroups List<DrPlan Plan Group> 
- The list of groups in this DR plan.
- refreshTrigger Integer
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan StringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- state String
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated String
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- type String
- The type of DR plan to be created.
- verifyTrigger Integer
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- compartmentId string
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- displayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection stringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- {[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"}
- lifeCycle stringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub stringState 
- The current state of the DR plan.
- peerDr stringProtection Group Id 
- The OCID of the 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
- planGroups DrPlan Plan Group[] 
- The list of groups in this DR plan.
- refreshTrigger number
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan stringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- state string
- The current state of the DR plan.
- {[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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated string
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- type string
- The type of DR plan to be created.
- verifyTrigger number
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- compartment_id str
- The OCID of the compartment containing the DR plan. 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 being created. Example: EBS Switchover PHX to IAD
- dr_protection_ strgroup_ id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- 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"}
- life_cycle_ strdetails 
- A message describing the DR plan's current state in more detail.
- lifecycle_sub_ strstate 
- The current state of the DR plan.
- peer_dr_ strprotection_ group_ id 
- The OCID of the 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_groups Sequence[DrPlan Plan Group Args] 
- The list of groups in this DR plan.
- refresh_trigger int
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- source_plan_ strid 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- state str
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- time_updated str
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- type str
- The type of DR plan to be created.
- verify_trigger int
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
- compartmentId String
- The OCID of the compartment containing the DR plan. Example: ocid1.compartment.oc1..uniqueID
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- drProtection StringGroup Id 
- The OCID of the DR protection group to which this DR plan belongs. Example: ocid1.drprotectiongroup.oc1..uniqueID
- 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"}
- lifeCycle StringDetails 
- A message describing the DR plan's current state in more detail.
- lifecycleSub StringState 
- The current state of the DR plan.
- peerDr StringProtection Group Id 
- The OCID of the 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
- planGroups List<Property Map>
- The list of groups in this DR plan.
- refreshTrigger Number
- (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value.
- sourcePlan StringId 
- The OCID of the source DR plan that should be cloned. Example: ocid1.drplan.oc1..uniqueID
- state String
- The current state of the DR plan.
- 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 the DR plan was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- timeUpdated String
- The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
- type String
- The type of DR plan to be created.
- verifyTrigger Number
- (Updatable) An optional property when incremented triggers Verify. Could be set to any integer value. - ** 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 
Supporting Types
DrPlanPlanGroup, DrPlanPlanGroupArgs        
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- Id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- IsPause boolEnabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- RefreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- Steps
List<DrPlan Plan Group Step> 
- The list of steps in the group.
- Type string
- The type of DR plan to be created.
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- Id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- IsPause boolEnabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- RefreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- Steps
[]DrPlan Plan Group Step 
- The list of steps in the group.
- Type string
- The type of DR plan to be created.
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- id String
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isPause BooleanEnabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- refreshStatus String
- The DR plan step refresh status. Example: STEP_ADDED
- steps
List<DrPlan Plan Group Step> 
- The list of steps in the group.
- type String
- The type of DR plan to be created.
- displayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isPause booleanEnabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- refreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- steps
DrPlan Plan Group Step[] 
- The list of steps in the group.
- type string
- The type of DR plan to be created.
- display_name str
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- id str
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- is_pause_ boolenabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- refresh_status str
- The DR plan step refresh status. Example: STEP_ADDED
- steps
Sequence[DrPlan Plan Group Step] 
- The list of steps in the group.
- type str
- The type of DR plan to be created.
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- id String
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isPause BooleanEnabled 
- A flag indicating whether this group should be enabled for execution. This flag is only applicable to the USER_DEFINED_PAUSEgroup. The flag should be null for the remaining group types. Example:true
- refreshStatus String
- The DR plan step refresh status. Example: STEP_ADDED
- steps List<Property Map>
- The list of steps in the group.
- type String
- The type of DR plan to be created.
DrPlanPlanGroupStep, DrPlanPlanGroupStepArgs          
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- ErrorMode string
- The error mode for this step.
- GroupId string
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- Id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- IsEnabled bool
- A flag indicating whether this step should be enabled for execution. Example: true
- MemberId string
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- RefreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- Timeout int
- The timeout in seconds for executing this step. Example: 600
- Type string
- The type of DR plan to be created.
- TypeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- UserDefined List<DrSteps Plan Plan Group Step User Defined Step> 
- The details for a user-defined step in a DR plan.
- DisplayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- ErrorMode string
- The error mode for this step.
- GroupId string
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- Id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- IsEnabled bool
- A flag indicating whether this step should be enabled for execution. Example: true
- MemberId string
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- RefreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- Timeout int
- The timeout in seconds for executing this step. Example: 600
- Type string
- The type of DR plan to be created.
- TypeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- UserDefined []DrSteps Plan Plan Group Step User Defined Step 
- The details for a user-defined step in a DR plan.
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- errorMode String
- The error mode for this step.
- groupId String
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- id String
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isEnabled Boolean
- A flag indicating whether this step should be enabled for execution. Example: true
- memberId String
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- refreshStatus String
- The DR plan step refresh status. Example: STEP_ADDED
- timeout Integer
- The timeout in seconds for executing this step. Example: 600
- type String
- The type of DR plan to be created.
- typeDisplay StringName 
- The display name of the DR Plan step type. Example: Database Switchover
- userDefined List<DrSteps Plan Plan Group Step User Defined Step> 
- The details for a user-defined step in a DR plan.
- displayName string
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- errorMode string
- The error mode for this step.
- groupId string
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- id string
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isEnabled boolean
- A flag indicating whether this step should be enabled for execution. Example: true
- memberId string
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- refreshStatus string
- The DR plan step refresh status. Example: STEP_ADDED
- timeout number
- The timeout in seconds for executing this step. Example: 600
- type string
- The type of DR plan to be created.
- typeDisplay stringName 
- The display name of the DR Plan step type. Example: Database Switchover
- userDefined DrSteps Plan Plan Group Step User Defined Step[] 
- The details for a user-defined step in a DR plan.
- display_name str
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- error_mode str
- The error mode for this step.
- group_id str
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- id str
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- is_enabled bool
- A flag indicating whether this step should be enabled for execution. Example: true
- member_id str
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- refresh_status str
- The DR plan step refresh status. Example: STEP_ADDED
- timeout int
- The timeout in seconds for executing this step. Example: 600
- type str
- The type of DR plan to be created.
- type_display_ strname 
- The display name of the DR Plan step type. Example: Database Switchover
- user_defined_ Sequence[Drsteps Plan Plan Group Step User Defined Step] 
- The details for a user-defined step in a DR plan.
- displayName String
- (Updatable) The display name of the DR plan being created. Example: EBS Switchover PHX to IAD
- errorMode String
- The error mode for this step.
- groupId String
- The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
- id String
- The unique id of the step. Must not be modified by the user. Example: sgid1.step..uniqueID
- isEnabled Boolean
- A flag indicating whether this step should be enabled for execution. Example: true
- memberId String
- The OCID of the member associated with this step. Example: ocid1.database.oc1..uniqueID
- refreshStatus String
- The DR plan step refresh status. Example: STEP_ADDED
- timeout Number
- The timeout in seconds for executing this step. Example: 600
- type String
- The type of DR plan to be created.
- typeDisplay StringName 
- The display name of the DR Plan step type. Example: Database Switchover
- userDefined List<Property Map>Steps 
- The details for a user-defined step in a DR plan.
DrPlanPlanGroupStepUserDefinedStep, DrPlanPlanGroupStepUserDefinedStepArgs                
- FunctionId string
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- FunctionRegion string
- The region in which the function is deployed. Example: us-ashburn-1
- ObjectStorage List<DrScript Locations Plan Plan Group Step User Defined Step Object Storage Script Location> 
- The details of an object storage script location for a user-defined step in a DR plan.
- RequestBody string
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- RunAs stringUser 
- The userid on the instance to be used for executing the script or command. Example: opc
- RunOn stringInstance Id 
- The OCID of the instance on which this script or command should be executed.
- RunOn stringInstance Region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- ScriptCommand string
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- StepType string
- The type of the user-defined step.
- FunctionId string
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- FunctionRegion string
- The region in which the function is deployed. Example: us-ashburn-1
- ObjectStorage []DrScript Locations Plan Plan Group Step User Defined Step Object Storage Script Location 
- The details of an object storage script location for a user-defined step in a DR plan.
- RequestBody string
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- RunAs stringUser 
- The userid on the instance to be used for executing the script or command. Example: opc
- RunOn stringInstance Id 
- The OCID of the instance on which this script or command should be executed.
- RunOn stringInstance Region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- ScriptCommand string
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- StepType string
- The type of the user-defined step.
- functionId String
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- functionRegion String
- The region in which the function is deployed. Example: us-ashburn-1
- objectStorage List<DrScript Locations Plan Plan Group Step User Defined Step Object Storage Script Location> 
- The details of an object storage script location for a user-defined step in a DR plan.
- requestBody String
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- runAs StringUser 
- The userid on the instance to be used for executing the script or command. Example: opc
- runOn StringInstance Id 
- The OCID of the instance on which this script or command should be executed.
- runOn StringInstance Region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- scriptCommand String
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- stepType String
- The type of the user-defined step.
- functionId string
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- functionRegion string
- The region in which the function is deployed. Example: us-ashburn-1
- objectStorage DrScript Locations Plan Plan Group Step User Defined Step Object Storage Script Location[] 
- The details of an object storage script location for a user-defined step in a DR plan.
- requestBody string
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- runAs stringUser 
- The userid on the instance to be used for executing the script or command. Example: opc
- runOn stringInstance Id 
- The OCID of the instance on which this script or command should be executed.
- runOn stringInstance Region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- scriptCommand string
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- stepType string
- The type of the user-defined step.
- function_id str
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- function_region str
- The region in which the function is deployed. Example: us-ashburn-1
- object_storage_ Sequence[Drscript_ locations Plan Plan Group Step User Defined Step Object Storage Script Location] 
- The details of an object storage script location for a user-defined step in a DR plan.
- request_body str
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- run_as_ struser 
- The userid on the instance to be used for executing the script or command. Example: opc
- run_on_ strinstance_ id 
- The OCID of the instance on which this script or command should be executed.
- run_on_ strinstance_ region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- script_command str
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- step_type str
- The type of the user-defined step.
- functionId String
- The OCID of function to be invoked. Example: ocid1.fnfunc.oc1..uniqueID
- functionRegion String
- The region in which the function is deployed. Example: us-ashburn-1
- objectStorage List<Property Map>Script Locations 
- The details of an object storage script location for a user-defined step in a DR plan.
- requestBody String
- The request body for the function. Example: { "FnParam1", "FnParam2" }
- runAs StringUser 
- The userid on the instance to be used for executing the script or command. Example: opc
- runOn StringInstance Id 
- The OCID of the instance on which this script or command should be executed.
- runOn StringInstance Region 
- The region of the instance where this script or command should be executed. Example: us-ashburn-1
- scriptCommand String
- The script name and arguments. Example: /usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- stepType String
- The type of the user-defined step.
DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocation, DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocationArgs                        
Import
DrPlans can be imported using the id, e.g.
$ pulumi import oci:DisasterRecovery/drPlan:DrPlan test_dr_plan "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.