1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataIntegration
  5. getWorkspaceFolder
Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi

oci.DataIntegration.getWorkspaceFolder

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi

This data source provides details about a specific Workspace Folder resource in Oracle Cloud Infrastructure Data Integration service.

Retrieves a folder using the specified identifier.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testWorkspaceFolder = oci.DataIntegration.getWorkspaceFolder({
    folderKey: workspaceFolderFolderKey,
    workspaceId: testWorkspace.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_workspace_folder = oci.DataIntegration.get_workspace_folder(folder_key=workspace_folder_folder_key,
    workspace_id=test_workspace["id"])
Copy
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.GetWorkspaceFolder(ctx, &dataintegration.GetWorkspaceFolderArgs{
			FolderKey:   workspaceFolderFolderKey,
			WorkspaceId: testWorkspace.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testWorkspaceFolder = Oci.DataIntegration.GetWorkspaceFolder.Invoke(new()
    {
        FolderKey = workspaceFolderFolderKey,
        WorkspaceId = testWorkspace.Id,
    });

});
Copy
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.GetWorkspaceFolderArgs;
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 testWorkspaceFolder = DataIntegrationFunctions.getWorkspaceFolder(GetWorkspaceFolderArgs.builder()
            .folderKey(workspaceFolderFolderKey)
            .workspaceId(testWorkspace.id())
            .build());

    }
}
Copy
variables:
  testWorkspaceFolder:
    fn::invoke:
      function: oci:DataIntegration:getWorkspaceFolder
      arguments:
        folderKey: ${workspaceFolderFolderKey}
        workspaceId: ${testWorkspace.id}
Copy

Using getWorkspaceFolder

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 getWorkspaceFolder(args: GetWorkspaceFolderArgs, opts?: InvokeOptions): Promise<GetWorkspaceFolderResult>
function getWorkspaceFolderOutput(args: GetWorkspaceFolderOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceFolderResult>
Copy
def get_workspace_folder(folder_key: Optional[str] = None,
                         workspace_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetWorkspaceFolderResult
def get_workspace_folder_output(folder_key: Optional[pulumi.Input[str]] = None,
                         workspace_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceFolderResult]
Copy
func GetWorkspaceFolder(ctx *Context, args *GetWorkspaceFolderArgs, opts ...InvokeOption) (*GetWorkspaceFolderResult, error)
func GetWorkspaceFolderOutput(ctx *Context, args *GetWorkspaceFolderOutputArgs, opts ...InvokeOption) GetWorkspaceFolderResultOutput
Copy

> Note: This function is named GetWorkspaceFolder in the Go SDK.

public static class GetWorkspaceFolder 
{
    public static Task<GetWorkspaceFolderResult> InvokeAsync(GetWorkspaceFolderArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceFolderResult> Invoke(GetWorkspaceFolderInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetWorkspaceFolderResult> getWorkspaceFolder(GetWorkspaceFolderArgs args, InvokeOptions options)
public static Output<GetWorkspaceFolderResult> getWorkspaceFolder(GetWorkspaceFolderArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataIntegration/getWorkspaceFolder:getWorkspaceFolder
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

FolderKey This property is required. string
The folder key.
WorkspaceId This property is required. string
The workspace ID.
FolderKey This property is required. string
The folder key.
WorkspaceId This property is required. string
The workspace ID.
folderKey This property is required. String
The folder key.
workspaceId This property is required. String
The workspace ID.
folderKey This property is required. string
The folder key.
workspaceId This property is required. string
The workspace ID.
folder_key This property is required. str
The folder key.
workspace_id This property is required. str
The workspace ID.
folderKey This property is required. String
The folder key.
workspaceId This property is required. String
The workspace ID.

getWorkspaceFolder Result

The following output properties are available:

CategoryName string
The category name.
Description string
The description of the aggregator.
FolderKey string
Id string
Identifier string
The identifier of the aggregator.
Key string
The key of the aggregator object.
KeyMap Dictionary<string, string>
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
Metadatas List<GetWorkspaceFolderMetadata>
A summary type containing information about the object including its key, name and when/who created/updated it.
ModelType string
The type of the object.
ModelVersion string
The model version of an object.
Name string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
ObjectStatus int
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
ObjectVersion int
The version of the object that is used to track changes in the object instance.
ParentReves List<GetWorkspaceFolderParentRef>
A reference to the object's parent.
RegistryMetadatas List<GetWorkspaceFolderRegistryMetadata>
WorkspaceId string
CategoryName string
The category name.
Description string
The description of the aggregator.
FolderKey string
Id string
Identifier string
The identifier of the aggregator.
Key string
The key of the aggregator object.
KeyMap map[string]string
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
Metadatas []GetWorkspaceFolderMetadata
A summary type containing information about the object including its key, name and when/who created/updated it.
ModelType string
The type of the object.
ModelVersion string
The model version of an object.
Name string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
ObjectStatus int
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
ObjectVersion int
The version of the object that is used to track changes in the object instance.
ParentReves []GetWorkspaceFolderParentRef
A reference to the object's parent.
RegistryMetadatas []GetWorkspaceFolderRegistryMetadata
WorkspaceId string
categoryName String
The category name.
description String
The description of the aggregator.
folderKey String
id String
identifier String
The identifier of the aggregator.
key String
The key of the aggregator object.
keyMap Map<String,String>
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
metadatas List<GetWorkspaceFolderMetadata>
A summary type containing information about the object including its key, name and when/who created/updated it.
modelType String
The type of the object.
modelVersion String
The model version of an object.
name String
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
objectStatus Integer
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectVersion Integer
The version of the object that is used to track changes in the object instance.
parentReves List<GetWorkspaceFolderParentRef>
A reference to the object's parent.
registryMetadatas List<GetWorkspaceFolderRegistryMetadata>
workspaceId String
categoryName string
The category name.
description string
The description of the aggregator.
folderKey string
id string
identifier string
The identifier of the aggregator.
key string
The key of the aggregator object.
keyMap {[key: string]: string}
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
metadatas GetWorkspaceFolderMetadata[]
A summary type containing information about the object including its key, name and when/who created/updated it.
modelType string
The type of the object.
modelVersion string
The model version of an object.
name string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
objectStatus number
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectVersion number
The version of the object that is used to track changes in the object instance.
parentReves GetWorkspaceFolderParentRef[]
A reference to the object's parent.
registryMetadatas GetWorkspaceFolderRegistryMetadata[]
workspaceId string
category_name str
The category name.
description str
The description of the aggregator.
folder_key str
id str
identifier str
The identifier of the aggregator.
key str
The key of the aggregator object.
key_map Mapping[str, str]
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
metadatas Sequence[dataintegration.GetWorkspaceFolderMetadata]
A summary type containing information about the object including its key, name and when/who created/updated it.
model_type str
The type of the object.
model_version str
The model version of an object.
name str
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
object_status int
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
object_version int
The version of the object that is used to track changes in the object instance.
parent_reves Sequence[dataintegration.GetWorkspaceFolderParentRef]
A reference to the object's parent.
registry_metadatas Sequence[dataintegration.GetWorkspaceFolderRegistryMetadata]
workspace_id str
categoryName String
The category name.
description String
The description of the aggregator.
folderKey String
id String
identifier String
The identifier of the aggregator.
key String
The key of the aggregator object.
keyMap Map<String>
A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
metadatas List<Property Map>
A summary type containing information about the object including its key, name and when/who created/updated it.
modelType String
The type of the object.
modelVersion String
The model version of an object.
name String
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
objectStatus Number
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectVersion Number
The version of the object that is used to track changes in the object instance.
parentReves List<Property Map>
A reference to the object's parent.
registryMetadatas List<Property Map>
workspaceId String

Supporting Types

GetWorkspaceFolderMetadata

AggregatorKey This property is required. string
The owning object key for this object.
Aggregators This property is required. List<GetWorkspaceFolderMetadataAggregator>
A summary type containing information about the object's aggregator including its type, key, name and description.
CountStatistics This property is required. List<GetWorkspaceFolderMetadataCountStatistic>
A count statistics.
CreatedBy This property is required. string
The user that created the object.
CreatedByName This property is required. string
The user that created the object.
IdentifierPath This property is required. string
The full path to identify this object.
InfoFields This property is required. Dictionary<string, string>
Information property fields.
IsFavorite This property is required. bool
Specifies whether this object is a favorite or not.
Labels This property is required. List<string>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
RegistryVersion This property is required. int
The registry version of the object.
TimeCreated This property is required. string
The date and time that the object was created.
TimeUpdated This property is required. string
The date and time that the object was updated.
UpdatedBy This property is required. string
The user that updated the object.
UpdatedByName This property is required. string
The user that updated the object.
AggregatorKey This property is required. string
The owning object key for this object.
Aggregators This property is required. []GetWorkspaceFolderMetadataAggregator
A summary type containing information about the object's aggregator including its type, key, name and description.
CountStatistics This property is required. []GetWorkspaceFolderMetadataCountStatistic
A count statistics.
CreatedBy This property is required. string
The user that created the object.
CreatedByName This property is required. string
The user that created the object.
IdentifierPath This property is required. string
The full path to identify this object.
InfoFields This property is required. map[string]string
Information property fields.
IsFavorite This property is required. bool
Specifies whether this object is a favorite or not.
Labels This property is required. []string
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
RegistryVersion This property is required. int
The registry version of the object.
TimeCreated This property is required. string
The date and time that the object was created.
TimeUpdated This property is required. string
The date and time that the object was updated.
UpdatedBy This property is required. string
The user that updated the object.
UpdatedByName This property is required. string
The user that updated the object.
aggregatorKey This property is required. String
The owning object key for this object.
aggregators This property is required. List<GetWorkspaceFolderMetadataAggregator>
A summary type containing information about the object's aggregator including its type, key, name and description.
countStatistics This property is required. List<GetWorkspaceFolderMetadataCountStatistic>
A count statistics.
createdBy This property is required. String
The user that created the object.
createdByName This property is required. String
The user that created the object.
identifierPath This property is required. String
The full path to identify this object.
infoFields This property is required. Map<String,String>
Information property fields.
isFavorite This property is required. Boolean
Specifies whether this object is a favorite or not.
labels This property is required. List<String>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. Integer
The registry version of the object.
timeCreated This property is required. String
The date and time that the object was created.
timeUpdated This property is required. String
The date and time that the object was updated.
updatedBy This property is required. String
The user that updated the object.
updatedByName This property is required. String
The user that updated the object.
aggregatorKey This property is required. string
The owning object key for this object.
aggregators This property is required. GetWorkspaceFolderMetadataAggregator[]
A summary type containing information about the object's aggregator including its type, key, name and description.
countStatistics This property is required. GetWorkspaceFolderMetadataCountStatistic[]
A count statistics.
createdBy This property is required. string
The user that created the object.
createdByName This property is required. string
The user that created the object.
identifierPath This property is required. string
The full path to identify this object.
infoFields This property is required. {[key: string]: string}
Information property fields.
isFavorite This property is required. boolean
Specifies whether this object is a favorite or not.
labels This property is required. string[]
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. number
The registry version of the object.
timeCreated This property is required. string
The date and time that the object was created.
timeUpdated This property is required. string
The date and time that the object was updated.
updatedBy This property is required. string
The user that updated the object.
updatedByName This property is required. string
The user that updated the object.
aggregator_key This property is required. str
The owning object key for this object.
aggregators This property is required. Sequence[dataintegration.GetWorkspaceFolderMetadataAggregator]
A summary type containing information about the object's aggregator including its type, key, name and description.
count_statistics This property is required. Sequence[dataintegration.GetWorkspaceFolderMetadataCountStatistic]
A count statistics.
created_by This property is required. str
The user that created the object.
created_by_name This property is required. str
The user that created the object.
identifier_path This property is required. str
The full path to identify this object.
info_fields This property is required. Mapping[str, str]
Information property fields.
is_favorite This property is required. bool
Specifies whether this object is a favorite or not.
labels This property is required. Sequence[str]
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registry_version This property is required. int
The registry version of the object.
time_created This property is required. str
The date and time that the object was created.
time_updated This property is required. str
The date and time that the object was updated.
updated_by This property is required. str
The user that updated the object.
updated_by_name This property is required. str
The user that updated the object.
aggregatorKey This property is required. String
The owning object key for this object.
aggregators This property is required. List<Property Map>
A summary type containing information about the object's aggregator including its type, key, name and description.
countStatistics This property is required. List<Property Map>
A count statistics.
createdBy This property is required. String
The user that created the object.
createdByName This property is required. String
The user that created the object.
identifierPath This property is required. String
The full path to identify this object.
infoFields This property is required. Map<String>
Information property fields.
isFavorite This property is required. Boolean
Specifies whether this object is a favorite or not.
labels This property is required. List<String>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. Number
The registry version of the object.
timeCreated This property is required. String
The date and time that the object was created.
timeUpdated This property is required. String
The date and time that the object was updated.
updatedBy This property is required. String
The user that updated the object.
updatedByName This property is required. String
The user that updated the object.

GetWorkspaceFolderMetadataAggregator

Description This property is required. string
The description of the aggregator.
Identifier This property is required. string
The identifier of the aggregator.
Key This property is required. string
The key of the aggregator object.
Name This property is required. string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
Type This property is required. string
The type of the aggregator.
Description This property is required. string
The description of the aggregator.
Identifier This property is required. string
The identifier of the aggregator.
Key This property is required. string
The key of the aggregator object.
Name This property is required. string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
Type This property is required. string
The type of the aggregator.
description This property is required. String
The description of the aggregator.
identifier This property is required. String
The identifier of the aggregator.
key This property is required. String
The key of the aggregator object.
name This property is required. String
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
type This property is required. String
The type of the aggregator.
description This property is required. string
The description of the aggregator.
identifier This property is required. string
The identifier of the aggregator.
key This property is required. string
The key of the aggregator object.
name This property is required. string
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
type This property is required. string
The type of the aggregator.
description This property is required. str
The description of the aggregator.
identifier This property is required. str
The identifier of the aggregator.
key This property is required. str
The key of the aggregator object.
name This property is required. str
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
type This property is required. str
The type of the aggregator.
description This property is required. String
The description of the aggregator.
identifier This property is required. String
The identifier of the aggregator.
key This property is required. String
The key of the aggregator object.
name This property is required. String
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
type This property is required. String
The type of the aggregator.

GetWorkspaceFolderMetadataCountStatistic

objectTypeCountLists This property is required. List<Property Map>
The array of statistics.

GetWorkspaceFolderMetadataCountStatisticObjectTypeCountList

ObjectCount This property is required. string
The value for the count statistic object.
ObjectType This property is required. string
The type of object for the count statistic object.
ObjectCount This property is required. string
The value for the count statistic object.
ObjectType This property is required. string
The type of object for the count statistic object.
objectCount This property is required. String
The value for the count statistic object.
objectType This property is required. String
The type of object for the count statistic object.
objectCount This property is required. string
The value for the count statistic object.
objectType This property is required. string
The type of object for the count statistic object.
object_count This property is required. str
The value for the count statistic object.
object_type This property is required. str
The type of object for the count statistic object.
objectCount This property is required. String
The value for the count statistic object.
objectType This property is required. String
The type of object for the count statistic object.

GetWorkspaceFolderParentRef

Parent This property is required. string
Key of the parent object.
RootDocId This property is required. string
Key of the root document object.
Parent This property is required. string
Key of the parent object.
RootDocId This property is required. string
Key of the root document object.
parent This property is required. String
Key of the parent object.
rootDocId This property is required. String
Key of the root document object.
parent This property is required. string
Key of the parent object.
rootDocId This property is required. string
Key of the root document object.
parent This property is required. str
Key of the parent object.
root_doc_id This property is required. str
Key of the root document object.
parent This property is required. String
Key of the parent object.
rootDocId This property is required. String
Key of the root document object.

GetWorkspaceFolderRegistryMetadata

AggregatorKey This property is required. string
The owning object key for this object.
IsFavorite This property is required. bool
Specifies whether this object is a favorite or not.
Key This property is required. string
The key of the aggregator object.
Labels This property is required. List<string>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
RegistryVersion This property is required. int
The registry version of the object.
AggregatorKey This property is required. string
The owning object key for this object.
IsFavorite This property is required. bool
Specifies whether this object is a favorite or not.
Key This property is required. string
The key of the aggregator object.
Labels This property is required. []string
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
RegistryVersion This property is required. int
The registry version of the object.
aggregatorKey This property is required. String
The owning object key for this object.
isFavorite This property is required. Boolean
Specifies whether this object is a favorite or not.
key This property is required. String
The key of the aggregator object.
labels This property is required. List<String>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. Integer
The registry version of the object.
aggregatorKey This property is required. string
The owning object key for this object.
isFavorite This property is required. boolean
Specifies whether this object is a favorite or not.
key This property is required. string
The key of the aggregator object.
labels This property is required. string[]
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. number
The registry version of the object.
aggregator_key This property is required. str
The owning object key for this object.
is_favorite This property is required. bool
Specifies whether this object is a favorite or not.
key This property is required. str
The key of the aggregator object.
labels This property is required. Sequence[str]
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registry_version This property is required. int
The registry version of the object.
aggregatorKey This property is required. String
The owning object key for this object.
isFavorite This property is required. Boolean
Specifies whether this object is a favorite or not.
key This property is required. String
The key of the aggregator object.
labels This property is required. List<String>
Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.
registryVersion This property is required. Number
The registry version of the object.

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 v2.27.0 published on Thursday, Mar 20, 2025 by Pulumi