JavaServerUsage¶
- class oci.jms.models.JavaServerUsage(**kwargs)¶
Bases:
objectJava Server usage during a specified time period.
Methods:
__init__(**kwargs)Initializes a new JavaServerUsage object with values from keyword arguments.
Attributes:
Gets the approximate_deployed_application_count of this JavaServerUsage.
[Required] Gets the fleet_id of this JavaServerUsage.
Gets the server_instance_count of this JavaServerUsage.
[Required] Gets the server_key of this JavaServerUsage.
[Required] Gets the server_name of this JavaServerUsage.
Gets the server_version of this JavaServerUsage.
Gets the time_end of this JavaServerUsage.
Gets the time_first_seen of this JavaServerUsage.
Gets the time_last_seen of this JavaServerUsage.
Gets the time_start of this JavaServerUsage.
- __init__(**kwargs)¶
Initializes a new JavaServerUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
server_key (str) – The value to assign to the server_key property of this JavaServerUsage.
fleet_id (str) – The value to assign to the fleet_id property of this JavaServerUsage.
server_name (str) – The value to assign to the server_name property of this JavaServerUsage.
server_version (str) – The value to assign to the server_version property of this JavaServerUsage.
server_instance_count (int) – The value to assign to the server_instance_count property of this JavaServerUsage.
approximate_deployed_application_count (int) – The value to assign to the approximate_deployed_application_count property of this JavaServerUsage.
time_start (datetime) – The value to assign to the time_start property of this JavaServerUsage.
time_end (datetime) – The value to assign to the time_end property of this JavaServerUsage.
time_first_seen (datetime) – The value to assign to the time_first_seen property of this JavaServerUsage.
time_last_seen (datetime) – The value to assign to the time_last_seen property of this JavaServerUsage.
- property approximate_deployed_application_count¶
Gets the approximate_deployed_application_count of this JavaServerUsage. The approximate count of deployed applications in the Java Server.
- Returns
The approximate_deployed_application_count of this JavaServerUsage.
- Return type
int
- property fleet_id¶
[Required] Gets the fleet_id of this JavaServerUsage. The OCID of the related fleet.
- Returns
The fleet_id of this JavaServerUsage.
- Return type
str
- property server_instance_count¶
Gets the server_instance_count of this JavaServerUsage. The count of server instances of the Java Server.
- Returns
The server_instance_count of this JavaServerUsage.
- Return type
int
- property server_key¶
[Required] Gets the server_key of this JavaServerUsage. The internal identifier of the Java Server.
- Returns
The server_key of this JavaServerUsage.
- Return type
str
- property server_name¶
[Required] Gets the server_name of this JavaServerUsage. The name of the Java Server.
- Returns
The server_name of this JavaServerUsage.
- Return type
str
- property server_version¶
Gets the server_version of this JavaServerUsage. The version of the Java Server.
- Returns
The server_version of this JavaServerUsage.
- Return type
str
- property time_end¶
Gets the time_end of this JavaServerUsage. Upper bound of the specified time period filter. JMS provides a view of the data that is _per day_. The query uses only the date element of the parameter.
- Returns
The time_end of this JavaServerUsage.
- Return type
datetime
- property time_first_seen¶
Gets the time_first_seen of this JavaServerUsage. The date and time the resource was _first_ reported to JMS. This is potentially _before_ the specified time period provided by the filters. For example, a resource can be first reported to JMS before the start of a specified time period, if it is also reported during the time period.
- Returns
The time_first_seen of this JavaServerUsage.
- Return type
datetime
- property time_last_seen¶
Gets the time_last_seen of this JavaServerUsage. The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
- Returns
The time_last_seen of this JavaServerUsage.
- Return type
datetime