import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Workspace Application resource in Oracle Cloud Infrastructure Data Integration service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/WorkspaceApplication * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration * * Creates an application. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testWorkspaceApplication = new oci.dataintegration.WorkspaceApplication("test_workspace_application", { * identifier: workspaceApplicationIdentifier, * name: workspaceApplicationName, * workspaceId: testWorkspace.id, * modelType: workspaceApplicationModelType, * definedTags: { * "foo-namespace.bar-key": "value", * }, * description: workspaceApplicationDescription, * displayName: workspaceApplicationDisplayName, * freeformTags: { * "bar-key": "value", * }, * key: workspaceApplicationKey, * modelVersion: workspaceApplicationModelVersion, * objectStatus: Number(workspaceApplicationObjectStatus), * registryMetadata: { * aggregatorKey: workspaceApplicationRegistryMetadataAggregatorKey, * isFavorite: workspaceApplicationRegistryMetadataIsFavorite === "true", * key: workspaceApplicationRegistryMetadataKey, * labels: workspaceApplicationRegistryMetadataLabels, * registryVersion: Number(workspaceApplicationRegistryMetadataRegistryVersion), * }, * sourceApplicationInfo: { * applicationKey: workspaceApplicationSourceApplicationInfoApplicationKey, * copyType: workspaceApplicationSourceApplicationInfoCopyType, * workspaceId: testWorkspace.id, * }, * state: workspaceApplicationState, * }); * ``` * * ## Import * * WorkspaceApplications can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataIntegration/workspaceApplication:WorkspaceApplication test_workspace_application "workspaces/{workspaceId}/applications/{applicationKey}" * ``` */ export declare class WorkspaceApplication extends pulumi.CustomResource { /** * Get an existing WorkspaceApplication 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?: WorkspaceApplicationState, opts?: pulumi.CustomResourceOptions): WorkspaceApplication; /** * Returns true if the given object is an instance of WorkspaceApplication. 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 WorkspaceApplication; /** * The source application version of the application. */ readonly applicationVersion: pulumi.Output; /** * OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * A list of dependent objects in this patch. */ readonly dependentObjectMetadatas: pulumi.Output; /** * (Updatable) Detailed description for the object. */ readonly description: 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 displayName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * (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) Currently not used on application creation. Reserved for future. */ readonly key: pulumi.Output; /** * A key map. If provided, 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; /** * (Updatable) The type of the application. */ readonly modelType: pulumi.Output; /** * (Updatable) The object's model version. */ 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 object version. */ readonly objectVersion: pulumi.Output; /** * A reference to the object's parent. */ readonly parentReves: pulumi.Output; /** * A list of objects that are published or unpublished in this patch. */ readonly publishedObjectMetadatas: pulumi.Output; /** * Information about the object and its parent. */ readonly registryMetadata: pulumi.Output; /** * The information about the application. */ readonly sourceApplicationInfo: pulumi.Output; /** * (Updatable) The current state of the workspace. */ readonly state: pulumi.Output; /** * The date and time the application was created, in the timestamp format defined by RFC3339. */ readonly timeCreated: pulumi.Output; /** * The date and time the application was patched, in the timestamp format defined by RFC3339. */ readonly timePatched: pulumi.Output; /** * The date and time the application was updated, in the timestamp format defined by RFC3339. example: 2019-08-25T21:10:29.41Z */ readonly timeUpdated: 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 WorkspaceApplication 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: WorkspaceApplicationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WorkspaceApplication resources. */ export interface WorkspaceApplicationState { /** * The source application version of the application. */ applicationVersion?: pulumi.Input; /** * OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A list of dependent objects in this patch. */ dependentObjectMetadatas?: pulumi.Input[] | undefined>; /** * (Updatable) Detailed description for the object. */ description?: 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. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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) Currently not used on application creation. Reserved for future. */ key?: pulumi.Input; /** * A key map. If provided, 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>; /** * (Updatable) The type of the application. */ modelType?: pulumi.Input; /** * (Updatable) The object's model version. */ 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 object version. */ objectVersion?: pulumi.Input; /** * A reference to the object's parent. */ parentReves?: pulumi.Input[] | undefined>; /** * A list of objects that are published or unpublished in this patch. */ publishedObjectMetadatas?: pulumi.Input[] | undefined>; /** * Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * The information about the application. */ sourceApplicationInfo?: pulumi.Input; /** * (Updatable) The current state of the workspace. */ state?: pulumi.Input; /** * The date and time the application was created, in the timestamp format defined by RFC3339. */ timeCreated?: pulumi.Input; /** * The date and time the application was patched, in the timestamp format defined by RFC3339. */ timePatched?: pulumi.Input; /** * The date and time the application was updated, in the timestamp format defined by RFC3339. example: 2019-08-25T21:10:29.41Z */ timeUpdated?: 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 WorkspaceApplication resource. */ export interface WorkspaceApplicationArgs { /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Detailed description for the object. */ description?: 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. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (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) Currently not used on application creation. Reserved for future. */ key?: pulumi.Input; /** * (Updatable) The type of the application. */ modelType: pulumi.Input; /** * (Updatable) The object's model version. */ 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; /** * Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * The information about the application. */ sourceApplicationInfo?: pulumi.Input; /** * (Updatable) The current state of the workspace. */ state?: 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=workspaceApplication.d.ts.map