import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Scheduling Plan resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPlan = oci.database.getSchedulingPlan({ * schedulingPlanId: testSchedulingPlanOciDatabaseSchedulingPlan.id, * }); * ``` */ export declare function getSchedulingPlan(args: GetSchedulingPlanArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulingPlan. */ export interface GetSchedulingPlanArgs { /** * The Schedule Plan [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPlanId: string; } /** * A collection of values returned by getSchedulingPlan. */ export interface GetSchedulingPlanResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * 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: { [key: string]: string; }; /** * The display name of the Scheduling Plan. */ readonly displayName: string; /** * The estimated time for the Scheduling Plan. */ readonly estimatedTimeInMins: number; /** * 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: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan. */ readonly id: string; /** * If true, recommended scheduled actions will be generated for the scheduling plan. */ readonly isUsingRecommendedScheduledActions: boolean; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The current intent the Scheduling Plan. Valid states is EXADATA_INFRASTRUCTURE_FULL_SOFTWARE_UPDATE. */ readonly planIntent: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly resourceId: string; readonly schedulingPlanId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ readonly schedulingPolicyId: string; /** * The service type of the Scheduling Plan. */ readonly serviceType: string; /** * The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: string; /** * 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: { [key: string]: string; }; /** * The date and time the Scheduling Plan Resource was created. */ readonly timeCreated: string; /** * The date and time the Scheduling Plan Resource was updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Scheduling Plan resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Plan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPlan = oci.database.getSchedulingPlan({ * schedulingPlanId: testSchedulingPlanOciDatabaseSchedulingPlan.id, * }); * ``` */ export declare function getSchedulingPlanOutput(args: GetSchedulingPlanOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulingPlan. */ export interface GetSchedulingPlanOutputArgs { /** * The Schedule Plan [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPlanId: pulumi.Input; } //# sourceMappingURL=getSchedulingPlan.d.ts.map