import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Workspace Import Request resource in Oracle Cloud Infrastructure Data Integration service. * * This endpoint can be used to get the summary/details of object being imported. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspaceImportRequest = oci.dataintegration.getWorkspaceImportRequest({ * importRequestKey: workspaceImportRequestImportRequestKey, * workspaceId: testWorkspace.id, * }); * ``` */ export declare function getWorkspaceImportRequest(args: GetWorkspaceImportRequestArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getWorkspaceImportRequest. */ export interface GetWorkspaceImportRequestArgs { /** * The key of the object export object request */ importRequestKey: string; /** * The workspace ID. */ workspaceId: string; } /** * A collection of values returned by getWorkspaceImportRequest. */ export interface GetWorkspaceImportRequestResult { /** * This field controls if the data asset references will be included during import. */ readonly areDataAssetReferencesIncluded: boolean; /** * The name of the Object Storage Bucket where the objects will be imported from */ readonly bucket: string; /** * Name of the user who initiated import request. */ readonly createdBy: string; /** * Contains key of the error */ readonly errorMessages: { [key: string]: string; }; /** * Name of the zip file from which objects will be imported. */ readonly fileName: string; readonly id: string; /** * Import Objects Conflict resolution. */ readonly importConflictResolutions: outputs.DataIntegration.GetWorkspaceImportRequestImportConflictResolution[]; readonly importRequestKey: string; /** * The array of imported object details. */ readonly importedObjects: outputs.DataIntegration.GetWorkspaceImportRequestImportedObject[]; /** * Import object request key */ readonly key: string; /** * Name of the import request. */ readonly name: string; /** * Key of the object inside which all the objects will be imported */ readonly objectKeyForImport: string; /** * Region of the object storage (if using object storage of different region) */ readonly objectStorageRegion: string; /** * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy) */ readonly objectStorageTenancyId: string; /** * Import Objects request status. */ readonly status: string; /** * Time at which the request was completely processed. */ readonly timeEndedInMillis: string; /** * Time at which the request started getting processed. */ readonly timeStartedInMillis: string; /** * Number of objects that are imported. */ readonly totalImportedObjectCount: number; readonly workspaceId: string; } /** * This data source provides details about a specific Workspace Import Request resource in Oracle Cloud Infrastructure Data Integration service. * * This endpoint can be used to get the summary/details of object being imported. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspaceImportRequest = oci.dataintegration.getWorkspaceImportRequest({ * importRequestKey: workspaceImportRequestImportRequestKey, * workspaceId: testWorkspace.id, * }); * ``` */ export declare function getWorkspaceImportRequestOutput(args: GetWorkspaceImportRequestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getWorkspaceImportRequest. */ export interface GetWorkspaceImportRequestOutputArgs { /** * The key of the object export object request */ importRequestKey: pulumi.Input; /** * The workspace ID. */ workspaceId: pulumi.Input; } //# sourceMappingURL=getWorkspaceImportRequest.d.ts.map