import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Workspace Project resource in Oracle Cloud Infrastructure Data Integration service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/WorkspaceProject * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration * * Creates a project. Projects are organizational constructs within a workspace that you use to organize your design-time resources, such as tasks or data flows. Projects can be organized into folders. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspaceProject = new oci.dataintegration.WorkspaceProject("test_workspace_project", { * identifier: workspaceProjectIdentifier, * name: workspaceProjectName, * workspaceId: testWorkspace.id, * description: workspaceProjectDescription, * key: workspaceProjectKey, * modelVersion: workspaceProjectModelVersion, * objectStatus: Number(workspaceProjectObjectStatus), * registryMetadata: { * aggregatorKey: workspaceProjectRegistryMetadataAggregatorKey, * isFavorite: workspaceProjectRegistryMetadataIsFavorite === "true", * key: workspaceProjectRegistryMetadataKey, * labels: workspaceProjectRegistryMetadataLabels, * registryVersion: Number(workspaceProjectRegistryMetadataRegistryVersion), * }, * }); * ``` * * ## Import * * WorkspaceProjects can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataIntegration/workspaceProject:WorkspaceProject test_workspace_project "workspaces/{workspaceId}/projects/{projectKey}" * ``` */ export declare class WorkspaceProject extends pulumi.CustomResource { /** * Get an existing WorkspaceProject resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: WorkspaceProjectState, opts?: pulumi.CustomResourceOptions): WorkspaceProject; /** * Returns true if the given object is an instance of WorkspaceProject. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is WorkspaceProject; /** * (Updatable) A user defined description for the project. */ readonly description: pulumi.Output; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ readonly identifier: pulumi.Output; /** * (Updatable) Generated key that can be used in API calls to identify project. */ readonly key: pulumi.Output; /** * A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key. */ readonly keyMap: pulumi.Output<{ [key: string]: string; }>; /** * A summary type containing information about the object including its key, name and when/who created/updated it. */ readonly metadatas: pulumi.Output; /** * The type of the object. */ readonly modelType: pulumi.Output; /** * (Updatable) The model version of an object. */ readonly modelVersion: pulumi.Output; /** * (Updatable) 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. */ readonly name: pulumi.Output; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ readonly objectStatus: pulumi.Output; /** * The version of the object that is used to track changes in the object instance. */ readonly objectVersion: pulumi.Output; /** * A reference to the object's parent. */ readonly parentReves: pulumi.Output; readonly projectKey: pulumi.Output; /** * (Updatable) Information about the object and its parent. */ readonly registryMetadata: pulumi.Output; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly workspaceId: pulumi.Output; /** * Create a WorkspaceProject resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: WorkspaceProjectArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkspaceProject resources. */ export interface WorkspaceProjectState { /** * (Updatable) A user defined description for the project. */ description?: pulumi.Input; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ identifier?: pulumi.Input; /** * (Updatable) Generated key that can be used in API calls to identify project. */ key?: pulumi.Input; /** * A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key. */ keyMap?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A summary type containing information about the object including its key, name and when/who created/updated it. */ metadatas?: pulumi.Input[] | undefined>; /** * The type of the object. */ modelType?: pulumi.Input; /** * (Updatable) The model version of an object. */ modelVersion?: pulumi.Input; /** * (Updatable) 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. */ name?: pulumi.Input; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ objectStatus?: pulumi.Input; /** * The version of the object that is used to track changes in the object instance. */ objectVersion?: pulumi.Input; /** * A reference to the object's parent. */ parentReves?: pulumi.Input[] | undefined>; projectKey?: pulumi.Input; /** * (Updatable) Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workspaceId?: pulumi.Input; } /** * The set of arguments for constructing a WorkspaceProject resource. */ export interface WorkspaceProjectArgs { /** * (Updatable) A user defined description for the project. */ description?: pulumi.Input; /** * (Updatable) Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. */ identifier: pulumi.Input; /** * (Updatable) Generated key that can be used in API calls to identify project. */ key?: pulumi.Input; /** * (Updatable) The model version of an object. */ modelVersion?: pulumi.Input; /** * (Updatable) 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. */ name?: pulumi.Input; /** * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ objectStatus?: pulumi.Input; projectKey?: pulumi.Input; /** * (Updatable) Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * The workspace ID. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ workspaceId: pulumi.Input; } //# sourceMappingURL=workspaceProject.d.ts.map