Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataIntegration.getWorkspaceImportRequest
Explore with Pulumi AI
This data source provides details about a specific Workspace Import Request resource in Oracle Cloud Infrastructure Data Integration service.
This endpoint can be used to get the summary/details of object being imported.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWorkspaceImportRequest = oci.DataIntegration.getWorkspaceImportRequest({
    importRequestKey: workspaceImportRequestImportRequestKey,
    workspaceId: testWorkspace.id,
});
import pulumi
import pulumi_oci as oci
test_workspace_import_request = oci.DataIntegration.get_workspace_import_request(import_request_key=workspace_import_request_import_request_key,
    workspace_id=test_workspace["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.GetWorkspaceImportRequest(ctx, &dataintegration.GetWorkspaceImportRequestArgs{
			ImportRequestKey: workspaceImportRequestImportRequestKey,
			WorkspaceId:      testWorkspace.Id,
		}, nil)
		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 = Oci.DataIntegration.GetWorkspaceImportRequest.Invoke(new()
    {
        ImportRequestKey = workspaceImportRequestImportRequestKey,
        WorkspaceId = testWorkspace.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataIntegration.DataIntegrationFunctions;
import com.pulumi.oci.DataIntegration.inputs.GetWorkspaceImportRequestArgs;
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) {
        final var testWorkspaceImportRequest = DataIntegrationFunctions.getWorkspaceImportRequest(GetWorkspaceImportRequestArgs.builder()
            .importRequestKey(workspaceImportRequestImportRequestKey)
            .workspaceId(testWorkspace.id())
            .build());
    }
}
variables:
  testWorkspaceImportRequest:
    fn::invoke:
      function: oci:DataIntegration:getWorkspaceImportRequest
      arguments:
        importRequestKey: ${workspaceImportRequestImportRequestKey}
        workspaceId: ${testWorkspace.id}
Using getWorkspaceImportRequest
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkspaceImportRequest(args: GetWorkspaceImportRequestArgs, opts?: InvokeOptions): Promise<GetWorkspaceImportRequestResult>
function getWorkspaceImportRequestOutput(args: GetWorkspaceImportRequestOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceImportRequestResult>def get_workspace_import_request(import_request_key: Optional[str] = None,
                                 workspace_id: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetWorkspaceImportRequestResult
def get_workspace_import_request_output(import_request_key: Optional[pulumi.Input[str]] = None,
                                 workspace_id: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceImportRequestResult]func GetWorkspaceImportRequest(ctx *Context, args *GetWorkspaceImportRequestArgs, opts ...InvokeOption) (*GetWorkspaceImportRequestResult, error)
func GetWorkspaceImportRequestOutput(ctx *Context, args *GetWorkspaceImportRequestOutputArgs, opts ...InvokeOption) GetWorkspaceImportRequestResultOutput> Note: This function is named GetWorkspaceImportRequest in the Go SDK.
public static class GetWorkspaceImportRequest 
{
    public static Task<GetWorkspaceImportRequestResult> InvokeAsync(GetWorkspaceImportRequestArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceImportRequestResult> Invoke(GetWorkspaceImportRequestInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceImportRequestResult> getWorkspaceImportRequest(GetWorkspaceImportRequestArgs args, InvokeOptions options)
public static Output<GetWorkspaceImportRequestResult> getWorkspaceImportRequest(GetWorkspaceImportRequestArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataIntegration/getWorkspaceImportRequest:getWorkspaceImportRequest
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ImportRequest stringKey 
- The key of the object export object request
- WorkspaceId string
- The workspace ID.
- ImportRequest stringKey 
- The key of the object export object request
- WorkspaceId string
- The workspace ID.
- importRequest StringKey 
- The key of the object export object request
- workspaceId String
- The workspace ID.
- importRequest stringKey 
- The key of the object export object request
- workspaceId string
- The workspace ID.
- import_request_ strkey 
- The key of the object export object request
- workspace_id str
- The workspace ID.
- importRequest StringKey 
- The key of the object export object request
- workspaceId String
- The workspace ID.
getWorkspaceImportRequest Result
The following output properties are available:
- AreData boolAsset References Included 
- This field controls if the data asset references will be included during import.
- Bucket string
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- Id string
- ImportConflict List<GetResolutions Workspace Import Request Import Conflict Resolution> 
- Import Objects Conflict resolution.
- ImportRequest stringKey 
- ImportedObjects List<GetWorkspace Import 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
- AreData boolAsset References Included 
- This field controls if the data asset references will be included during import.
- Bucket string
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- Id string
- ImportConflict []GetResolutions Workspace Import Request Import Conflict Resolution 
- Import Objects Conflict resolution.
- ImportRequest stringKey 
- ImportedObjects []GetWorkspace Import 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
- areData BooleanAsset References Included 
- This field controls if the data asset references will be included during import.
- bucket String
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- id String
- importConflict List<GetResolutions Workspace Import Request Import Conflict Resolution> 
- Import Objects Conflict resolution.
- importRequest StringKey 
- importedObjects List<GetWorkspace Import 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
- areData booleanAsset References Included 
- This field controls if the data asset references will be included during import.
- bucket string
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- id string
- importConflict GetResolutions Workspace Import Request Import Conflict Resolution[] 
- Import Objects Conflict resolution.
- importRequest stringKey 
- importedObjects GetWorkspace Import 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
- are_data_ boolasset_ references_ included 
- This field controls if the data asset references will be included during import.
- bucket str
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- id str
- import_conflict_ Sequence[dataintegration.resolutions Get Workspace Import Request Import Conflict Resolution] 
- Import Objects Conflict resolution.
- import_request_ strkey 
- imported_objects Sequence[dataintegration.Get Workspace Import Request Imported Object] 
- 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
- areData BooleanAsset References Included 
- This field controls if the data asset references will be included during import.
- bucket String
- The name of the Object Storage Bucket where the objects 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 from which objects will be imported.
- id String
- importConflict List<Property Map>Resolutions 
- Import Objects Conflict resolution.
- importRequest StringKey 
- 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
Supporting Types
GetWorkspaceImportRequestImportConflictResolution      
- 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.
- importConflict stringResolution 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_ strresolution_ 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).
GetWorkspaceImportRequestImportedObject     
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.