import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Scheduling Policy resource in Oracle Cloud Infrastructure Database service. * * Creates a Scheduling Policy resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicy = new oci.database.SchedulingPolicy("test_scheduling_policy", { * cadence: schedulingPolicyCadence, * compartmentId: compartmentId, * displayName: schedulingPolicyDisplayName, * cadenceStartMonth: { * name: schedulingPolicyCadenceStartMonthName, * }, * definedTags: schedulingPolicyDefinedTags, * freeformTags: { * Department: "Finance", * }, * }); * ``` * * ## Import * * SchedulingPolicies can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/schedulingPolicy:SchedulingPolicy test_scheduling_policy "id" * ``` */ export declare class SchedulingPolicy extends pulumi.CustomResource { /** * Get an existing SchedulingPolicy 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?: SchedulingPolicyState, opts?: pulumi.CustomResourceOptions): SchedulingPolicy; /** * Returns true if the given object is an instance of SchedulingPolicy. 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 SchedulingPolicy; /** * (Updatable) The cadence period. */ readonly cadence: pulumi.Output; /** * (Updatable) Start of the month to be followed during the cadence period. */ readonly cadenceStartMonth: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique. */ readonly displayName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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; }>; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: pulumi.Output; /** * The date and time the Scheduling Policy was created. */ readonly timeCreated: pulumi.Output; /** * The date and time of the next scheduling window associated with the schedulingPolicy is planned to start. */ readonly timeNextWindowStarts: pulumi.Output; /** * The last date and time that the Scheduling Policy was updated. */ readonly timeUpdated: pulumi.Output; /** * Create a SchedulingPolicy 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: SchedulingPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SchedulingPolicy resources. */ export interface SchedulingPolicyState { /** * (Updatable) The cadence period. */ cadence?: pulumi.Input; /** * (Updatable) Start of the month to be followed during the cadence period. */ cadenceStartMonth?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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>; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. */ state?: pulumi.Input; /** * The date and time the Scheduling Policy was created. */ timeCreated?: pulumi.Input; /** * The date and time of the next scheduling window associated with the schedulingPolicy is planned to start. */ timeNextWindowStarts?: pulumi.Input; /** * The last date and time that the Scheduling Policy was updated. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a SchedulingPolicy resource. */ export interface SchedulingPolicyArgs { /** * (Updatable) The cadence period. */ cadence: pulumi.Input; /** * (Updatable) Start of the month to be followed during the cadence period. */ cadenceStartMonth?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) The user-friendly name for the Scheduling Policy. The name does not need to be unique. */ displayName: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * * ** 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=schedulingPolicy.d.ts.map