Server¶
-
class
oci.wlms.models.Server(**kwargs)¶ Bases:
objectThe server object that is returned by the API to get a specific server in a WebLogic domain.
Attributes
LATEST_PATCHES_STATUS_ON_LATEST_PATCHESA constant which can be used with the latest_patches_status property of a Server. LATEST_PATCHES_STATUS_PATCHING_REQUIREDA constant which can be used with the latest_patches_status property of a Server. LATEST_PATCHES_STATUS_UNKNOWNA constant which can be used with the latest_patches_status property of a Server. PATCH_READINESS_STATUS_ERRORA constant which can be used with the patch_readiness_status property of a Server. PATCH_READINESS_STATUS_OKA constant which can be used with the patch_readiness_status property of a Server. PATCH_READINESS_STATUS_UNKNOWNA constant which can be used with the patch_readiness_status property of a Server. PATCH_READINESS_STATUS_WARNINGA constant which can be used with the patch_readiness_status property of a Server. host_nameGets the host_name of this Server. idGets the id of this Server. is_admin[Required] Gets the is_admin of this Server. jdk_pathGets the jdk_path of this Server. jdk_versionGets the jdk_version of this Server. latest_patches_statusGets the latest_patches_status of this Server. managed_instance_idGets the managed_instance_id of this Server. middleware_pathGets the middleware_path of this Server. middleware_typeGets the middleware_type of this Server. name[Required] Gets the name of this Server. patch_readiness_statusGets the patch_readiness_status of this Server. restart_orderGets the restart_order of this Server. status[Required] Gets the status of this Server. time_createdGets the time_created of this Server. time_updatedGets the time_updated of this Server. weblogic_versionGets the weblogic_version of this Server. wls_domain_idGets the wls_domain_id of this Server. wls_domain_nameGets the wls_domain_name of this Server. wls_domain_pathGets the wls_domain_path of this Server. Methods
__init__(**kwargs)Initializes a new Server object with values from keyword arguments. -
LATEST_PATCHES_STATUS_ON_LATEST_PATCHES= 'ON_LATEST_PATCHES'¶ A constant which can be used with the latest_patches_status property of a Server. This constant has a value of “ON_LATEST_PATCHES”
-
LATEST_PATCHES_STATUS_PATCHING_REQUIRED= 'PATCHING_REQUIRED'¶ A constant which can be used with the latest_patches_status property of a Server. This constant has a value of “PATCHING_REQUIRED”
-
LATEST_PATCHES_STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the latest_patches_status property of a Server. This constant has a value of “UNKNOWN”
-
PATCH_READINESS_STATUS_ERROR= 'ERROR'¶ A constant which can be used with the patch_readiness_status property of a Server. This constant has a value of “ERROR”
-
PATCH_READINESS_STATUS_OK= 'OK'¶ A constant which can be used with the patch_readiness_status property of a Server. This constant has a value of “OK”
-
PATCH_READINESS_STATUS_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the patch_readiness_status property of a Server. This constant has a value of “UNKNOWN”
-
PATCH_READINESS_STATUS_WARNING= 'WARNING'¶ A constant which can be used with the patch_readiness_status property of a Server. This constant has a value of “WARNING”
-
__init__(**kwargs)¶ Initializes a new Server 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 Server.
- name (str) – The value to assign to the name property of this Server.
- is_admin (bool) – The value to assign to the is_admin property of this Server.
- status (str) – The value to assign to the status property of this Server.
- restart_order (int) – The value to assign to the restart_order property of this Server.
- middleware_path (str) – The value to assign to the middleware_path property of this Server.
- middleware_type (str) – The value to assign to the middleware_type property of this Server.
- weblogic_version (str) – The value to assign to the weblogic_version property of this Server.
- jdk_path (str) – The value to assign to the jdk_path property of this Server.
- jdk_version (str) – The value to assign to the jdk_version property of this Server.
- wls_domain_name (str) – The value to assign to the wls_domain_name property of this Server.
- wls_domain_id (str) – The value to assign to the wls_domain_id property of this Server.
- wls_domain_path (str) – The value to assign to the wls_domain_path property of this Server.
- latest_patches_status (str) – The value to assign to the latest_patches_status property of this Server. Allowed values for this property are: “ON_LATEST_PATCHES”, “PATCHING_REQUIRED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- patch_readiness_status (str) – The value to assign to the patch_readiness_status property of this Server. Allowed values for this property are: “OK”, “WARNING”, “ERROR”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- host_name (str) – The value to assign to the host_name property of this Server.
- managed_instance_id (str) – The value to assign to the managed_instance_id property of this Server.
- time_created (datetime) – The value to assign to the time_created property of this Server.
- time_updated (datetime) – The value to assign to the time_updated property of this Server.
-
host_name¶ Gets the host_name of this Server. The name of the server.
Returns: The host_name of this Server. Return type: str
-
id¶ Gets the id of this Server. The unique identifier of the server.
Note: Not an OCID.
Returns: The id of this Server. Return type: str
-
is_admin¶ [Required] Gets the is_admin of this Server. Whether or not the server is an admin node.
Returns: The is_admin of this Server. Return type: bool
-
jdk_path¶ Gets the jdk_path of this Server. The JDK path on the server.
Returns: The jdk_path of this Server. Return type: str
-
jdk_version¶ Gets the jdk_version of this Server. The JDK version on the server.
Returns: The jdk_version of this Server. Return type: str
-
latest_patches_status¶ Gets the latest_patches_status of this Server. Whether or not the server has installed the latest patches.
Allowed values for this property are: “ON_LATEST_PATCHES”, “PATCHING_REQUIRED”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The latest_patches_status of this Server. Return type: str
-
managed_instance_id¶ Gets the managed_instance_id of this Server. The managed instance ID of the server.
Returns: The managed_instance_id of this Server. Return type: str
-
middleware_path¶ Gets the middleware_path of this Server. The middleware path on the server.
Returns: The middleware_path of this Server. Return type: str
-
middleware_type¶ Gets the middleware_type of this Server. The middleware type on the server.
Returns: The middleware_type of this Server. Return type: str
-
name¶ [Required] Gets the name of this Server. The name of the server.
Returns: The name of this Server. Return type: str
-
patch_readiness_status¶ Gets the patch_readiness_status of this Server. The patch readiness status of the server.
Allowed values for this property are: “OK”, “WARNING”, “ERROR”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The patch_readiness_status of this Server. Return type: str
-
restart_order¶ Gets the restart_order of this Server. The restart order assigned to the server.
Returns: The restart_order of this Server. Return type: int
-
status¶ [Required] Gets the status of this Server. The status of the server.
Returns: The status of this Server. Return type: str
-
time_created¶ Gets the time_created of this Server. The date and time the server was first reported (in RFC 3339 format).
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this Server. Return type: datetime
-
time_updated¶ Gets the time_updated of this Server. The date and time the server was last reported (in RFC 3339 format).
Example: 2016-08-25T21:10:29.600Z
Returns: The time_updated of this Server. Return type: datetime
-
weblogic_version¶ Gets the weblogic_version of this Server. The version of the WebLogic domain of the server
Returns: The weblogic_version of this Server. Return type: str
-
wls_domain_id¶ Gets the wls_domain_id of this Server. The ID of the WebLogic domain to which the server belongs.
Returns: The wls_domain_id of this Server. Return type: str
-
wls_domain_name¶ Gets the wls_domain_name of this Server. The name of the WebLogic domain to which the server belongs.
Returns: The wls_domain_name of this Server. Return type: str
-
wls_domain_path¶ Gets the wls_domain_path of this Server. The path of the WebLogic domain to which the server belongs.
Returns: The wls_domain_path of this Server. Return type: str
-