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, 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; /** * Name of the Object Storage bucket where the object will be exported. */ readonly bucket: pulumi.Output; /** * Name of the user who initiated export request. */ readonly createdBy: pulumi.Output; /** * Contains key of the error */ readonly errorMessages: pulumi.Output<{ [key: string]: string; }>; /** * The array of exported object details. */ readonly exportedItems: pulumi.Output; /** * Name of the exported zip file. */ readonly fileName: pulumi.Output; /** * Filters for exported objects */ readonly filters: pulumi.Output; /** * Flag to control whether to overwrite the object if it is already present at the provided object storage location. */ readonly isObjectOverwriteEnabled: pulumi.Output; /** * Export object request key */ readonly key: pulumi.Output; /** * Name of the export request. */ readonly name: pulumi.Output; /** * Field is used to specify which object keys to export */ readonly objectKeys: pulumi.Output; /** * Region of the object storage (if using object storage of different region) */ readonly objectStorageRegion: pulumi.Output; /** * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy) */ readonly objectStorageTenancyId: pulumi.Output; /** * The array of exported referenced objects. */ readonly referencedItems: pulumi.Output; /** * Export Objects request status. */ readonly status: pulumi.Output; /** * Time at which the request was completely processed. */ readonly timeEndedInMillis: pulumi.Output; /** * Time at which the request started getting processed. */ readonly timeStartedInMillis: pulumi.Output; /** * Number of objects that are exported. */ readonly totalExportedObjectCount: pulumi.Output; /** * 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; /** * 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; /** * Name of the Object Storage bucket where the object will be exported. */ bucket?: pulumi.Input; /** * Name of the user who initiated export request. */ createdBy?: pulumi.Input; /** * Contains key of the error */ errorMessages?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The array of exported object details. */ exportedItems?: pulumi.Input[] | undefined>; /** * Name of the exported zip file. */ fileName?: pulumi.Input; /** * Filters for exported objects */ filters?: pulumi.Input[] | undefined>; /** * Flag to control whether to overwrite the object if it is already present at the provided object storage location. */ isObjectOverwriteEnabled?: pulumi.Input; /** * Export object request key */ key?: pulumi.Input; /** * Name of the export request. */ name?: pulumi.Input; /** * Field is used to specify which object keys to export */ objectKeys?: pulumi.Input[] | undefined>; /** * Region of the object storage (if using object storage of different region) */ objectStorageRegion?: pulumi.Input; /** * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy) */ objectStorageTenancyId?: pulumi.Input; /** * The array of exported referenced objects. */ referencedItems?: pulumi.Input; /** * Export Objects request status. */ status?: pulumi.Input; /** * Time at which the request was completely processed. */ timeEndedInMillis?: pulumi.Input; /** * Time at which the request started getting processed. */ timeStartedInMillis?: pulumi.Input; /** * Number of objects that are exported. */ totalExportedObjectCount?: pulumi.Input; /** * 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; } /** * 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; /** * Name of the Object Storage bucket where the object will be exported. */ bucket: pulumi.Input; /** * Name of the exported zip file. */ fileName?: pulumi.Input; /** * Filters for exported objects */ filters?: pulumi.Input[] | undefined>; /** * Flag to control whether to overwrite the object if it is already present at the provided object storage location. */ isObjectOverwriteEnabled?: pulumi.Input; /** * Field is used to specify which object keys to export */ objectKeys?: pulumi.Input[] | undefined>; /** * Region of the object storage (if using object storage of different region) */ objectStorageRegion?: pulumi.Input; /** * Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy) */ objectStorageTenancyId?: pulumi.Input; /** * 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; } //# sourceMappingURL=workspaceExportRequest.d.ts.map