OperatingSystem

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

Bases: object

Operating System of the platform on which the Java Runtime was reported.

Attributes

FAMILY_LINUX A constant which can be used with the family property of a OperatingSystem.
FAMILY_MACOS A constant which can be used with the family property of a OperatingSystem.
FAMILY_UNKNOWN A constant which can be used with the family property of a OperatingSystem.
FAMILY_WINDOWS A constant which can be used with the family property of a OperatingSystem.
architecture [Required] Gets the architecture of this OperatingSystem.
family [Required] Gets the family of this OperatingSystem.
managed_instance_count Gets the managed_instance_count of this OperatingSystem.
name [Required] Gets the name of this OperatingSystem.
version [Required] Gets the version of this OperatingSystem.

Methods

__init__(**kwargs) Initializes a new OperatingSystem object with values from keyword arguments.
FAMILY_LINUX = 'LINUX'

A constant which can be used with the family property of a OperatingSystem. This constant has a value of “LINUX”

FAMILY_MACOS = 'MACOS'

A constant which can be used with the family property of a OperatingSystem. This constant has a value of “MACOS”

FAMILY_UNKNOWN = 'UNKNOWN'

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

FAMILY_WINDOWS = 'WINDOWS'

A constant which can be used with the family property of a OperatingSystem. This constant has a value of “WINDOWS”

__init__(**kwargs)

Initializes a new OperatingSystem object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • family (str) – The value to assign to the family property of this OperatingSystem. Allowed values for this property are: “LINUX”, “WINDOWS”, “MACOS”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • name (str) – The value to assign to the name property of this OperatingSystem.
  • version (str) – The value to assign to the version property of this OperatingSystem.
  • architecture (str) – The value to assign to the architecture property of this OperatingSystem.
  • managed_instance_count (int) – The value to assign to the managed_instance_count property of this OperatingSystem.
architecture

[Required] Gets the architecture of this OperatingSystem. The architecture of the operating system as provided by the Java system property os.arch.

Returns:The architecture of this OperatingSystem.
Return type:str
family

[Required] Gets the family of this OperatingSystem. The operating system type, such as Windows, Linux or macOS

Allowed values for this property are: “LINUX”, “WINDOWS”, “MACOS”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The family of this OperatingSystem.
Return type:str
managed_instance_count

Gets the managed_instance_count of this OperatingSystem. Number of instances running the operating system.

Returns:The managed_instance_count of this OperatingSystem.
Return type:int
name

[Required] Gets the name of this OperatingSystem. The name of the operating system as provided by the Java system property os.name.

Returns:The name of this OperatingSystem.
Return type:str
version

[Required] Gets the version of this OperatingSystem. The version of the operating system as provided by the Java system property os.version.

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