oci.DataIntegration.WorkspaceImportRequest
Explore with Pulumi AI
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[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 
- AreData boolAsset References Included 
- This field controls if the data asset references will be included during import.
- ImportConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- ObjectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- ObjectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- ObjectStorage stringTenancy Id 
- 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 
- AreData boolAsset References Included 
- This field controls if the data asset references will be included during import.
- ImportConflict WorkspaceResolution Import Request Import Conflict Resolution Args 
- Import Objects Conflict resolution.
- ObjectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- ObjectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- ObjectStorage stringTenancy Id 
- 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 
- areData BooleanAsset References Included 
- This field controls if the data asset references will be included during import.
- importConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- objectKey StringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage StringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage StringTenancy Id 
- 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 
- areData booleanAsset References Included 
- This field controls if the data asset references will be included during import.
- importConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- objectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage stringTenancy Id 
- 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_ boolasset_ references_ included 
- This field controls if the data asset references will be included during import.
- import_conflict_ Workspaceresolution Import Request Import Conflict Resolution Args 
- Import Objects Conflict resolution.
- object_key_ strfor_ import 
- Key of the object inside which all the objects will be imported
- object_storage_ strregion 
- Region of the object storage (if using object storage of different region)
- object_storage_ strtenancy_ id 
- 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 
- areData BooleanAsset References Included 
- This field controls if the data asset references will be included during import.
- importConflict Property MapResolution 
- Import Objects Conflict resolution.
- objectKey StringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage StringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage StringTenancy Id 
- 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<WorkspaceImport Request Imported Object> 
- 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.
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- TotalImported intObject Count 
- 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 []WorkspaceImport Request Imported Object 
- 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.
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- TotalImported intObject Count 
- 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<WorkspaceImport Request Imported Object> 
- 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.
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
- totalImported IntegerObject Count 
- 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 WorkspaceImport Request Imported Object[] 
- 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.
- timeEnded stringIn Millis 
- Time at which the request was completely processed.
- timeStarted stringIn Millis 
- Time at which the request started getting processed.
- totalImported numberObject Count 
- 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[WorkspaceImport Request Imported Object] 
- 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_ strin_ millis 
- Time at which the request was completely processed.
- time_started_ strin_ millis 
- Time at which the request started getting processed.
- total_imported_ intobject_ count 
- 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.
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
- totalImported NumberObject Count 
- 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[WorkspaceImportRequestImportConflictResolutionArgs] = None,
        imported_objects: Optional[Sequence[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) -> WorkspaceImportRequestfunc 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)resources:  _:    type: oci:DataIntegration:WorkspaceImportRequest    get:      id: ${id}- 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.
- AreData boolAsset References Included 
- 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.
- ImportConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- ImportedObjects List<WorkspaceImport Request Imported Object> 
- The array of imported object details.
- Key string
- Import object request key
- Name string
- Name of the import request.
- ObjectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- ObjectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- ObjectStorage stringTenancy Id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- Status string
- Import Objects request status.
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- TotalImported intObject Count 
- 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 
- AreData boolAsset References Included 
- 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.
- ImportConflict WorkspaceResolution Import Request Import Conflict Resolution Args 
- Import Objects Conflict resolution.
- ImportedObjects []WorkspaceImport Request Imported Object Args 
- The array of imported object details.
- Key string
- Import object request key
- Name string
- Name of the import request.
- ObjectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- ObjectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- ObjectStorage stringTenancy Id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- Status string
- Import Objects request status.
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- TotalImported intObject Count 
- 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 
- areData BooleanAsset References Included 
- 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.
- importConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- importedObjects List<WorkspaceImport Request Imported Object> 
- The array of imported object details.
- key String
- Import object request key
- name String
- Name of the import request.
- objectKey StringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage StringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage StringTenancy Id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status String
- Import Objects request status.
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
- totalImported IntegerObject Count 
- 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 
- areData booleanAsset References Included 
- 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.
- importConflict WorkspaceResolution Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- importedObjects WorkspaceImport Request Imported Object[] 
- The array of imported object details.
- key string
- Import object request key
- name string
- Name of the import request.
- objectKey stringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage stringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage stringTenancy Id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status string
- Import Objects request status.
- timeEnded stringIn Millis 
- Time at which the request was completely processed.
- timeStarted stringIn Millis 
- Time at which the request started getting processed.
- totalImported numberObject Count 
- 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_ boolasset_ references_ included 
- 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_ Workspaceresolution Import Request Import Conflict Resolution Args 
- Import Objects Conflict resolution.
- imported_objects Sequence[WorkspaceImport Request Imported Object Args] 
- The array of imported object details.
- key str
- Import object request key
- name str
- Name of the import request.
- object_key_ strfor_ import 
- Key of the object inside which all the objects will be imported
- object_storage_ strregion 
- Region of the object storage (if using object storage of different region)
- object_storage_ strtenancy_ id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status str
- Import Objects request status.
- time_ended_ strin_ millis 
- Time at which the request was completely processed.
- time_started_ strin_ millis 
- Time at which the request started getting processed.
- total_imported_ intobject_ count 
- 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 
- areData BooleanAsset References Included 
- 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.
- importConflict Property MapResolution 
- 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.
- objectKey StringFor Import 
- Key of the object inside which all the objects will be imported
- objectStorage StringRegion 
- Region of the object storage (if using object storage of different region)
- objectStorage StringTenancy Id 
- Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status String
- Import Objects request status.
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
- totalImported NumberObject Count 
- 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            
- ImportConflict stringResolution Type 
- 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.
- ImportConflict stringResolution Type 
- 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.
- importConflict StringResolution Type 
- 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.
- importConflict stringResolution Type 
- 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_ strresolution_ type 
- 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.
- importConflict StringResolution Type 
- 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
- TimeUpdated stringIn Millis 
- 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
- TimeUpdated stringIn Millis 
- 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
- timeUpdated StringIn Millis 
- 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
- timeUpdated stringIn Millis 
- 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_ strin_ millis 
- 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
- timeUpdated StringIn Millis 
- 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 ociTerraform Provider.