Oracle Cloud Infrastructure v2.31.0 published on Thursday, Apr 17, 2025 by Pulumi
oci.DataIntegration.getWorkspaceProject
Explore with Pulumi AI
This data source provides details about a specific Workspace Project resource in Oracle Cloud Infrastructure Data Integration service.
Retrieves a project using the specified identifier.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testWorkspaceProject = oci.DataIntegration.getWorkspaceProject({
    projectKey: workspaceProjectProjectKey,
    workspaceId: testWorkspace.id,
});
import pulumi
import pulumi_oci as oci
test_workspace_project = oci.DataIntegration.get_workspace_project(project_key=workspace_project_project_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.GetWorkspaceProject(ctx, &dataintegration.GetWorkspaceProjectArgs{
			ProjectKey:  workspaceProjectProjectKey,
			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 testWorkspaceProject = Oci.DataIntegration.GetWorkspaceProject.Invoke(new()
    {
        ProjectKey = workspaceProjectProjectKey,
        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.GetWorkspaceProjectArgs;
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 testWorkspaceProject = DataIntegrationFunctions.getWorkspaceProject(GetWorkspaceProjectArgs.builder()
            .projectKey(workspaceProjectProjectKey)
            .workspaceId(testWorkspace.id())
            .build());
    }
}
variables:
  testWorkspaceProject:
    fn::invoke:
      function: oci:DataIntegration:getWorkspaceProject
      arguments:
        projectKey: ${workspaceProjectProjectKey}
        workspaceId: ${testWorkspace.id}
Using getWorkspaceProject
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 getWorkspaceProject(args: GetWorkspaceProjectArgs, opts?: InvokeOptions): Promise<GetWorkspaceProjectResult>
function getWorkspaceProjectOutput(args: GetWorkspaceProjectOutputArgs, opts?: InvokeOptions): Output<GetWorkspaceProjectResult>def get_workspace_project(project_key: Optional[str] = None,
                          workspace_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetWorkspaceProjectResult
def get_workspace_project_output(project_key: Optional[pulumi.Input[str]] = None,
                          workspace_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetWorkspaceProjectResult]func GetWorkspaceProject(ctx *Context, args *GetWorkspaceProjectArgs, opts ...InvokeOption) (*GetWorkspaceProjectResult, error)
func GetWorkspaceProjectOutput(ctx *Context, args *GetWorkspaceProjectOutputArgs, opts ...InvokeOption) GetWorkspaceProjectResultOutput> Note: This function is named GetWorkspaceProject in the Go SDK.
public static class GetWorkspaceProject 
{
    public static Task<GetWorkspaceProjectResult> InvokeAsync(GetWorkspaceProjectArgs args, InvokeOptions? opts = null)
    public static Output<GetWorkspaceProjectResult> Invoke(GetWorkspaceProjectInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWorkspaceProjectResult> getWorkspaceProject(GetWorkspaceProjectArgs args, InvokeOptions options)
public static Output<GetWorkspaceProjectResult> getWorkspaceProject(GetWorkspaceProjectArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DataIntegration/getWorkspaceProject:getWorkspaceProject
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProjectKey string
- The project key.
- WorkspaceId string
- The workspace ID.
- ProjectKey string
- The project key.
- WorkspaceId string
- The workspace ID.
- projectKey String
- The project key.
- workspaceId String
- The workspace ID.
- projectKey string
- The project key.
- workspaceId string
- The workspace ID.
- project_key str
- The project key.
- workspace_id str
- The workspace ID.
- projectKey String
- The project key.
- workspaceId String
- The workspace ID.
getWorkspaceProject Result
The following output properties are available:
- Description string
- The description of the aggregator.
- 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<GetWorkspace Project Metadata> 
- 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<GetWorkspace Project Parent Ref> 
- A reference to the object's parent.
- ProjectKey string
- RegistryMetadatas List<GetWorkspace Project Registry Metadata> 
- WorkspaceId string
- Description string
- The description of the aggregator.
- 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
[]GetWorkspace Project Metadata 
- 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 []GetWorkspace Project Parent Ref 
- A reference to the object's parent.
- ProjectKey string
- RegistryMetadatas []GetWorkspace Project Registry Metadata 
- WorkspaceId string
- description String
- The description of the aggregator.
- 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<GetWorkspace Project Metadata> 
- 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<GetWorkspace Project Parent Ref> 
- A reference to the object's parent.
- projectKey String
- registryMetadatas List<GetWorkspace Project Registry Metadata> 
- workspaceId String
- description string
- The description of the aggregator.
- 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
GetWorkspace Project Metadata[] 
- 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 GetWorkspace Project Parent Ref[] 
- A reference to the object's parent.
- projectKey string
- registryMetadatas GetWorkspace Project Registry Metadata[] 
- workspaceId string
- description str
- The description of the aggregator.
- 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 Project 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 Project Parent Ref] 
- A reference to the object's parent.
- project_key str
- registry_metadatas Sequence[dataintegration.Get Workspace Project Registry Metadata] 
- workspace_id str
- description String
- The description of the aggregator.
- 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.
- projectKey String
- registryMetadatas List<Property Map>
- workspaceId String
Supporting Types
GetWorkspaceProjectMetadata   
- AggregatorKey string
- The owning object key for this object.
- Aggregators
List<GetWorkspace Project Metadata Aggregator> 
- A summary type containing information about the object's aggregator including its type, key, name and description.
- CountStatistics List<GetWorkspace Project Metadata Count Statistic> 
- A count statistics.
- CreatedBy string
- The user that created the object.
- CreatedBy stringName 
- The user that created the object.
- IdentifierPath string
- The full path to identify this object.
- InfoFields Dictionary<string, string>
- Information property fields.
- IsFavorite 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.
- RegistryVersion int
- The registry version of the object.
- TimeCreated string
- The date and time that the object was created.
- TimeUpdated string
- The date and time that the object was updated.
- UpdatedBy string
- The user that updated the object.
- UpdatedBy stringName 
- The user that updated the object.
- AggregatorKey string
- The owning object key for this object.
- Aggregators
[]GetWorkspace Project Metadata Aggregator 
- A summary type containing information about the object's aggregator including its type, key, name and description.
- CountStatistics []GetWorkspace Project Metadata Count Statistic 
- A count statistics.
- CreatedBy string
- The user that created the object.
- CreatedBy stringName 
- The user that created the object.
- IdentifierPath string
- The full path to identify this object.
- InfoFields map[string]string
- Information property fields.
- IsFavorite 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.
- RegistryVersion int
- The registry version of the object.
- TimeCreated string
- The date and time that the object was created.
- TimeUpdated string
- The date and time that the object was updated.
- UpdatedBy string
- The user that updated the object.
- UpdatedBy stringName 
- The user that updated the object.
- aggregatorKey String
- The owning object key for this object.
- aggregators
List<GetWorkspace Project Metadata Aggregator> 
- A summary type containing information about the object's aggregator including its type, key, name and description.
- countStatistics List<GetWorkspace Project Metadata Count Statistic> 
- A count statistics.
- createdBy String
- The user that created the object.
- createdBy StringName 
- The user that created the object.
- identifierPath String
- The full path to identify this object.
- infoFields Map<String,String>
- Information property fields.
- isFavorite 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.
- registryVersion Integer
- The registry version of the object.
- timeCreated String
- The date and time that the object was created.
- timeUpdated String
- The date and time that the object was updated.
- updatedBy String
- The user that updated the object.
- updatedBy StringName 
- The user that updated the object.
- aggregatorKey string
- The owning object key for this object.
- aggregators
GetWorkspace Project Metadata Aggregator[] 
- A summary type containing information about the object's aggregator including its type, key, name and description.
- countStatistics GetWorkspace Project Metadata Count Statistic[] 
- A count statistics.
- createdBy string
- The user that created the object.
- createdBy stringName 
- The user that created the object.
- identifierPath string
- The full path to identify this object.
- infoFields {[key: string]: string}
- Information property fields.
- isFavorite 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.
- registryVersion number
- The registry version of the object.
- timeCreated string
- The date and time that the object was created.
- timeUpdated string
- The date and time that the object was updated.
- updatedBy string
- The user that updated the object.
- updatedBy stringName 
- The user that updated the object.
- aggregator_key str
- The owning object key for this object.
- aggregators
Sequence[dataintegration.Get Workspace Project 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 Project 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.
- aggregatorKey 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.
- countStatistics List<Property Map>
- A count statistics.
- createdBy String
- The user that created the object.
- createdBy StringName 
- The user that created the object.
- identifierPath String
- The full path to identify this object.
- infoFields Map<String>
- Information property fields.
- isFavorite 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.
- registryVersion Number
- The registry version of the object.
- timeCreated String
- The date and time that the object was created.
- timeUpdated String
- The date and time that the object was updated.
- updatedBy String
- The user that updated the object.
- updatedBy StringName 
- The user that updated the object.
GetWorkspaceProjectMetadataAggregator    
- 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.
GetWorkspaceProjectMetadataCountStatistic     
- ObjectType List<GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List> 
- The array of statistics.
- ObjectType []GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List 
- The array of statistics.
- objectType List<GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List> 
- The array of statistics.
- objectType GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List[] 
- The array of statistics.
- objectType List<Property Map>Count Lists 
- The array of statistics.
GetWorkspaceProjectMetadataCountStatisticObjectTypeCountList         
- ObjectCount string
- The value for the count statistic object.
- ObjectType string
- The type of object for the count statistic object.
- ObjectCount string
- The value for the count statistic object.
- ObjectType string
- The type of object for the count statistic object.
- objectCount String
- The value for the count statistic object.
- objectType String
- The type of object for the count statistic object.
- objectCount string
- The value for the count statistic object.
- objectType 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.
- objectCount String
- The value for the count statistic object.
- objectType String
- The type of object for the count statistic object.
GetWorkspaceProjectParentRef    
- parent str
- Key of the parent object.
- root_doc_ strid 
- Key of the root document object.
GetWorkspaceProjectRegistryMetadata    
- AggregatorKey string
- The owning object key for this object.
- IsFavorite 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.
- RegistryVersion int
- The registry version of the object.
- AggregatorKey string
- The owning object key for this object.
- IsFavorite 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.
- RegistryVersion int
- The registry version of the object.
- aggregatorKey String
- The owning object key for this object.
- isFavorite 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.
- registryVersion Integer
- The registry version of the object.
- aggregatorKey string
- The owning object key for this object.
- isFavorite 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.
- registryVersion 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.
- aggregatorKey String
- The owning object key for this object.
- isFavorite 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.
- registryVersion 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.