import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Workspace Export 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/WorkspaceExportRequest
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration
 *
 * Export Metadata Object
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testWorkspaceExportRequest = new oci.dataintegration.WorkspaceExportRequest("test_workspace_export_request", {
 *     bucket: workspaceExportRequestBucket,
 *     workspaceId: testWorkspace.id,
 *     areReferencesIncluded: workspaceExportRequestAreReferencesIncluded === "true",
 *     fileName: workspaceExportRequestFileName,
 *     filters: workspaceExportRequestFilters,
 *     isObjectOverwriteEnabled: workspaceExportRequestIsObjectOverwriteEnabled === "true",
 *     objectKeys: workspaceExportRequestObjectKeys,
 *     objectStorageRegion: workspaceExportRequestObjectStorageRegion,
 *     objectStorageTenancyId: testTenancy.id,
 * });
 * ```
 *
 * ## Import
 *
 * WorkspaceExportRequests can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataIntegration/workspaceExportRequest:WorkspaceExportRequest test_workspace_export_request "workspaces/{workspaceId}/exportRequests/{exportRequestKey}"
 * ```
 */
export declare class WorkspaceExportRequest extends pulumi.CustomResource {
    /**
     * Get an existing WorkspaceExportRequest 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?: WorkspaceExportRequestState, opts?: pulumi.CustomResourceOptions): WorkspaceExportRequest;
    /**
     * Returns true if the given object is an instance of WorkspaceExportRequest.  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 WorkspaceExportRequest;
    /**
     * This field controls if the references will be exported along with the objects
     */
    readonly areReferencesIncluded: pulumi.Output<boolean>;
    /**
     * Name of the Object Storage bucket where the object will be exported.
     */
    readonly bucket: pulumi.Output<string>;
    /**
     * Name of the user who initiated export request.
     */
    readonly createdBy: pulumi.Output<string>;
    /**
     * Contains key of the error
     */
    readonly errorMessages: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The array of exported object details.
     */
    readonly exportedItems: pulumi.Output<outputs.DataIntegration.WorkspaceExportRequestExportedItem[]>;
    /**
     * Name of the exported zip file.
     */
    readonly fileName: pulumi.Output<string>;
    /**
     * Filters for exported objects
     */
    readonly filters: pulumi.Output<string[]>;
    /**
     * Flag to control whether to overwrite the object if it is already present at the provided object storage location.
     */
    readonly isObjectOverwriteEnabled: pulumi.Output<boolean>;
    /**
     * Export object request key
     */
    readonly key: pulumi.Output<string>;
    /**
     * Name of the export request.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Field is used to specify which object keys to export
     */
    readonly objectKeys: 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>;
    /**
     * The array of exported referenced objects.
     */
    readonly referencedItems: pulumi.Output<string>;
    /**
     * Export 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 exported.
     */
    readonly totalExportedObjectCount: 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 WorkspaceExportRequest 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: WorkspaceExportRequestArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkspaceExportRequest resources.
 */
export interface WorkspaceExportRequestState {
    /**
     * This field controls if the references will be exported along with the objects
     */
    areReferencesIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * Name of the Object Storage bucket where the object will be exported.
     */
    bucket?: pulumi.Input<string | undefined>;
    /**
     * Name of the user who initiated export request.
     */
    createdBy?: pulumi.Input<string | undefined>;
    /**
     * Contains key of the error
     */
    errorMessages?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The array of exported object details.
     */
    exportedItems?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceExportRequestExportedItem>[] | undefined>;
    /**
     * Name of the exported zip file.
     */
    fileName?: pulumi.Input<string | undefined>;
    /**
     * Filters for exported objects
     */
    filters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Flag to control whether to overwrite the object if it is already present at the provided object storage location.
     */
    isObjectOverwriteEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * Export object request key
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * Name of the export request.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Field is used to specify which object keys to export
     */
    objectKeys?: pulumi.Input<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 array of exported referenced objects.
     */
    referencedItems?: pulumi.Input<string | undefined>;
    /**
     * Export 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 exported.
     */
    totalExportedObjectCount?: 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 WorkspaceExportRequest resource.
 */
export interface WorkspaceExportRequestArgs {
    /**
     * This field controls if the references will be exported along with the objects
     */
    areReferencesIncluded?: pulumi.Input<boolean | undefined>;
    /**
     * Name of the Object Storage bucket where the object will be exported.
     */
    bucket: pulumi.Input<string>;
    /**
     * Name of the exported zip file.
     */
    fileName?: pulumi.Input<string | undefined>;
    /**
     * Filters for exported objects
     */
    filters?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Flag to control whether to overwrite the object if it is already present at the provided object storage location.
     */
    isObjectOverwriteEnabled?: pulumi.Input<boolean | undefined>;
    /**
     * Field is used to specify which object keys to export
     */
    objectKeys?: pulumi.Input<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=workspaceExportRequest.d.ts.map