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<pulumi.ID>, 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<number>;
    /**
     * OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (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<outputs.DataIntegration.WorkspaceApplicationDependentObjectMetadata[]>;
    /**
     * (Updatable) Detailed description for the object.
     */
    readonly description: pulumi.Output<string>;
    /**
     * (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<string>;
    /**
     * (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<string>;
    /**
     * (Updatable) Currently not used on application creation. Reserved for future.
     */
    readonly key: pulumi.Output<string>;
    /**
     * 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<outputs.DataIntegration.WorkspaceApplicationMetadata[]>;
    /**
     * (Updatable) The type of the application.
     */
    readonly modelType: pulumi.Output<string>;
    /**
     * (Updatable) The object's model version.
     */
    readonly modelVersion: pulumi.Output<string>;
    /**
     * (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<string>;
    /**
     * (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<number>;
    /**
     * The object version.
     */
    readonly objectVersion: pulumi.Output<number>;
    /**
     * A reference to the object's parent.
     */
    readonly parentReves: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationParentRef[]>;
    /**
     * A list of objects that are published or unpublished in this patch.
     */
    readonly publishedObjectMetadatas: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationPublishedObjectMetadata[]>;
    /**
     * Information about the object and its parent.
     */
    readonly registryMetadata: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationRegistryMetadata>;
    /**
     * The information about the application.
     */
    readonly sourceApplicationInfo: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationSourceApplicationInfo>;
    /**
     * (Updatable) The current state of the workspace.
     */
    readonly state: pulumi.Output<string>;
    /**
     * The date and time the application was created, in the timestamp format defined by RFC3339.
     */
    readonly timeCreated: pulumi.Output<string>;
    /**
     * The date and time the application was patched, in the timestamp format defined by RFC3339.
     */
    readonly timePatched: pulumi.Output<string>;
    /**
     * 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<string>;
    /**
     * 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<string>;
    /**
     * 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<number | undefined>;
    /**
     * OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (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<string>;
    } | undefined>;
    /**
     * A list of dependent objects in this patch.
     */
    dependentObjectMetadatas?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationDependentObjectMetadata>[] | undefined>;
    /**
     * (Updatable) Detailed description for the object.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (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<string | undefined>;
    /**
     * (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<string>;
    } | 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<string | undefined>;
    /**
     * (Updatable) Currently not used on application creation. Reserved for future.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * 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<string>;
    } | undefined>;
    /**
     * A summary type containing information about the object including its key, name and when/who created/updated it.
     */
    metadatas?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationMetadata>[] | undefined>;
    /**
     * (Updatable) The type of the application.
     */
    modelType?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The object's model version.
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * (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<string | undefined>;
    /**
     * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
     */
    objectStatus?: pulumi.Input<number | undefined>;
    /**
     * The object version.
     */
    objectVersion?: pulumi.Input<number | undefined>;
    /**
     * A reference to the object's parent.
     */
    parentReves?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationParentRef>[] | undefined>;
    /**
     * A list of objects that are published or unpublished in this patch.
     */
    publishedObjectMetadatas?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationPublishedObjectMetadata>[] | undefined>;
    /**
     * Information about the object and its parent.
     */
    registryMetadata?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationRegistryMetadata | undefined>;
    /**
     * The information about the application.
     */
    sourceApplicationInfo?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationSourceApplicationInfo | undefined>;
    /**
     * (Updatable) The current state of the workspace.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * The date and time the application was created, in the timestamp format defined by RFC3339.
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * The date and time the application was patched, in the timestamp format defined by RFC3339.
     */
    timePatched?: pulumi.Input<string | undefined>;
    /**
     * 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<string | undefined>;
    /**
     * 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<string | undefined>;
}
/**
 * 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<string>;
    } | undefined>;
    /**
     * (Updatable) Detailed description for the object.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * (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<string | undefined>;
    /**
     * (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<string>;
    } | 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<string>;
    /**
     * (Updatable) Currently not used on application creation. Reserved for future.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The type of the application.
     */
    modelType: pulumi.Input<string>;
    /**
     * (Updatable) The object's model version.
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * (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<string | undefined>;
    /**
     * (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
     */
    objectStatus?: pulumi.Input<number | undefined>;
    /**
     * Information about the object and its parent.
     */
    registryMetadata?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationRegistryMetadata | undefined>;
    /**
     * The information about the application.
     */
    sourceApplicationInfo?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationSourceApplicationInfo | undefined>;
    /**
     * (Updatable) The current state of the workspace.
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * 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<string>;
}
//# sourceMappingURL=workspaceApplication.d.ts.map