import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Scheduling Policy Scheduling Window resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Window. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicySchedulingWindow = oci.database.getSchedulingPolicySchedulingWindow({ * schedulingPolicyId: testSchedulingPolicy.id, * schedulingWindowId: testSchedulingWindow.id, * }); * ``` */ export declare function getSchedulingPolicySchedulingWindow(args: GetSchedulingPolicySchedulingWindowArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulingPolicySchedulingWindow. */ export interface GetSchedulingPolicySchedulingWindowArgs { /** * The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPolicyId: string; /** * The Scheduling Window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingWindowId: string; } /** * A collection of values returned by getSchedulingPolicySchedulingWindow. */ export interface GetSchedulingPolicySchedulingWindowResult { /** * 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 user-friendly name for the Scheduling Window. The name does not need to be unique. */ readonly displayName: string; /** * 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 Window. */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ readonly schedulingPolicyId: string; readonly schedulingWindowId: string; /** * The current state of the Scheduling Window. Valid states are CREATING, ACTIVE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: string; /** * The date and time the Scheduling Window was created. */ readonly timeCreated: string; /** * The date and time of the next upcoming window associated within the schedulingWindow is planned to start. */ readonly timeNextSchedulingWindowStarts: string; /** * The last date and time that the Scheduling Window was updated. */ readonly timeUpdated: string; /** * The Single Scheduling Window details. */ readonly windowPreferences: outputs.Database.GetSchedulingPolicySchedulingWindowWindowPreference[]; } /** * This data source provides details about a specific Scheduling Policy Scheduling Window resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Window. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicySchedulingWindow = oci.database.getSchedulingPolicySchedulingWindow({ * schedulingPolicyId: testSchedulingPolicy.id, * schedulingWindowId: testSchedulingWindow.id, * }); * ``` */ export declare function getSchedulingPolicySchedulingWindowOutput(args: GetSchedulingPolicySchedulingWindowOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulingPolicySchedulingWindow. */ export interface GetSchedulingPolicySchedulingWindowOutputArgs { /** * The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPolicyId: pulumi.Input; /** * The Scheduling Window [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingWindowId: pulumi.Input; } //# sourceMappingURL=getSchedulingPolicySchedulingWindow.d.ts.map