1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataIntegration
  5. WorkspaceImportRequest
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DataIntegration.WorkspaceImportRequest

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Workspace Import Request resource in Oracle Cloud Infrastructure Data Integration service.

    Import Metadata Object

    Example Usage

    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,
        importConflictResolution: {
            importConflictResolutionType: workspaceImportRequestImportConflictResolutionImportConflictResolutionType,
            duplicatePrefix: workspaceImportRequestImportConflictResolutionDuplicatePrefix,
            duplicateSuffix: workspaceImportRequestImportConflictResolutionDuplicateSuffix,
        },
        objectKeyForImport: workspaceImportRequestObjectKeyForImport,
        objectStorageRegion: workspaceImportRequestObjectStorageRegion,
        objectStorageTenancyId: testTenancy.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_workspace_import_request = oci.data_integration.WorkspaceImportRequest("test_workspace_import_request",
        bucket=workspace_import_request_bucket,
        file_name=workspace_import_request_file_name,
        workspace_id=test_workspace["id"],
        are_data_asset_references_included=workspace_import_request_are_data_asset_references_included,
        import_conflict_resolution={
            "import_conflict_resolution_type": workspace_import_request_import_conflict_resolution_import_conflict_resolution_type,
            "duplicate_prefix": workspace_import_request_import_conflict_resolution_duplicate_prefix,
            "duplicate_suffix": workspace_import_request_import_conflict_resolution_duplicate_suffix,
        },
        object_key_for_import=workspace_import_request_object_key_for_import,
        object_storage_region=workspace_import_request_object_storage_region,
        object_storage_tenancy_id=test_tenancy["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataIntegration"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataIntegration.NewWorkspaceImportRequest(ctx, "test_workspace_import_request", &DataIntegration.WorkspaceImportRequestArgs{
    			Bucket:                         pulumi.Any(workspaceImportRequestBucket),
    			FileName:                       pulumi.Any(workspaceImportRequestFileName),
    			WorkspaceId:                    pulumi.Any(testWorkspace.Id),
    			AreDataAssetReferencesIncluded: pulumi.Any(workspaceImportRequestAreDataAssetReferencesIncluded),
    			ImportConflictResolution: &dataintegration.WorkspaceImportRequestImportConflictResolutionArgs{
    				ImportConflictResolutionType: pulumi.Any(workspaceImportRequestImportConflictResolutionImportConflictResolutionType),
    				DuplicatePrefix:              pulumi.Any(workspaceImportRequestImportConflictResolutionDuplicatePrefix),
    				DuplicateSuffix:              pulumi.Any(workspaceImportRequestImportConflictResolutionDuplicateSuffix),
    			},
    			ObjectKeyForImport:     pulumi.Any(workspaceImportRequestObjectKeyForImport),
    			ObjectStorageRegion:    pulumi.Any(workspaceImportRequestObjectStorageRegion),
    			ObjectStorageTenancyId: pulumi.Any(testTenancy.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testWorkspaceImportRequest = new Oci.DataIntegration.WorkspaceImportRequest("test_workspace_import_request", new()
        {
            Bucket = workspaceImportRequestBucket,
            FileName = workspaceImportRequestFileName,
            WorkspaceId = testWorkspace.Id,
            AreDataAssetReferencesIncluded = workspaceImportRequestAreDataAssetReferencesIncluded,
            ImportConflictResolution = new Oci.DataIntegration.Inputs.WorkspaceImportRequestImportConflictResolutionArgs
            {
                ImportConflictResolutionType = workspaceImportRequestImportConflictResolutionImportConflictResolutionType,
                DuplicatePrefix = workspaceImportRequestImportConflictResolutionDuplicatePrefix,
                DuplicateSuffix = workspaceImportRequestImportConflictResolutionDuplicateSuffix,
            },
            ObjectKeyForImport = workspaceImportRequestObjectKeyForImport,
            ObjectStorageRegion = workspaceImportRequestObjectStorageRegion,
            ObjectStorageTenancyId = testTenancy.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataIntegration.WorkspaceImportRequest;
    import com.pulumi.oci.DataIntegration.WorkspaceImportRequestArgs;
    import com.pulumi.oci.DataIntegration.inputs.WorkspaceImportRequestImportConflictResolutionArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testWorkspaceImportRequest = new WorkspaceImportRequest("testWorkspaceImportRequest", WorkspaceImportRequestArgs.builder()
                .bucket(workspaceImportRequestBucket)
                .fileName(workspaceImportRequestFileName)
                .workspaceId(testWorkspace.id())
                .areDataAssetReferencesIncluded(workspaceImportRequestAreDataAssetReferencesIncluded)
                .importConflictResolution(WorkspaceImportRequestImportConflictResolutionArgs.builder()
                    .importConflictResolutionType(workspaceImportRequestImportConflictResolutionImportConflictResolutionType)
                    .duplicatePrefix(workspaceImportRequestImportConflictResolutionDuplicatePrefix)
                    .duplicateSuffix(workspaceImportRequestImportConflictResolutionDuplicateSuffix)
                    .build())
                .objectKeyForImport(workspaceImportRequestObjectKeyForImport)
                .objectStorageRegion(workspaceImportRequestObjectStorageRegion)
                .objectStorageTenancyId(testTenancy.id())
                .build());
    
        }
    }
    
    resources:
      testWorkspaceImportRequest:
        type: oci:DataIntegration:WorkspaceImportRequest
        name: test_workspace_import_request
        properties:
          bucket: ${workspaceImportRequestBucket}
          fileName: ${workspaceImportRequestFileName}
          workspaceId: ${testWorkspace.id}
          areDataAssetReferencesIncluded: ${workspaceImportRequestAreDataAssetReferencesIncluded}
          importConflictResolution:
            importConflictResolutionType: ${workspaceImportRequestImportConflictResolutionImportConflictResolutionType}
            duplicatePrefix: ${workspaceImportRequestImportConflictResolutionDuplicatePrefix}
            duplicateSuffix: ${workspaceImportRequestImportConflictResolutionDuplicateSuffix}
          objectKeyForImport: ${workspaceImportRequestObjectKeyForImport}
          objectStorageRegion: ${workspaceImportRequestObjectStorageRegion}
          objectStorageTenancyId: ${testTenancy.id}
    

    Create WorkspaceImportRequest Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WorkspaceImportRequest(name: string, args: WorkspaceImportRequestArgs, opts?: CustomResourceOptions);
    @overload
    def WorkspaceImportRequest(resource_name: str,
                               args: WorkspaceImportRequestArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def WorkspaceImportRequest(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               bucket: Optional[str] = None,
                               file_name: Optional[str] = None,
                               workspace_id: Optional[str] = None,
                               are_data_asset_references_included: Optional[bool] = None,
                               import_conflict_resolution: Optional[_dataintegration.WorkspaceImportRequestImportConflictResolutionArgs] = None,
                               object_key_for_import: Optional[str] = None,
                               object_storage_region: Optional[str] = None,
                               object_storage_tenancy_id: Optional[str] = None)
    func NewWorkspaceImportRequest(ctx *Context, name string, args WorkspaceImportRequestArgs, opts ...ResourceOption) (*WorkspaceImportRequest, error)
    public WorkspaceImportRequest(string name, WorkspaceImportRequestArgs args, CustomResourceOptions? opts = null)
    public WorkspaceImportRequest(String name, WorkspaceImportRequestArgs args)
    public WorkspaceImportRequest(String name, WorkspaceImportRequestArgs args, CustomResourceOptions options)
    
    type: oci:DataIntegration:WorkspaceImportRequest
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args WorkspaceImportRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WorkspaceImportRequestArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WorkspaceImportRequestArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WorkspaceImportRequestArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WorkspaceImportRequestArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var workspaceImportRequestResource = new Oci.DataIntegration.WorkspaceImportRequest("workspaceImportRequestResource", new()
    {
        Bucket = "string",
        FileName = "string",
        WorkspaceId = "string",
        AreDataAssetReferencesIncluded = false,
        ImportConflictResolution = new Oci.DataIntegration.Inputs.WorkspaceImportRequestImportConflictResolutionArgs
        {
            ImportConflictResolutionType = "string",
            DuplicatePrefix = "string",
            DuplicateSuffix = "string",
        },
        ObjectKeyForImport = "string",
        ObjectStorageRegion = "string",
        ObjectStorageTenancyId = "string",
    });
    
    example, err := DataIntegration.NewWorkspaceImportRequest(ctx, "workspaceImportRequestResource", &DataIntegration.WorkspaceImportRequestArgs{
    	Bucket:                         pulumi.String("string"),
    	FileName:                       pulumi.String("string"),
    	WorkspaceId:                    pulumi.String("string"),
    	AreDataAssetReferencesIncluded: pulumi.Bool(false),
    	ImportConflictResolution: &dataintegration.WorkspaceImportRequestImportConflictResolutionArgs{
    		ImportConflictResolutionType: pulumi.String("string"),
    		DuplicatePrefix:              pulumi.String("string"),
    		DuplicateSuffix:              pulumi.String("string"),
    	},
    	ObjectKeyForImport:     pulumi.String("string"),
    	ObjectStorageRegion:    pulumi.String("string"),
    	ObjectStorageTenancyId: pulumi.String("string"),
    })
    
    var workspaceImportRequestResource = new WorkspaceImportRequest("workspaceImportRequestResource", WorkspaceImportRequestArgs.builder()
        .bucket("string")
        .fileName("string")
        .workspaceId("string")
        .areDataAssetReferencesIncluded(false)
        .importConflictResolution(WorkspaceImportRequestImportConflictResolutionArgs.builder()
            .importConflictResolutionType("string")
            .duplicatePrefix("string")
            .duplicateSuffix("string")
            .build())
        .objectKeyForImport("string")
        .objectStorageRegion("string")
        .objectStorageTenancyId("string")
        .build());
    
    workspace_import_request_resource = oci.data_integration.WorkspaceImportRequest("workspaceImportRequestResource",
        bucket="string",
        file_name="string",
        workspace_id="string",
        are_data_asset_references_included=False,
        import_conflict_resolution={
            "import_conflict_resolution_type": "string",
            "duplicate_prefix": "string",
            "duplicate_suffix": "string",
        },
        object_key_for_import="string",
        object_storage_region="string",
        object_storage_tenancy_id="string")
    
    const workspaceImportRequestResource = new oci.dataintegration.WorkspaceImportRequest("workspaceImportRequestResource", {
        bucket: "string",
        fileName: "string",
        workspaceId: "string",
        areDataAssetReferencesIncluded: false,
        importConflictResolution: {
            importConflictResolutionType: "string",
            duplicatePrefix: "string",
            duplicateSuffix: "string",
        },
        objectKeyForImport: "string",
        objectStorageRegion: "string",
        objectStorageTenancyId: "string",
    });
    
    type: oci:DataIntegration:WorkspaceImportRequest
    properties:
        areDataAssetReferencesIncluded: false
        bucket: string
        fileName: string
        importConflictResolution:
            duplicatePrefix: string
            duplicateSuffix: string
            importConflictResolutionType: string
        objectKeyForImport: string
        objectStorageRegion: string
        objectStorageTenancyId: string
        workspaceId: string
    

    WorkspaceImportRequest Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WorkspaceImportRequest resource accepts the following input properties:

    Bucket string
    Name of the Object Storage bucket where the object will be imported from.
    FileName string
    Name of the zip file to be imported.
    WorkspaceId string

    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

    AreDataAssetReferencesIncluded bool
    This field controls if the data asset references will be included during import.
    ImportConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    ObjectKeyForImport string
    Key of the object inside which all the objects will be imported
    ObjectStorageRegion string
    Region of the object storage (if using object storage of different region)
    ObjectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    Bucket string
    Name of the Object Storage bucket where the object will be imported from.
    FileName string
    Name of the zip file to be imported.
    WorkspaceId string

    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

    AreDataAssetReferencesIncluded bool
    This field controls if the data asset references will be included during import.
    ImportConflictResolution WorkspaceImportRequestImportConflictResolutionArgs
    Import Objects Conflict resolution.
    ObjectKeyForImport string
    Key of the object inside which all the objects will be imported
    ObjectStorageRegion string
    Region of the object storage (if using object storage of different region)
    ObjectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    bucket String
    Name of the Object Storage bucket where the object will be imported from.
    fileName String
    Name of the zip file to be imported.
    workspaceId String

    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

    areDataAssetReferencesIncluded Boolean
    This field controls if the data asset references will be included during import.
    importConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    objectKeyForImport String
    Key of the object inside which all the objects will be imported
    objectStorageRegion String
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId String
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    bucket string
    Name of the Object Storage bucket where the object will be imported from.
    fileName string
    Name of the zip file to be imported.
    workspaceId string

    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

    areDataAssetReferencesIncluded boolean
    This field controls if the data asset references will be included during import.
    importConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    objectKeyForImport string
    Key of the object inside which all the objects will be imported
    objectStorageRegion string
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    bucket str
    Name of the Object Storage bucket where the object will be imported from.
    file_name str
    Name of the zip file to be imported.
    workspace_id str

    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

    are_data_asset_references_included bool
    This field controls if the data asset references will be included during import.
    import_conflict_resolution dataintegration.WorkspaceImportRequestImportConflictResolutionArgs
    Import Objects Conflict resolution.
    object_key_for_import str
    Key of the object inside which all the objects will be imported
    object_storage_region str
    Region of the object storage (if using object storage of different region)
    object_storage_tenancy_id str
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    bucket String
    Name of the Object Storage bucket where the object will be imported from.
    fileName String
    Name of the zip file to be imported.
    workspaceId String

    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

    areDataAssetReferencesIncluded Boolean
    This field controls if the data asset references will be included during import.
    importConflictResolution Property Map
    Import Objects Conflict resolution.
    objectKeyForImport String
    Key of the object inside which all the objects will be imported
    objectStorageRegion String
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId String
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WorkspaceImportRequest resource produces the following output properties:

    CreatedBy string
    Name of the user who initiated import request.
    ErrorMessages Dictionary<string, string>
    Contains key of the error
    Id string
    The provider-assigned unique ID for this managed resource.
    ImportedObjects List<WorkspaceImportRequestImportedObject>
    The array of imported object details.
    Key string
    Import object request key
    Name string
    Name of the import request.
    Status string
    Import Objects request status.
    TimeEndedInMillis string
    Time at which the request was completely processed.
    TimeStartedInMillis string
    Time at which the request started getting processed.
    TotalImportedObjectCount int
    Number of objects that are imported.
    CreatedBy string
    Name of the user who initiated import request.
    ErrorMessages map[string]string
    Contains key of the error
    Id string
    The provider-assigned unique ID for this managed resource.
    ImportedObjects []WorkspaceImportRequestImportedObject
    The array of imported object details.
    Key string
    Import object request key
    Name string
    Name of the import request.
    Status string
    Import Objects request status.
    TimeEndedInMillis string
    Time at which the request was completely processed.
    TimeStartedInMillis string
    Time at which the request started getting processed.
    TotalImportedObjectCount int
    Number of objects that are imported.
    createdBy String
    Name of the user who initiated import request.
    errorMessages Map<String,String>
    Contains key of the error
    id String
    The provider-assigned unique ID for this managed resource.
    importedObjects List<WorkspaceImportRequestImportedObject>
    The array of imported object details.
    key String
    Import object request key
    name String
    Name of the import request.
    status String
    Import Objects request status.
    timeEndedInMillis String
    Time at which the request was completely processed.
    timeStartedInMillis String
    Time at which the request started getting processed.
    totalImportedObjectCount Integer
    Number of objects that are imported.
    createdBy string
    Name of the user who initiated import request.
    errorMessages {[key: string]: string}
    Contains key of the error
    id string
    The provider-assigned unique ID for this managed resource.
    importedObjects WorkspaceImportRequestImportedObject[]
    The array of imported object details.
    key string
    Import object request key
    name string
    Name of the import request.
    status string
    Import Objects request status.
    timeEndedInMillis string
    Time at which the request was completely processed.
    timeStartedInMillis string
    Time at which the request started getting processed.
    totalImportedObjectCount number
    Number of objects that are imported.
    created_by str
    Name of the user who initiated import request.
    error_messages Mapping[str, str]
    Contains key of the error
    id str
    The provider-assigned unique ID for this managed resource.
    imported_objects Sequence[dataintegration.WorkspaceImportRequestImportedObject]
    The array of imported object details.
    key str
    Import object request key
    name str
    Name of the import request.
    status str
    Import Objects request status.
    time_ended_in_millis str
    Time at which the request was completely processed.
    time_started_in_millis str
    Time at which the request started getting processed.
    total_imported_object_count int
    Number of objects that are imported.
    createdBy String
    Name of the user who initiated import request.
    errorMessages Map<String>
    Contains key of the error
    id String
    The provider-assigned unique ID for this managed resource.
    importedObjects List<Property Map>
    The array of imported object details.
    key String
    Import object request key
    name String
    Name of the import request.
    status String
    Import Objects request status.
    timeEndedInMillis String
    Time at which the request was completely processed.
    timeStartedInMillis String
    Time at which the request started getting processed.
    totalImportedObjectCount Number
    Number of objects that are imported.

    Look up Existing WorkspaceImportRequest Resource

    Get an existing WorkspaceImportRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WorkspaceImportRequestState, opts?: CustomResourceOptions): WorkspaceImportRequest
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            are_data_asset_references_included: Optional[bool] = None,
            bucket: Optional[str] = None,
            created_by: Optional[str] = None,
            error_messages: Optional[Mapping[str, str]] = None,
            file_name: Optional[str] = None,
            import_conflict_resolution: Optional[_dataintegration.WorkspaceImportRequestImportConflictResolutionArgs] = None,
            imported_objects: Optional[Sequence[_dataintegration.WorkspaceImportRequestImportedObjectArgs]] = None,
            key: Optional[str] = None,
            name: Optional[str] = None,
            object_key_for_import: Optional[str] = None,
            object_storage_region: Optional[str] = None,
            object_storage_tenancy_id: Optional[str] = None,
            status: Optional[str] = None,
            time_ended_in_millis: Optional[str] = None,
            time_started_in_millis: Optional[str] = None,
            total_imported_object_count: Optional[int] = None,
            workspace_id: Optional[str] = None) -> WorkspaceImportRequest
    func GetWorkspaceImportRequest(ctx *Context, name string, id IDInput, state *WorkspaceImportRequestState, opts ...ResourceOption) (*WorkspaceImportRequest, error)
    public static WorkspaceImportRequest Get(string name, Input<string> id, WorkspaceImportRequestState? state, CustomResourceOptions? opts = null)
    public static WorkspaceImportRequest get(String name, Output<String> id, WorkspaceImportRequestState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AreDataAssetReferencesIncluded bool
    This field controls if the data asset references will be included during import.
    Bucket string
    Name of the Object Storage bucket where the object will be imported from.
    CreatedBy string
    Name of the user who initiated import request.
    ErrorMessages Dictionary<string, string>
    Contains key of the error
    FileName string
    Name of the zip file to be imported.
    ImportConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    ImportedObjects List<WorkspaceImportRequestImportedObject>
    The array of imported object details.
    Key string
    Import object request key
    Name string
    Name of the import request.
    ObjectKeyForImport string
    Key of the object inside which all the objects will be imported
    ObjectStorageRegion string
    Region of the object storage (if using object storage of different region)
    ObjectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    Status string
    Import Objects request status.
    TimeEndedInMillis string
    Time at which the request was completely processed.
    TimeStartedInMillis string
    Time at which the request started getting processed.
    TotalImportedObjectCount int
    Number of objects that are imported.
    WorkspaceId string

    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

    AreDataAssetReferencesIncluded bool
    This field controls if the data asset references will be included during import.
    Bucket string
    Name of the Object Storage bucket where the object will be imported from.
    CreatedBy string
    Name of the user who initiated import request.
    ErrorMessages map[string]string
    Contains key of the error
    FileName string
    Name of the zip file to be imported.
    ImportConflictResolution WorkspaceImportRequestImportConflictResolutionArgs
    Import Objects Conflict resolution.
    ImportedObjects []WorkspaceImportRequestImportedObjectArgs
    The array of imported object details.
    Key string
    Import object request key
    Name string
    Name of the import request.
    ObjectKeyForImport string
    Key of the object inside which all the objects will be imported
    ObjectStorageRegion string
    Region of the object storage (if using object storage of different region)
    ObjectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    Status string
    Import Objects request status.
    TimeEndedInMillis string
    Time at which the request was completely processed.
    TimeStartedInMillis string
    Time at which the request started getting processed.
    TotalImportedObjectCount int
    Number of objects that are imported.
    WorkspaceId string

    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

    areDataAssetReferencesIncluded Boolean
    This field controls if the data asset references will be included during import.
    bucket String
    Name of the Object Storage bucket where the object will be imported from.
    createdBy String
    Name of the user who initiated import request.
    errorMessages Map<String,String>
    Contains key of the error
    fileName String
    Name of the zip file to be imported.
    importConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    importedObjects List<WorkspaceImportRequestImportedObject>
    The array of imported object details.
    key String
    Import object request key
    name String
    Name of the import request.
    objectKeyForImport String
    Key of the object inside which all the objects will be imported
    objectStorageRegion String
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId String
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    status String
    Import Objects request status.
    timeEndedInMillis String
    Time at which the request was completely processed.
    timeStartedInMillis String
    Time at which the request started getting processed.
    totalImportedObjectCount Integer
    Number of objects that are imported.
    workspaceId String

    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

    areDataAssetReferencesIncluded boolean
    This field controls if the data asset references will be included during import.
    bucket string
    Name of the Object Storage bucket where the object will be imported from.
    createdBy string
    Name of the user who initiated import request.
    errorMessages {[key: string]: string}
    Contains key of the error
    fileName string
    Name of the zip file to be imported.
    importConflictResolution WorkspaceImportRequestImportConflictResolution
    Import Objects Conflict resolution.
    importedObjects WorkspaceImportRequestImportedObject[]
    The array of imported object details.
    key string
    Import object request key
    name string
    Name of the import request.
    objectKeyForImport string
    Key of the object inside which all the objects will be imported
    objectStorageRegion string
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId string
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    status string
    Import Objects request status.
    timeEndedInMillis string
    Time at which the request was completely processed.
    timeStartedInMillis string
    Time at which the request started getting processed.
    totalImportedObjectCount number
    Number of objects that are imported.
    workspaceId string

    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

    are_data_asset_references_included bool
    This field controls if the data asset references will be included during import.
    bucket str
    Name of the Object Storage bucket where the object will be imported from.
    created_by str
    Name of the user who initiated import request.
    error_messages Mapping[str, str]
    Contains key of the error
    file_name str
    Name of the zip file to be imported.
    import_conflict_resolution dataintegration.WorkspaceImportRequestImportConflictResolutionArgs
    Import Objects Conflict resolution.
    imported_objects Sequence[dataintegration.WorkspaceImportRequestImportedObjectArgs]
    The array of imported object details.
    key str
    Import object request key
    name str
    Name of the import request.
    object_key_for_import str
    Key of the object inside which all the objects will be imported
    object_storage_region str
    Region of the object storage (if using object storage of different region)
    object_storage_tenancy_id str
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    status str
    Import Objects request status.
    time_ended_in_millis str
    Time at which the request was completely processed.
    time_started_in_millis str
    Time at which the request started getting processed.
    total_imported_object_count int
    Number of objects that are imported.
    workspace_id str

    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

    areDataAssetReferencesIncluded Boolean
    This field controls if the data asset references will be included during import.
    bucket String
    Name of the Object Storage bucket where the object will be imported from.
    createdBy String
    Name of the user who initiated import request.
    errorMessages Map<String>
    Contains key of the error
    fileName String
    Name of the zip file to be imported.
    importConflictResolution Property Map
    Import Objects Conflict resolution.
    importedObjects List<Property Map>
    The array of imported object details.
    key String
    Import object request key
    name String
    Name of the import request.
    objectKeyForImport String
    Key of the object inside which all the objects will be imported
    objectStorageRegion String
    Region of the object storage (if using object storage of different region)
    objectStorageTenancyId String
    Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
    status String
    Import Objects request status.
    timeEndedInMillis String
    Time at which the request was completely processed.
    timeStartedInMillis String
    Time at which the request started getting processed.
    totalImportedObjectCount Number
    Number of objects that are imported.
    workspaceId String

    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

    Supporting Types

    WorkspaceImportRequestImportConflictResolution, WorkspaceImportRequestImportConflictResolutionArgs

    ImportConflictResolutionType string
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    DuplicatePrefix string
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    DuplicateSuffix string
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.
    ImportConflictResolutionType string
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    DuplicatePrefix string
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    DuplicateSuffix string
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.
    importConflictResolutionType String
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    duplicatePrefix String
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    duplicateSuffix String
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.
    importConflictResolutionType string
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    duplicatePrefix string
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    duplicateSuffix string
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.
    import_conflict_resolution_type str
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    duplicate_prefix str
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    duplicate_suffix str
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.
    importConflictResolutionType String
    Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
    duplicatePrefix String
    In case of DUPLICATE mode, prefix will be used to disambiguate the object.
    duplicateSuffix String
    In case of DUPLICATE mode, suffix will be used to disambiguate the object.

    WorkspaceImportRequestImportedObject, WorkspaceImportRequestImportedObjectArgs

    AggregatorKey string
    Aggregator key
    Identifier string
    Object identifier
    Name string
    Name of the import request.
    NamePath string
    Object name path
    NewKey string
    New key of the object
    ObjectType string
    Object type
    ObjectVersion string
    Object version
    OldKey string
    Old key of the object
    ResolutionAction string
    Object resolution action
    TimeUpdatedInMillis string
    time at which this object was last updated.
    AggregatorKey string
    Aggregator key
    Identifier string
    Object identifier
    Name string
    Name of the import request.
    NamePath string
    Object name path
    NewKey string
    New key of the object
    ObjectType string
    Object type
    ObjectVersion string
    Object version
    OldKey string
    Old key of the object
    ResolutionAction string
    Object resolution action
    TimeUpdatedInMillis string
    time at which this object was last updated.
    aggregatorKey String
    Aggregator key
    identifier String
    Object identifier
    name String
    Name of the import request.
    namePath String
    Object name path
    newKey String
    New key of the object
    objectType String
    Object type
    objectVersion String
    Object version
    oldKey String
    Old key of the object
    resolutionAction String
    Object resolution action
    timeUpdatedInMillis String
    time at which this object was last updated.
    aggregatorKey string
    Aggregator key
    identifier string
    Object identifier
    name string
    Name of the import request.
    namePath string
    Object name path
    newKey string
    New key of the object
    objectType string
    Object type
    objectVersion string
    Object version
    oldKey string
    Old key of the object
    resolutionAction string
    Object resolution action
    timeUpdatedInMillis string
    time at which this object was last updated.
    aggregator_key str
    Aggregator key
    identifier str
    Object identifier
    name str
    Name of the import request.
    name_path str
    Object name path
    new_key str
    New key of the object
    object_type str
    Object type
    object_version str
    Object version
    old_key str
    Old key of the object
    resolution_action str
    Object resolution action
    time_updated_in_millis str
    time at which this object was last updated.
    aggregatorKey String
    Aggregator key
    identifier String
    Object identifier
    name String
    Name of the import request.
    namePath String
    Object name path
    newKey String
    New key of the object
    objectType String
    Object type
    objectVersion String
    Object version
    oldKey String
    Old key of the object
    resolutionAction String
    Object resolution action
    timeUpdatedInMillis String
    time at which this object was last updated.

    Import

    WorkspaceImportRequests can be imported using the id, e.g.

    $ pulumi import oci:DataIntegration/workspaceImportRequest:WorkspaceImportRequest test_workspace_import_request "workspaces/{workspaceId}/importRequests/{importRequestKey}"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi