import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Scheduling Plan resource in Oracle Cloud Infrastructure Database service. * * Creates a Scheduling Plan resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPlan = new oci.database.SchedulingPlan("test_scheduling_plan", { * compartmentId: compartmentId, * resourceId: testResource.id, * schedulingPolicyId: testSchedulingPolicy.id, * serviceType: schedulingPlanServiceType, * definedTags: schedulingPlanDefinedTags, * freeformTags: { * Department: "Finance", * }, * isUsingRecommendedScheduledActions: schedulingPlanIsUsingRecommendedScheduledActions === "true", * }); * ``` * * ## Import * * SchedulingPlans can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Database/schedulingPlan:SchedulingPlan test_scheduling_plan "id" * ``` */ export declare class SchedulingPlan extends pulumi.CustomResource { /** * Get an existing SchedulingPlan 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?: SchedulingPlanState, opts?: pulumi.CustomResourceOptions): SchedulingPlan; /** * Returns true if the given object is an instance of SchedulingPlan. 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 SchedulingPlan; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: pulumi.Output; /** * 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; }>; /** * The display name of the Scheduling Plan. */ readonly displayName: pulumi.Output; /** * The estimated time for the Scheduling Plan. */ readonly estimatedTimeInMins: pulumi.Output; /** * 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"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * If true, recommended scheduled actions will be generated for the scheduling plan. */ readonly isUsingRecommendedScheduledActions: pulumi.Output; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: pulumi.Output; /** * The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. */ readonly planIntent: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly resourceId: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ readonly schedulingPolicyId: pulumi.Output; /** * The service type of the Scheduling Plan. * * ** 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 serviceType: pulumi.Output; /** * The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: pulumi.Output; /** * System 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 systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the Scheduling Plan Resource was created. */ readonly timeCreated: pulumi.Output; /** * The date and time the Scheduling Plan Resource was updated. */ readonly timeUpdated: pulumi.Output; /** * Create a SchedulingPlan 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: SchedulingPlanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SchedulingPlan resources. */ export interface SchedulingPlanState { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId?: pulumi.Input; /** * 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>; /** * The display name of the Scheduling Plan. */ displayName?: pulumi.Input; /** * The estimated time for the Scheduling Plan. */ estimatedTimeInMins?: pulumi.Input; /** * 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If true, recommended scheduled actions will be generated for the scheduling plan. */ isUsingRecommendedScheduledActions?: pulumi.Input; /** * Additional information about the current lifecycle state. */ lifecycleDetails?: pulumi.Input; /** * The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. */ planIntent?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ resourceId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ schedulingPolicyId?: pulumi.Input; /** * The service type of the Scheduling Plan. * * ** 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 */ serviceType?: pulumi.Input; /** * The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. */ state?: pulumi.Input; /** * System 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). */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the Scheduling Plan Resource was created. */ timeCreated?: pulumi.Input; /** * The date and time the Scheduling Plan Resource was updated. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a SchedulingPlan resource. */ export interface SchedulingPlanArgs { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * 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>; /** * 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * If true, recommended scheduled actions will be generated for the scheduling plan. */ isUsingRecommendedScheduledActions?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ resourceId: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ schedulingPolicyId: pulumi.Input; /** * The service type of the Scheduling Plan. * * ** 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 */ serviceType: pulumi.Input; } //# sourceMappingURL=schedulingPlan.d.ts.map