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:
A constant which can be used with the latest_patches_status property of a Server.
A constant which can be used with the latest_patches_status property of a Server.
A constant which can be used with the latest_patches_status property of a Server.
A constant which can be used with the patch_readiness_status property of a Server.
A constant which can be used with the patch_readiness_status property of a Server.
A constant which can be used with the patch_readiness_status property of a Server.
A constant which can be used with the patch_readiness_status property of a Server.
Gets the host_name of this Server.
Gets the id of this Server.
[Required] Gets the is_admin of this Server.
Gets the jdk_path of this Server.
Gets the jdk_version of this Server.
Gets the latest_patches_status of this Server.
Gets the managed_instance_id of this Server.
Gets the middleware_path of this Server.
Gets the middleware_type of this Server.
[Required] Gets the name of this Server.
Gets the patch_readiness_status of this Server.
Gets the restart_order of this Server.
[Required] Gets the status of this Server.
Gets the time_created of this Server.
Gets the time_updated of this Server.
Gets the weblogic_version of this Server.
Gets the wls_domain_id of this Server.
Gets the wls_domain_name of this Server.
Gets 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.
- property host_name¶
Gets the host_name of this Server. The name of the server.
- Returns
The host_name of this Server.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property name¶
[Required] Gets the name of this Server. The name of the server.
- Returns
The name of this Server.
- Return type
str
- property 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
- property 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
- property status¶
[Required] Gets the status of this Server. The status of the server.
- Returns
The status of this Server.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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