CompliancePatchDetail

class oci.fleet_apps_management.models.CompliancePatchDetail(**kwargs)

Bases: object

Details of the Patch.

Attributes:

SEVERITY_CRITICAL

A constant which can be used with the severity property of a CompliancePatchDetail.

SEVERITY_HIGH

A constant which can be used with the severity property of a CompliancePatchDetail.

SEVERITY_LOW

A constant which can be used with the severity property of a CompliancePatchDetail.

SEVERITY_MEDIUM

A constant which can be used with the severity property of a CompliancePatchDetail.

patch_description

Gets the patch_description of this CompliancePatchDetail.

patch_id

Gets the patch_id of this CompliancePatchDetail.

patch_name

[Required] Gets the patch_name of this CompliancePatchDetail.

patch_type

[Required] Gets the patch_type of this CompliancePatchDetail.

product

Gets the product of this CompliancePatchDetail.

severity

Gets the severity of this CompliancePatchDetail.

time_released

Gets the time_released of this CompliancePatchDetail.

Methods:

__init__(**kwargs)

Initializes a new CompliancePatchDetail object with values from keyword arguments.

SEVERITY_CRITICAL = 'CRITICAL'

A constant which can be used with the severity property of a CompliancePatchDetail. This constant has a value of “CRITICAL”

SEVERITY_HIGH = 'HIGH'

A constant which can be used with the severity property of a CompliancePatchDetail. This constant has a value of “HIGH”

SEVERITY_LOW = 'LOW'

A constant which can be used with the severity property of a CompliancePatchDetail. This constant has a value of “LOW”

SEVERITY_MEDIUM = 'MEDIUM'

A constant which can be used with the severity property of a CompliancePatchDetail. This constant has a value of “MEDIUM”

__init__(**kwargs)

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

Parameters
  • patch_id (str) – The value to assign to the patch_id property of this CompliancePatchDetail.

  • patch_name (str) – The value to assign to the patch_name property of this CompliancePatchDetail.

  • patch_description (str) – The value to assign to the patch_description property of this CompliancePatchDetail.

  • time_released (datetime) – The value to assign to the time_released property of this CompliancePatchDetail.

  • patch_type (str) – The value to assign to the patch_type property of this CompliancePatchDetail.

  • severity (str) – The value to assign to the severity property of this CompliancePatchDetail. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • product (oci.fleet_apps_management.models.ComplianceDetailProduct) – The value to assign to the product property of this CompliancePatchDetail.

property patch_description

Gets the patch_description of this CompliancePatchDetail. Patch Description.

Returns

The patch_description of this CompliancePatchDetail.

Return type

str

property patch_id

Gets the patch_id of this CompliancePatchDetail. patch OCID.

Returns

The patch_id of this CompliancePatchDetail.

Return type

str

property patch_name

[Required] Gets the patch_name of this CompliancePatchDetail. patch Name.

Returns

The patch_name of this CompliancePatchDetail.

Return type

str

property patch_type

[Required] Gets the patch_type of this CompliancePatchDetail. Type of patch.

Returns

The patch_type of this CompliancePatchDetail.

Return type

str

property product

Gets the product of this CompliancePatchDetail.

Returns

The product of this CompliancePatchDetail.

Return type

oci.fleet_apps_management.models.ComplianceDetailProduct

property severity

Gets the severity of this CompliancePatchDetail. Patch Severity.

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The severity of this CompliancePatchDetail.

Return type

str

property time_released

Gets the time_released of this CompliancePatchDetail. Date on which patch was released

Returns

The time_released of this CompliancePatchDetail.

Return type

datetime