PatchSummary

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

Bases: object

The patch summary type 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 PatchSummary.

PATCH_STATUS_IN_PROGRESS

A constant which can be used with the patch_status property of a PatchSummary.

PATCH_STATUS_QUEUED

A constant which can be used with the patch_status property of a PatchSummary.

PATCH_STATUS_SUCCESSFUL

A constant which can be used with the patch_status property of a PatchSummary.

PATCH_TYPE_PUBLISH

A constant which can be used with the patch_type property of a PatchSummary.

PATCH_TYPE_REFRESH

A constant which can be used with the patch_type property of a PatchSummary.

PATCH_TYPE_UNPUBLISH

A constant which can be used with the patch_type property of a PatchSummary.

application_version

Gets the application_version of this PatchSummary.

dependent_object_metadata

Gets the dependent_object_metadata of this PatchSummary.

description

Gets the description of this PatchSummary.

error_messages

Gets the error_messages of this PatchSummary.

identifier

Gets the identifier of this PatchSummary.

key

Gets the key of this PatchSummary.

key_map

Gets the key_map of this PatchSummary.

metadata

Gets the metadata of this PatchSummary.

model_type

Gets the model_type of this PatchSummary.

model_version

Gets the model_version of this PatchSummary.

name

Gets the name of this PatchSummary.

object_status

Gets the object_status of this PatchSummary.

object_version

Gets the object_version of this PatchSummary.

parent_ref

Gets the parent_ref of this PatchSummary.

patch_object_metadata

Gets the patch_object_metadata of this PatchSummary.

patch_status

Gets the patch_status of this PatchSummary.

patch_type

Gets the patch_type of this PatchSummary.

time_patched

Gets the time_patched of this PatchSummary.

Methods:

__init__(**kwargs)

Initializes a new PatchSummary object with values from keyword arguments.

PATCH_STATUS_FAILED = 'FAILED'

A constant which can be used with the patch_status property of a PatchSummary. 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 PatchSummary. 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 PatchSummary. This constant has a value of “QUEUED”

PATCH_STATUS_SUCCESSFUL = 'SUCCESSFUL'

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

PATCH_TYPE_PUBLISH = 'PUBLISH'

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

PATCH_TYPE_REFRESH = 'REFRESH'

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

PATCH_TYPE_UNPUBLISH = 'UNPUBLISH'

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

__init__(**kwargs)

Initializes a new PatchSummary 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 PatchSummary.

  • model_type (str) – The value to assign to the model_type property of this PatchSummary.

  • model_version (str) – The value to assign to the model_version property of this PatchSummary.

  • name (str) – The value to assign to the name property of this PatchSummary.

  • description (str) – The value to assign to the description property of this PatchSummary.

  • object_version (int) – The value to assign to the object_version property of this PatchSummary.

  • object_status (int) – The value to assign to the object_status property of this PatchSummary.

  • identifier (str) – The value to assign to the identifier property of this PatchSummary.

  • time_patched (datetime) – The value to assign to the time_patched property of this PatchSummary.

  • error_messages (dict(str, str)) – The value to assign to the error_messages property of this PatchSummary.

  • application_version (int) – The value to assign to the application_version property of this PatchSummary.

  • patch_type (str) – The value to assign to the patch_type property of this PatchSummary. 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 PatchSummary. 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 PatchSummary.

  • patch_object_metadata (list[oci.data_integration.models.PatchObjectMetadata]) – The value to assign to the patch_object_metadata property of this PatchSummary.

  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this PatchSummary.

  • metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this PatchSummary.

  • key_map (dict(str, str)) – The value to assign to the key_map property of this PatchSummary.

property application_version

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

Returns

The application_version of this PatchSummary.

Return type

int

property dependent_object_metadata

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

Returns

The dependent_object_metadata of this PatchSummary.

Return type

list[oci.data_integration.models.PatchObjectMetadata]

property description

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

Returns

The description of this PatchSummary.

Return type

str

property error_messages

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

Returns

The error_messages of this PatchSummary.

Return type

dict(str, str)

property identifier

Gets the identifier of this PatchSummary. 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 PatchSummary.

Return type

str

property key

Gets the key of this PatchSummary. The object key.

Returns

The key of this PatchSummary.

Return type

str

property key_map

Gets the key_map of this PatchSummary. 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 PatchSummary.

Return type

dict(str, str)

property metadata

Gets the metadata of this PatchSummary.

Returns

The metadata of this PatchSummary.

Return type

oci.data_integration.models.ObjectMetadata

property model_type

Gets the model_type of this PatchSummary. The object type.

Returns

The model_type of this PatchSummary.

Return type

str

property model_version

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

Returns

The model_version of this PatchSummary.

Return type

str

property name

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

Return type

str

property object_status

Gets the object_status of this PatchSummary. 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 PatchSummary.

Return type

int

property object_version

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

Returns

The object_version of this PatchSummary.

Return type

int

property parent_ref

Gets the parent_ref of this PatchSummary.

Returns

The parent_ref of this PatchSummary.

Return type

oci.data_integration.models.ParentReference

property patch_object_metadata

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

Returns

The patch_object_metadata of this PatchSummary.

Return type

list[oci.data_integration.models.PatchObjectMetadata]

property patch_status

Gets the patch_status of this PatchSummary. 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 PatchSummary.

Return type

str

property patch_type

Gets the patch_type of this PatchSummary. 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 PatchSummary.

Return type

str

property time_patched

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

Returns

The time_patched of this PatchSummary.

Return type

datetime