JreUsage

class oci.jms.models.JreUsage(**kwargs)

Bases: object

Java Runtime usage during a specified time period. A Java Runtime is identified by its vendor and version.

Attributes

SECURITY_STATUS_EARLY_ACCESS A constant which can be used with the security_status property of a JreUsage.
SECURITY_STATUS_UNKNOWN A constant which can be used with the security_status property of a JreUsage.
SECURITY_STATUS_UPDATE_REQUIRED A constant which can be used with the security_status property of a JreUsage.
SECURITY_STATUS_UPGRADE_REQUIRED A constant which can be used with the security_status property of a JreUsage.
SECURITY_STATUS_UP_TO_DATE A constant which can be used with the security_status property of a JreUsage.
approximate_application_count Gets the approximate_application_count of this JreUsage.
approximate_installation_count Gets the approximate_installation_count of this JreUsage.
approximate_managed_instance_count Gets the approximate_managed_instance_count of this JreUsage.
approximate_pending_work_request_count Gets the approximate_pending_work_request_count of this JreUsage.
days_under_security_baseline Gets the days_under_security_baseline of this JreUsage.
distribution [Required] Gets the distribution of this JreUsage.
end_of_support_life_date Gets the end_of_support_life_date of this JreUsage.
fleet_id Gets the fleet_id of this JreUsage.
id Gets the id of this JreUsage.
managed_instance_id Gets the managed_instance_id of this JreUsage.
operating_systems Gets the operating_systems of this JreUsage.
release_date Gets the release_date of this JreUsage.
security_status Gets the security_status of this JreUsage.
time_end Gets the time_end of this JreUsage.
time_first_seen Gets the time_first_seen of this JreUsage.
time_last_seen Gets the time_last_seen of this JreUsage.
time_start Gets the time_start of this JreUsage.
vendor [Required] Gets the vendor of this JreUsage.
version [Required] Gets the version of this JreUsage.

Methods

__init__(**kwargs) Initializes a new JreUsage object with values from keyword arguments.
SECURITY_STATUS_EARLY_ACCESS = 'EARLY_ACCESS'

A constant which can be used with the security_status property of a JreUsage. This constant has a value of “EARLY_ACCESS”

SECURITY_STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the security_status property of a JreUsage. This constant has a value of “UNKNOWN”

SECURITY_STATUS_UPDATE_REQUIRED = 'UPDATE_REQUIRED'

A constant which can be used with the security_status property of a JreUsage. This constant has a value of “UPDATE_REQUIRED”

SECURITY_STATUS_UPGRADE_REQUIRED = 'UPGRADE_REQUIRED'

A constant which can be used with the security_status property of a JreUsage. This constant has a value of “UPGRADE_REQUIRED”

SECURITY_STATUS_UP_TO_DATE = 'UP_TO_DATE'

A constant which can be used with the security_status property of a JreUsage. This constant has a value of “UP_TO_DATE”

__init__(**kwargs)

Initializes a new JreUsage 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 JreUsage.
  • fleet_id (str) – The value to assign to the fleet_id property of this JreUsage.
  • managed_instance_id (str) – The value to assign to the managed_instance_id property of this JreUsage.
  • security_status (str) – The value to assign to the security_status property of this JreUsage. Allowed values for this property are: “EARLY_ACCESS”, “UNKNOWN”, “UP_TO_DATE”, “UPDATE_REQUIRED”, “UPGRADE_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • release_date (datetime) – The value to assign to the release_date property of this JreUsage.
  • end_of_support_life_date (datetime) – The value to assign to the end_of_support_life_date property of this JreUsage.
  • vendor (str) – The value to assign to the vendor property of this JreUsage.
  • distribution (str) – The value to assign to the distribution property of this JreUsage.
  • version (str) – The value to assign to the version property of this JreUsage.
  • days_under_security_baseline (int) – The value to assign to the days_under_security_baseline property of this JreUsage.
  • operating_systems (list[oci.jms.models.OperatingSystem]) – The value to assign to the operating_systems property of this JreUsage.
  • approximate_installation_count (int) – The value to assign to the approximate_installation_count property of this JreUsage.
  • approximate_application_count (int) – The value to assign to the approximate_application_count property of this JreUsage.
  • approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this JreUsage.
  • approximate_pending_work_request_count (int) – The value to assign to the approximate_pending_work_request_count property of this JreUsage.
  • time_start (datetime) – The value to assign to the time_start property of this JreUsage.
  • time_end (datetime) – The value to assign to the time_end property of this JreUsage.
  • time_first_seen (datetime) – The value to assign to the time_first_seen property of this JreUsage.
  • time_last_seen (datetime) – The value to assign to the time_last_seen property of this JreUsage.
approximate_application_count

Gets the approximate_application_count of this JreUsage. The approximate count of the applications running on this Java Runtime.

Returns:The approximate_application_count of this JreUsage.
Return type:int
approximate_installation_count

Gets the approximate_installation_count of this JreUsage. The approximate count of installations that are installations of this Java Runtime.

Returns:The approximate_installation_count of this JreUsage.
Return type:int
approximate_managed_instance_count

Gets the approximate_managed_instance_count of this JreUsage. The approximate count of the managed instances that report this Java Runtime.

Returns:The approximate_managed_instance_count of this JreUsage.
Return type:int
approximate_pending_work_request_count

Gets the approximate_pending_work_request_count of this JreUsage. The approximate count of work requests working on this Java Runtime.

Returns:The approximate_pending_work_request_count of this JreUsage.
Return type:int
days_under_security_baseline

Gets the days_under_security_baseline of this JreUsage. The number of days since this release has been under the security baseline.

Returns:The days_under_security_baseline of this JreUsage.
Return type:int
distribution

[Required] Gets the distribution of this JreUsage. The distribution of a Java Runtime is the name of the lineage of product to which it belongs, for example _Java(TM) SE Runtime Environment_.

Returns:The distribution of this JreUsage.
Return type:str
end_of_support_life_date

Gets the end_of_support_life_date of this JreUsage. The End of Support Life (EOSL) date of the Java Runtime (formatted according to RFC3339).

Returns:The end_of_support_life_date of this JreUsage.
Return type:datetime
fleet_id

Gets the fleet_id of this JreUsage. The OCID of the related fleet.

Returns:The fleet_id of this JreUsage.
Return type:str
id

Gets the id of this JreUsage. The internal identifier of the Java Runtime.

Returns:The id of this JreUsage.
Return type:str
managed_instance_id

Gets the managed_instance_id of this JreUsage. The OCID of the related managed instance. This property value is present only for /listJreUsage.

Returns:The managed_instance_id of this JreUsage.
Return type:str
operating_systems

Gets the operating_systems of this JreUsage. The operating systems that have this Java Runtime installed.

Returns:The operating_systems of this JreUsage.
Return type:list[oci.jms.models.OperatingSystem]
release_date

Gets the release_date of this JreUsage. The release date of the Java Runtime (formatted according to RFC3339).

Returns:The release_date of this JreUsage.
Return type:datetime
security_status

Gets the security_status of this JreUsage. The security status of the Java Runtime.

Allowed values for this property are: “EARLY_ACCESS”, “UNKNOWN”, “UP_TO_DATE”, “UPDATE_REQUIRED”, “UPGRADE_REQUIRED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The security_status of this JreUsage.
Return type:str
time_end

Gets the time_end of this JreUsage. 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 JreUsage.
Return type:datetime
time_first_seen

Gets the time_first_seen of this JreUsage. 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 JreUsage.
Return type:datetime
time_last_seen

Gets the time_last_seen of this JreUsage. 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 JreUsage.
Return type:datetime
time_start

Gets the time_start of this JreUsage. Lower 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_start of this JreUsage.
Return type:datetime
vendor

[Required] Gets the vendor of this JreUsage. The vendor of the Java Runtime.

Returns:The vendor of this JreUsage.
Return type:str
version

[Required] Gets the version of this JreUsage. The version of the Java Runtime.

Returns:The version of this JreUsage.
Return type:str