import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Psa Work Request resource in Oracle Cloud Infrastructure Psa service. * * Gets the details of a PrivateServiceAccess work request. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPsaWorkRequest = oci.oci.getPsaPsaWorkRequest({ * workRequestId: testPsaWorkRequestOciPsaPsaWorkRequest.id, * }); * ``` */ export declare function getPsaPsaWorkRequest(args: GetPsaPsaWorkRequestArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPsaPsaWorkRequest. */ export interface GetPsaPsaWorkRequestArgs { /** * 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 getPsaPsaWorkRequest. */ export interface GetPsaPsaWorkRequestResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. */ readonly compartmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The asynchronous operation tracked by this work request. */ readonly operationType: string; /** * Shows the progress of the operation tracked by the work request, as a percentage of the total work that must be performed. */ readonly percentComplete: number; /** * The resources that are affected by the work request. */ readonly resources: outputs.oci.GetPsaPsaWorkRequestResource[]; /** * The status of the work request. */ readonly status: string; /** * The date and time the work request was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). */ readonly timeAccepted: string; /** * The date and time the work request was finished, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeFinished: string; /** * The date and time the work request was started, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). */ readonly timeStarted: string; /** * The date and time the work request was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). */ readonly timeUpdated: string; readonly workRequestId: string; } /** * This data source provides details about a specific Psa Work Request resource in Oracle Cloud Infrastructure Psa service. * * Gets the details of a PrivateServiceAccess work request. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testPsaWorkRequest = oci.oci.getPsaPsaWorkRequest({ * workRequestId: testPsaWorkRequestOciPsaPsaWorkRequest.id, * }); * ``` */ export declare function getPsaPsaWorkRequestOutput(args: GetPsaPsaWorkRequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPsaPsaWorkRequest. */ export interface GetPsaPsaWorkRequestOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. */ workRequestId: pulumi.Input; } //# sourceMappingURL=getPsaPsaWorkRequest.d.ts.map