import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Workspace Application Patch resource in Oracle Cloud Infrastructure Data Integration service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-integration/latest/WorkspaceApplicationPatch
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataintegration
 *
 * Creates a patch in an application.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testWorkspaceApplicationPatch = new oci.dataintegration.WorkspaceApplicationPatch("test_workspace_application_patch", {
 *     applicationKey: workspaceApplicationPatchApplicationKey,
 *     identifier: workspaceApplicationPatchIdentifier,
 *     name: workspaceApplicationPatchName,
 *     objectKeys: workspaceApplicationPatchObjectKeys,
 *     patchType: workspaceApplicationPatchPatchType,
 *     workspaceId: testWorkspace.id,
 *     description: workspaceApplicationPatchDescription,
 *     key: workspaceApplicationPatchKey,
 *     modelVersion: workspaceApplicationPatchModelVersion,
 *     objectStatus: Number(workspaceApplicationPatchObjectStatus),
 *     registryMetadata: {
 *         aggregatorKey: workspaceApplicationPatchRegistryMetadataAggregatorKey,
 *         isFavorite: workspaceApplicationPatchRegistryMetadataIsFavorite === "true",
 *         key: workspaceApplicationPatchRegistryMetadataKey,
 *         labels: workspaceApplicationPatchRegistryMetadataLabels,
 *         registryVersion: Number(workspaceApplicationPatchRegistryMetadataRegistryVersion),
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * WorkspaceApplicationPatches can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DataIntegration/workspaceApplicationPatch:WorkspaceApplicationPatch test_workspace_application_patch "workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"
 * ```
 */
export declare class WorkspaceApplicationPatch extends pulumi.CustomResource {
    /**
     * Get an existing WorkspaceApplicationPatch 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?: WorkspaceApplicationPatchState, opts?: pulumi.CustomResourceOptions): WorkspaceApplicationPatch;
    /**
     * Returns true if the given object is an instance of WorkspaceApplicationPatch.  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 WorkspaceApplicationPatch;
    /**
     * The application key.
     */
    readonly applicationKey: pulumi.Output<string>;
    /**
     * The application version of the patch.
     */
    readonly applicationVersion: pulumi.Output<number>;
    /**
     * List of dependent objects in this patch.
     */
    readonly dependentObjectMetadatas: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationPatchDependentObjectMetadata[]>;
    /**
     * Detailed description for the object.
     */
    readonly description: pulumi.Output<string>;
    /**
     * The errors encountered while applying the patch, if any.
     */
    readonly errorMessages: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * 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>;
    /**
     * The object's key.
     */
    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.WorkspaceApplicationPatchMetadata[]>;
    /**
     * The object type.
     */
    readonly modelType: pulumi.Output<string>;
    /**
     * The object's model version.
     */
    readonly modelVersion: pulumi.Output<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.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The array of object keys to publish into application.
     */
    readonly objectKeys: pulumi.Output<string[]>;
    /**
     * 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.WorkspaceApplicationPatchParentRef[]>;
    /**
     * List of objects that are published or unpublished in this patch.
     */
    readonly patchObjectMetadatas: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationPatchPatchObjectMetadata[]>;
    /**
     * Status of the patch applied or being applied on the application
     */
    readonly patchStatus: pulumi.Output<string>;
    /**
     * The type of the patch applied or being applied on the application.
     */
    readonly patchType: pulumi.Output<string>;
    /**
     * Information about the object and its parent.
     */
    readonly registryMetadata: pulumi.Output<outputs.DataIntegration.WorkspaceApplicationPatchRegistryMetadata>;
    /**
     * The date and time the patch was applied, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    readonly timePatched: 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 WorkspaceApplicationPatch 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: WorkspaceApplicationPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering WorkspaceApplicationPatch resources.
 */
export interface WorkspaceApplicationPatchState {
    /**
     * The application key.
     */
    applicationKey?: pulumi.Input<string | undefined>;
    /**
     * The application version of the patch.
     */
    applicationVersion?: pulumi.Input<number | undefined>;
    /**
     * List of dependent objects in this patch.
     */
    dependentObjectMetadatas?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationPatchDependentObjectMetadata>[] | undefined>;
    /**
     * Detailed description for the object.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * The errors encountered while applying the patch, if any.
     */
    errorMessages?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * 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>;
    /**
     * The object's key.
     */
    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.WorkspaceApplicationPatchMetadata>[] | undefined>;
    /**
     * The object type.
     */
    modelType?: pulumi.Input<string | undefined>;
    /**
     * The object's model version.
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * The array of object keys to publish into application.
     */
    objectKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * 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.WorkspaceApplicationPatchParentRef>[] | undefined>;
    /**
     * List of objects that are published or unpublished in this patch.
     */
    patchObjectMetadatas?: pulumi.Input<pulumi.Input<inputs.DataIntegration.WorkspaceApplicationPatchPatchObjectMetadata>[] | undefined>;
    /**
     * Status of the patch applied or being applied on the application
     */
    patchStatus?: pulumi.Input<string | undefined>;
    /**
     * The type of the patch applied or being applied on the application.
     */
    patchType?: pulumi.Input<string | undefined>;
    /**
     * Information about the object and its parent.
     */
    registryMetadata?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationPatchRegistryMetadata | undefined>;
    /**
     * The date and time the patch was applied, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
     */
    timePatched?: 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 WorkspaceApplicationPatch resource.
 */
export interface WorkspaceApplicationPatchArgs {
    /**
     * The application key.
     */
    applicationKey: pulumi.Input<string>;
    /**
     * Detailed description for the object.
     */
    description?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * The object's key.
     */
    key?: pulumi.Input<string | undefined>;
    /**
     * The object's model version.
     */
    modelVersion?: pulumi.Input<string | undefined>;
    /**
     * 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>;
    /**
     * The array of object keys to publish into application.
     */
    objectKeys?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * 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 type of the patch applied or being applied on the application.
     */
    patchType: pulumi.Input<string>;
    /**
     * Information about the object and its parent.
     */
    registryMetadata?: pulumi.Input<inputs.DataIntegration.WorkspaceApplicationPatchRegistryMetadata | 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=workspaceApplicationPatch.d.ts.map