CreatePatchDetails

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

Bases: object

The information about new Patch.

Attributes:

SEVERITY_CRITICAL

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

SEVERITY_HIGH

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

SEVERITY_LOW

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

SEVERITY_MEDIUM

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

artifact_details

[Required] Gets the artifact_details of this CreatePatchDetails.

compartment_id

[Required] Gets the compartment_id of this CreatePatchDetails.

defined_tags

Gets the defined_tags of this CreatePatchDetails.

dependent_patches

Gets the dependent_patches of this CreatePatchDetails.

description

Gets the description of this CreatePatchDetails.

freeform_tags

Gets the freeform_tags of this CreatePatchDetails.

name

[Required] Gets the name of this CreatePatchDetails.

patch_type

[Required] Gets the patch_type of this CreatePatchDetails.

product

[Required] Gets the product of this CreatePatchDetails.

severity

[Required] Gets the severity of this CreatePatchDetails.

time_released

[Required] Gets the time_released of this CreatePatchDetails.

Methods:

__init__(**kwargs)

Initializes a new CreatePatchDetails object with values from keyword arguments.

SEVERITY_CRITICAL = 'CRITICAL'

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

SEVERITY_HIGH = 'HIGH'

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

SEVERITY_LOW = 'LOW'

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

SEVERITY_MEDIUM = 'MEDIUM'

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

__init__(**kwargs)

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

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

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

  • patch_type (oci.fleet_apps_management.models.PatchType) – The value to assign to the patch_type property of this CreatePatchDetails.

  • severity (str) – The value to assign to the severity property of this CreatePatchDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”

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

  • artifact_details (oci.fleet_apps_management.models.ArtifactDetails) – The value to assign to the artifact_details property of this CreatePatchDetails.

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

  • dependent_patches (list[oci.fleet_apps_management.models.DependentPatchDetails]) – The value to assign to the dependent_patches property of this CreatePatchDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreatePatchDetails.

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

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreatePatchDetails.

property artifact_details

[Required] Gets the artifact_details of this CreatePatchDetails.

Returns

The artifact_details of this CreatePatchDetails.

Return type

oci.fleet_apps_management.models.ArtifactDetails

property compartment_id

[Required] Gets the compartment_id of this CreatePatchDetails. OCID of the compartment to which the resource belongs to.

Returns

The compartment_id of this CreatePatchDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreatePatchDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreatePatchDetails.

Return type

dict(str, dict(str, object))

property dependent_patches

Gets the dependent_patches of this CreatePatchDetails. Dependent Patches for this patch.

Returns

The dependent_patches of this CreatePatchDetails.

Return type

list[oci.fleet_apps_management.models.DependentPatchDetails]

property description

Gets the description of this CreatePatchDetails. A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.

Returns

The description of this CreatePatchDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreatePatchDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreatePatchDetails.

Return type

dict(str, str)

property name

[Required] Gets the name of this CreatePatchDetails. A user-friendly name. Should be unique within the tenancy, and cannot be changed after creation. Avoid entering confidential information.

Returns

The name of this CreatePatchDetails.

Return type

str

property patch_type

[Required] Gets the patch_type of this CreatePatchDetails.

Returns

The patch_type of this CreatePatchDetails.

Return type

oci.fleet_apps_management.models.PatchType

property product

[Required] Gets the product of this CreatePatchDetails.

Returns

The product of this CreatePatchDetails.

Return type

oci.fleet_apps_management.models.PatchProduct

property severity

[Required] Gets the severity of this CreatePatchDetails. Patch Severity.

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”

Returns

The severity of this CreatePatchDetails.

Return type

str

property time_released

[Required] Gets the time_released of this CreatePatchDetails. Date when the patch was released.

Returns

The time_released of this CreatePatchDetails.

Return type

datetime