1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataIntegration
  5. getWorkspaceProject
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

oci.DataIntegration.getWorkspaceProject

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi

    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/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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DataIntegration/getWorkspaceProject:getWorkspaceProject
      arguments:
        # arguments dictionary

    The 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, object>
    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<GetWorkspaceProjectMetadata>
    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<GetWorkspaceProjectParentRef>
    A reference to the object's parent.
    ProjectKey string
    RegistryMetadatas List<GetWorkspaceProjectRegistryMetadata>
    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]interface{}
    A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
    Metadatas []GetWorkspaceProjectMetadata
    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 []GetWorkspaceProjectParentRef
    A reference to the object's parent.
    ProjectKey string
    RegistryMetadatas []GetWorkspaceProjectRegistryMetadata
    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,Object>
    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<GetWorkspaceProjectMetadata>
    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<GetWorkspaceProjectParentRef>
    A reference to the object's parent.
    projectKey String
    registryMetadatas List<GetWorkspaceProjectRegistryMetadata>
    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]: any}
    A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
    metadatas GetWorkspaceProjectMetadata[]
    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 GetWorkspaceProjectParentRef[]
    A reference to the object's parent.
    projectKey string
    registryMetadatas GetWorkspaceProjectRegistryMetadata[]
    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, Any]
    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.GetWorkspaceProjectMetadata]
    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.GetWorkspaceProjectParentRef]
    A reference to the object's parent.
    project_key str
    registry_metadatas Sequence[dataintegration.GetWorkspaceProjectRegistryMetadata]
    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<Any>
    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<GetWorkspaceProjectMetadataAggregator>
    A summary type containing information about the object's aggregator including its type, key, name and description.
    CountStatistics List<GetWorkspaceProjectMetadataCountStatistic>
    A count statistics.
    CreatedBy string
    The user that created the object.
    CreatedByName string
    The user that created the object.
    IdentifierPath string
    The full path to identify this object.
    InfoFields Dictionary<string, object>
    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.
    UpdatedByName string
    The user that updated the object.
    AggregatorKey string
    The owning object key for this object.
    Aggregators []GetWorkspaceProjectMetadataAggregator
    A summary type containing information about the object's aggregator including its type, key, name and description.
    CountStatistics []GetWorkspaceProjectMetadataCountStatistic
    A count statistics.
    CreatedBy string
    The user that created the object.
    CreatedByName string
    The user that created the object.
    IdentifierPath string
    The full path to identify this object.
    InfoFields map[string]interface{}
    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.
    UpdatedByName string
    The user that updated the object.
    aggregatorKey String
    The owning object key for this object.
    aggregators List<GetWorkspaceProjectMetadataAggregator>
    A summary type containing information about the object's aggregator including its type, key, name and description.
    countStatistics List<GetWorkspaceProjectMetadataCountStatistic>
    A count statistics.
    createdBy String
    The user that created the object.
    createdByName String
    The user that created the object.
    identifierPath String
    The full path to identify this object.
    infoFields Map<String,Object>
    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.
    updatedByName String
    The user that updated the object.
    aggregatorKey string
    The owning object key for this object.
    aggregators GetWorkspaceProjectMetadataAggregator[]
    A summary type containing information about the object's aggregator including its type, key, name and description.
    countStatistics GetWorkspaceProjectMetadataCountStatistic[]
    A count statistics.
    createdBy string
    The user that created the object.
    createdByName string
    The user that created the object.
    identifierPath string
    The full path to identify this object.
    infoFields {[key: string]: any}
    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.
    updatedByName string
    The user that updated the object.
    aggregator_key str
    The owning object key for this object.
    aggregators Sequence[dataintegration.GetWorkspaceProjectMetadataAggregator]
    A summary type containing information about the object's aggregator including its type, key, name and description.
    count_statistics Sequence[dataintegration.GetWorkspaceProjectMetadataCountStatistic]
    A count statistics.
    created_by str
    The user that created the object.
    created_by_name str
    The user that created the object.
    identifier_path str
    The full path to identify this object.
    info_fields Mapping[str, Any]
    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_name str
    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.
    createdByName String
    The user that created the object.
    identifierPath String
    The full path to identify this object.
    infoFields Map<Any>
    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.
    updatedByName String
    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

    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 string
    Key of the parent object.
    RootDocId string
    Key of the root document object.
    Parent string
    Key of the parent object.
    RootDocId string
    Key of the root document object.
    parent String
    Key of the parent object.
    rootDocId String
    Key of the root document object.
    parent string
    Key of the parent object.
    rootDocId string
    Key of the root document object.
    parent str
    Key of the parent object.
    root_doc_id str
    Key of the root document object.
    parent String
    Key of the parent object.
    rootDocId String
    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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.33.0 published on Thursday, Apr 25, 2024 by Pulumi