import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Workspace Import Request resource in Oracle Cloud Infrastructure Data Integration service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/WorkspaceImportRequest
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration
 *
 * Import Metadata Object
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testWorkspaceImportRequest = new oci.dataintegration.WorkspaceImportRequest("test_workspace_import_request", {
 *     bucket: workspaceImportRequestBucket,
 *     fileName: workspaceImportRequestFileName,
 *     workspaceId: testWorkspace.id,
 *     areDataAssetReferencesIncluded: workspaceImportRequestAreDataAssetReferencesIncluded === "true",
 *     importConflictResolution: {
 *         importConflictResolutionType: workspaceImportRequestImportConflictResolutionImportConflictResolutionType,
 *         duplicatePrefix: workspaceImportRequestImportConflictResolutionDuplicatePrefix,
 *         duplicateSuffix: workspaceImportRequestImportConflictResolutionDuplicateSuffix,
 *     },
 *     objectKeyForImport: workspaceImportRequestObjectKeyForImport,
 *     objectStorageRegion: workspaceImportRequestObjectStorageRegion,
 *     objectStorageTenancyId: testTenancy.id,
 * });
 * ```
 *
 * ## Import
 *
 * WorkspaceImportRequests can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataIntegration/workspaceImportRequest:WorkspaceImportRequest test_workspace_import_request "workspaces/{workspaceId}/importRequests/{importRequestKey}"
 * ```
 */
export declare class WorkspaceImportRequest extends pulumi.CustomResource {
    /**
     * Get an existing WorkspaceImportRequest resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceImportRequestState, opts?: pulumi.CustomResourceOptions): WorkspaceImportRequest;
    /**
     * Returns true if the given object is an instance of WorkspaceImportRequest.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is WorkspaceImportRequest;
    /**
     * This field controls if the data asset references will be included during import.
     */
    readonly areDataAssetReferencesIncluded: pulumi.Output<boolean>;
    /**
     * Name of the Object Storage bucket where the object will be imported from.
     */
    readonly bucket: pulumi.Output<string>;
    /**
     * Name of the user who initiated import request.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * Contains key of the error
     */
    readonly errorMessages: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Name of the zip file to be imported.
     */
    readonly fileName: pulumi.Output<string>;
    /**
     * Import Objects Conflict resolution.
     */
    readonly importConflictResolution: pulumi.Output<outputs.DataIntegration.WorkspaceImportRequestImportConflictResolution>;
    /**
     * The array of imported object details.
     */
    readonly importedObjects: pulumi.Output<outputs.DataIntegration.WorkspaceImportRequestImportedObject[]>;
    /**
     * Import object request key
     */
    readonly key: pulumi.Output<string>;
    /**
     * Name of the import request.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Key of the object inside which all the objects will be imported
     */
    readonly objectKeyForImport: pulumi.Output<string>;
    /**
     * Region of the object storage (if using object storage of different region)
     */
    readonly objectStorageRegion: pulumi.Output<string>;
    /**
     * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
     */
    readonly objectStorageTenancyId: pulumi.Output<string>;
    /**
     * Import Objects request status.
     */
    readonly status: pulumi.Output<string>;
    /**
     * Time at which the request was completely processed.
     */
    readonly timeEndedInMillis: pulumi.Output<string>;
    /**
     * Time at which the request started getting processed.
     */
    readonly timeStartedInMillis: pulumi.Output<string>;
    /**
     * Number of objects that are imported.
     */
    readonly totalImportedObjectCount: pulumi.Output<number>;
    /**
     * The workspace ID.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly workspaceId: pulumi.Output<string>;
    /**
     * Create a WorkspaceImportRequest resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: WorkspaceImportRequestArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkspaceImportRequest resources.
 */
export interface WorkspaceImportRequestState {
    /**
     * This field controls if the data asset references will be included during import.
     */
    areDataAssetReferencesIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * Name of the Object Storage bucket where the object will be imported from.
     */
    bucket?: pulumi.Input<string | undefined>;
    /**
     * Name of the user who initiated import request.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * Contains key of the error
     */
    errorMessages?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Name of the zip file to be imported.
     */
    fileName?: pulumi.Input<string | undefined>;
    /**
     * Import Objects Conflict resolution.
     */
    importConflictResolution?: pulumi.Input<inputs.DataIntegration.WorkspaceImportRequestImportConflictResolution | undefined>;
    /**
     * The array of imported object details.
     */
    importedObjects?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceImportRequestImportedObject>[] | undefined>;
    /**
     * Import object request key
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * Name of the import request.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Key of the object inside which all the objects will be imported
     */
    objectKeyForImport?: pulumi.Input<string | undefined>;
    /**
     * Region of the object storage (if using object storage of different region)
     */
    objectStorageRegion?: pulumi.Input<string | undefined>;
    /**
     * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
     */
    objectStorageTenancyId?: pulumi.Input<string | undefined>;
    /**
     * Import Objects request status.
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * Time at which the request was completely processed.
     */
    timeEndedInMillis?: pulumi.Input<string | undefined>;
    /**
     * Time at which the request started getting processed.
     */
    timeStartedInMillis?: pulumi.Input<string | undefined>;
    /**
     * Number of objects that are imported.
     */
    totalImportedObjectCount?: pulumi.Input<number | undefined>;
    /**
     * The workspace ID.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    workspaceId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a WorkspaceImportRequest resource.
 */
export interface WorkspaceImportRequestArgs {
    /**
     * This field controls if the data asset references will be included during import.
     */
    areDataAssetReferencesIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * Name of the Object Storage bucket where the object will be imported from.
     */
    bucket: pulumi.Input<string>;
    /**
     * Name of the zip file to be imported.
     */
    fileName: pulumi.Input<string>;
    /**
     * Import Objects Conflict resolution.
     */
    importConflictResolution?: pulumi.Input<inputs.DataIntegration.WorkspaceImportRequestImportConflictResolution | undefined>;
    /**
     * Key of the object inside which all the objects will be imported
     */
    objectKeyForImport?: pulumi.Input<string | undefined>;
    /**
     * Region of the object storage (if using object storage of different region)
     */
    objectStorageRegion?: pulumi.Input<string | undefined>;
    /**
     * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
     */
    objectStorageTenancyId?: pulumi.Input<string | undefined>;
    /**
     * The workspace ID.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    workspaceId: pulumi.Input<string>;
}
//# sourceMappingURL=workspaceImportRequest.d.ts.map