Oracle Cloud Infrastructure v2.29.0 published on Wednesday, Apr 9, 2025 by Pulumi
oci.DisasterRecovery.getDrPlanExecutions
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDrPlanExecutions = oci.DisasterRecovery.getDrPlanExecutions({
drProtectionGroupId: testDrProtectionGroup.id,
displayName: drPlanExecutionDisplayName,
drPlanExecutionId: testDrPlanExecution.id,
state: drPlanExecutionState,
});
import pulumi
import pulumi_oci as oci
test_dr_plan_executions = oci.DisasterRecovery.get_dr_plan_executions(dr_protection_group_id=test_dr_protection_group["id"],
display_name=dr_plan_execution_display_name,
dr_plan_execution_id=test_dr_plan_execution["id"],
state=dr_plan_execution_state)
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.GetDrPlanExecutions(ctx, &disasterrecovery.GetDrPlanExecutionsArgs{
DrProtectionGroupId: testDrProtectionGroup.Id,
DisplayName: pulumi.StringRef(drPlanExecutionDisplayName),
DrPlanExecutionId: pulumi.StringRef(testDrPlanExecution.Id),
State: pulumi.StringRef(drPlanExecutionState),
}, nil)
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 testDrPlanExecutions = Oci.DisasterRecovery.GetDrPlanExecutions.Invoke(new()
{
DrProtectionGroupId = testDrProtectionGroup.Id,
DisplayName = drPlanExecutionDisplayName,
DrPlanExecutionId = testDrPlanExecution.Id,
State = drPlanExecutionState,
});
});
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(testDrProtectionGroup.id())
.displayName(drPlanExecutionDisplayName)
.drPlanExecutionId(testDrPlanExecution.id())
.state(drPlanExecutionState)
.build());
}
}
variables:
testDrPlanExecutions:
fn::invoke:
function: oci:DisasterRecovery:getDrPlanExecutions
arguments:
drProtectionGroupId: ${testDrProtectionGroup.id}
displayName: ${drPlanExecutionDisplayName}
drPlanExecutionId: ${testDrPlanExecution.id}
state: ${drPlanExecutionState}
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_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_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)
public static Output<GetDrPlanExecutionsResult> getDrPlanExecutions(GetDrPlanExecutionsArgs args, InvokeOptions options)
fn::invoke:
function: oci:DisasterRecovery/getDrPlanExecutions:getDrPlanExecutions
arguments:
# arguments dictionary
The following arguments are supported:
- Dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Display
Name string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Dr
Plan stringExecution Id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- Filters
Changes to this property will trigger replacement.
Dr Plan Executions Filter> - State string
- A filter to return only DR plan executions that match the given lifecycle state.
- Dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Display
Name string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Dr
Plan stringExecution Id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- Filters
Changes to this property will trigger replacement.
Dr Plan Executions Filter - State string
- A filter to return only DR plan executions that match the given lifecycle state.
- dr
Protection Group Id This property is required. String - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- display
Name String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Plan StringExecution Id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- filters
Changes to this property will trigger replacement.
Dr Plan Executions Filter> - state String
- A filter to return only DR plan executions that match the given lifecycle state.
- dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- display
Name string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Plan stringExecution Id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- filters
Changes to this property will trigger replacement.
Dr Plan Executions Filter[] - state string
- A filter to return only DR plan executions that match the given lifecycle state.
- dr_
protection_ group_ id This property is required. str - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- display_
name str - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr_
plan_ strexecution_ id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- filters
Changes to this property will trigger replacement.
Get Dr Plan Executions Filter] - state str
- A filter to return only DR plan executions that match the given lifecycle state.
- dr
Protection Group Id This property is required. String - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- display
Name String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Plan StringExecution Id - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- filters
Changes to this property will trigger replacement.
- state String
- A filter to return only DR plan executions that match the given lifecycle state.
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..uniqueID
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringExecution Id - 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..uniqueID
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- Dr
Plan stringExecution Id - 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..uniqueID
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- dr
Plan StringExecution Id - 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..uniqueID
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- dr
Plan stringExecution Id - filters
Get
Dr Plan Executions Filter[] - state string
- The current state of the DR plan execution.
- dr_
plan_ Sequence[disasterrecovery.execution_ collections Get 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..uniqueID
- id str
- The provider-assigned unique ID for this managed resource.
- display_
name str - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- dr_
plan_ strexecution_ id - filters
Sequence[disasterrecovery.
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..uniqueID
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - The display name of the step execution. Example:
DATABASE_SWITCHOVER
- dr
Plan StringExecution Id - filters List<Property Map>
- state String
- The current state of the DR plan execution.
Supporting Types
GetDrPlanExecutionsDrPlanExecutionCollection
- Items
This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item>
- Items
This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item
- items
This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item>
- items
This property is required. GetDr Plan Executions Dr Plan Execution Collection Item[]
- items
This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item]
- items
This property is required. List<Property Map>
GetDrPlanExecutionsDrPlanExecutionCollectionItem
- Compartment
Id This property is required. string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. Dictionary<string, string>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Execution
Options This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Execution Option> - The options for a plan execution.
This property is required. Dictionary<string, string>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Group
Executions This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution> - A list of groups executed in this DR plan execution.
- Id
This property is required. string - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- Life
Cycle Details This property is required. string - A message describing the DR plan execution's current state in more detail.
- Log
Locations This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Log Location> - The details of an object storage log location for a DR protection group.
- Peer
Dr Protection Group Id This property is required. string - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region This property is required. string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution Type This property is required. string - The type of the DR plan executed.
- Plan
Id This property is required. string - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- State
This property is required. string - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. Dictionary<string, string>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created This property is required. 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 This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated This property is required. string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Compartment
Id This property is required. string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. map[string]string- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Execution
Options This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item Execution Option - The options for a plan execution.
This property is required. map[string]string- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- Group
Executions This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution - A list of groups executed in this DR plan execution.
- Id
This property is required. string - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- Life
Cycle Details This property is required. string - A message describing the DR plan execution's current state in more detail.
- Log
Locations This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item Log Location - The details of an object storage log location for a DR protection group.
- Peer
Dr Protection Group Id This property is required. string - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- Peer
Region This property is required. string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- Plan
Execution Type This property is required. string - The type of the DR plan executed.
- Plan
Id This property is required. string - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- State
This property is required. string - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. map[string]string- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created This property is required. 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 This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Time
Updated This property is required. string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id This property is required. String - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. Map<String,String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Protection Group Id This property is required. String - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration In Sec This property is required. Integer - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Execution Option> - The options for a plan execution.
This property is required. Map<String,String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- group
Executions This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution> - A list of groups executed in this DR plan execution.
- id
This property is required. String - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- life
Cycle Details This property is required. String - A message describing the DR plan execution's current state in more detail.
- log
Locations This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Log Location> - The details of an object storage log location for a DR protection group.
- peer
Dr Protection Group Id This property is required. String - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region This property is required. String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution Type This property is required. String - The type of the DR plan executed.
- plan
Id This property is required. String - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- state
This property is required. String - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. Map<String,String>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. 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 This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated This property is required. String - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id This property is required. string - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. {[key: string]: string}- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Protection Group Id This property is required. string - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration In Sec This property is required. number - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options This property is required. GetDr Plan Executions Dr Plan Execution Collection Item Execution Option[] - The options for a plan execution.
This property is required. {[key: string]: string}- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- group
Executions This property is required. GetDr Plan Executions Dr Plan Execution Collection Item Group Execution[] - A list of groups executed in this DR plan execution.
- id
This property is required. string - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- life
Cycle Details This property is required. string - A message describing the DR plan execution's current state in more detail.
- log
Locations This property is required. GetDr Plan Executions Dr Plan Execution Collection Item Log Location[] - The details of an object storage log location for a DR protection group.
- peer
Dr Protection Group Id This property is required. string - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region This property is required. string - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution Type This property is required. string - The type of the DR plan executed.
- plan
Id This property is required. string - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- state
This property is required. string - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. {[key: string]: string}- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. 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 This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated This property is required. string - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment_
id This property is required. str - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. Mapping[str, str]- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display_
name This property is required. str - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr_
protection_ group_ id This property is required. str - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution_
duration_ in_ sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- execution_
options This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item Execution Option] - The options for a plan execution.
This property is required. Mapping[str, str]- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- group_
executions This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item Group Execution] - A list of groups executed in this DR plan execution.
- id
This property is required. str - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- life_
cycle_ details This property is required. str - A message describing the DR plan execution's current state in more detail.
- log_
locations This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item Log Location] - The details of an object storage log location for a DR protection group.
- peer_
dr_ protection_ group_ id This property is required. str - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer_
region This property is required. str - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan_
execution_ type This property is required. str - The type of the DR plan executed.
- plan_
id This property is required. str - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- state
This property is required. str - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. Mapping[str, str]- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time_
created This property is required. 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 This property is required. 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 This property is required. str - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time_
updated This property is required. str - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- compartment
Id This property is required. String - The OCID of the compartment containing this DR plan execution. Example:
ocid1.compartment.oc1..uniqueID
This property is required. Map<String>- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"Operations.CostCenter": "42"}
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- dr
Protection Group Id This property is required. String - The OCID of the DR protection group. Mandatory query param. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- execution
Duration In Sec This property is required. Number - The total duration in seconds taken to complete the step execution. Example:
35
- execution
Options This property is required. List<Property Map> - The options for a plan execution.
This property is required. Map<String>- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"Department": "Finance"}
- group
Executions This property is required. List<Property Map> - A list of groups executed in this DR plan execution.
- id
This property is required. String - The OCID of the DR plan execution. Example:
ocid1.drplanexecution.oc1..uniqueID
- life
Cycle Details This property is required. String - A message describing the DR plan execution's current state in more detail.
- log
Locations This property is required. List<Property Map> - The details of an object storage log location for a DR protection group.
- peer
Dr Protection Group Id This property is required. String - The OCID of peer DR protection group associated with this plan's DR protection group. Example:
ocid1.drprotectiongroup.oc1..uniqueID
- peer
Region This property is required. String - The region of the peer DR protection group associated with this plan's DR protection group. Example:
us-ashburn-1
- plan
Execution Type This property is required. String - The type of the DR plan executed.
- plan
Id This property is required. String - The OCID of the DR plan. Example:
ocid1.drplan.oc1..uniqueID
- state
This property is required. String - A filter to return only DR plan executions that match the given lifecycle state.
This property is required. Map<String>- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created This property is required. 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 This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- time
Updated This property is required. String - The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption
- Are
Prechecks Enabled This property is required. bool - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- Are
Warnings Ignored This property is required. bool - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- Plan
Execution Type This property is required. string - The type of the DR plan executed.
- Are
Prechecks Enabled This property is required. bool - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- Are
Warnings Ignored This property is required. bool - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- Plan
Execution Type This property is required. string - The type of the DR plan executed.
- are
Prechecks Enabled This property is required. Boolean - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- are
Warnings Ignored This property is required. Boolean - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- plan
Execution Type This property is required. String - The type of the DR plan executed.
- are
Prechecks Enabled This property is required. boolean - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- are
Warnings Ignored This property is required. boolean - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- plan
Execution Type This property is required. string - The type of the DR plan executed.
- are_
prechecks_ enabled This property is required. bool - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- are_
warnings_ ignored This property is required. bool - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- plan_
execution_ type This property is required. str - The type of the DR plan executed.
- are
Prechecks Enabled This property is required. Boolean - A flag indicating whether a precheck should be executed before the plan execution. Example:
true
- are
Warnings Ignored This property is required. Boolean - A flag indicating whether warnings should be ignored during the plan execution. Example:
false
- plan
Execution Type This property is required. String - The type of the DR plan executed.
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Status
This property is required. string - The status of the step execution.
- Status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution> - A list of step executions in the group.
- Time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Type
This property is required. string - The group type. Example:
BUILT_IN
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Status
This property is required. string - The status of the step execution.
- Status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Executions This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution - A list of step executions in the group.
- Time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Type
This property is required. string - The group type. Example:
BUILT_IN
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. Integer - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- status
This property is required. String - The status of the step execution.
- status
Details This property is required. String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution> - A list of step executions in the group.
- time
Ended This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. String - The group type. Example:
BUILT_IN
- display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. number - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- status
This property is required. string - The status of the step execution.
- status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions This property is required. GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution[] - A list of step executions in the group.
- time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. string - The group type. Example:
BUILT_IN
- display_
name This property is required. str - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution_
duration_ in_ sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- group_
id This property is required. str - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- status
This property is required. str - The status of the step execution.
- status_
details This property is required. str - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step_
executions This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution] - A list of step executions in the group.
- time_
ended This property is required. 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 This property is required. str - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. str - The group type. Example:
BUILT_IN
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. Number - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- status
This property is required. String - The status of the step execution.
- status
Details This property is required. String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Executions This property is required. List<Property Map> - A list of step executions in the group.
- time
Ended This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. String - The group type. Example:
BUILT_IN
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Log
Locations This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location> - The details of an object storage log location for a DR protection group.
- Status
This property is required. string - The status of the step execution.
- Status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id This property is required. string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- Time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Type
This property is required. string - The group type. Example:
BUILT_IN
- Display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- Execution
Duration In Sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- Group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- Log
Locations This property is required. []GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location - The details of an object storage log location for a DR protection group.
- Status
This property is required. string - The status of the step execution.
- Status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- Step
Id This property is required. string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- Time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- Type
This property is required. string - The group type. Example:
BUILT_IN
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. Integer - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations This property is required. List<GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location> - The details of an object storage log location for a DR protection group.
- status
This property is required. String - The status of the step execution.
- status
Details This property is required. String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id This property is required. String - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. String - The group type. Example:
BUILT_IN
- display
Name This property is required. string - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. number - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. string - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations This property is required. GetDr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location[] - The details of an object storage log location for a DR protection group.
- status
This property is required. string - The status of the step execution.
- status
Details This property is required. string - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id This property is required. string - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended This property is required. 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 This property is required. string - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. string - The group type. Example:
BUILT_IN
- display_
name This property is required. str - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution_
duration_ in_ sec This property is required. int - The total duration in seconds taken to complete the step execution. Example:
35
- group_
id This property is required. str - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log_
locations This property is required. Sequence[disasterrecovery.Get Dr Plan Executions Dr Plan Execution Collection Item Group Execution Step Execution Log Location] - The details of an object storage log location for a DR protection group.
- status
This property is required. str - The status of the step execution.
- status_
details This property is required. str - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step_
id This property is required. str - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time_
ended This property is required. 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 This property is required. str - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. str - The group type. Example:
BUILT_IN
- display
Name This property is required. String - A filter to return only resources that match the given display name. Example:
MyResourceDisplayName
- execution
Duration In Sec This property is required. Number - The total duration in seconds taken to complete the step execution. Example:
35
- group
Id This property is required. String - The unique id of the group to which this step belongs. Must not be modified by user. Example:
sgid1.group..uniqueID
- log
Locations This property is required. List<Property Map> - The details of an object storage log location for a DR protection group.
- status
This property is required. String - The status of the step execution.
- status
Details This property is required. String - Additional details on the step execution status. Example:
This step failed to complete due to a timeout
- step
Id This property is required. String - The unique id of the step. Must not be modified by user. Example:
sgid1.step..uniqueID
- time
Ended This property is required. 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 This property is required. String - The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example:
2019-03-29T09:36:42Z
- type
This property is required. String - The group type. Example:
BUILT_IN
GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation
- Bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- Bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. String - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. String - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. String - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. str - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. str - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. str - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. String - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. String - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. String - The object name inside the object storage bucket. Example:
switchover_plan_executions
GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation
- Bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- Bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- Namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- Object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. String - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. String - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. String - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. string - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. string - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. string - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. str - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. str - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. str - The object name inside the object storage bucket. Example:
switchover_plan_executions
- bucket
This property is required. String - The bucket name inside the object storage namespace. Example:
operation_logs
- namespace
This property is required. String - The namespace in object storage (Note - this is usually the tenancy name). Example:
myocitenancy
- object
This property is required. String - The object name inside the object storage bucket. Example:
switchover_plan_executions
GetDrPlanExecutionsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.