Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DataIntegration.getWorkspaceExportRequests
Explore with Pulumi AI
This data source provides the list of Workspace Export Requests in Oracle Cloud Infrastructure Data Integration service.
This endpoint can be used to get the list of export object requests.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWorkspaceExportRequests = oci.DataIntegration.getWorkspaceExportRequests({
    workspaceId: testWorkspace.id,
    exportStatus: workspaceExportRequestExportStatus,
    name: workspaceExportRequestName,
    projection: workspaceExportRequestProjection,
    timeEndedInMillis: workspaceExportRequestTimeEndedInMillis,
    timeStartedInMillis: workspaceExportRequestTimeStartedInMillis,
});
import pulumi
import pulumi_oci as oci
test_workspace_export_requests = oci.DataIntegration.get_workspace_export_requests(workspace_id=test_workspace["id"],
    export_status=workspace_export_request_export_status,
    name=workspace_export_request_name,
    projection=workspace_export_request_projection,
    time_ended_in_millis=workspace_export_request_time_ended_in_millis,
    time_started_in_millis=workspace_export_request_time_started_in_millis)
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.GetWorkspaceExportRequests(ctx, &dataintegration.GetWorkspaceExportRequestsArgs{
			WorkspaceId:         testWorkspace.Id,
			ExportStatus:        pulumi.StringRef(workspaceExportRequestExportStatus),
			Name:                pulumi.StringRef(workspaceExportRequestName),
			Projection:          pulumi.StringRef(workspaceExportRequestProjection),
			TimeEndedInMillis:   pulumi.StringRef(workspaceExportRequestTimeEndedInMillis),
			TimeStartedInMillis: pulumi.StringRef(workspaceExportRequestTimeStartedInMillis),
		}, 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 testWorkspaceExportRequests = Oci.DataIntegration.GetWorkspaceExportRequests.Invoke(new()
    {
        WorkspaceId = testWorkspace.Id,
        ExportStatus = workspaceExportRequestExportStatus,
        Name = workspaceExportRequestName,
        Projection = workspaceExportRequestProjection,
        TimeEndedInMillis = workspaceExportRequestTimeEndedInMillis,
        TimeStartedInMillis = workspaceExportRequestTimeStartedInMillis,
    });
});
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.GetWorkspaceExportRequestsArgs;
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 testWorkspaceExportRequests = DataIntegrationFunctions.getWorkspaceExportRequests(GetWorkspaceExportRequestsArgs.builder()
            .workspaceId(testWorkspace.id())
            .exportStatus(workspaceExportRequestExportStatus)
            .name(workspaceExportRequestName)
            .projection(workspaceExportRequestProjection)
            .timeEndedInMillis(workspaceExportRequestTimeEndedInMillis)
            .timeStartedInMillis(workspaceExportRequestTimeStartedInMillis)
            .build());
    }
}
variables:
  testWorkspaceExportRequests:
    fn::invoke:
      function: oci:DataIntegration:getWorkspaceExportRequests
      arguments:
        workspaceId: ${testWorkspace.id}
        exportStatus: ${workspaceExportRequestExportStatus}
        name: ${workspaceExportRequestName}
        projection: ${workspaceExportRequestProjection}
        timeEndedInMillis: ${workspaceExportRequestTimeEndedInMillis}
        timeStartedInMillis: ${workspaceExportRequestTimeStartedInMillis}
Using getWorkspaceExportRequests
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 getWorkspaceExportRequests(args: GetWorkspaceExportRequestsArgs, opts?: InvokeOptions): Promise<GetWorkspaceExportRequestsResult>
function getWorkspaceExportRequestsOutput(args: GetWorkspaceExportRequestsOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceExportRequestsResult>def get_workspace_export_requests(export_status: Optional[str] = None,
                                  filters: Optional[Sequence[GetWorkspaceExportRequestsFilter]] = None,
                                  name: Optional[str] = None,
                                  projection: Optional[str] = None,
                                  time_ended_in_millis: Optional[str] = None,
                                  time_started_in_millis: Optional[str] = None,
                                  workspace_id: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> GetWorkspaceExportRequestsResult
def get_workspace_export_requests_output(export_status: Optional[pulumi.Input[str]] = None,
                                  filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetWorkspaceExportRequestsFilterArgs]]]] = None,
                                  name: Optional[pulumi.Input[str]] = None,
                                  projection: Optional[pulumi.Input[str]] = None,
                                  time_ended_in_millis: Optional[pulumi.Input[str]] = None,
                                  time_started_in_millis: Optional[pulumi.Input[str]] = None,
                                  workspace_id: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceExportRequestsResult]func GetWorkspaceExportRequests(ctx *Context, args *GetWorkspaceExportRequestsArgs, opts ...InvokeOption) (*GetWorkspaceExportRequestsResult, error)
func GetWorkspaceExportRequestsOutput(ctx *Context, args *GetWorkspaceExportRequestsOutputArgs, opts ...InvokeOption) GetWorkspaceExportRequestsResultOutput> Note: This function is named GetWorkspaceExportRequests in the Go SDK.
public static class GetWorkspaceExportRequests 
{
    public static Task<GetWorkspaceExportRequestsResult> InvokeAsync(GetWorkspaceExportRequestsArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceExportRequestsResult> Invoke(GetWorkspaceExportRequestsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceExportRequestsResult> getWorkspaceExportRequests(GetWorkspaceExportRequestsArgs args, InvokeOptions options)
public static Output<GetWorkspaceExportRequestsResult> getWorkspaceExportRequests(GetWorkspaceExportRequestsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataIntegration/getWorkspaceExportRequests:getWorkspaceExportRequests
  arguments:
    # arguments dictionaryThe following arguments are supported:
- WorkspaceId string
- The workspace ID.
- ExportStatus string
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- Filters
List<GetWorkspace Export Requests Filter> 
- Name string
- Used to filter by the name of the object.
- Projection string
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- TimeEnded stringIn Millis 
- Specifies end time of a copy object request.
- TimeStarted stringIn Millis 
- Specifies start time of a copy object request.
- WorkspaceId string
- The workspace ID.
- ExportStatus string
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- Filters
[]GetWorkspace Export Requests Filter 
- Name string
- Used to filter by the name of the object.
- Projection string
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- TimeEnded stringIn Millis 
- Specifies end time of a copy object request.
- TimeStarted stringIn Millis 
- Specifies start time of a copy object request.
- workspaceId String
- The workspace ID.
- exportStatus String
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters
List<GetWorkspace Export Requests Filter> 
- name String
- Used to filter by the name of the object.
- projection String
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- timeEnded StringIn Millis 
- Specifies end time of a copy object request.
- timeStarted StringIn Millis 
- Specifies start time of a copy object request.
- workspaceId string
- The workspace ID.
- exportStatus string
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters
GetWorkspace Export Requests Filter[] 
- name string
- Used to filter by the name of the object.
- projection string
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- timeEnded stringIn Millis 
- Specifies end time of a copy object request.
- timeStarted stringIn Millis 
- Specifies start time of a copy object request.
- workspace_id str
- The workspace ID.
- export_status str
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters
Sequence[GetWorkspace Export Requests Filter] 
- name str
- Used to filter by the name of the object.
- projection str
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- time_ended_ strin_ millis 
- Specifies end time of a copy object request.
- time_started_ strin_ millis 
- Specifies start time of a copy object request.
- workspaceId String
- The workspace ID.
- exportStatus String
- Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters List<Property Map>
- name String
- Used to filter by the name of the object.
- projection String
- This parameter allows users to specify which view of the export object response to return. SUMMARY - Summary of the export object request will be returned. This is the default option when no value is specified. DETAILS - Details of export object request will be returned. This will include details of all the objects to be exported.
- timeEnded StringIn Millis 
- Specifies end time of a copy object request.
- timeStarted StringIn Millis 
- Specifies start time of a copy object request.
getWorkspaceExportRequests Result
The following output properties are available:
- ExportRequest List<GetSummary Collections Workspace Export Requests Export Request Summary Collection> 
- The list of export_request_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- WorkspaceId string
- ExportStatus string
- Filters
List<GetWorkspace Export Requests Filter> 
- Name string
- Name of the export request.
- Projection string
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- ExportRequest []GetSummary Collections Workspace Export Requests Export Request Summary Collection 
- The list of export_request_summary_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- WorkspaceId string
- ExportStatus string
- Filters
[]GetWorkspace Export Requests Filter 
- Name string
- Name of the export request.
- Projection string
- TimeEnded stringIn Millis 
- Time at which the request was completely processed.
- TimeStarted stringIn Millis 
- Time at which the request started getting processed.
- exportRequest List<GetSummary Collections Workspace Export Requests Export Request Summary Collection> 
- The list of export_request_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- workspaceId String
- exportStatus String
- filters
List<GetWorkspace Export Requests Filter> 
- name String
- Name of the export request.
- projection String
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
- exportRequest GetSummary Collections Workspace Export Requests Export Request Summary Collection[] 
- The list of export_request_summary_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- workspaceId string
- exportStatus string
- filters
GetWorkspace Export Requests Filter[] 
- name string
- Name of the export request.
- projection string
- timeEnded stringIn Millis 
- Time at which the request was completely processed.
- timeStarted stringIn Millis 
- Time at which the request started getting processed.
- export_request_ Sequence[Getsummary_ collections Workspace Export Requests Export Request Summary Collection] 
- The list of export_request_summary_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- workspace_id str
- export_status str
- filters
Sequence[GetWorkspace Export Requests Filter] 
- name str
- Name of the export request.
- projection str
- time_ended_ strin_ millis 
- Time at which the request was completely processed.
- time_started_ strin_ millis 
- Time at which the request started getting processed.
- exportRequest List<Property Map>Summary Collections 
- The list of export_request_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- workspaceId String
- exportStatus String
- filters List<Property Map>
- name String
- Name of the export request.
- projection String
- timeEnded StringIn Millis 
- Time at which the request was completely processed.
- timeStarted StringIn Millis 
- Time at which the request started getting processed.
Supporting Types
GetWorkspaceExportRequestsExportRequestSummaryCollection       
GetWorkspaceExportRequestsExportRequestSummaryCollectionItem        
- AreReferences boolIncluded 
- Controls if the references will be exported along with the objects
- Bucket string
- The name of the Object Storage Bucket where the objects will be exported to
- CreatedBy string
- Name of the user who initiated export request.
- ErrorMessages Dictionary<string, string>
- Contains key of the error
- ExportedItems List<GetWorkspace Export Requests Export Request Summary Collection Item Exported Item> 
- The array of exported object details.
- FileName string
- Name of the exported zip file.
- Filters List<string>
- Export multiple objects based on filters.
- IsObject boolOverwrite Enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- ObjectKeys List<string>
- The list of the objects to be exported
- 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)
- ReferencedItems string
- The array of exported referenced objects.
- Status string
- Export Objects request status.
- TimeEnded stringIn Millis 
- Specifies end time of a copy object request.
- TimeStarted stringIn Millis 
- Specifies start time of a copy object request.
- TotalExported intObject Count 
- Number of objects that are exported.
- WorkspaceId string
- The workspace ID.
- AreReferences boolIncluded 
- Controls if the references will be exported along with the objects
- Bucket string
- The name of the Object Storage Bucket where the objects will be exported to
- CreatedBy string
- Name of the user who initiated export request.
- ErrorMessages map[string]string
- Contains key of the error
- ExportedItems []GetWorkspace Export Requests Export Request Summary Collection Item Exported Item 
- The array of exported object details.
- FileName string
- Name of the exported zip file.
- Filters []string
- Export multiple objects based on filters.
- IsObject boolOverwrite Enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- ObjectKeys []string
- The list of the objects to be exported
- 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)
- ReferencedItems string
- The array of exported referenced objects.
- Status string
- Export Objects request status.
- TimeEnded stringIn Millis 
- Specifies end time of a copy object request.
- TimeStarted stringIn Millis 
- Specifies start time of a copy object request.
- TotalExported intObject Count 
- Number of objects that are exported.
- WorkspaceId string
- The workspace ID.
- areReferences BooleanIncluded 
- Controls if the references will be exported along with the objects
- bucket String
- The name of the Object Storage Bucket where the objects will be exported to
- createdBy String
- Name of the user who initiated export request.
- errorMessages Map<String,String>
- Contains key of the error
- exportedItems List<GetWorkspace Export Requests Export Request Summary Collection Item Exported Item> 
- The array of exported object details.
- fileName String
- Name of the exported zip file.
- filters List<String>
- Export multiple objects based on filters.
- isObject BooleanOverwrite Enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- objectKeys List<String>
- The list of the objects to be exported
- 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)
- referencedItems String
- The array of exported referenced objects.
- status String
- Export Objects request status.
- timeEnded StringIn Millis 
- Specifies end time of a copy object request.
- timeStarted StringIn Millis 
- Specifies start time of a copy object request.
- totalExported IntegerObject Count 
- Number of objects that are exported.
- workspaceId String
- The workspace ID.
- areReferences booleanIncluded 
- Controls if the references will be exported along with the objects
- bucket string
- The name of the Object Storage Bucket where the objects will be exported to
- createdBy string
- Name of the user who initiated export request.
- errorMessages {[key: string]: string}
- Contains key of the error
- exportedItems GetWorkspace Export Requests Export Request Summary Collection Item Exported Item[] 
- The array of exported object details.
- fileName string
- Name of the exported zip file.
- filters string[]
- Export multiple objects based on filters.
- isObject booleanOverwrite Enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- key string
- Export object request key
- name string
- Used to filter by the name of the object.
- objectKeys string[]
- The list of the objects to be exported
- 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)
- referencedItems string
- The array of exported referenced objects.
- status string
- Export Objects request status.
- timeEnded stringIn Millis 
- Specifies end time of a copy object request.
- timeStarted stringIn Millis 
- Specifies start time of a copy object request.
- totalExported numberObject Count 
- Number of objects that are exported.
- workspaceId string
- The workspace ID.
- are_references_ boolincluded 
- Controls if the references will be exported along with the objects
- bucket str
- The name of the Object Storage Bucket where the objects will be exported to
- created_by str
- Name of the user who initiated export request.
- error_messages Mapping[str, str]
- Contains key of the error
- exported_items Sequence[GetWorkspace Export Requests Export Request Summary Collection Item Exported Item] 
- The array of exported object details.
- file_name str
- Name of the exported zip file.
- filters Sequence[str]
- Export multiple objects based on filters.
- is_object_ booloverwrite_ enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- key str
- Export object request key
- name str
- Used to filter by the name of the object.
- object_keys Sequence[str]
- The list of the objects to be exported
- 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)
- referenced_items str
- The array of exported referenced objects.
- status str
- Export Objects request status.
- time_ended_ strin_ millis 
- Specifies end time of a copy object request.
- time_started_ strin_ millis 
- Specifies start time of a copy object request.
- total_exported_ intobject_ count 
- Number of objects that are exported.
- workspace_id str
- The workspace ID.
- areReferences BooleanIncluded 
- Controls if the references will be exported along with the objects
- bucket String
- The name of the Object Storage Bucket where the objects will be exported to
- createdBy String
- Name of the user who initiated export request.
- errorMessages Map<String>
- Contains key of the error
- exportedItems List<Property Map>
- The array of exported object details.
- fileName String
- Name of the exported zip file.
- filters List<String>
- Export multiple objects based on filters.
- isObject BooleanOverwrite Enabled 
- Flag to control whether to overwrite the object if it is already present at the provided object storage location.
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- objectKeys List<String>
- The list of the objects to be exported
- 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)
- referencedItems String
- The array of exported referenced objects.
- status String
- Export Objects request status.
- timeEnded StringIn Millis 
- Specifies end time of a copy object request.
- timeStarted StringIn Millis 
- Specifies start time of a copy object request.
- totalExported NumberObject Count 
- Number of objects that are exported.
- workspaceId String
- The workspace ID.
GetWorkspaceExportRequestsExportRequestSummaryCollectionItemExportedItem          
- AggregatorKey string
- Aggregator key
- Identifier string
- Object identifier
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- NamePath string
- Object name path
- ObjectType string
- Object type
- ObjectVersion string
- Object version
- TimeUpdated stringIn Millis 
- time at which this object was last updated.
- AggregatorKey string
- Aggregator key
- Identifier string
- Object identifier
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- NamePath string
- Object name path
- ObjectType string
- Object type
- ObjectVersion string
- Object version
- TimeUpdated stringIn Millis 
- time at which this object was last updated.
- aggregatorKey String
- Aggregator key
- identifier String
- Object identifier
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- namePath String
- Object name path
- objectType String
- Object type
- objectVersion String
- Object version
- timeUpdated StringIn Millis 
- time at which this object was last updated.
- aggregatorKey string
- Aggregator key
- identifier string
- Object identifier
- key string
- Export object request key
- name string
- Used to filter by the name of the object.
- namePath string
- Object name path
- objectType string
- Object type
- objectVersion string
- Object version
- timeUpdated stringIn Millis 
- time at which this object was last updated.
- aggregator_key str
- Aggregator key
- identifier str
- Object identifier
- key str
- Export object request key
- name str
- Used to filter by the name of the object.
- name_path str
- Object name path
- object_type str
- Object type
- object_version str
- Object version
- time_updated_ strin_ millis 
- time at which this object was last updated.
- aggregatorKey String
- Aggregator key
- identifier String
- Object identifier
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- namePath String
- Object name path
- objectType String
- Object type
- objectVersion String
- Object version
- timeUpdated StringIn Millis 
- time at which this object was last updated.
GetWorkspaceExportRequestsFilter    
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.