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, 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; /** * The application version of the patch. */ readonly applicationVersion: pulumi.Output; /** * List of dependent objects in this patch. */ readonly dependentObjectMetadatas: pulumi.Output; /** * Detailed description for the object. */ readonly description: pulumi.Output; /** * 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; /** * The object's key. */ 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; /** * The object type. */ readonly modelType: pulumi.Output; /** * The object's model version. */ readonly modelVersion: pulumi.Output; /** * 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; /** * The array of object keys to publish into application. */ readonly objectKeys: pulumi.Output; /** * 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; /** * List of objects that are published or unpublished in this patch. */ readonly patchObjectMetadatas: pulumi.Output; /** * Status of the patch applied or being applied on the application */ readonly patchStatus: pulumi.Output; /** * The type of the patch applied or being applied on the application. */ readonly patchType: pulumi.Output; /** * Information about the object and its parent. */ readonly registryMetadata: pulumi.Output; /** * 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; /** * 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 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; /** * The application version of the patch. */ applicationVersion?: pulumi.Input; /** * List of dependent objects in this patch. */ dependentObjectMetadatas?: pulumi.Input[] | undefined>; /** * Detailed description for the object. */ description?: pulumi.Input; /** * The errors encountered while applying the patch, if any. */ errorMessages?: pulumi.Input<{ [key: string]: pulumi.Input; } | 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; /** * The object's key. */ 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>; /** * The object type. */ modelType?: pulumi.Input; /** * The object's model version. */ modelVersion?: pulumi.Input; /** * 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; /** * The array of object keys to publish into application. */ objectKeys?: pulumi.Input[] | undefined>; /** * 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>; /** * List of objects that are published or unpublished in this patch. */ patchObjectMetadatas?: pulumi.Input[] | undefined>; /** * Status of the patch applied or being applied on the application */ patchStatus?: pulumi.Input; /** * The type of the patch applied or being applied on the application. */ patchType?: pulumi.Input; /** * Information about the object and its parent. */ registryMetadata?: pulumi.Input; /** * The date and time the patch was applied, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). */ timePatched?: 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 WorkspaceApplicationPatch resource. */ export interface WorkspaceApplicationPatchArgs { /** * The application key. */ applicationKey: pulumi.Input; /** * Detailed description for the object. */ description?: pulumi.Input; /** * 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; /** * The object's key. */ key?: pulumi.Input; /** * The object's model version. */ modelVersion?: pulumi.Input; /** * 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; /** * The array of object keys to publish into application. */ objectKeys?: pulumi.Input[] | undefined>; /** * The status of an object that can be set to value 1 for shallow references across objects, other values reserved. */ objectStatus?: pulumi.Input; /** * The type of the patch applied or being applied on the application. */ patchType: pulumi.Input; /** * 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=workspaceApplicationPatch.d.ts.map