ApplicationUsage¶
-
class
oci.jms.models.
ApplicationUsage
(**kwargs)¶ Bases:
object
Application usage during a specified time period. An application is a Java application that can be executed by a Java Runtime installation. An application is independent of the Java Runtime or its installation.
Methods
__init__
(**kwargs)Initializes a new ApplicationUsage object with values from keyword arguments. Attributes
application_id
[Required] Gets the application_id of this ApplicationUsage. application_type
[Required] Gets the application_type of this ApplicationUsage. approximate_installation_count
Gets the approximate_installation_count of this ApplicationUsage. approximate_jre_count
Gets the approximate_jre_count of this ApplicationUsage. approximate_library_count
Gets the approximate_library_count of this ApplicationUsage. approximate_managed_instance_count
Gets the approximate_managed_instance_count of this ApplicationUsage. display_name
[Required] Gets the display_name of this ApplicationUsage. operating_systems
Gets the operating_systems of this ApplicationUsage. time_end
Gets the time_end of this ApplicationUsage. time_first_seen
Gets the time_first_seen of this ApplicationUsage. time_last_seen
Gets the time_last_seen of this ApplicationUsage. time_start
Gets the time_start of this ApplicationUsage. -
__init__
(**kwargs)¶ Initializes a new ApplicationUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - application_id (str) – The value to assign to the application_id property of this ApplicationUsage.
- display_name (str) – The value to assign to the display_name property of this ApplicationUsage.
- application_type (str) – The value to assign to the application_type property of this ApplicationUsage.
- operating_systems (list[oci.jms.models.OperatingSystem]) – The value to assign to the operating_systems property of this ApplicationUsage.
- approximate_installation_count (int) – The value to assign to the approximate_installation_count property of this ApplicationUsage.
- approximate_jre_count (int) – The value to assign to the approximate_jre_count property of this ApplicationUsage.
- approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this ApplicationUsage.
- approximate_library_count (int) – The value to assign to the approximate_library_count property of this ApplicationUsage.
- time_start (datetime) – The value to assign to the time_start property of this ApplicationUsage.
- time_end (datetime) – The value to assign to the time_end property of this ApplicationUsage.
- time_first_seen (datetime) – The value to assign to the time_first_seen property of this ApplicationUsage.
- time_last_seen (datetime) – The value to assign to the time_last_seen property of this ApplicationUsage.
-
application_id
¶ [Required] Gets the application_id of this ApplicationUsage. An internal identifier for the application that is unique to a fleet.
Returns: The application_id of this ApplicationUsage. Return type: str
-
application_type
¶ [Required] Gets the application_type of this ApplicationUsage. The type of the application denoted by how the application was started.
Returns: The application_type of this ApplicationUsage. Return type: str
-
approximate_installation_count
¶ Gets the approximate_installation_count of this ApplicationUsage. The approximate count of installations running this application.
Returns: The approximate_installation_count of this ApplicationUsage. Return type: int
-
approximate_jre_count
¶ Gets the approximate_jre_count of this ApplicationUsage. The approximate count of Java Runtimes running this application.
Returns: The approximate_jre_count of this ApplicationUsage. Return type: int
-
approximate_library_count
¶ Gets the approximate_library_count of this ApplicationUsage. The approximate count of libraries in this application.
Returns: The approximate_library_count of this ApplicationUsage. Return type: int
-
approximate_managed_instance_count
¶ Gets the approximate_managed_instance_count of this ApplicationUsage. The approximate count of managed instances reporting this application.
Returns: The approximate_managed_instance_count of this ApplicationUsage. Return type: int
-
display_name
¶ [Required] Gets the display_name of this ApplicationUsage. The name of the application.
Returns: The display_name of this ApplicationUsage. Return type: str
-
operating_systems
¶ Gets the operating_systems of this ApplicationUsage. The operating systems running this application.
Returns: The operating_systems of this ApplicationUsage. Return type: list[oci.jms.models.OperatingSystem]
-
time_end
¶ Gets the time_end of this ApplicationUsage. 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 ApplicationUsage. Return type: datetime
-
time_first_seen
¶ Gets the time_first_seen of this ApplicationUsage. 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 ApplicationUsage. Return type: datetime
-
time_last_seen
¶ Gets the time_last_seen of this ApplicationUsage. 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 ApplicationUsage. Return type: datetime
-