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 Psa Work Requests in Oracle Cloud Infrastructure Psa service. * * Lists the PrivateServiceAccess work requests in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPsaWorkRequests = oci.oci.getPsaPsaWorkRequests({ * compartmentId: compartmentId, * resourceId: testResource.id, * status: psaWorkRequestStatus, * workRequestId: testPsaWorkRequest.id, * }); * ``` */ export declare function getPsaPsaWorkRequests(args?: GetPsaPsaWorkRequestsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPsaPsaWorkRequests. */ export interface GetPsaPsaWorkRequestsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; filters?: inputs.oci.GetPsaPsaWorkRequestsFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. */ resourceId?: string; /** * A filter to return only the resources that match the given lifecycle state. */ status?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. */ workRequestId?: string; } /** * A collection of values returned by getPsaPsaWorkRequests. */ export interface GetPsaPsaWorkRequestsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. */ readonly compartmentId?: string; readonly filters?: outputs.oci.GetPsaPsaWorkRequestsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly resourceId?: string; /** * The status of the work request. */ readonly status?: string; readonly workRequestId?: string; /** * The list of work_request_summary_collection. */ readonly workRequestSummaryCollections: outputs.oci.GetPsaPsaWorkRequestsWorkRequestSummaryCollection[]; } /** * This data source provides the list of Psa Work Requests in Oracle Cloud Infrastructure Psa service. * * Lists the PrivateServiceAccess work requests in a compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPsaWorkRequests = oci.oci.getPsaPsaWorkRequests({ * compartmentId: compartmentId, * resourceId: testResource.id, * status: psaWorkRequestStatus, * workRequestId: testPsaWorkRequest.id, * }); * ``` */ export declare function getPsaPsaWorkRequestsOutput(args?: GetPsaPsaWorkRequestsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPsaPsaWorkRequests. */ export interface GetPsaPsaWorkRequestsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. */ resourceId?: pulumi.Input; /** * A filter to return only the resources that match the given lifecycle state. */ status?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. */ workRequestId?: pulumi.Input; } //# sourceMappingURL=getPsaPsaWorkRequests.d.ts.map