InstallationUsage¶
-
class
oci.jms.models.InstallationUsage(**kwargs)¶ Bases:
objectInstallation usage during a specified time period. An installation is a collection of deployed instances of a specific Java Runtime that share the same install path.
Attributes
SECURITY_STATUS_EARLY_ACCESSA constant which can be used with the security_status property of a InstallationUsage. SECURITY_STATUS_UNKNOWNA constant which can be used with the security_status property of a InstallationUsage. SECURITY_STATUS_UPDATE_REQUIREDA constant which can be used with the security_status property of a InstallationUsage. SECURITY_STATUS_UPGRADE_REQUIREDA constant which can be used with the security_status property of a InstallationUsage. SECURITY_STATUS_UP_TO_DATEA constant which can be used with the security_status property of a InstallationUsage. approximate_application_countGets the approximate_application_count of this InstallationUsage. approximate_managed_instance_countGets the approximate_managed_instance_count of this InstallationUsage. architecture[Required] Gets the architecture of this InstallationUsage. installation_keyGets the installation_key of this InstallationUsage. jre_distribution[Required] Gets the jre_distribution of this InstallationUsage. jre_vendor[Required] Gets the jre_vendor of this InstallationUsage. jre_version[Required] Gets the jre_version of this InstallationUsage. operating_systemGets the operating_system of this InstallationUsage. os[Required] Gets the os of this InstallationUsage. path[Required] Gets the path of this InstallationUsage. security_statusGets the security_status of this InstallationUsage. time_endGets the time_end of this InstallationUsage. time_first_seenGets the time_first_seen of this InstallationUsage. time_last_seenGets the time_last_seen of this InstallationUsage. time_startGets the time_start of this InstallationUsage. Methods
__init__(**kwargs)Initializes a new InstallationUsage 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 InstallationUsage. 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 InstallationUsage. 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 InstallationUsage. 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 InstallationUsage. 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 InstallationUsage. This constant has a value of “UP_TO_DATE”
-
__init__(**kwargs)¶ Initializes a new InstallationUsage object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - installation_key (str) – The value to assign to the installation_key property of this InstallationUsage.
- jre_vendor (str) – The value to assign to the jre_vendor property of this InstallationUsage.
- jre_distribution (str) – The value to assign to the jre_distribution property of this InstallationUsage.
- jre_version (str) – The value to assign to the jre_version property of this InstallationUsage.
- security_status (str) – The value to assign to the security_status property of this InstallationUsage. 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’.
- path (str) – The value to assign to the path property of this InstallationUsage.
- os (str) – The value to assign to the os property of this InstallationUsage.
- architecture (str) – The value to assign to the architecture property of this InstallationUsage.
- operating_system (oci.jms.models.OperatingSystem) – The value to assign to the operating_system property of this InstallationUsage.
- approximate_application_count (int) – The value to assign to the approximate_application_count property of this InstallationUsage.
- approximate_managed_instance_count (int) – The value to assign to the approximate_managed_instance_count property of this InstallationUsage.
- time_start (datetime) – The value to assign to the time_start property of this InstallationUsage.
- time_end (datetime) – The value to assign to the time_end property of this InstallationUsage.
- time_first_seen (datetime) – The value to assign to the time_first_seen property of this InstallationUsage.
- time_last_seen (datetime) – The value to assign to the time_last_seen property of this InstallationUsage.
-
approximate_application_count¶ Gets the approximate_application_count of this InstallationUsage. The approximate count of applications running on this installation
Returns: The approximate_application_count of this InstallationUsage. Return type: int
-
approximate_managed_instance_count¶ Gets the approximate_managed_instance_count of this InstallationUsage. The approximate count of managed instances reporting this installation
Returns: The approximate_managed_instance_count of this InstallationUsage. Return type: int
-
architecture¶ [Required] Gets the architecture of this InstallationUsage. The architecture of the operating system for the installation. Deprecated, use operatingSystem instead.
Returns: The architecture of this InstallationUsage. Return type: str
-
installation_key¶ Gets the installation_key of this InstallationUsage. The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.
Returns: The installation_key of this InstallationUsage. Return type: str
-
jre_distribution¶ [Required] Gets the jre_distribution of this InstallationUsage. The distribution of the Java Runtime that is deployed with the installation.
Returns: The jre_distribution of this InstallationUsage. Return type: str
-
jre_vendor¶ [Required] Gets the jre_vendor of this InstallationUsage. The vendor of the Java Runtime that is deployed with the installation.
Returns: The jre_vendor of this InstallationUsage. Return type: str
-
jre_version¶ [Required] Gets the jre_version of this InstallationUsage. The version of the Java Runtime that is deployed with the installation.
Returns: The jre_version of this InstallationUsage. Return type: str
-
operating_system¶ Gets the operating_system of this InstallationUsage.
Returns: The operating_system of this InstallationUsage. Return type: oci.jms.models.OperatingSystem
-
os¶ [Required] Gets the os of this InstallationUsage. The Operating System for the installation. Deprecated, use operatingSystem instead.
Returns: The os of this InstallationUsage. Return type: str
-
path¶ [Required] Gets the path of this InstallationUsage. The file system path of the Java installation.
Returns: The path of this InstallationUsage. Return type: str
-
security_status¶ Gets the security_status of this InstallationUsage. 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 InstallationUsage. Return type: str
-
time_end¶ Gets the time_end of this InstallationUsage. 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 InstallationUsage. Return type: datetime
-
time_first_seen¶ Gets the time_first_seen of this InstallationUsage. 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 InstallationUsage. Return type: datetime
-
time_last_seen¶ Gets the time_last_seen of this InstallationUsage. 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 InstallationUsage. Return type: datetime
-