Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataIntegration.getWorkspaceExportRequests
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
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/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[_dataintegration.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[_dataintegration.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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataIntegration/getWorkspaceExportRequests:getWorkspaceExportRequests
arguments:
# arguments dictionary
The following arguments are supported:
- Workspace
Id string - The workspace ID.
- Export
Status string - Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- Filters
List<Get
Workspace 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.
- Time
Ended stringIn Millis - Specifies end time of a copy object request.
- Time
Started stringIn Millis - Specifies start time of a copy object request.
- Workspace
Id string - The workspace ID.
- Export
Status string - Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- Filters
[]Get
Workspace 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.
- Time
Ended stringIn Millis - Specifies end time of a copy object request.
- Time
Started stringIn Millis - Specifies start time of a copy object request.
- workspace
Id String - The workspace ID.
- export
Status String - Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters
List<Get
Workspace 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.
- time
Ended StringIn Millis - Specifies end time of a copy object request.
- time
Started StringIn Millis - Specifies start time of a copy object request.
- workspace
Id string - The workspace ID.
- export
Status string - Specifies export status to use, either - ALL, SUCCESSFUL, IN_PROGRESS, QUEUED, FAILED .
- filters
Get
Workspace 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.
- time
Ended stringIn Millis - Specifies end time of a copy object request.
- time
Started 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[dataintegration.
Get Workspace 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.
- workspace
Id String - The workspace ID.
- export
Status 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.
- time
Ended StringIn Millis - Specifies end time of a copy object request.
- time
Started StringIn Millis - Specifies start time of a copy object request.
getWorkspaceExportRequests Result
The following output properties are available:
- Export
Request 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.
- Workspace
Id string - Export
Status string - Filters
List<Get
Workspace Export Requests Filter> - Name string
- Name of the export request.
- Projection string
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- Export
Request []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.
- Workspace
Id string - Export
Status string - Filters
[]Get
Workspace Export Requests Filter - Name string
- Name of the export request.
- Projection string
- Time
Ended stringIn Millis - Time at which the request was completely processed.
- Time
Started stringIn Millis - Time at which the request started getting processed.
- export
Request 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.
- workspace
Id String - export
Status String - filters
List<Get
Workspace Export Requests Filter> - name String
- Name of the export request.
- projection String
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
- export
Request 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.
- workspace
Id string - export
Status string - filters
Get
Workspace Export Requests Filter[] - name string
- Name of the export request.
- projection string
- time
Ended stringIn Millis - Time at which the request was completely processed.
- time
Started stringIn Millis - Time at which the request started getting processed.
- export_
request_ Sequence[dataintegration.summary_ collections Get 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[dataintegration.
Get Workspace 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.
- export
Request List<Property Map>Summary Collections - The list of export_request_summary_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- workspace
Id String - export
Status String - filters List<Property Map>
- name String
- Name of the export request.
- projection String
- time
Ended StringIn Millis - Time at which the request was completely processed.
- time
Started StringIn Millis - Time at which the request started getting processed.
Supporting Types
GetWorkspaceExportRequestsExportRequestSummaryCollection
GetWorkspaceExportRequestsExportRequestSummaryCollectionItem
- Are
References 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
- Created
By string - Name of the user who initiated export request.
- Error
Messages Dictionary<string, object> - Contains key of the error
- Exported
Items List<GetWorkspace Export Requests Export Request Summary Collection Item Exported Item> - The array of exported object details.
- File
Name string - Name of the exported zip file.
- Filters List<string>
- 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 string
- Export object request key
- Name string
- Used to filter by the name of the object.
- Object
Keys List<string> - The list of the objects to be exported
- 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)
- Referenced
Items string - The array of exported referenced objects.
- Status string
- Export Objects request status.
- Time
Ended stringIn Millis - Specifies end time of a copy object request.
- Time
Started stringIn Millis - Specifies start time of a copy object request.
- Total
Exported intObject Count - Number of objects that are exported.
- Workspace
Id string - The workspace ID.
- Are
References 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
- Created
By string - Name of the user who initiated export request.
- Error
Messages map[string]interface{} - Contains key of the error
- Exported
Items []GetWorkspace Export Requests Export Request Summary Collection Item Exported Item - The array of exported object details.
- File
Name string - Name of the exported zip file.
- Filters []string
- 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 string
- Export object request key
- Name string
- Used to filter by the name of the object.
- Object
Keys []string - The list of the objects to be exported
- 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)
- Referenced
Items string - The array of exported referenced objects.
- Status string
- Export Objects request status.
- Time
Ended stringIn Millis - Specifies end time of a copy object request.
- Time
Started stringIn Millis - Specifies start time of a copy object request.
- Total
Exported intObject Count - Number of objects that are exported.
- Workspace
Id string - The workspace ID.
- are
References 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
- created
By String - Name of the user who initiated export request.
- error
Messages Map<String,Object> - Contains key of the error
- exported
Items List<GetWorkspace Export Requests Export Request Summary Collection Item Exported Item> - The array of exported object details.
- file
Name String - Name of the exported zip file.
- filters List<String>
- Export multiple objects based on filters.
- is
Object 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.
- object
Keys List<String> - The list of the objects to be exported
- 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)
- referenced
Items String - The array of exported referenced objects.
- status String
- Export Objects request status.
- time
Ended StringIn Millis - Specifies end time of a copy object request.
- time
Started StringIn Millis - Specifies start time of a copy object request.
- total
Exported IntegerObject Count - Number of objects that are exported.
- workspace
Id String - The workspace ID.
- are
References 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
- created
By string - Name of the user who initiated export request.
- error
Messages {[key: string]: any} - Contains key of the error
- exported
Items GetWorkspace Export Requests Export Request Summary Collection Item Exported Item[] - The array of exported object details.
- file
Name string - Name of the exported zip file.
- filters string[]
- Export multiple objects based on filters.
- is
Object 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.
- object
Keys string[] - The list of the objects to be exported
- 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)
- referenced
Items string - The array of exported referenced objects.
- status string
- Export Objects request status.
- time
Ended stringIn Millis - Specifies end time of a copy object request.
- time
Started stringIn Millis - Specifies start time of a copy object request.
- total
Exported numberObject Count - Number of objects that are exported.
- workspace
Id 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, Any] - Contains key of the error
- exported_
items Sequence[dataintegration.Get Workspace 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.
- are
References 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
- created
By String - Name of the user who initiated export request.
- error
Messages Map<Any> - Contains key of the error
- exported
Items List<Property Map> - The array of exported object details.
- file
Name String - Name of the exported zip file.
- filters List<String>
- Export multiple objects based on filters.
- is
Object 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.
- object
Keys List<String> - The list of the objects to be exported
- 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)
- referenced
Items String - The array of exported referenced objects.
- status String
- Export Objects request status.
- time
Ended StringIn Millis - Specifies end time of a copy object request.
- time
Started StringIn Millis - Specifies start time of a copy object request.
- total
Exported NumberObject Count - Number of objects that are exported.
- workspace
Id String - The workspace ID.
GetWorkspaceExportRequestsExportRequestSummaryCollectionItemExportedItem
- Aggregator
Key string - Aggregator key
- Identifier string
- Object identifier
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- Name
Path string - Object name path
- Object
Type string - Object type
- Object
Version string - Object version
- Time
Updated stringIn Millis - time at which this object was last updated.
- Aggregator
Key string - Aggregator key
- Identifier string
- Object identifier
- Key string
- Export object request key
- Name string
- Used to filter by the name of the object.
- Name
Path string - Object name path
- Object
Type string - Object type
- Object
Version string - Object version
- Time
Updated stringIn Millis - time at which this object was last updated.
- aggregator
Key String - Aggregator key
- identifier String
- Object identifier
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- name
Path String - Object name path
- object
Type String - Object type
- object
Version String - Object version
- time
Updated StringIn Millis - time at which this object was last updated.
- aggregator
Key string - Aggregator key
- identifier string
- Object identifier
- key string
- Export object request key
- name string
- Used to filter by the name of the object.
- name
Path string - Object name path
- object
Type string - Object type
- object
Version string - Object version
- time
Updated 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.
- aggregator
Key String - Aggregator key
- identifier String
- Object identifier
- key String
- Export object request key
- name String
- Used to filter by the name of the object.
- name
Path String - Object name path
- object
Type String - Object type
- object
Version String - Object version
- time
Updated 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi