Patch

class oci.data_integration.models.Patch(**kwargs)

Bases: object

The patch object contains the audit summary information and the definition of the patch.

Attributes

PATCH_STATUS_FAILED A constant which can be used with the patch_status property of a Patch.
PATCH_STATUS_IN_PROGRESS A constant which can be used with the patch_status property of a Patch.
PATCH_STATUS_QUEUED A constant which can be used with the patch_status property of a Patch.
PATCH_STATUS_SUCCESSFUL A constant which can be used with the patch_status property of a Patch.
PATCH_TYPE_PUBLISH A constant which can be used with the patch_type property of a Patch.
PATCH_TYPE_REFRESH A constant which can be used with the patch_type property of a Patch.
PATCH_TYPE_UNPUBLISH A constant which can be used with the patch_type property of a Patch.
application_version Gets the application_version of this Patch.
dependent_object_metadata Gets the dependent_object_metadata of this Patch.
description Gets the description of this Patch.
error_messages Gets the error_messages of this Patch.
identifier Gets the identifier of this Patch.
key Gets the key of this Patch.
key_map Gets the key_map of this Patch.
metadata Gets the metadata of this Patch.
model_type Gets the model_type of this Patch.
model_version Gets the model_version of this Patch.
name Gets the name of this Patch.
object_status Gets the object_status of this Patch.
object_version Gets the object_version of this Patch.
parent_ref Gets the parent_ref of this Patch.
patch_object_metadata Gets the patch_object_metadata of this Patch.
patch_status Gets the patch_status of this Patch.
patch_type Gets the patch_type of this Patch.
time_patched Gets the time_patched of this Patch.

Methods

__init__(**kwargs) Initializes a new Patch object with values from keyword arguments.
PATCH_STATUS_FAILED = 'FAILED'

A constant which can be used with the patch_status property of a Patch. This constant has a value of “FAILED”

PATCH_STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the patch_status property of a Patch. This constant has a value of “IN_PROGRESS”

PATCH_STATUS_QUEUED = 'QUEUED'

A constant which can be used with the patch_status property of a Patch. This constant has a value of “QUEUED”

PATCH_STATUS_SUCCESSFUL = 'SUCCESSFUL'

A constant which can be used with the patch_status property of a Patch. This constant has a value of “SUCCESSFUL”

PATCH_TYPE_PUBLISH = 'PUBLISH'

A constant which can be used with the patch_type property of a Patch. This constant has a value of “PUBLISH”

PATCH_TYPE_REFRESH = 'REFRESH'

A constant which can be used with the patch_type property of a Patch. This constant has a value of “REFRESH”

PATCH_TYPE_UNPUBLISH = 'UNPUBLISH'

A constant which can be used with the patch_type property of a Patch. This constant has a value of “UNPUBLISH”

__init__(**kwargs)

Initializes a new Patch object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this Patch.
  • model_type (str) – The value to assign to the model_type property of this Patch.
  • model_version (str) – The value to assign to the model_version property of this Patch.
  • name (str) – The value to assign to the name property of this Patch.
  • description (str) – The value to assign to the description property of this Patch.
  • object_version (int) – The value to assign to the object_version property of this Patch.
  • object_status (int) – The value to assign to the object_status property of this Patch.
  • identifier (str) – The value to assign to the identifier property of this Patch.
  • time_patched (datetime) – The value to assign to the time_patched property of this Patch.
  • error_messages (dict(str, str)) – The value to assign to the error_messages property of this Patch.
  • application_version (int) – The value to assign to the application_version property of this Patch.
  • patch_type (str) – The value to assign to the patch_type property of this Patch. Allowed values for this property are: “PUBLISH”, “REFRESH”, “UNPUBLISH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • patch_status (str) – The value to assign to the patch_status property of this Patch. Allowed values for this property are: “QUEUED”, “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • dependent_object_metadata (list[oci.data_integration.models.PatchObjectMetadata]) – The value to assign to the dependent_object_metadata property of this Patch.
  • patch_object_metadata (list[oci.data_integration.models.PatchObjectMetadata]) – The value to assign to the patch_object_metadata property of this Patch.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this Patch.
  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this Patch.
  • key_map (dict(str, str)) – The value to assign to the key_map property of this Patch.
application_version

Gets the application_version of this Patch. The application version of the patch.

Returns:The application_version of this Patch.
Return type:int
dependent_object_metadata

Gets the dependent_object_metadata of this Patch. List of dependent objects in this patch.

Returns:The dependent_object_metadata of this Patch.
Return type:list[oci.data_integration.models.PatchObjectMetadata]
description

Gets the description of this Patch. Detailed description for the object.

Returns:The description of this Patch.
Return type:str
error_messages

Gets the error_messages of this Patch. The errors encountered while applying the patch, if any.

Returns:The error_messages of this Patch.
Return type:dict(str, str)
identifier

Gets the identifier of this Patch. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.

Returns:The identifier of this Patch.
Return type:str
key

Gets the key of this Patch. The object key.

Returns:The key of this Patch.
Return type:str
key_map

Gets the key_map of this Patch. A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.

Returns:The key_map of this Patch.
Return type:dict(str, str)
metadata

Gets the metadata of this Patch.

Returns:The metadata of this Patch.
Return type:oci.data_integration.models.ObjectMetadata
model_type

Gets the model_type of this Patch. The object type.

Returns:The model_type of this Patch.
Return type:str
model_version

Gets the model_version of this Patch. The object’s model version.

Returns:The model_version of this Patch.
Return type:str
name

Gets the name of this Patch. 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.

Returns:The name of this Patch.
Return type:str
object_status

Gets the object_status of this Patch. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.

Returns:The object_status of this Patch.
Return type:int
object_version

Gets the object_version of this Patch. The version of the object that is used to track changes in the object instance.

Returns:The object_version of this Patch.
Return type:int
parent_ref

Gets the parent_ref of this Patch.

Returns:The parent_ref of this Patch.
Return type:oci.data_integration.models.ParentReference
patch_object_metadata

Gets the patch_object_metadata of this Patch. List of objects that are published or unpublished in this patch.

Returns:The patch_object_metadata of this Patch.
Return type:list[oci.data_integration.models.PatchObjectMetadata]
patch_status

Gets the patch_status of this Patch. Status of the patch applied or being applied on the application

Allowed values for this property are: “QUEUED”, “SUCCESSFUL”, “FAILED”, “IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The patch_status of this Patch.
Return type:str
patch_type

Gets the patch_type of this Patch. The type of the patch applied or being applied on the application.

Allowed values for this property are: “PUBLISH”, “REFRESH”, “UNPUBLISH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The patch_type of this Patch.
Return type:str
time_patched

Gets the time_patched of this Patch. The date and time the patch was applied, in the timestamp format defined by RFC3339.

Returns:The time_patched of this Patch.
Return type:datetime