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 Plans in Oracle Cloud Infrastructure Database service. * * Lists the Scheduling Plan resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPlans = oci.database.getSchedulingPlans({ * compartmentId: compartmentId, * displayName: schedulingPlanDisplayName, * id: schedulingPlanId, * resourceId: testResource.id, * schedulingPolicyId: testSchedulingPolicy.id, * state: schedulingPlanState, * }); * ``` */ export declare function getSchedulingPlans(args: GetSchedulingPlansArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSchedulingPlans. */ export interface GetSchedulingPlansArgs { /** * 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.GetSchedulingPlansFilter[]; /** * A filter to return only resources that match the given Schedule Plan id exactly. */ id?: string; /** * A filter to return only resources that match the given resource id exactly. */ resourceId?: string; /** * A filter to return only resources that match the given scheduling policy id exactly. */ schedulingPolicyId?: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: string; } /** * A collection of values returned by getSchedulingPlans. */ export interface GetSchedulingPlansResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The display name of the Scheduling Plan. */ readonly displayName?: string; readonly filters?: outputs.Database.GetSchedulingPlansFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Plan. */ readonly id?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. */ readonly resourceId?: string; /** * The list of scheduling_plan_collection. */ readonly schedulingPlanCollections: outputs.Database.GetSchedulingPlansSchedulingPlanCollection[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Scheduling Policy. */ readonly schedulingPolicyId?: string; /** * The current state of the Scheduling Plan. Valid states are CREATING, NEEDS_ATTENTION, AVAILABLE, UPDATING, FAILED, DELETING and DELETED. */ readonly state?: string; } /** * This data source provides the list of Scheduling Plans in Oracle Cloud Infrastructure Database service. * * Lists the Scheduling Plan resources in the specified compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSchedulingPlans = oci.database.getSchedulingPlans({ * compartmentId: compartmentId, * displayName: schedulingPlanDisplayName, * id: schedulingPlanId, * resourceId: testResource.id, * schedulingPolicyId: testSchedulingPolicy.id, * state: schedulingPlanState, * }); * ``` */ export declare function getSchedulingPlansOutput(args: GetSchedulingPlansOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSchedulingPlans. */ export interface GetSchedulingPlansOutputArgs { /** * 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 Schedule Plan id exactly. */ id?: pulumi.Input; /** * A filter to return only resources that match the given resource id exactly. */ resourceId?: pulumi.Input; /** * A filter to return only resources that match the given scheduling policy id exactly. */ schedulingPolicyId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state exactly. */ state?: pulumi.Input; } //# sourceMappingURL=getSchedulingPlans.d.ts.map