Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.DataIntegration.getWorkspaceProject
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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:
- Project
Key string - The project key.
- Workspace
Id string - The workspace ID.
- Project
Key string - The project key.
- Workspace
Id string - The workspace ID.
- project
Key String - The project key.
- workspace
Id String - The workspace ID.
- project
Key string - The project key.
- workspace
Id string - The workspace ID.
- project_
key str - The project key.
- workspace_
id str - The workspace ID.
- project
Key String - The project key.
- workspace
Id 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.
- Key
Map 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<Get
Workspace Project 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 Project Parent Ref> - A reference to the object's parent.
- Project
Key string - Registry
Metadatas List<GetWorkspace Project Registry Metadata> - Workspace
Id 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.
- Key
Map 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
[]Get
Workspace Project 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 Project Parent Ref - A reference to the object's parent.
- Project
Key string - Registry
Metadatas []GetWorkspace Project Registry Metadata - Workspace
Id 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.
- key
Map 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<Get
Workspace Project 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 Project Parent Ref> - A reference to the object's parent.
- project
Key String - registry
Metadatas List<GetWorkspace Project Registry Metadata> - workspace
Id 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.
- key
Map {[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
Get
Workspace Project 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 Project Parent Ref[] - A reference to the object's parent.
- project
Key string - registry
Metadatas GetWorkspace Project Registry Metadata[] - workspace
Id 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.
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.
- key
Map 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.
- 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.
- project
Key String - registry
Metadatas List<Property Map> - workspace
Id String
Supporting Types
GetWorkspaceProjectMetadata
- Aggregator
Key string - The owning object key for this object.
- Aggregators
List<Get
Workspace Project Metadata Aggregator> - A summary type containing information about the object's aggregator including its type, key, name and description.
- Count
Statistics List<GetWorkspace Project 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, object> - 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 Project Metadata Aggregator - A summary type containing information about the object's aggregator including its type, key, name and description.
- Count
Statistics []GetWorkspace Project 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]interface{} - 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 Project Metadata Aggregator> - A summary type containing information about the object's aggregator including its type, key, name and description.
- count
Statistics List<GetWorkspace Project 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,Object> - 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 Project Metadata Aggregator[] - A summary type containing information about the object's aggregator including its type, key, name and description.
- count
Statistics GetWorkspace Project 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]: any} - 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 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, 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_ 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<Any> - 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.
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
- Object
Type List<GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List> - The array of statistics.
- Object
Type []GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List - The array of statistics.
- object
Type List<GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List> - The array of statistics.
- object
Type GetCount Lists Workspace Project Metadata Count Statistic Object Type Count List[] - The array of statistics.
- object
Type List<Property Map>Count Lists - The array of statistics.
GetWorkspaceProjectMetadataCountStatisticObjectTypeCountList
- 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.
GetWorkspaceProjectParentRef
- parent str
- Key of the parent object.
- root_
doc_ strid - Key of the root document object.
GetWorkspaceProjectRegistryMetadata
- 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi