import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Automatic Dr Configuration resource in Oracle Cloud Infrastructure Disaster Recovery service. * * Create a Automatic DR configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAutomaticDrConfiguration = new oci.disasterrecovery.AutomaticDrConfiguration("test_automatic_dr_configuration", { * displayName: automaticDrConfigurationDisplayName, * drProtectionGroupId: testDrProtectionGroup.id, * members: [{ * memberId: testMember.id, * memberType: automaticDrConfigurationMembersMemberType, * isAutoFailoverEnabled: automaticDrConfigurationMembersIsAutoFailoverEnabled === "true", * isAutoSwitchoverEnabled: automaticDrConfigurationMembersIsAutoSwitchoverEnabled === "true", * }], * defaultFailoverDrPlanId: testDrPlan.id, * defaultSwitchoverDrPlanId: testDrPlan.id, * definedTags: { * "Operations.CostCenter": "42", * }, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * AutomaticDrConfigurations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DisasterRecovery/automaticDrConfiguration:AutomaticDrConfiguration test_automatic_dr_configuration "id" * ``` */ export declare class AutomaticDrConfiguration extends pulumi.CustomResource { /** * Get an existing AutomaticDrConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AutomaticDrConfigurationState, opts?: pulumi.CustomResourceOptions): AutomaticDrConfiguration; /** * Returns true if the given object is an instance of AutomaticDrConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AutomaticDrConfiguration; /** * The OCID of the compartment containing the Automatic DR configuration. Example: `ocid1.compartment.oc1..uniqueID` */ readonly compartmentId: pulumi.Output; /** * (Updatable) The unique id of a Failover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ readonly defaultFailoverDrPlanId: pulumi.Output; /** * (Updatable) The unique id of a Switchover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ readonly defaultSwitchoverDrPlanId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The display name of the Automatic DR configuration being created. Example: `Automatic DR Configuration` */ readonly displayName: pulumi.Output; /** * The OCID of the DR protection group to which this Automatic DR configuration belongs. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ readonly drProtectionGroupId: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * A message describing the result of the most recent attempt made to submit an Automatic DR plan execution. */ readonly lastAutomaticDrExecutionSubmitDetails: pulumi.Output; /** * The status of most recent attempt to submit Automatic DR plan execution. */ readonly lastAutomaticDrExecutionSubmitStatus: pulumi.Output; /** * A message describing the Automatic DR configuration's current state in more detail. */ readonly lifecycleDetails: pulumi.Output; /** * (Updatable) A list of members for Automatic DR configuration. */ readonly members: pulumi.Output; /** * The current state of the Automatic DR configuration. */ readonly state: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the Automatic DR configuration was created. An RFC3339 formatted datetime string. Example: `2024-03-29T09:36:42Z` */ readonly timeCreated: pulumi.Output; /** * The date and time of the most recent attempt made to submit an Automatic DR plan execution. An RFC3339 formatted datetime string. Example: `2025-06-30T09:36:42Z` */ readonly timeLastAutomaticDrExecutionSubmitAttempt: pulumi.Output; /** * The date and time the Automatic DR configuration was updated. An RFC3339 formatted datetime string. Example: `2024-03-29T09:36:42Z` */ readonly timeUpdated: pulumi.Output; /** * Create a AutomaticDrConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AutomaticDrConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AutomaticDrConfiguration resources. */ export interface AutomaticDrConfigurationState { /** * The OCID of the compartment containing the Automatic DR configuration. Example: `ocid1.compartment.oc1..uniqueID` */ compartmentId?: pulumi.Input; /** * (Updatable) The unique id of a Failover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ defaultFailoverDrPlanId?: pulumi.Input; /** * (Updatable) The unique id of a Switchover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ defaultSwitchoverDrPlanId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The display name of the Automatic DR configuration being created. Example: `Automatic DR Configuration` */ displayName?: pulumi.Input; /** * The OCID of the DR protection group to which this Automatic DR configuration belongs. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ drProtectionGroupId?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A message describing the result of the most recent attempt made to submit an Automatic DR plan execution. */ lastAutomaticDrExecutionSubmitDetails?: pulumi.Input; /** * The status of most recent attempt to submit Automatic DR plan execution. */ lastAutomaticDrExecutionSubmitStatus?: pulumi.Input; /** * A message describing the Automatic DR configuration's current state in more detail. */ lifecycleDetails?: pulumi.Input; /** * (Updatable) A list of members for Automatic DR configuration. */ members?: pulumi.Input[] | undefined>; /** * The current state of the Automatic DR configuration. */ state?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the Automatic DR configuration was created. An RFC3339 formatted datetime string. Example: `2024-03-29T09:36:42Z` */ timeCreated?: pulumi.Input; /** * The date and time of the most recent attempt made to submit an Automatic DR plan execution. An RFC3339 formatted datetime string. Example: `2025-06-30T09:36:42Z` */ timeLastAutomaticDrExecutionSubmitAttempt?: pulumi.Input; /** * The date and time the Automatic DR configuration was updated. An RFC3339 formatted datetime string. Example: `2024-03-29T09:36:42Z` */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a AutomaticDrConfiguration resource. */ export interface AutomaticDrConfigurationArgs { /** * (Updatable) The unique id of a Failover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ defaultFailoverDrPlanId?: pulumi.Input; /** * (Updatable) The unique id of a Switchover DR Plan. Example: `ocid1.drplan.oc1..uniqueID` */ defaultSwitchoverDrPlanId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The display name of the Automatic DR configuration being created. Example: `Automatic DR Configuration` */ displayName: pulumi.Input; /** * The OCID of the DR protection group to which this Automatic DR configuration belongs. Example: `ocid1.drprotectiongroup.oc1..uniqueID` */ drProtectionGroupId: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A list of members for Automatic DR configuration. */ members: pulumi.Input[]>; } //# sourceMappingURL=automaticDrConfiguration.d.ts.map