Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataIntegration/getWorkspaceImportRequest:getWorkspaceImportRequest
arguments:
# arguments dictionary
The following arguments are supported:
- Import
Request stringKey - The key of the object export object request
- Workspace
Id string - The workspace ID.
- Import
Request stringKey - The key of the object export object request
- Workspace
Id string - The workspace ID.
- import
Request StringKey - The key of the object export object request
- workspace
Id String - The workspace ID.
- import
Request stringKey - The key of the object export object request
- workspace
Id string - The workspace ID.
- import_
request_ strkey - The key of the object export object request
- workspace_
id str - The workspace ID.
- import
Request StringKey - The key of the object export object request
- workspace
Id String - The workspace ID.
getWorkspaceImportRequest Result
The following output properties are available:
- Are
Data 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
- 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 from which objects will be imported.
- Id string
- Import
Conflict List<GetResolutions Workspace Import Request Import Conflict Resolution> - Import Objects Conflict resolution.
- Import
Request stringKey - Imported
Objects 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.
- 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
- Are
Data 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
- 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 from which objects will be imported.
- Id string
- Import
Conflict []GetResolutions Workspace Import Request Import Conflict Resolution - Import Objects Conflict resolution.
- Import
Request stringKey - Imported
Objects []GetWorkspace Import 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
- are
Data 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
- 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 from which objects will be imported.
- id String
- import
Conflict List<GetResolutions Workspace Import Request Import Conflict Resolution> - Import Objects Conflict resolution.
- import
Request StringKey - imported
Objects 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.
- 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
- are
Data 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
- 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 from which objects will be imported.
- id string
- import
Conflict GetResolutions Workspace Import Request Import Conflict Resolution[] - Import Objects Conflict resolution.
- import
Request stringKey - imported
Objects GetWorkspace Import 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
- 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
- are
Data 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
- 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 from which objects will be imported.
- id String
- import
Conflict List<Property Map>Resolutions - Import Objects Conflict resolution.
- import
Request StringKey - 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
Supporting Types
GetWorkspaceImportRequestImportConflictResolution
- 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 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).
- 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).
GetWorkspaceImportRequestImportedObject
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.