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[_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=oci.data_integration.WorkspaceImportRequestImportConflictResolutionArgs(
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
The WorkspaceImportRequest resource accepts the following input properties:
- Bucket string
- Name of the Object Storage bucket where the object will be imported from.
- File
Name string - Name of the zip file to be imported.
- Workspace
Id 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.
- Import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- Object
Key stringFor Import - Key of the object inside which all the objects will be imported
- Object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- Object
Storage 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.
- File
Name string - Name of the zip file to be imported.
- Workspace
Id 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.
- Import
Conflict WorkspaceResolution Import Request Import Conflict Resolution Args - Import Objects Conflict resolution.
- Object
Key stringFor Import - Key of the object inside which all the objects will be imported
- Object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- Object
Storage 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.
- file
Name String - Name of the zip file to be imported.
- workspace
Id 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 BooleanAsset References Included - This field controls if the data asset references will be included during import.
- import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- object
Key StringFor Import - Key of the object inside which all the objects will be imported
- object
Storage StringRegion - Region of the object storage (if using object storage of different region)
- object
Storage 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.
- file
Name string - Name of the zip file to be imported.
- workspace
Id 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 booleanAsset References Included - This field controls if the data asset references will be included during import.
- import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- object
Key stringFor Import - Key of the object inside which all the objects will be imported
- object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- object
Storage 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_ dataintegration.resolution Workspace 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.
- file
Name String - Name of the zip file to be imported.
- workspace
Id 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 BooleanAsset References Included - This field controls if the data asset references will be included during import.
- import
Conflict Property MapResolution - Import Objects Conflict resolution.
- object
Key StringFor Import - Key of the object inside which all the objects will be imported
- object
Storage StringRegion - Region of the object storage (if using object storage of different region)
- object
Storage 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:
- Created
By string - Name of the user who initiated import request.
- Error
Messages Dictionary<string, string> - Contains key of the error
- Id string
- The provider-assigned unique ID for this managed resource.
- Imported
Objects 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.
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- Total
Imported intObject Count - Number of objects that are imported.
- Created
By string - Name of the user who initiated import request.
- Error
Messages map[string]string - Contains key of the error
- Id string
- The provider-assigned unique ID for this managed resource.
- Imported
Objects []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.
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- Total
Imported intObject Count - Number of objects that are imported.
- created
By String - Name of the user who initiated import request.
- error
Messages Map<String,String> - Contains key of the error
- id String
- The provider-assigned unique ID for this managed resource.
- imported
Objects 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.
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
- total
Imported IntegerObject Count - Number of objects that are imported.
- created
By string - Name of the user who initiated import request.
- error
Messages {[key: string]: string} - Contains key of the error
- id string
- The provider-assigned unique ID for this managed resource.
- imported
Objects 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.
- time
Ended stringIn Millis - Time at which the request was completely processed.
- time
Started stringIn Millis - Time at which the request started getting processed.
- total
Imported 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[dataintegration.Workspace Import 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.
- created
By String - Name of the user who initiated import request.
- error
Messages Map<String> - Contains key of the error
- id String
- The provider-assigned unique ID for this managed resource.
- imported
Objects 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.
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
- total
Imported 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[_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.
- Are
Data 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.
- Created
By string - Name of the user who initiated import request.
- Error
Messages Dictionary<string, string> - Contains key of the error
- File
Name string - Name of the zip file to be imported.
- Import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- Imported
Objects List<WorkspaceImport Request Imported Object> - The array of imported object details.
- Key string
- Import object request key
- Name string
- Name of the import request.
- Object
Key stringFor Import - Key of the object inside which all the objects will be imported
- Object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- Object
Storage stringTenancy Id - Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- Status string
- Import Objects request status.
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- Total
Imported intObject Count - Number of objects that are imported.
- Workspace
Id 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 string
- Name of the Object Storage bucket where the object will be imported from.
- Created
By string - Name of the user who initiated import request.
- Error
Messages map[string]string - Contains key of the error
- File
Name string - Name of the zip file to be imported.
- Import
Conflict WorkspaceResolution Import Request Import Conflict Resolution Args - Import Objects Conflict resolution.
- Imported
Objects []WorkspaceImport Request Imported Object Args - The array of imported object details.
- Key string
- Import object request key
- Name string
- Name of the import request.
- Object
Key stringFor Import - Key of the object inside which all the objects will be imported
- Object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- Object
Storage stringTenancy Id - Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- Status string
- Import Objects request status.
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- Total
Imported intObject Count - Number of objects that are imported.
- Workspace
Id 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 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.
- created
By String - Name of the user who initiated import request.
- error
Messages Map<String,String> - Contains key of the error
- file
Name String - Name of the zip file to be imported.
- import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- imported
Objects List<WorkspaceImport Request Imported Object> - The array of imported object details.
- key String
- Import object request key
- name String
- Name of the import request.
- object
Key StringFor Import - Key of the object inside which all the objects will be imported
- object
Storage StringRegion - Region of the object storage (if using object storage of different region)
- object
Storage StringTenancy Id - Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status String
- Import Objects request status.
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
- total
Imported IntegerObject Count - Number of objects that are imported.
- workspace
Id 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 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.
- created
By string - Name of the user who initiated import request.
- error
Messages {[key: string]: string} - Contains key of the error
- file
Name string - Name of the zip file to be imported.
- import
Conflict WorkspaceResolution Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- imported
Objects WorkspaceImport Request Imported Object[] - The array of imported object details.
- key string
- Import object request key
- name string
- Name of the import request.
- object
Key stringFor Import - Key of the object inside which all the objects will be imported
- object
Storage stringRegion - Region of the object storage (if using object storage of different region)
- object
Storage stringTenancy Id - Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status string
- Import Objects request status.
- time
Ended stringIn Millis - Time at which the request was completely processed.
- time
Started stringIn Millis - Time at which the request started getting processed.
- total
Imported numberObject Count - Number of objects that are imported.
- workspace
Id 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_ dataintegration.resolution Workspace Import Request Import Conflict Resolution Args - Import Objects Conflict resolution.
- imported_
objects Sequence[dataintegration.Workspace Import 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
- are
Data 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.
- created
By String - Name of the user who initiated import request.
- error
Messages Map<String> - Contains key of the error
- file
Name String - Name of the zip file to be imported.
- import
Conflict Property MapResolution - Import Objects Conflict resolution.
- imported
Objects List<Property Map> - The array of imported object details.
- key String
- Import object request key
- name String
- Name of the import request.
- object
Key StringFor Import - Key of the object inside which all the objects will be imported
- object
Storage StringRegion - Region of the object storage (if using object storage of different region)
- object
Storage StringTenancy Id - Optional parameter to point to object storage tenancy (if using Object Storage of different tenancy)
- status String
- Import Objects request status.
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
- total
Imported NumberObject Count - Number of objects that are imported.
- workspace
Id 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
- Import
Conflict stringResolution Type - Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
- Duplicate
Prefix string - In case of DUPLICATE mode, prefix will be used to disambiguate the object.
- Duplicate
Suffix string - In case of DUPLICATE mode, suffix will be used to disambiguate the object.
- Import
Conflict stringResolution Type - Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
- Duplicate
Prefix string - In case of DUPLICATE mode, prefix will be used to disambiguate the object.
- Duplicate
Suffix string - In case of DUPLICATE mode, suffix will be used to disambiguate the object.
- import
Conflict StringResolution Type - Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
- duplicate
Prefix String - In case of DUPLICATE mode, prefix will be used to disambiguate the object.
- duplicate
Suffix String - In case of DUPLICATE mode, suffix will be used to disambiguate the object.
- import
Conflict stringResolution Type - Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
- duplicate
Prefix string - In case of DUPLICATE mode, prefix will be used to disambiguate the object.
- duplicate
Suffix 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.
- import
Conflict StringResolution Type - Import Objects Conflict resolution Type (RETAIN/DUPLICATE/REPLACE).
- duplicate
Prefix String - In case of DUPLICATE mode, prefix will be used to disambiguate the object.
- duplicate
Suffix String - In case of DUPLICATE mode, suffix will be used to disambiguate the object.
WorkspaceImportRequestImportedObject, WorkspaceImportRequestImportedObjectArgs
- Aggregator
Key string - Aggregator key
- Identifier string
- Object identifier
- Name string
- Name of the import request.
- Name
Path string - Object name path
- New
Key string - New key of the object
- Object
Type string - Object type
- Object
Version string - Object version
- Old
Key string - Old key of the object
- Resolution
Action string - Object resolution action
- Time
Updated stringIn Millis - time at which this object was last updated.
- Aggregator
Key string - Aggregator key
- Identifier string
- Object identifier
- Name string
- Name of the import request.
- Name
Path string - Object name path
- New
Key string - New key of the object
- Object
Type string - Object type
- Object
Version string - Object version
- Old
Key string - Old key of the object
- Resolution
Action string - Object resolution action
- Time
Updated stringIn Millis - time at which this object was last updated.
- aggregator
Key String - Aggregator key
- identifier String
- Object identifier
- name String
- Name of the import request.
- name
Path String - Object name path
- new
Key String - New key of the object
- object
Type String - Object type
- object
Version String - Object version
- old
Key String - Old key of the object
- resolution
Action String - Object resolution action
- time
Updated StringIn Millis - time at which this object was last updated.
- aggregator
Key string - Aggregator key
- identifier string
- Object identifier
- name string
- Name of the import request.
- name
Path string - Object name path
- new
Key string - New key of the object
- object
Type string - Object type
- object
Version string - Object version
- old
Key string - Old key of the object
- resolution
Action string - Object resolution action
- time
Updated 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.
- aggregator
Key String - Aggregator key
- identifier String
- Object identifier
- name String
- Name of the import request.
- name
Path String - Object name path
- new
Key String - New key of the object
- object
Type String - Object type
- object
Version String - Object version
- old
Key String - Old key of the object
- resolution
Action String - Object resolution action
- time
Updated 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
oci
Terraform Provider.