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 Iam Work Requests in Oracle Cloud Infrastructure Identity service. * * List the IAM work requests in compartment * * - If IAM workrequest details are retrieved sucessfully, return 202 ACCEPTED. * - If any internal error occurs, return 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIamWorkRequests = oci.identity.getIamWorkRequests({ * compartmentId: compartmentId, * resourceIdentifier: iamWorkRequestResourceIdentifier, * }); * ``` */ export declare function getIamWorkRequests(args: GetIamWorkRequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamWorkRequests. */ export interface GetIamWorkRequestsArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: string; filters?: inputs.Identity.GetIamWorkRequestsFilter[]; /** * The identifier of the resource the work request affects. */ resourceIdentifier?: string; } /** * A collection of values returned by getIamWorkRequests. */ export interface GetIamWorkRequestsResult { /** * The OCID of the compartment containing this IAM work request. */ readonly compartmentId: string; readonly filters?: outputs.Identity.GetIamWorkRequestsFilter[]; /** * The list of iam_work_requests. */ readonly iamWorkRequests: outputs.Identity.GetIamWorkRequestsIamWorkRequest[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly resourceIdentifier?: string; } /** * This data source provides the list of Iam Work Requests in Oracle Cloud Infrastructure Identity service. * * List the IAM work requests in compartment * * - If IAM workrequest details are retrieved sucessfully, return 202 ACCEPTED. * - If any internal error occurs, return 500 INTERNAL SERVER ERROR. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIamWorkRequests = oci.identity.getIamWorkRequests({ * compartmentId: compartmentId, * resourceIdentifier: iamWorkRequestResourceIdentifier, * }); * ``` */ export declare function getIamWorkRequestsOutput(args: GetIamWorkRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamWorkRequests. */ export interface GetIamWorkRequestsOutputArgs { /** * The OCID of the compartment (remember that the tenancy is simply the root compartment). */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The identifier of the resource the work request affects. */ resourceIdentifier?: pulumi.Input; } //# sourceMappingURL=getIamWorkRequests.d.ts.map