Patch¶
- class oci.wlms.models.Patch(**kwargs)¶
Bases:
objectA WebLogic patch.
Attributes:
A constant which can be used with the middleware_type property of a Patch.
A constant which can be used with the middleware_type property of a Patch.
A constant which can be used with the middleware_type property of a Patch.
[Required] Gets the description of this Patch.
[Required] Gets the display_name of this Patch.
[Required] Gets the id of this Patch.
[Required] Gets the middleware_type of this Patch.
[Required] Gets the os_arch of this Patch.
[Required] Gets the weblogic_version of this Patch.
Methods:
__init__(**kwargs)Initializes a new Patch object with values from keyword arguments.
- MIDDLEWARE_TYPE_FMW = 'FMW'¶
A constant which can be used with the middleware_type property of a Patch. This constant has a value of “FMW”
- MIDDLEWARE_TYPE_OPATCH = 'OPATCH'¶
A constant which can be used with the middleware_type property of a Patch. This constant has a value of “OPATCH”
- MIDDLEWARE_TYPE_WLS = 'WLS'¶
A constant which can be used with the middleware_type property of a Patch. This constant has a value of “WLS”
- __init__(**kwargs)¶
Initializes a new Patch object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Patch.
display_name (str) – The value to assign to the display_name property of this Patch.
description (str) – The value to assign to the description property of this Patch.
weblogic_version (str) – The value to assign to the weblogic_version property of this Patch.
middleware_type (list[str]) – The value to assign to the middleware_type property of this Patch. Allowed values for items in this list are: “FMW”, “WLS”, “OPATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
os_arch (str) – The value to assign to the os_arch property of this Patch.
- property description¶
[Required] Gets the description of this Patch. The description of the WebLogic patch.
- Returns
The description of this Patch.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this Patch. The name of the WebLogic patch.
- Returns
The display_name of this Patch.
- Return type
str
- property id¶
[Required] Gets the id of this Patch. The ID of the WebLogic patch.
- Returns
The id of this Patch.
- Return type
str
- property middleware_type¶
[Required] Gets the middleware_type of this Patch. The type of middleware for which this patch is applicable. A patch can be applicable to more than one type of middleware.
Allowed values for items in this list are: “FMW”, “WLS”, “OPATCH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The middleware_type of this Patch.
- Return type
list[str]
- property os_arch¶
[Required] Gets the os_arch of this Patch. The operating system architecture for which the patch can be applied.
- Returns
The os_arch of this Patch.
- Return type
str
- property weblogic_version¶
[Required] Gets the weblogic_version of this Patch. The WebLogic version for this patch. The patch can be installed to domains with this version.
- Returns
The weblogic_version of this Patch.
- Return type
str