Oracle Cloud Infrastructure v0.20.0, May 31 23
Oracle Cloud Infrastructure v0.20.0, May 31 23
oci.DisasterRecovery.getDrPlan
Explore with Pulumi AI
This data source provides details about a specific Dr Plan resource in Oracle Cloud Infrastructure Disaster Recovery service.
Get details for the DR Plan identified by drPlanId.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDrPlan = Oci.DisasterRecovery.GetDrPlan.Invoke(new()
{
DrPlanId = oci_disaster_recovery_dr_plan.Test_dr_plan.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/DisasterRecovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DisasterRecovery.GetDrPlan(ctx, &disasterrecovery.GetDrPlanArgs{
DrPlanId: oci_disaster_recovery_dr_plan.Test_dr_plan.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DisasterRecovery.DisasterRecoveryFunctions;
import com.pulumi.oci.DisasterRecovery.inputs.GetDrPlanArgs;
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) {
final var testDrPlan = DisasterRecoveryFunctions.getDrPlan(GetDrPlanArgs.builder()
.drPlanId(oci_disaster_recovery_dr_plan.test_dr_plan().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_dr_plan = oci.DisasterRecovery.get_dr_plan(dr_plan_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDrPlan = oci.DisasterRecovery.getDrPlan({
drPlanId: oci_disaster_recovery_dr_plan.test_dr_plan.id,
});
variables:
testDrPlan:
fn::invoke:
Function: oci:DisasterRecovery:getDrPlan
Arguments:
drPlanId: ${oci_disaster_recovery_dr_plan.test_dr_plan.id}
Using getDrPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDrPlan(args: GetDrPlanArgs, opts?: InvokeOptions): Promise<GetDrPlanResult>
function getDrPlanOutput(args: GetDrPlanOutputArgs, opts?: InvokeOptions): Output<GetDrPlanResult>
def get_dr_plan(dr_plan_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDrPlanResult
def get_dr_plan_output(dr_plan_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDrPlanResult]
func GetDrPlan(ctx *Context, args *GetDrPlanArgs, opts ...InvokeOption) (*GetDrPlanResult, error)
func GetDrPlanOutput(ctx *Context, args *GetDrPlanOutputArgs, opts ...InvokeOption) GetDrPlanResultOutput
> Note: This function is named GetDrPlan
in the Go SDK.
public static class GetDrPlan
{
public static Task<GetDrPlanResult> InvokeAsync(GetDrPlanArgs args, InvokeOptions? opts = null)
public static Output<GetDrPlanResult> Invoke(GetDrPlanInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDrPlanResult> getDrPlan(GetDrPlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DisasterRecovery/getDrPlan:getDrPlan
arguments:
# arguments dictionary
The following arguments are supported:
- Dr
Plan stringId The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
- Dr
Plan stringId The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
- dr
Plan StringId The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
- dr
Plan stringId The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
- dr_
plan_ strid The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
- dr
Plan StringId The OCID of the DR Plan. Example:
ocid1.drplan.oc1.iad.exampleocid
getDrPlan Result
The following output properties are available:
- Compartment
Id string The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- Dictionary<string, object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringId - Dr
Protection stringGroup Id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- Dictionary<string, object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Life
Cycle stringDetails A message describing the DR Plan's current state in more detail.
- Peer
Dr stringProtection Group Id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- Peer
Region string The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- Plan
Groups List<GetDr Plan Plan Group> The list of groups in this DR Plan.
- State string
The current state of the DR Plan.
- Dictionary<string, object>
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 the DR Plan was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated 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 this DR Plan.
- Compartment
Id string The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- map[string]interface{}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringId - Dr
Protection stringGroup Id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- map[string]interface{}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Life
Cycle stringDetails A message describing the DR Plan's current state in more detail.
- Peer
Dr stringProtection Group Id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- Peer
Region string The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- Plan
Groups []GetDr Plan Plan Group The list of groups in this DR Plan.
- State string
The current state of the DR Plan.
- map[string]interface{}
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 the DR Plan was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated 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 this DR Plan.
- compartment
Id String The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- Map<String,Object>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- dr
Plan StringId - dr
Protection StringGroup Id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- Map<String,Object>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- life
Cycle StringDetails A message describing the DR Plan's current state in more detail.
- peer
Dr StringProtection Group Id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- peer
Region String The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- plan
Groups List<GetDr Plan Plan Group> The list of groups in this DR Plan.
- state String
The current state of the DR Plan.
- Map<String,Object>
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 the DR Plan was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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 this DR Plan.
- compartment
Id string The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- {[key: string]: any}
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- dr
Plan stringId - dr
Protection stringGroup Id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- {[key: string]: any}
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- life
Cycle stringDetails A message describing the DR Plan's current state in more detail.
- peer
Dr stringProtection Group Id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- peer
Region string The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- plan
Groups GetDr Plan Plan Group[] The list of groups in this DR Plan.
- state string
The current state of the DR Plan.
- {[key: string]: any}
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 the DR Plan was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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 this DR Plan.
- compartment_
id str The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- Mapping[str, Any]
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display_
name str The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- dr_
plan_ strid - dr_
protection_ strgroup_ id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- Mapping[str, Any]
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- id str
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- life_
cycle_ strdetails A message describing the DR Plan's current state in more detail.
- peer_
dr_ strprotection_ group_ id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- peer_
region str The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- plan_
groups GetDr Plan Plan Group] The list of groups in this DR Plan.
- state str
The current state of the DR Plan.
- Mapping[str, Any]
Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created str The date and time 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 this DR Plan.
- compartment
Id String The OCID of the compartment containing the DR Plan. Example:
ocid1.compartment.oc1..exampleocid1
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- dr
Plan StringId - dr
Protection StringGroup Id The OCID of the DR Protection Group with which this DR Plan is associated. Example:
ocid1.drplan.oc1.iad.exampleocid2
- Map<Any>
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- life
Cycle StringDetails A message describing the DR Plan's current state in more detail.
- peer
Dr StringProtection Group Id The OCID of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid1
- peer
Region String The region of the peer (remote) DR Protection Group associated with this plan's DR Protection Group. Example:
us-phoenix-1
- plan
Groups List<Property Map> The list of groups in this DR Plan.
- state String
The current state of the DR Plan.
- Map<Any>
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 the DR Plan was created. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated 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 this DR Plan.
Supporting Types
GetDrPlanPlanGroup
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Steps
List<Get
Dr Plan Plan Group Step> The list of steps in this plan group.
- Type string
The type of this DR Plan.
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Steps
[]Get
Dr Plan Plan Group Step The list of steps in this plan group.
- Type string
The type of this DR Plan.
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- steps
List<Get
Dr Plan Plan Group Step> The list of steps in this plan group.
- type String
The type of this DR Plan.
- display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- steps
Get
Dr Plan Plan Group Step[] The list of steps in this plan group.
- type string
The type of this DR Plan.
- display_
name str The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- id str
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- steps
Get
Dr Plan Plan Group Step] The list of steps in this plan group.
- type str
The type of this DR Plan.
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- steps List<Property Map>
The list of steps in this plan group.
- type String
The type of this DR Plan.
GetDrPlanPlanGroupStep
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Error
Mode string The error mode for this step.
- Group
Id string The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..examplegroupsgid
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Is
Enabled bool A flag indicating whether this step should be enabled for execution. Example:
true
- Member
Id string The OCID of the member associated with this step. Example:
ocid1.database.oc1.phx.exampleocid1
- Timeout int
The timeout in seconds for executing this step. Example:
600
- Type string
The type of this DR Plan.
- User
Defined List<GetSteps Dr Plan Plan Group Step User Defined Step> The details for a user-defined step in a DR Plan.
- Display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- Error
Mode string The error mode for this step.
- Group
Id string The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..examplegroupsgid
- Id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- Is
Enabled bool A flag indicating whether this step should be enabled for execution. Example:
true
- Member
Id string The OCID of the member associated with this step. Example:
ocid1.database.oc1.phx.exampleocid1
- Timeout int
The timeout in seconds for executing this step. Example:
600
- Type string
The type of this DR Plan.
- User
Defined []GetSteps Dr Plan Plan Group Step User Defined Step The details for a user-defined step in a DR Plan.
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- error
Mode String The error mode for this step.
- group
Id String The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..examplegroupsgid
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- is
Enabled Boolean A flag indicating whether this step should be enabled for execution. Example:
true
- member
Id String The OCID of the member associated with this step. Example:
ocid1.database.oc1.phx.exampleocid1
- timeout Integer
The timeout in seconds for executing this step. Example:
600
- type String
The type of this DR Plan.
- user
Defined List<GetSteps Dr Plan Plan Group Step User Defined Step> The details for a user-defined step in a DR Plan.
- display
Name string The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- error
Mode string The error mode for this step.
- group
Id string The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..examplegroupsgid
- id string
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- is
Enabled boolean A flag indicating whether this step should be enabled for execution. Example:
true
- member
Id string The OCID of the member associated with this step. Example:
ocid1.database.oc1.phx.exampleocid1
- timeout number
The timeout in seconds for executing this step. Example:
600
- type string
The type of this DR Plan.
- user
Defined GetSteps Dr Plan Plan Group Step User Defined Step[] The details for a user-defined step in a DR Plan.
- display_
name str The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- 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..examplegroupsgid
- id str
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- 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.phx.exampleocid1
- timeout int
The timeout in seconds for executing this step. Example:
600
- type str
The type of this DR Plan.
- user_
defined_ Getsteps Dr Plan Plan Group Step User Defined Step] The details for a user-defined step in a DR Plan.
- display
Name String The display name of this DR Plan Group. Example:
DATABASE_SWITCHOVER
- error
Mode String The error mode for this step.
- group
Id String The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..examplegroupsgid
- id String
The unique id of this step. Must not be modified by the user. Example:
sgid1.step..examplestepsgid
- is
Enabled Boolean A flag indicating whether this step should be enabled for execution. Example:
true
- member
Id String The OCID of the member associated with this step. Example:
ocid1.database.oc1.phx.exampleocid1
- timeout Number
The timeout in seconds for executing this step. Example:
600
- type String
The type of this DR Plan.
- user
Defined List<Property Map>Steps The details for a user-defined step in a DR Plan.
GetDrPlanPlanGroupStepUserDefinedStep
- Function
Id string The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- Function
Region string The region in which the function is deployed. Example:
us-ashburn-1
- Object
Storage List<GetScript Locations Dr Plan Plan Group Step User Defined Step Object Storage Script Location> Information about an Object Storage script location for a user-defined step in a DR Plan.
- Request
Body string The request body for the function. Example:
{ "FnParam1", "FnParam2" }
- Run
As stringUser The userid on the instance to be used for executing the script or command. Example:
opc
- Run
On stringInstance Id The OCID of the instance where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- Run
On stringInstance Region The region of the instance where this script or command should be executed. Example:
us-phoenix-1
- Script
Command string The script name and arguments. Example:
/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- Step
Type string The type of the step.
- Function
Id string The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- Function
Region string The region in which the function is deployed. Example:
us-ashburn-1
- Object
Storage []GetScript Locations Dr Plan Plan Group Step User Defined Step Object Storage Script Location Information about an Object Storage script location for a user-defined step in a DR Plan.
- Request
Body string The request body for the function. Example:
{ "FnParam1", "FnParam2" }
- Run
As stringUser The userid on the instance to be used for executing the script or command. Example:
opc
- Run
On stringInstance Id The OCID of the instance where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- Run
On stringInstance Region The region of the instance where this script or command should be executed. Example:
us-phoenix-1
- Script
Command string The script name and arguments. Example:
/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- Step
Type string The type of the step.
- function
Id String The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- function
Region String The region in which the function is deployed. Example:
us-ashburn-1
- object
Storage List<GetScript Locations Dr Plan Plan Group Step User Defined Step Object Storage Script Location> Information about an Object Storage script location for a user-defined step in a DR Plan.
- request
Body String The request body for the function. Example:
{ "FnParam1", "FnParam2" }
- run
As StringUser The userid on the instance to be used for executing the script or command. Example:
opc
- run
On StringInstance Id The OCID of the instance where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- run
On StringInstance Region The region of the instance where this script or command should be executed. Example:
us-phoenix-1
- script
Command String The script name and arguments. Example:
/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- step
Type String The type of the step.
- function
Id string The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- function
Region string The region in which the function is deployed. Example:
us-ashburn-1
- object
Storage GetScript Locations Dr Plan Plan Group Step User Defined Step Object Storage Script Location[] Information about an Object Storage script location for a user-defined step in a DR Plan.
- request
Body string The request body for the function. Example:
{ "FnParam1", "FnParam2" }
- run
As stringUser The userid on the instance to be used for executing the script or command. Example:
opc
- run
On stringInstance Id The OCID of the instance where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- run
On stringInstance Region The region of the instance where this script or command should be executed. Example:
us-phoenix-1
- script
Command string The script name and arguments. Example:
/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- step
Type string The type of the step.
- function_
id str The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- function_
region str The region in which the function is deployed. Example:
us-ashburn-1
- object_
storage_ Getscript_ locations Dr Plan Plan Group Step User Defined Step Object Storage Script Location] Information about 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 where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- run_
on_ strinstance_ region The region of the instance where this script or command should be executed. Example:
us-phoenix-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 step.
- function
Id String The OCID of function to be invoked. Example:
ocid1.fnfunc.oc1.iad.exampleocid2
- function
Region String The region in which the function is deployed. Example:
us-ashburn-1
- object
Storage List<Property Map>Script Locations Information about an Object Storage script location for a user-defined step in a DR Plan.
- request
Body String The request body for the function. Example:
{ "FnParam1", "FnParam2" }
- run
As StringUser The userid on the instance to be used for executing the script or command. Example:
opc
- run
On StringInstance Id The OCID of the instance where this script or command should be executed. Example:
ocid1.instance.oc1.phx.exampleocid1
- run
On StringInstance Region The region of the instance where this script or command should be executed. Example:
us-phoenix-1
- script
Command String The script name and arguments. Example:
/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3
- step
Type String The type of the step.
GetDrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocation
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.