import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Scheduling Policy resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicy = oci.database.getSchedulingPolicy({ * schedulingPolicyId: testSchedulingPolicyOciDatabaseSchedulingPolicy.id, * }); * ``` */ export declare function getSchedulingPolicy(args: GetSchedulingPolicyArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulingPolicy. */ export interface GetSchedulingPolicyArgs { /** * The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPolicyId: string; } /** * A collection of values returned by getSchedulingPolicy. */ export interface GetSchedulingPolicyResult { /** * The cadence period. */ readonly cadence: string; /** * Start of the month to be followed during the cadence period. */ readonly cadenceStartMonths: outputs.Database.GetSchedulingPolicyCadenceStartMonth[]; /** * 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 Policy. 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 Policy. */ readonly id: string; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; readonly schedulingPolicyId: string; /** * The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. */ readonly state: string; /** * The date and time the Scheduling Policy was created. */ readonly timeCreated: string; /** * The date and time of the next scheduling window associated with the schedulingPolicy is planned to start. */ readonly timeNextWindowStarts: string; /** * The last date and time that the Scheduling Policy was updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific Scheduling Policy resource in Oracle Cloud Infrastructure Database service. * * Gets information about the specified Scheduling Policy. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicy = oci.database.getSchedulingPolicy({ * schedulingPolicyId: testSchedulingPolicyOciDatabaseSchedulingPolicy.id, * }); * ``` */ export declare function getSchedulingPolicyOutput(args: GetSchedulingPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulingPolicy. */ export interface GetSchedulingPolicyOutputArgs { /** * The Scheduling Policy [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ schedulingPolicyId: pulumi.Input; } //# sourceMappingURL=getSchedulingPolicy.d.ts.map