1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DisasterRecovery
  5. getDrPlanExecutions
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DisasterRecovery.getDrPlanExecutions

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    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: 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,
    });
    
    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"])
    
    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
    	})
    }
    
    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 = 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 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());
    
        }
    }
    
    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:

    DrProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    DrPlanExecutionId string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    DrPlanExecutionType string
    The DR plan execution type.
    Filters List<GetDrPlanExecutionsFilter>
    State string
    A filter to return only DR plan executions that match the given lifecycle state.
    DrProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    DrPlanExecutionId string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    DrPlanExecutionType string
    The DR plan execution type.
    Filters []GetDrPlanExecutionsFilter
    State string
    A filter to return only DR plan executions that match the given lifecycle state.
    drProtectionGroupId String
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drPlanExecutionId String
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    drPlanExecutionType String
    The DR plan execution type.
    filters List<GetDrPlanExecutionsFilter>
    state String
    A filter to return only DR plan executions that match the given lifecycle state.
    drProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    displayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drPlanExecutionId string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    drPlanExecutionType string
    The DR plan execution type.
    filters GetDrPlanExecutionsFilter[]
    state string
    A filter to return only DR plan executions that match the given lifecycle state.
    dr_protection_group_id 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_execution_id str
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    dr_plan_execution_type str
    The DR plan execution type.
    filters Sequence[disasterrecovery.GetDrPlanExecutionsFilter]
    state str
    A filter to return only DR plan executions that match the given lifecycle state.
    drProtectionGroupId String
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drPlanExecutionId String
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    drPlanExecutionType String
    The DR plan execution type.
    filters List<Property Map>
    state String
    A filter to return only DR plan executions that match the given lifecycle state.

    getDrPlanExecutions Result

    The following output properties are available:

    DrPlanExecutionCollections List<GetDrPlanExecutionsDrPlanExecutionCollection>
    The list of dr_plan_execution_collection.
    DrProtectionGroupId string
    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.
    DisplayName string
    The display name of the step execution. Example: DATABASE_SWITCHOVER
    DrPlanExecutionId string
    DrPlanExecutionType string
    Filters List<GetDrPlanExecutionsFilter>
    State string
    The current state of the DR plan execution.
    DrPlanExecutionCollections []GetDrPlanExecutionsDrPlanExecutionCollection
    The list of dr_plan_execution_collection.
    DrProtectionGroupId string
    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.
    DisplayName string
    The display name of the step execution. Example: DATABASE_SWITCHOVER
    DrPlanExecutionId string
    DrPlanExecutionType string
    Filters []GetDrPlanExecutionsFilter
    State string
    The current state of the DR plan execution.
    drPlanExecutionCollections List<GetDrPlanExecutionsDrPlanExecutionCollection>
    The list of dr_plan_execution_collection.
    drProtectionGroupId String
    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.
    displayName String
    The display name of the step execution. Example: DATABASE_SWITCHOVER
    drPlanExecutionId String
    drPlanExecutionType String
    filters List<GetDrPlanExecutionsFilter>
    state String
    The current state of the DR plan execution.
    drPlanExecutionCollections GetDrPlanExecutionsDrPlanExecutionCollection[]
    The list of dr_plan_execution_collection.
    drProtectionGroupId string
    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.
    displayName string
    The display name of the step execution. Example: DATABASE_SWITCHOVER
    drPlanExecutionId string
    drPlanExecutionType string
    filters GetDrPlanExecutionsFilter[]
    state string
    The current state of the DR plan execution.
    dr_plan_execution_collections Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollection]
    The list of dr_plan_execution_collection.
    dr_protection_group_id str
    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_execution_id str
    dr_plan_execution_type str
    filters Sequence[disasterrecovery.GetDrPlanExecutionsFilter]
    state str
    The current state of the DR plan execution.
    drPlanExecutionCollections List<Property Map>
    The list of dr_plan_execution_collection.
    drProtectionGroupId String
    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.
    displayName String
    The display name of the step execution. Example: DATABASE_SWITCHOVER
    drPlanExecutionId String
    drPlanExecutionType String
    filters List<Property Map>
    state String
    The current state of the DR plan execution.

    Supporting Types

    GetDrPlanExecutionsDrPlanExecutionCollection

    GetDrPlanExecutionsDrPlanExecutionCollectionItem

    CompartmentId string
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    DrProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    ExecutionOptions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>
    The options for a plan execution.
    FreeformTags 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"}
    GroupExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>
    A list of groups executed in this DR plan execution.
    Id string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    LifeCycleDetails string
    A message describing the DR plan execution's current state in more detail.
    LogLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    PeerRegion string
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    PlanExecutionType string
    The type of the DR plan executed.
    PlanId string
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    State string
    A filter to return only DR plan executions that match the given lifecycle state.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    TimeUpdated string
    The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    CompartmentId string
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    DrProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    ExecutionOptions []GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption
    The options for a plan execution.
    FreeformTags 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"}
    GroupExecutions []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution
    A list of groups executed in this DR plan execution.
    Id string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    LifeCycleDetails string
    A message describing the DR plan execution's current state in more detail.
    LogLocations []GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation
    The details of an object storage log location for a DR protection group.
    PeerDrProtectionGroupId string
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    PeerRegion string
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    PlanExecutionType string
    The type of the DR plan executed.
    PlanId string
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    State string
    A filter to return only DR plan executions that match the given lifecycle state.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    TimeUpdated string
    The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    compartmentId String
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drProtectionGroupId String
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Integer
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption>
    The options for a plan execution.
    freeformTags 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"}
    groupExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution>
    A list of groups executed in this DR plan execution.
    id String
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    lifeCycleDetails String
    A message describing the DR plan execution's current state in more detail.
    logLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation>
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId String
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    peerRegion String
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    planExecutionType String
    The type of the DR plan executed.
    planId String
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    state String
    A filter to return only DR plan executions that match the given lifecycle state.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeUpdated String
    The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    compartmentId string
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
    displayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drProtectionGroupId string
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec number
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption[]
    The options for a plan execution.
    freeformTags {[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"}
    groupExecutions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution[]
    A list of groups executed in this DR plan execution.
    id string
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    lifeCycleDetails string
    A message describing the DR plan execution's current state in more detail.
    logLocations GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation[]
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId string
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    peerRegion string
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    planExecutionType string
    The type of the DR plan executed.
    planId string
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    state string
    A filter to return only DR plan executions that match the given lifecycle state.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeEnded 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
    timeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeUpdated string
    The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    compartment_id str
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    defined_tags 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 given display name. Example: MyResourceDisplayName
    dr_protection_group_id str
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    execution_duration_in_sec int
    The total duration in seconds taken to complete the step execution. Example: 35
    execution_options Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption]
    The options for a plan execution.
    freeform_tags 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 Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution]
    A list of groups executed in this DR plan execution.
    id str
    The OCID of the DR plan execution. Example: ocid1.drplanexecution.oc1..uniqueID
    life_cycle_details str
    A message describing the DR plan execution's current state in more detail.
    log_locations Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation]
    The details of an object storage log location for a DR protection group.
    peer_dr_protection_group_id str
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    peer_region str
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    plan_execution_type str
    The type of the DR plan executed.
    plan_id str
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    state str
    A filter to return only DR plan executions that match the given lifecycle state.
    system_tags 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 when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    compartmentId String
    The OCID of the compartment containing this DR plan execution. Example: ocid1.compartment.oc1..uniqueID
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"Operations.CostCenter": "42"}
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    drProtectionGroupId String
    The OCID of the DR protection group. Mandatory query param. Example: ocid1.drprotectiongroup.oc1..uniqueID
    executionDurationInSec Number
    The total duration in seconds taken to complete the step execution. Example: 35
    executionOptions List<Property Map>
    The options for a plan execution.
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"Department": "Finance"}
    groupExecutions 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..uniqueID
    lifeCycleDetails String
    A message describing the DR plan execution's current state in more detail.
    logLocations List<Property Map>
    The details of an object storage log location for a DR protection group.
    peerDrProtectionGroupId String
    The OCID of peer DR protection group associated with this plan's DR protection group. Example: ocid1.drprotectiongroup.oc1..uniqueID
    peerRegion String
    The region of the peer DR protection group associated with this plan's DR protection group. Example: us-ashburn-1
    planExecutionType String
    The type of the DR plan executed.
    planId String
    The OCID of the DR plan. Example: ocid1.drplan.oc1..uniqueID
    state String
    A filter to return only DR plan executions that match the given lifecycle state.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time at which DR plan execution was created. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    timeUpdated String
    The time when DR plan execution was last updated. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z

    GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOption

    ArePrechecksEnabled bool
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    AreWarningsIgnored bool
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    PlanExecutionType string
    The type of the DR plan executed.
    ArePrechecksEnabled bool
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    AreWarningsIgnored bool
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    PlanExecutionType string
    The type of the DR plan executed.
    arePrechecksEnabled Boolean
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    areWarningsIgnored Boolean
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    planExecutionType String
    The type of the DR plan executed.
    arePrechecksEnabled boolean
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    areWarningsIgnored boolean
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    planExecutionType string
    The type of the DR plan executed.
    are_prechecks_enabled bool
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    are_warnings_ignored bool
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    plan_execution_type str
    The type of the DR plan executed.
    arePrechecksEnabled Boolean
    A flag indicating whether a precheck should be executed before the plan execution. Example: true
    areWarningsIgnored Boolean
    A flag indicating whether warnings should be ignored during the plan execution. Example: false
    planExecutionType String
    The type of the DR plan executed.

    GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecution

    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    GroupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    Status string
    The status of the step execution.
    StatusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    StepExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>
    A list of step executions in the group.
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    Type string
    The group type. Example: BUILT_IN
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    GroupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    Status string
    The status of the step execution.
    StatusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    StepExecutions []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution
    A list of step executions in the group.
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    Type string
    The group type. Example: BUILT_IN
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec Integer
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId String
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    status String
    The status of the step execution.
    statusDetails String
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepExecutions List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution>
    A list of step executions in the group.
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type String
    The group type. Example: BUILT_IN
    displayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec number
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    status string
    The status of the step execution.
    statusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepExecutions GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution[]
    A list of step executions in the group.
    timeEnded 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
    timeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type string
    The group type. Example: BUILT_IN
    display_name str
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    execution_duration_in_sec int
    The total duration in seconds taken to complete the step execution. Example: 35
    group_id str
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    status str
    The status of the step execution.
    status_details str
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    step_executions Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution]
    A list of step executions in the group.
    time_ended str
    The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    time_started str
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type str
    The group type. Example: BUILT_IN
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec Number
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId String
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    status String
    The status of the step execution.
    statusDetails String
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepExecutions List<Property Map>
    A list of step executions in the group.
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type String
    The group type. Example: BUILT_IN

    GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecution

    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    GroupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    LogLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    Status string
    The status of the step execution.
    StatusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    StepId string
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    Type string
    The group type. Example: BUILT_IN
    DisplayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    ExecutionDurationInSec int
    The total duration in seconds taken to complete the step execution. Example: 35
    GroupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    LogLocations []GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation
    The details of an object storage log location for a DR protection group.
    Status string
    The status of the step execution.
    StatusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    StepId string
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    TimeEnded 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
    TimeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    Type string
    The group type. Example: BUILT_IN
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec Integer
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId String
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    logLocations List<GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation>
    The details of an object storage log location for a DR protection group.
    status String
    The status of the step execution.
    statusDetails String
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepId String
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type String
    The group type. Example: BUILT_IN
    displayName string
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec number
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId string
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    logLocations GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation[]
    The details of an object storage log location for a DR protection group.
    status string
    The status of the step execution.
    statusDetails string
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepId string
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    timeEnded 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
    timeStarted string
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type string
    The group type. Example: BUILT_IN
    display_name str
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    execution_duration_in_sec int
    The total duration in seconds taken to complete the step execution. Example: 35
    group_id str
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    log_locations Sequence[disasterrecovery.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation]
    The details of an object storage log location for a DR protection group.
    status str
    The status of the step execution.
    status_details str
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    step_id str
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    time_ended str
    The date and time at which DR plan execution succeeded, failed, was paused, or was canceled. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    time_started str
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type str
    The group type. Example: BUILT_IN
    displayName String
    A filter to return only resources that match the given display name. Example: MyResourceDisplayName
    executionDurationInSec Number
    The total duration in seconds taken to complete the step execution. Example: 35
    groupId String
    The unique id of the group to which this step belongs. Must not be modified by user. Example: sgid1.group..uniqueID
    logLocations List<Property Map>
    The details of an object storage log location for a DR protection group.
    status String
    The status of the step execution.
    statusDetails String
    Additional details on the step execution status. Example: This step failed to complete due to a timeout
    stepId String
    The unique id of the step. Must not be modified by user. Example: sgid1.step..uniqueID
    timeEnded 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
    timeStarted String
    The date and time at which DR plan execution began. An RFC3339 formatted datetime string. Example: 2019-03-29T09:36:42Z
    type String
    The group type. Example: BUILT_IN

    GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocation

    Bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    Namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    Object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    Bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    Namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    Object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket String
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace String
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object String
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket str
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace str
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object str
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket String
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace String
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object String
    The object name inside the object storage bucket. Example: switchover_plan_executions

    GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocation

    Bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    Namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    Object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    Bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    Namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    Object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket String
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace String
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object String
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket string
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace string
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object string
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket str
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace str
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object str
    The object name inside the object storage bucket. Example: switchover_plan_executions
    bucket String
    The bucket name inside the object storage namespace. Example: operation_logs
    namespace String
    The namespace in object storage (Note - this is usually the tenancy name). Example: myocitenancy
    object String
    The object name inside the object storage bucket. Example: switchover_plan_executions

    GetDrPlanExecutionsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi