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 Request Logs in Oracle Cloud Infrastructure Identity service. * * Gets logs for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains * iam work request id that can be provided in this API to track the current status of the operation. * * - If workrequest exists, returns 202 ACCEPTED * - If workrequest does not exist, returns 404 NOT FOUND * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIamWorkRequestLogs = oci.identity.getIamWorkRequestLogs({ * iamWorkRequestId: testIamWorkRequest.id, * }); * ``` */ export declare function getIamWorkRequestLogs(args: GetIamWorkRequestLogsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getIamWorkRequestLogs. */ export interface GetIamWorkRequestLogsArgs { filters?: inputs.Identity.GetIamWorkRequestLogsFilter[]; /** * The OCID of the IAM work request. */ iamWorkRequestId: string; } /** * A collection of values returned by getIamWorkRequestLogs. */ export interface GetIamWorkRequestLogsResult { readonly filters?: outputs.Identity.GetIamWorkRequestLogsFilter[]; readonly iamWorkRequestId: string; /** * The list of iam_work_request_logs. */ readonly iamWorkRequestLogs: outputs.Identity.GetIamWorkRequestLogsIamWorkRequestLog[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; } /** * This data source provides the list of Iam Work Request Logs in Oracle Cloud Infrastructure Identity service. * * Gets logs for a specified IAM work request. For asynchronous operations in Identity and Access Management service, opc-work-request-id header values contains * iam work request id that can be provided in this API to track the current status of the operation. * * - If workrequest exists, returns 202 ACCEPTED * - If workrequest does not exist, returns 404 NOT FOUND * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testIamWorkRequestLogs = oci.identity.getIamWorkRequestLogs({ * iamWorkRequestId: testIamWorkRequest.id, * }); * ``` */ export declare function getIamWorkRequestLogsOutput(args: GetIamWorkRequestLogsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getIamWorkRequestLogs. */ export interface GetIamWorkRequestLogsOutputArgs { filters?: pulumi.Input[] | undefined>; /** * The OCID of the IAM work request. */ iamWorkRequestId: pulumi.Input; } //# sourceMappingURL=getIamWorkRequestLogs.d.ts.map