import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * 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 * * ```typescript * 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, * }); * ``` */ export declare function getDrPlanExecutions(args: GetDrPlanExecutionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDrPlanExecutions. */ export interface GetDrPlanExecutionsArgs { /** * A filter to return only resources that match the given display name. Example: `MyResourceDisplayName` */ displayName?: string; /** * The OCID of the DR plan execution. Example: `ocid1.drplanexecution.oc1..uniqueID` */ drPlanExecutionId?: string; /** * The OCID of the DR protection group. Mandatory query param. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ drProtectionGroupId: string; filters?: inputs.DisasterRecovery.GetDrPlanExecutionsFilter[]; /** * A filter to return only DR plan executions that match the given lifecycle state. */ state?: string; } /** * A collection of values returned by getDrPlanExecutions. */ export interface GetDrPlanExecutionsResult { /** * The display name of the step execution. Example: `DATABASE_SWITCHOVER` */ readonly displayName?: string; /** * The list of dr_plan_execution_collection. */ readonly drPlanExecutionCollections: outputs.DisasterRecovery.GetDrPlanExecutionsDrPlanExecutionCollection[]; readonly drPlanExecutionId?: string; /** * The OCID of the DR protection group to which this DR plan execution belongs. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ readonly drProtectionGroupId: string; readonly filters?: outputs.DisasterRecovery.GetDrPlanExecutionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the DR plan execution. */ readonly state?: string; } /** * 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 * * ```typescript * 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, * }); * ``` */ export declare function getDrPlanExecutionsOutput(args: GetDrPlanExecutionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDrPlanExecutions. */ export interface GetDrPlanExecutionsOutputArgs { /** * A filter to return only resources that match the given display name. Example: `MyResourceDisplayName` */ displayName?: pulumi.Input; /** * The OCID of the DR plan execution. Example: `ocid1.drplanexecution.oc1..uniqueID` */ drPlanExecutionId?: pulumi.Input; /** * The OCID of the DR protection group. Mandatory query param. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ drProtectionGroupId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only DR plan executions that match the given lifecycle state. */ state?: pulumi.Input; } //# sourceMappingURL=getDrPlanExecutions.d.ts.map