import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Replication Schedule resource in Oracle Cloud Infrastructure Cloud Migrations service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ocm/latest/ReplicationSchedule * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cloudMigrations * * Creates a replication schedule. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testReplicationSchedule = new oci.cloudmigrations.ReplicationSchedule("test_replication_schedule", { * compartmentId: compartmentId, * displayName: replicationScheduleDisplayName, * executionRecurrences: replicationScheduleExecutionRecurrences, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * }); * ``` * * ## Import * * ReplicationSchedules can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:CloudMigrations/replicationSchedule:ReplicationSchedule test_replication_schedule "id" * ``` */ export declare class ReplicationSchedule extends pulumi.CustomResource { /** * Get an existing ReplicationSchedule 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?: ReplicationScheduleState, opts?: pulumi.CustomResourceOptions): ReplicationSchedule; /** * Returns true if the given object is an instance of ReplicationSchedule. 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 ReplicationSchedule; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the replication schedule should be created. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) A user-friendly name for a replication schedule. Does not have to be unique, and is mutable. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Recurrence specification for replication schedule execution. */ readonly executionRecurrences: pulumi.Output; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The detailed state of the replication schedule. */ readonly lifecycleDetails: pulumi.Output; /** * Current state of the replication schedule. */ 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 time when the replication schedule was created in RFC3339 format. */ readonly timeCreated: pulumi.Output; /** * The time when the replication schedule was last updated in RFC3339 format. */ readonly timeUpdated: pulumi.Output; /** * Create a ReplicationSchedule 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: ReplicationScheduleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ReplicationSchedule resources. */ export interface ReplicationScheduleState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the replication schedule should be created. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name for a replication schedule. Does not have to be unique, and is mutable. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Recurrence specification for replication schedule execution. */ executionRecurrences?: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The detailed state of the replication schedule. */ lifecycleDetails?: pulumi.Input; /** * Current state of the replication schedule. */ 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 time when the replication schedule was created in RFC3339 format. */ timeCreated?: pulumi.Input; /** * The time when the replication schedule was last updated in RFC3339 format. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a ReplicationSchedule resource. */ export interface ReplicationScheduleArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the replication schedule should be created. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) A user-friendly name for a replication schedule. Does not have to be unique, and is mutable. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Recurrence specification for replication schedule execution. */ executionRecurrences: pulumi.Input; /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. It exists only for cross-compatibility. Example: `{"bar-key": "value"}` * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=replicationSchedule.d.ts.map