Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataIntegration.getWorkspaceFolder
Explore with Pulumi AI
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,
});
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"])
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
	})
}
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,
    });
});
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());
    }
}
variables:
  testWorkspaceFolder:
    fn::invoke:
      function: oci:DataIntegration:getWorkspaceFolder
      arguments:
        folderKey: ${workspaceFolderFolderKey}
        workspaceId: ${testWorkspace.id}
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>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]func GetWorkspaceFolder(ctx *Context, args *GetWorkspaceFolderArgs, opts ...InvokeOption) (*GetWorkspaceFolderResult, error)
func GetWorkspaceFolderOutput(ctx *Context, args *GetWorkspaceFolderOutputArgs, opts ...InvokeOption) GetWorkspaceFolderResultOutput> 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)
}public static CompletableFuture<GetWorkspaceFolderResult> getWorkspaceFolder(GetWorkspaceFolderArgs args, InvokeOptions options)
public static Output<GetWorkspaceFolderResult> getWorkspaceFolder(GetWorkspaceFolderArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataIntegration/getWorkspaceFolder:getWorkspaceFolder
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Folder
Key string - The folder key.
 - Workspace
Id string - The workspace ID.
 
- Folder
Key string - The folder key.
 - Workspace
Id string - The workspace ID.
 
- folder
Key String - The folder key.
 - workspace
Id String - The workspace ID.
 
- folder
Key string - The folder key.
 - workspace
Id string - The workspace ID.
 
- folder_
key str - The folder key.
 - workspace_
id str - The workspace ID.
 
- folder
Key String - The folder key.
 - workspace
Id String - The workspace ID.
 
getWorkspaceFolder Result
The following output properties are available:
- Category
Name string - The category name.
 - Description string
 - The description of the aggregator.
 - Folder
Key string - Id string
 - Identifier string
 - The identifier of the aggregator.
 - Key string
 - The key of the aggregator object.
 - Key
Map 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<Get
Workspace Folder Metadata>  - A summary type containing information about the object including its key, name and when/who created/updated it.
 - Model
Type string - The type of the object.
 - Model
Version 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.
 - 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 List<GetWorkspace Folder Parent Ref>  - A reference to the object's parent.
 - Registry
Metadatas List<GetWorkspace Folder Registry Metadata>  - Workspace
Id string 
- Category
Name string - The category name.
 - Description string
 - The description of the aggregator.
 - Folder
Key string - Id string
 - Identifier string
 - The identifier of the aggregator.
 - Key string
 - The key of the aggregator object.
 - Key
Map 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
[]Get
Workspace Folder Metadata  - A summary type containing information about the object including its key, name and when/who created/updated it.
 - Model
Type string - The type of the object.
 - Model
Version 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.
 - 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 []GetWorkspace Folder Parent Ref  - A reference to the object's parent.
 - Registry
Metadatas []GetWorkspace Folder Registry Metadata  - Workspace
Id string 
- category
Name String - The category name.
 - description String
 - The description of the aggregator.
 - folder
Key String - id String
 - identifier String
 - The identifier of the aggregator.
 - key String
 - The key of the aggregator object.
 - key
Map 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<Get
Workspace Folder Metadata>  - A summary type containing information about the object including its key, name and when/who created/updated it.
 - model
Type String - The type of the object.
 - model
Version 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.
 - object
Status Integer - The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
 - object
Version Integer - The version of the object that is used to track changes in the object instance.
 - parent
Reves List<GetWorkspace Folder Parent Ref>  - A reference to the object's parent.
 - registry
Metadatas List<GetWorkspace Folder Registry Metadata>  - workspace
Id String 
- category
Name string - The category name.
 - description string
 - The description of the aggregator.
 - folder
Key string - id string
 - identifier string
 - The identifier of the aggregator.
 - key string
 - The key of the aggregator object.
 - key
Map {[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
Get
Workspace Folder Metadata[]  - A summary type containing information about the object including its key, name and when/who created/updated it.
 - model
Type string - The type of the object.
 - model
Version 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.
 - object
Status number - The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
 - object
Version number - The version of the object that is used to track changes in the object instance.
 - parent
Reves GetWorkspace Folder Parent Ref[]  - A reference to the object's parent.
 - registry
Metadatas GetWorkspace Folder Registry Metadata[]  - workspace
Id 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.
Get Workspace Folder Metadata]  - 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.Get Workspace Folder Parent Ref]  - A reference to the object's parent.
 - registry_
metadatas Sequence[dataintegration.Get Workspace Folder Registry Metadata]  - workspace_
id str 
- category
Name String - The category name.
 - description String
 - The description of the aggregator.
 - folder
Key String - id String
 - identifier String
 - The identifier of the aggregator.
 - key String
 - The key of the aggregator object.
 - key
Map 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.
 - model
Type String - The type of the object.
 - model
Version 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.
 - object
Status Number - The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
 - object
Version Number - The version of the object that is used to track changes in the object instance.
 - parent
Reves List<Property Map> - A reference to the object's parent.
 - registry
Metadatas List<Property Map> - workspace
Id String 
Supporting Types
GetWorkspaceFolderMetadata   
- Aggregator
Key string - The owning object key for this object.
 - Aggregators
List<Get
Workspace Folder Metadata Aggregator>  - A summary type containing information about the object's aggregator including its type, key, name and description.
 - Count
Statistics List<GetWorkspace Folder Metadata Count Statistic>  - A count statistics.
 - Created
By string - The user that created the object.
 - Created
By stringName  - The user that created the object.
 - Identifier
Path string - The full path to identify this object.
 - Info
Fields Dictionary<string, string> - Information property fields.
 - Is
Favorite bool - Specifies whether this object is a favorite or not.
 - Labels 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.
 - Registry
Version int - The registry version of the object.
 - Time
Created string - The date and time that the object was created.
 - Time
Updated string - The date and time that the object was updated.
 - Updated
By string - The user that updated the object.
 - Updated
By stringName  - The user that updated the object.
 
- Aggregator
Key string - The owning object key for this object.
 - Aggregators
[]Get
Workspace Folder Metadata Aggregator  - A summary type containing information about the object's aggregator including its type, key, name and description.
 - Count
Statistics []GetWorkspace Folder Metadata Count Statistic  - A count statistics.
 - Created
By string - The user that created the object.
 - Created
By stringName  - The user that created the object.
 - Identifier
Path string - The full path to identify this object.
 - Info
Fields map[string]string - Information property fields.
 - Is
Favorite bool - Specifies whether this object is a favorite or not.
 - Labels []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.
 - Registry
Version int - The registry version of the object.
 - Time
Created string - The date and time that the object was created.
 - Time
Updated string - The date and time that the object was updated.
 - Updated
By string - The user that updated the object.
 - Updated
By stringName  - The user that updated the object.
 
- aggregator
Key String - The owning object key for this object.
 - aggregators
List<Get
Workspace Folder Metadata Aggregator>  - A summary type containing information about the object's aggregator including its type, key, name and description.
 - count
Statistics List<GetWorkspace Folder Metadata Count Statistic>  - A count statistics.
 - created
By String - The user that created the object.
 - created
By StringName  - The user that created the object.
 - identifier
Path String - The full path to identify this object.
 - info
Fields Map<String,String> - Information property fields.
 - is
Favorite Boolean - Specifies whether this object is a favorite or not.
 - labels 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.
 - registry
Version Integer - The registry version of the object.
 - time
Created String - The date and time that the object was created.
 - time
Updated String - The date and time that the object was updated.
 - updated
By String - The user that updated the object.
 - updated
By StringName  - The user that updated the object.
 
- aggregator
Key string - The owning object key for this object.
 - aggregators
Get
Workspace Folder Metadata Aggregator[]  - A summary type containing information about the object's aggregator including its type, key, name and description.
 - count
Statistics GetWorkspace Folder Metadata Count Statistic[]  - A count statistics.
 - created
By string - The user that created the object.
 - created
By stringName  - The user that created the object.
 - identifier
Path string - The full path to identify this object.
 - info
Fields {[key: string]: string} - Information property fields.
 - is
Favorite boolean - Specifies whether this object is a favorite or not.
 - labels 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.
 - registry
Version number - The registry version of the object.
 - time
Created string - The date and time that the object was created.
 - time
Updated string - The date and time that the object was updated.
 - updated
By string - The user that updated the object.
 - updated
By stringName  - The user that updated the object.
 
- aggregator_
key str - The owning object key for this object.
 - aggregators
Sequence[dataintegration.
Get Workspace Folder Metadata Aggregator]  - A summary type containing information about the object's aggregator including its type, key, name and description.
 - count_
statistics Sequence[dataintegration.Get Workspace Folder Metadata Count Statistic]  - A count statistics.
 - created_
by str - The user that created the object.
 - created_
by_ strname  - The user that created the object.
 - identifier_
path str - The full path to identify this object.
 - info_
fields Mapping[str, str] - Information property fields.
 - is_
favorite bool - Specifies whether this object is a favorite or not.
 - labels 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 int - The registry version of the object.
 - time_
created str - The date and time that the object was created.
 - time_
updated str - The date and time that the object was updated.
 - updated_
by str - The user that updated the object.
 - updated_
by_ strname  - The user that updated the object.
 
- aggregator
Key String - The owning object key for this object.
 - aggregators List<Property Map>
 - A summary type containing information about the object's aggregator including its type, key, name and description.
 - count
Statistics List<Property Map> - A count statistics.
 - created
By String - The user that created the object.
 - created
By StringName  - The user that created the object.
 - identifier
Path String - The full path to identify this object.
 - info
Fields Map<String> - Information property fields.
 - is
Favorite Boolean - Specifies whether this object is a favorite or not.
 - labels 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.
 - registry
Version Number - The registry version of the object.
 - time
Created String - The date and time that the object was created.
 - time
Updated String - The date and time that the object was updated.
 - updated
By String - The user that updated the object.
 - updated
By StringName  - The user that updated the object.
 
GetWorkspaceFolderMetadataAggregator    
- Description string
 - The description of the aggregator.
 - Identifier string
 - The identifier of the aggregator.
 - Key string
 - The key of the aggregator 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.
 - Type string
 - The type of the aggregator.
 
- Description string
 - The description of the aggregator.
 - Identifier string
 - The identifier of the aggregator.
 - Key string
 - The key of the aggregator 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.
 - Type string
 - The type of the aggregator.
 
- description String
 - The description of the aggregator.
 - identifier String
 - The identifier of the aggregator.
 - key String
 - The key of the aggregator 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.
 - type String
 - The type of the aggregator.
 
- description string
 - The description of the aggregator.
 - identifier string
 - The identifier of the aggregator.
 - key string
 - The key of the aggregator 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.
 - type string
 - The type of the aggregator.
 
- description str
 - The description of the aggregator.
 - identifier str
 - The identifier of the aggregator.
 - key str
 - The key of the aggregator 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.
 - type str
 - The type of the aggregator.
 
- description String
 - The description of the aggregator.
 - identifier String
 - The identifier of the aggregator.
 - key String
 - The key of the aggregator 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.
 - type String
 - The type of the aggregator.
 
GetWorkspaceFolderMetadataCountStatistic     
- Object
Type List<GetCount Lists Workspace Folder Metadata Count Statistic Object Type Count List>  - The array of statistics.
 
- Object
Type []GetCount Lists Workspace Folder Metadata Count Statistic Object Type Count List  - The array of statistics.
 
- object
Type List<GetCount Lists Workspace Folder Metadata Count Statistic Object Type Count List>  - The array of statistics.
 
- object
Type GetCount Lists Workspace Folder Metadata Count Statistic Object Type Count List[]  - The array of statistics.
 
- object
Type List<Property Map>Count Lists  - The array of statistics.
 
GetWorkspaceFolderMetadataCountStatisticObjectTypeCountList         
- Object
Count string - The value for the count statistic object.
 - Object
Type string - The type of object for the count statistic object.
 
- Object
Count string - The value for the count statistic object.
 - Object
Type string - The type of object for the count statistic object.
 
- object
Count String - The value for the count statistic object.
 - object
Type String - The type of object for the count statistic object.
 
- object
Count string - The value for the count statistic object.
 - object
Type string - The type of object for the count statistic object.
 
- object_
count str - The value for the count statistic object.
 - object_
type str - The type of object for the count statistic object.
 
- object
Count String - The value for the count statistic object.
 - object
Type String - The type of object for the count statistic object.
 
GetWorkspaceFolderParentRef    
- parent str
 - Key of the parent object.
 - root_
doc_ strid  - Key of the root document object.
 
GetWorkspaceFolderRegistryMetadata    
- Aggregator
Key string - The owning object key for this object.
 - Is
Favorite bool - Specifies whether this object is a favorite or not.
 - Key string
 - The key of the aggregator object.
 - Labels 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.
 - Registry
Version int - The registry version of the object.
 
- Aggregator
Key string - The owning object key for this object.
 - Is
Favorite bool - Specifies whether this object is a favorite or not.
 - Key string
 - The key of the aggregator object.
 - Labels []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.
 - Registry
Version int - The registry version of the object.
 
- aggregator
Key String - The owning object key for this object.
 - is
Favorite Boolean - Specifies whether this object is a favorite or not.
 - key String
 - The key of the aggregator object.
 - labels 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.
 - registry
Version Integer - The registry version of the object.
 
- aggregator
Key string - The owning object key for this object.
 - is
Favorite boolean - Specifies whether this object is a favorite or not.
 - key string
 - The key of the aggregator object.
 - labels 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.
 - registry
Version number - The registry version of the object.
 
- aggregator_
key str - The owning object key for this object.
 - is_
favorite bool - Specifies whether this object is a favorite or not.
 - key str
 - The key of the aggregator object.
 - labels 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 int - The registry version of the object.
 
- aggregator
Key String - The owning object key for this object.
 - is
Favorite Boolean - Specifies whether this object is a favorite or not.
 - key String
 - The key of the aggregator object.
 - labels 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.
 - registry
Version 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 
ociTerraform Provider.