import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Dr Plan resource in Oracle Cloud Infrastructure Disaster Recovery service. * * Get details for the DR plan identified by *drPlanId*. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrPlan = oci.disasterrecovery.getDrPlan({ * drPlanId: testDrPlanOciDisasterRecoveryDrPlan.id, * }); * ``` */ export declare function getDrPlan(args: GetDrPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDrPlan. */ export interface GetDrPlanArgs { /** * The OCID of the DR plan. Example: `ocid1.drplan.oc1..uniqueID` */ drPlanId: string; } /** * A collection of values returned by getDrPlan. */ export interface GetDrPlanResult { /** * The OCID of the compartment containing the DR plan. Example: `ocid1.compartment.oc1..uniqueID` */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The display name of the group. Example: `DATABASE_SWITCHOVER` */ readonly displayName: string; readonly drPlanId: string; /** * The OCID of the DR protection group to which this DR plan belongs. Example: `ocid1.drplan.oc1..uniqueID` */ readonly drProtectionGroupId: string; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The unique id of the step. Must not be modified by the user. Example: `sgid1.step..uniqueID` */ readonly id: string; /** * A message describing the DR plan's current state in more detail. */ readonly lifeCycleDetails: string; /** * The current state of the DR plan. */ readonly lifecycleSubState: string; /** * The OCID of the peer DR protection group associated with this plan's DR protection group. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ readonly peerDrProtectionGroupId: string; /** * The region of the peer DR protection group associated with this plan's DR protection group. Example: `us-ashburn-1` */ readonly peerRegion: string; /** * The list of groups in this DR plan. */ readonly planGroups: outputs.DisasterRecovery.GetDrPlanPlanGroup[]; readonly refreshTrigger: number; /** * If this is a cloned DR plan, the OCID of the source DR plan that was used to clone this DR plan. If this DR plan was not cloned, then the value for this will be `null`. Example: `ocid1.drplan.oc1..uniqueID` */ readonly sourcePlanId: string; /** * The current state of the DR plan. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the DR plan was created. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` */ readonly timeCreated: string; /** * The date and time the DR plan was updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` */ readonly timeUpdated: string; /** * The type of the DR plan. */ readonly type: string; readonly verifyTrigger: number; } /** * This data source provides details about a specific Dr Plan resource in Oracle Cloud Infrastructure Disaster Recovery service. * * Get details for the DR plan identified by *drPlanId*. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrPlan = oci.disasterrecovery.getDrPlan({ * drPlanId: testDrPlanOciDisasterRecoveryDrPlan.id, * }); * ``` */ export declare function getDrPlanOutput(args: GetDrPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDrPlan. */ export interface GetDrPlanOutputArgs { /** * The OCID of the DR plan. Example: `ocid1.drplan.oc1..uniqueID` */ drPlanId: pulumi.Input; } //# sourceMappingURL=getDrPlan.d.ts.map