PatchNameSelectionDetails

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

Bases: PatchSelectionDetails

Patch Name Details. If you set the policy rule by selecting this option, provide a specific patch name.

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.

patch_name

[Required] Gets the patch_name of this PatchNameSelectionDetails.

selection_type

[Required] Gets the selection_type of this PatchSelectionDetails.

Methods:

__init__(**kwargs)

Initializes a new PatchNameSelectionDetails 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 PatchNameSelectionDetails object with values from keyword arguments. The default value of the selection_type attribute of this class is PATCH_NAME 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 PatchNameSelectionDetails. Allowed values for this property are: “PATCH_LEVEL”, “PATCH_NAME”, “PATCH_RELEASE_DATE”

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

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 patch_name

[Required] Gets the patch_name of this PatchNameSelectionDetails. Patch Name.

Returns

The patch_name of this PatchNameSelectionDetails.

Return type

str

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