oci.DisasterRecovery.getDrPlanExecutions
This data source provides the list of Dr Plan Executions in Oracle Cloud Infrastructure Disaster Recovery service.
Get a summary list of all DR Plan Executions for a DR Protection Group.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDrPlanExecutions = Oci.DisasterRecovery.GetDrPlanExecutions.Invoke(new()
{
DrProtectionGroupId = oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id,
DisplayName = @var.Dr_plan_execution_display_name,
DrPlanExecutionId = oci_disaster_recovery_dr_plan_execution.Test_dr_plan_execution.Id,
DrPlanExecutionType = @var.Dr_plan_execution_dr_plan_execution_type,
State = @var.Dr_plan_execution_state,
});
});
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.GetDrPlanExecutions(ctx, &disasterrecovery.GetDrPlanExecutionsArgs{
DrProtectionGroupId: oci_disaster_recovery_dr_protection_group.Test_dr_protection_group.Id,
DisplayName: pulumi.StringRef(_var.Dr_plan_execution_display_name),
DrPlanExecutionId: pulumi.StringRef(oci_disaster_recovery_dr_plan_execution.Test_dr_plan_execution.Id),
DrPlanExecutionType: pulumi.StringRef(_var.Dr_plan_execution_dr_plan_execution_type),
State: pulumi.StringRef(_var.Dr_plan_execution_state),
}, 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.GetDrPlanExecutionsArgs;
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 testDrPlanExecutions = DisasterRecoveryFunctions.getDrPlanExecutions(GetDrPlanExecutionsArgs.builder()
.drProtectionGroupId(oci_disaster_recovery_dr_protection_group.test_dr_protection_group().id())
.displayName(var_.dr_plan_execution_display_name())
.drPlanExecutionId(oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution().id())
.drPlanExecutionType(var_.dr_plan_execution_dr_plan_execution_type())
.state(var_.dr_plan_execution_state())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_dr_plan_executions = oci.DisasterRecovery.get_dr_plan_executions(dr_protection_group_id=oci_disaster_recovery_dr_protection_group["test_dr_protection_group"]["id"],
display_name=var["dr_plan_execution_display_name"],
dr_plan_execution_id=oci_disaster_recovery_dr_plan_execution["test_dr_plan_execution"]["id"],
dr_plan_execution_type=var["dr_plan_execution_dr_plan_execution_type"],
state=var["dr_plan_execution_state"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDrPlanExecutions = oci.DisasterRecovery.getDrPlanExecutions({
drProtectionGroupId: oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id,
displayName: _var.dr_plan_execution_display_name,
drPlanExecutionId: oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution.id,
drPlanExecutionType: _var.dr_plan_execution_dr_plan_execution_type,
state: _var.dr_plan_execution_state,
});
variables:
testDrPlanExecutions:
fn::invoke:
Function: oci:DisasterRecovery:getDrPlanExecutions
Arguments:
drProtectionGroupId: ${oci_disaster_recovery_dr_protection_group.test_dr_protection_group.id}
displayName: ${var.dr_plan_execution_display_name}
drPlanExecutionId: ${oci_disaster_recovery_dr_plan_execution.test_dr_plan_execution.id}
drPlanExecutionType: ${var.dr_plan_execution_dr_plan_execution_type}
state: ${var.dr_plan_execution_state}
Using getDrPlanExecutions
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 getDrPlanExecutions(args: GetDrPlanExecutionsArgs, opts?: InvokeOptions): Promise<GetDrPlanExecutionsResult>
function getDrPlanExecutionsOutput(args: GetDrPlanExecutionsOutputArgs, opts?: InvokeOptions): Output<GetDrPlanExecutionsResult>
def get_dr_plan_executions(display_name: Optional[str] = None,
dr_plan_execution_id: Optional[str] = None,
dr_plan_execution_type: Optional[str] = None,
dr_protection_group_id: Optional[str] = None,
filters: Optional[Sequence[_disasterrecovery.GetDrPlanExecutionsFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDrPlanExecutionsResult
def get_dr_plan_executions_output(display_name: Optional[pulumi.Input[str]] = None,
dr_plan_execution_id: Optional[pulumi.Input[str]] = None,
dr_plan_execution_type: Optional[pulumi.Input[str]] = None,
dr_protection_group_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[_disasterrecovery.GetDrPlanExecutionsFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDrPlanExecutionsResult]
func GetDrPlanExecutions(ctx *Context, args *GetDrPlanExecutionsArgs, opts ...InvokeOption) (*GetDrPlanExecutionsResult, error)
func GetDrPlanExecutionsOutput(ctx *Context, args *GetDrPlanExecutionsOutputArgs, opts ...InvokeOption) GetDrPlanExecutionsResultOutput
> Note: This function is named GetDrPlanExecutions
in the Go SDK.
public static class GetDrPlanExecutions
{
public static Task<GetDrPlanExecutionsResult> InvokeAsync(GetDrPlanExecutionsArgs args, InvokeOptions? opts = null)
public static Output<GetDrPlanExecutionsResult> Invoke(GetDrPlanExecutionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDrPlanExecutionsResult> getDrPlanExecutions(GetDrPlanExecutionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DisasterRecovery/getDrPlanExecutions:getDrPlanExecutions
arguments:
# arguments dictionary
The following arguments are supported:
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Plan stringExecution Id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- Dr
Plan stringExecution Type The DR Plan Execution type.
- Filters
List<Get
Dr Plan Executions Filter> - State string
A filter to return only DR Plan Executions that match the given lifecycleState.
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Plan stringExecution Id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- Dr
Plan stringExecution Type The DR Plan Execution type.
- Filters
[]Get
Dr Plan Executions Filter - State string
A filter to return only DR Plan Executions that match the given lifecycleState.
- dr
Protection StringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Plan StringExecution Id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- dr
Plan StringExecution Type The DR Plan Execution type.
- filters
List<Get
Dr Plan Executions Filter> - state String
A filter to return only DR Plan Executions that match the given lifecycleState.
- dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Plan stringExecution Id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- dr
Plan stringExecution Type The DR Plan Execution type.
- filters
Get
Dr Plan Executions Filter[] - state string
A filter to return only DR Plan Executions that match the given lifecycleState.
- dr_
protection_ strgroup_ id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- display_
name str A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr_
plan_ strexecution_ id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- dr_
plan_ strexecution_ type The DR Plan Execution type.
- filters
Get
Dr Plan Executions Filter] - state str
A filter to return only DR Plan Executions that match the given lifecycleState.
- dr
Protection StringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Plan StringExecution Id The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid
- dr
Plan StringExecution Type The DR Plan Execution type.
- filters List<Property Map>
- state String
A filter to return only DR Plan Executions that match the given lifecycleState.
getDrPlanExecutions Result
The following output properties are available:
- Dr
Plan List<GetExecution Collections Dr Plan Executions Dr Plan Execution Collection> The list of dr_plan_execution_collection.
- Dr
Protection stringGroup Id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Id string
The provider-assigned unique ID for this managed resource.
- Display
Name string The display name of the step. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringExecution Id - Dr
Plan stringExecution Type - Filters
List<Get
Dr Plan Executions Filter> - State string
The current state of the DR Plan Execution.
- Dr
Plan []GetExecution Collections Dr Plan Executions Dr Plan Execution Collection The list of dr_plan_execution_collection.
- Dr
Protection stringGroup Id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- Id string
The provider-assigned unique ID for this managed resource.
- Display
Name string The display name of the step. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringExecution Id - Dr
Plan stringExecution Type - Filters
[]Get
Dr Plan Executions Filter - State string
The current state of the DR Plan Execution.
- dr
Plan List<GetExecution Collections Dr Plan Executions Dr Plan Execution Collection> The list of dr_plan_execution_collection.
- dr
Protection StringGroup Id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- id String
The provider-assigned unique ID for this managed resource.
- display
Name String The display name of the step. Example:
DATABASE_SWITCHOVER
- dr
Plan StringExecution Id - dr
Plan StringExecution Type - filters
List<Get
Dr Plan Executions Filter> - state String
The current state of the DR Plan Execution.
- dr
Plan GetExecution Collections Dr Plan Executions Dr Plan Execution Collection[] The list of dr_plan_execution_collection.
- dr
Protection stringGroup Id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- id string
The provider-assigned unique ID for this managed resource.
- display
Name string The display name of the step. Example:
DATABASE_SWITCHOVER
- dr
Plan stringExecution Id - dr
Plan stringExecution Type - filters
Get
Dr Plan Executions Filter[] - state string
The current state of the DR Plan Execution.
- dr_
plan_ Getexecution_ collections Dr Plan Executions Dr Plan Execution Collection] The list of dr_plan_execution_collection.
- dr_
protection_ strgroup_ id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- id str
The provider-assigned unique ID for this managed resource.
- display_
name str The display name of the step. Example:
DATABASE_SWITCHOVER
- dr_
plan_ strexecution_ id - dr_
plan_ strexecution_ type - filters
Get
Dr Plan Executions Filter] - state str
The current state of the DR Plan Execution.
- dr
Plan List<Property Map>Execution Collections The list of dr_plan_execution_collection.
- dr
Protection StringGroup Id The OCID of the DR Protection Group to which this DR Plan Execution belongs. Example:
ocid1.drprotectiongroup.oc1.iad.exampleocid2
- id String
The provider-assigned unique ID for this managed resource.
- display
Name String The display name of the step. Example:
DATABASE_SWITCHOVER
- dr
Plan StringExecution Id - dr
Plan StringExecution Type - filters List<Property Map>
- state String
The current state of the DR Plan Execution.
Supporting Types
GetDrPlanExecutionsDrPlanExecutionCollection
GetDrPlanExecutionsDrPlanExecutionCollectionItem
- Compartment
Id string The OCID of the compartment containing this DR Plan Execution. 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 A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Execution
Duration intIn Sec The total duration in seconds taken to complete step execution. Example:
35
- Execution
Options List<GetDr Plan Executions Dr Plan Execution Collection Item Execution Option> The options for a plan execution.
- 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"}
- Group
Executions List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution> A list of groups executed in this DR Plan Execution.
- Id string
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- Life
Cycle stringDetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- Log
Locations List<GetDr Plan Executions Dr Plan Execution Collection Item Log Location> Information about an Object Storage log location for a DR Protection Group.
- Peer
Dr stringProtection Group Id The OCID of 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. 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.iad.exampleocid2
- State string
A filter to return only DR Plan Executions that match the given lifecycleState.
- 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 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 at which 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..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 A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- Execution
Duration intIn Sec The total duration in seconds taken to complete step execution. Example:
35
- Execution
Options []GetDr Plan Executions Dr Plan Execution Collection Item Execution Option The options for a plan execution.
- 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"}
- Group
Executions []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution A list of groups executed in this DR Plan Execution.
- Id string
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- Life
Cycle stringDetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- Log
Locations []GetDr Plan Executions Dr Plan Execution Collection Item Log Location Information about an Object Storage log location for a DR Protection Group.
- Peer
Dr stringProtection Group Id The OCID of 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. 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.iad.exampleocid2
- State string
A filter to return only DR Plan Executions that match the given lifecycleState.
- 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 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 at which 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..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 A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection StringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- execution
Duration IntegerIn Sec The total duration in seconds taken to complete step execution. Example:
35
- execution
Options List<GetDr Plan Executions Dr Plan Execution Collection Item Execution Option> The options for a plan execution.
- 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"}
- group
Executions List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution> A list of groups executed in this DR Plan Execution.
- id String
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- life
Cycle StringDetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- log
Locations List<GetDr Plan Executions Dr Plan Execution Collection Item Log Location> Information about an Object Storage log location for a DR Protection Group.
- peer
Dr StringProtection Group Id The OCID of 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. 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.iad.exampleocid2
- state String
A filter to return only DR Plan Executions that match the given lifecycleState.
- 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 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 at which 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..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 A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection stringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- execution
Duration numberIn Sec The total duration in seconds taken to complete step execution. Example:
35
- execution
Options GetDr Plan Executions Dr Plan Execution Collection Item Execution Option[] The options for a plan execution.
- {[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"}
- group
Executions GetDr Plan Executions Dr Plan Execution Collection Item Group Execution[] A list of groups executed in this DR Plan Execution.
- id string
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- life
Cycle stringDetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- log
Locations GetDr Plan Executions Dr Plan Execution Collection Item Log Location[] Information about an Object Storage log location for a DR Protection Group.
- peer
Dr stringProtection Group Id The OCID of 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. 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.iad.exampleocid2
- state string
A filter to return only DR Plan Executions that match the given lifecycleState.
- {[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 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 at which 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..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 A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr_
protection_ strgroup_ id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- execution_
duration_ intin_ sec The total duration in seconds taken to complete step execution. Example:
35
- execution_
options GetDr Plan Executions Dr Plan Execution Collection Item Execution Option] The options for a plan execution.
- 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"}
- group_
executions GetDr Plan Executions Dr Plan Execution Collection Item Group Execution] A list of groups executed in this DR Plan Execution.
- id str
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- life_
cycle_ strdetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- log_
locations GetDr Plan Executions Dr Plan Execution Collection Item Log Location] Information about an Object Storage log location for a DR Protection Group.
- peer_
dr_ strprotection_ group_ id The OCID of 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. 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.iad.exampleocid2
- state str
A filter to return only DR Plan Executions that match the given lifecycleState.
- 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 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 at which 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..exampleocid1
- Map<Any>
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- dr
Protection StringGroup Id The OCID of the DR Protection Group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1.phx.exampleocid
- execution
Duration NumberIn Sec The total duration in seconds taken to complete step execution. Example:
35
- execution
Options List<Property Map> The options for a plan execution.
- Map<Any>
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.
- id String
The OCID of the DR Plan Execution. Example:
ocid1.drplanexecution.oc1.iad.exampleocid2
- life
Cycle StringDetails A message describing the DR Plan Execution's current state in more detail. Example:
The DR Plan Execution [Execution - EBS Switchover PHX to IAD] is currently in progress
- log
Locations List<Property Map> Information about an Object Storage log location for a DR Protection Group.
- peer
Dr StringProtection Group Id The OCID of 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. 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.iad.exampleocid2
- state String
A filter to return only DR Plan Executions that match the given lifecycleState.
- 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 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 at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption
- Are
Prechecks boolEnabled A flag indicating whether a precheck was executed before the plan. Example:
false
- Are
Warnings boolIgnored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- Plan
Execution stringType The type of the DR Plan executed.
- Are
Prechecks boolEnabled A flag indicating whether a precheck was executed before the plan. Example:
false
- Are
Warnings boolIgnored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- Plan
Execution stringType The type of the DR Plan executed.
- are
Prechecks BooleanEnabled A flag indicating whether a precheck was executed before the plan. Example:
false
- are
Warnings BooleanIgnored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- plan
Execution StringType The type of the DR Plan executed.
- are
Prechecks booleanEnabled A flag indicating whether a precheck was executed before the plan. Example:
false
- are
Warnings booleanIgnored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- plan
Execution stringType The type of the DR Plan executed.
- are_
prechecks_ boolenabled A flag indicating whether a precheck was executed before the plan. Example:
false
- are_
warnings_ boolignored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- plan_
execution_ strtype The type of the DR Plan executed.
- are
Prechecks BooleanEnabled A flag indicating whether a precheck was executed before the plan. Example:
false
- are
Warnings BooleanIgnored A flag indicating whether warnigs was ignored during the switchover. Example:
true
- plan
Execution StringType The type of the DR Plan executed.
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Execution
Duration intIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- Status string
The status of the step execution.
- Status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution> A list of details of each step executed in this 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 plan group type.
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Execution
Duration intIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- Status string
The status of the step execution.
- Status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution A list of details of each step executed in this 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 plan group type.
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration IntegerIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- status String
The status of the step execution.
- status
Details String Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution> A list of details of each step executed in this 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 plan group type.
- display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration numberIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- status string
The status of the step execution.
- status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution[] A list of details of each step executed in this 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 plan group type.
- display_
name str A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution_
duration_ intin_ sec The total duration in seconds taken to complete 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..examplegroupsgid
- status str
The status of the step execution.
- status_
details str Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step_
executions GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution] A list of details of each step executed in this 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 plan group type.
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration NumberIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- status String
The status of the step execution.
- status
Details String Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions List<Property Map> A list of details of each step executed in this 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 plan group type.
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Execution
Duration intIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- Log
Locations List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location> Information about an Object Storage log location for a DR Protection Group.
- Status string
The status of the step execution.
- Status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id string The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
- Display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- Execution
Duration intIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- Log
Locations []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location Information about an Object Storage log location for a DR Protection Group.
- Status string
The status of the step execution.
- Status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id string The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration IntegerIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- log
Locations List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location> Information about an Object Storage log location for a DR Protection Group.
- status String
The status of the step execution.
- status
Details String Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Id String The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
- display
Name string A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration numberIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- log
Locations GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location[] Information about an Object Storage log location for a DR Protection Group.
- status string
The status of the step execution.
- status
Details string Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Id string The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
- display_
name str A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution_
duration_ intin_ sec The total duration in seconds taken to complete 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..examplegroupsgid
- log_
locations GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location] Information about an Object Storage log location for a DR Protection Group.
- status str
The status of the step execution.
- status_
details str Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step_
id str The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
- display
Name String A filter to return only resources that match the entire display name given. Example:
MY UNIQUE DISPLAY NAME
- execution
Duration NumberIn Sec The total duration in seconds taken to complete 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..examplegroupsgid
- log
Locations List<Property Map> Information about an Object Storage log location for a DR Protection Group.
- status String
The status of the step execution.
- status
Details String Additional details about the step execution status. Example:
This step failed to complete due to a timeout
- step
Id String The unique id of this step. Must not be modified by user. Example:
sgid1.step..examplestepsgid
- 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 plan group type.
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation
GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation
GetDrPlanExecutionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.