import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Scheduling Policies in Oracle Cloud Infrastructure Database service. * * Lists the Scheduling Policy resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicies = oci.database.getSchedulingPolicies({ * compartmentId: compartmentId, * displayName: schedulingPolicyDisplayName, * state: schedulingPolicyState, * }); * ``` */ export declare function getSchedulingPolicies(args: GetSchedulingPoliciesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulingPolicies. */ export interface GetSchedulingPoliciesArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: string; filters?: inputs.Database.GetSchedulingPoliciesFilter[]; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getSchedulingPolicies. */ export interface GetSchedulingPoliciesResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The user-friendly name for the Scheduling Policy. The name does not need to be unique. */ readonly displayName?: string; readonly filters?: outputs.Database.GetSchedulingPoliciesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of scheduling_policies. */ readonly schedulingPolicies: outputs.Database.GetSchedulingPoliciesSchedulingPolicy[]; /** * The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. */ readonly state?: string; } /** * This data source provides the list of Scheduling Policies in Oracle Cloud Infrastructure Database service. * * Lists the Scheduling Policy resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPolicies = oci.database.getSchedulingPolicies({ * compartmentId: compartmentId, * displayName: schedulingPolicyDisplayName, * state: schedulingPolicyState, * }); * ``` */ export declare function getSchedulingPoliciesOutput(args: GetSchedulingPoliciesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulingPolicies. */ export interface GetSchedulingPoliciesOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. The match is not case sensitive. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getSchedulingPolicies.d.ts.map