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, 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; /** * Name of the Object Storage bucket where the object will be imported from. */ readonly bucket: pulumi.Output; /** * Name of the user who initiated import request. */ readonly createdBy: pulumi.Output; /** * Contains key of the error */ readonly errorMessages: pulumi.Output<{ [key: string]: string; }>; /** * Name of the zip file to be imported. */ readonly fileName: pulumi.Output; /** * Import Objects Conflict resolution. */ readonly importConflictResolution: pulumi.Output; /** * The array of imported object details. */ readonly importedObjects: pulumi.Output; /** * Import object request key */ readonly key: pulumi.Output; /** * Name of the import request. */ readonly name: pulumi.Output; /** * Key of the object inside which all the objects will be imported */ readonly objectKeyForImport: 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; /** * Import 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 imported. */ readonly totalImportedObjectCount: 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 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; /** * Name of the Object Storage bucket where the object will be imported from. */ bucket?: pulumi.Input; /** * Name of the user who initiated import request. */ createdBy?: pulumi.Input; /** * Contains key of the error */ errorMessages?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Name of the zip file to be imported. */ fileName?: pulumi.Input; /** * Import Objects Conflict resolution. */ importConflictResolution?: pulumi.Input; /** * The array of imported object details. */ importedObjects?: pulumi.Input[] | undefined>; /** * Import object request key */ key?: pulumi.Input; /** * Name of the import request. */ name?: pulumi.Input; /** * Key of the object inside which all the objects will be imported */ objectKeyForImport?: pulumi.Input; /** * 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; /** * Import 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 imported. */ totalImportedObjectCount?: 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 WorkspaceImportRequest resource. */ export interface WorkspaceImportRequestArgs { /** * This field controls if the data asset references will be included during import. */ areDataAssetReferencesIncluded?: pulumi.Input; /** * Name of the Object Storage bucket where the object will be imported from. */ bucket: pulumi.Input; /** * Name of the zip file to be imported. */ fileName: pulumi.Input; /** * Import Objects Conflict resolution. */ importConflictResolution?: pulumi.Input; /** * Key of the object inside which all the objects will be imported */ objectKeyForImport?: pulumi.Input; /** * 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=workspaceImportRequest.d.ts.map