oci_dataintegration_workspace_application_patch
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
resource "oci_dataintegration_workspace_application_patch" "test_workspace_application_patch" {
#Required
application_key = var.workspace_application_patch_application_key
identifier = var.workspace_application_patch_identifier
name = var.workspace_application_patch_name
object_keys = var.workspace_application_patch_object_keys
patch_type = var.workspace_application_patch_patch_type
workspace_id = oci_dataintegration_workspace.test_workspace.id
#Optional
description = var.workspace_application_patch_description
key = var.workspace_application_patch_key
model_version = var.workspace_application_patch_model_version
object_status = var.workspace_application_patch_object_status
registry_metadata {
#Optional
aggregator_key = var.workspace_application_patch_registry_metadata_aggregator_key
is_favorite = var.workspace_application_patch_registry_metadata_is_favorite
key = var.workspace_application_patch_registry_metadata_key
labels = var.workspace_application_patch_registry_metadata_labels
registry_version = var.workspace_application_patch_registry_metadata_registry_version
}
}
Argument Reference
The following arguments are supported:
application_key- (Required) The application key.description- (Optional) Detailed description for the object.identifier- (Required) Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.key- (Optional) The object’s key.model_version- (Optional) The object’s model version.name- (Required) 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.object_keys- (Required) The array of object keys to publish into application.object_status- (Optional) The status of an object that can be set to value 1 for shallow references across objects, other values reserved.patch_type- (Required) The type of the patch applied or being applied on the application.registry_metadata- (Optional) Information about the object and its parent.aggregator_key- (Optional) The owning object’s key for this object.is_favorite- (Optional) Specifies whether this object is a favorite or not.key- (Optional) The identifying key for the object.labels- (Optional) Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content.registry_version- (Optional) The registry version.
workspace_id- (Required) 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
Attributes Reference
The following attributes are exported:
application_version- The application version of the patch.dependent_object_metadata- List of dependent objects in this patch.action- The patch action indicating if object was created, updated, or deleted.identifier- Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.key- The key of the object.name- 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_path- The fully qualified path of the published object, which would include its project and folder.object_version- The object version.type- The type of the object in patch.
description- Detailed description for the object.error_messages- The errors encountered while applying the patch, if any.identifier- Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.key- The object key.key_map- A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.metadata- A summary type containing information about the object including its key, name and when/who created/updated it.aggregator- A summary type containing information about the object’s aggregator including its type, key, name and description.description- The description of the aggregator.identifier- The identifier of the aggregator.key- The key of the aggregator object.name- The name of the aggregator.type- The type of the aggregator.
aggregator_key- The owning object key for this object.count_statistics- A count statistics.object_type_count_list- The array of statistics.object_count- The value for the count statistic object.object_type- The type of object for the count statistic object.
created_by- The user that created the object.created_by_name- The user that created the object.identifier_path- The full path to identify this object.info_fields- Information property fields.is_favorite- Specifies whether this object is a favorite or not.labels- Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content.registry_version- The registry version of the object.time_created- The date and time that the object was created.time_updated- The date and time that the object was updated.updated_by- The user that updated the object.updated_by_name- The user that updated the object.
model_type- The object type.model_version- The object’s model version.name- 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.object_status- The status of an object that can be set to value 1 for shallow references across objects, other values reserved.object_version- The version of the object that is used to track changes in the object instance.parent_ref- A reference to the object’s parent.parent- Key of the parent object.root_doc_id- Key of the root document object.
patch_object_metadata- List of objects that are published or unpublished in this patch.action- The patch action indicating if object was created, updated, or deleted.identifier- Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.key- The key of the object.name- 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_path- The fully qualified path of the published object, which would include its project and folder.object_version- The object version.type- The type of the object in patch.
patch_status- Status of the patch applied or being applied on the applicationpatch_type- The type of the patch applied or being applied on the application.time_patched- The date and time the patch was applied, in the timestamp format defined by RFC3339.
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 20 minutes), when creating the Workspace Application Patch
* update - (Defaults to 20 minutes), when updating the Workspace Application Patch
* delete - (Defaults to 20 minutes), when destroying the Workspace Application Patch
Import
WorkspaceApplicationPatches can be imported using the id, e.g.
$ terraform import oci_dataintegration_workspace_application_patch.test_workspace_application_patch "workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"