PatchReleaseDateSelectionDetails

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

Bases: PatchSelectionDetails

Days since patch release date details. If you set the policy rule by selecting this option and entering the number of days since release, Fleet Application Management calculates the number of days passed after the release date and reports the product as noncompliant if the days exceed the number provided in Days since release

Attributes:

SELECTION_TYPE_PATCH_LEVEL

A constant which can be used with the selection_type property of a PatchSelectionDetails.

SELECTION_TYPE_PATCH_NAME

A constant which can be used with the selection_type property of a PatchSelectionDetails.

SELECTION_TYPE_PATCH_RELEASE_DATE

A constant which can be used with the selection_type property of a PatchSelectionDetails.

days_since_release

[Required] Gets the days_since_release of this PatchReleaseDateSelectionDetails.

selection_type

[Required] Gets the selection_type of this PatchSelectionDetails.

Methods:

__init__(**kwargs)

Initializes a new PatchReleaseDateSelectionDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

SELECTION_TYPE_PATCH_LEVEL = 'PATCH_LEVEL'

A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_LEVEL”

SELECTION_TYPE_PATCH_NAME = 'PATCH_NAME'

A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_NAME”

SELECTION_TYPE_PATCH_RELEASE_DATE = 'PATCH_RELEASE_DATE'

A constant which can be used with the selection_type property of a PatchSelectionDetails. This constant has a value of “PATCH_RELEASE_DATE”

__init__(**kwargs)

Initializes a new PatchReleaseDateSelectionDetails object with values from keyword arguments. The default value of the selection_type attribute of this class is PATCH_RELEASE_DATE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • selection_type (str) – The value to assign to the selection_type property of this PatchReleaseDateSelectionDetails. Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”

  • days_since_release (int) – The value to assign to the days_since_release property of this PatchReleaseDateSelectionDetails.

property days_since_release

[Required] Gets the days_since_release of this PatchReleaseDateSelectionDetails. Days passed since patch release.

Returns

The days_since_release of this PatchReleaseDateSelectionDetails.

Return type

int

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property selection_type

[Required] Gets the selection_type of this PatchSelectionDetails. Selection type for the Patch.

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

Returns

The selection_type of this PatchSelectionDetails.

Return type

str