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 Work Requests in Oracle Cloud Infrastructure Container Engine service. * * List all work requests in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkRequests = oci.containerengine.getWorkRequests({ * compartmentId: compartmentId, * clusterId: testCluster.id, * resourceId: testResource.id, * resourceType: workRequestResourceType, * statuses: workRequestStatus, * }); * ``` */ export declare function getWorkRequests(args: GetWorkRequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkRequests. */ export interface GetWorkRequestsArgs { /** * The OCID of the cluster. */ clusterId?: string; /** * The OCID of the compartment. */ compartmentId: string; filters?: inputs.ContainerEngine.GetWorkRequestsFilter[]; /** * The OCID of the resource associated with a work request */ resourceId?: string; /** * Type of the resource associated with a work request */ resourceType?: string; /** * A work request status to filter on. Can have multiple parameters of this name. */ statuses?: string[]; } /** * A collection of values returned by getWorkRequests. */ export interface GetWorkRequestsResult { readonly clusterId?: string; /** * The OCID of the compartment in which the work request exists. */ readonly compartmentId: string; readonly filters?: outputs.ContainerEngine.GetWorkRequestsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly resourceId?: string; readonly resourceType?: string; /** * The current status of the work request. */ readonly statuses?: string[]; /** * The list of work_requests. */ readonly workRequests: outputs.ContainerEngine.GetWorkRequestsWorkRequest[]; } /** * This data source provides the list of Work Requests in Oracle Cloud Infrastructure Container Engine service. * * List all work requests in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkRequests = oci.containerengine.getWorkRequests({ * compartmentId: compartmentId, * clusterId: testCluster.id, * resourceId: testResource.id, * resourceType: workRequestResourceType, * statuses: workRequestStatus, * }); * ``` */ export declare function getWorkRequestsOutput(args: GetWorkRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkRequests. */ export interface GetWorkRequestsOutputArgs { /** * The OCID of the cluster. */ clusterId?: pulumi.Input; /** * The OCID of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the resource associated with a work request */ resourceId?: pulumi.Input; /** * Type of the resource associated with a work request */ resourceType?: pulumi.Input; /** * A work request status to filter on. Can have multiple parameters of this name. */ statuses?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getWorkRequests.d.ts.map