ManagedInstanceSummary

class oci.os_management.models.ManagedInstanceSummary(**kwargs)

Bases: object

An OCI Compute instance that is being managed

Attributes

OS_FAMILY_ALL A constant which can be used with the os_family property of a ManagedInstanceSummary.
OS_FAMILY_LINUX A constant which can be used with the os_family property of a ManagedInstanceSummary.
OS_FAMILY_WINDOWS A constant which can be used with the os_family property of a ManagedInstanceSummary.
STATUS_ERROR A constant which can be used with the status property of a ManagedInstanceSummary.
STATUS_NORMAL A constant which can be used with the status property of a ManagedInstanceSummary.
STATUS_UNREACHABLE A constant which can be used with the status property of a ManagedInstanceSummary.
STATUS_WARNING A constant which can be used with the status property of a ManagedInstanceSummary.
compartment_id [Required] Gets the compartment_id of this ManagedInstanceSummary.
description Gets the description of this ManagedInstanceSummary.
display_name [Required] Gets the display_name of this ManagedInstanceSummary.
id [Required] Gets the id of this ManagedInstanceSummary.
is_reboot_required Gets the is_reboot_required of this ManagedInstanceSummary.
last_boot Gets the last_boot of this ManagedInstanceSummary.
last_checkin Gets the last_checkin of this ManagedInstanceSummary.
os_family Gets the os_family of this ManagedInstanceSummary.
status Gets the status of this ManagedInstanceSummary.
updates_available Gets the updates_available of this ManagedInstanceSummary.

Methods

__init__(**kwargs) Initializes a new ManagedInstanceSummary object with values from keyword arguments.
OS_FAMILY_ALL = 'ALL'

A constant which can be used with the os_family property of a ManagedInstanceSummary. This constant has a value of “ALL”

OS_FAMILY_LINUX = 'LINUX'

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

OS_FAMILY_WINDOWS = 'WINDOWS'

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

STATUS_ERROR = 'ERROR'

A constant which can be used with the status property of a ManagedInstanceSummary. This constant has a value of “ERROR”

STATUS_NORMAL = 'NORMAL'

A constant which can be used with the status property of a ManagedInstanceSummary. This constant has a value of “NORMAL”

STATUS_UNREACHABLE = 'UNREACHABLE'

A constant which can be used with the status property of a ManagedInstanceSummary. This constant has a value of “UNREACHABLE”

STATUS_WARNING = 'WARNING'

A constant which can be used with the status property of a ManagedInstanceSummary. This constant has a value of “WARNING”

__init__(**kwargs)

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

Parameters:
  • display_name (str) – The value to assign to the display_name property of this ManagedInstanceSummary.
  • id (str) – The value to assign to the id property of this ManagedInstanceSummary.
  • last_checkin (str) – The value to assign to the last_checkin property of this ManagedInstanceSummary.
  • last_boot (str) – The value to assign to the last_boot property of this ManagedInstanceSummary.
  • updates_available (int) – The value to assign to the updates_available property of this ManagedInstanceSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedInstanceSummary.
  • description (str) – The value to assign to the description property of this ManagedInstanceSummary.
  • status (str) – The value to assign to the status property of this ManagedInstanceSummary. Allowed values for this property are: “NORMAL”, “UNREACHABLE”, “ERROR”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • os_family (str) – The value to assign to the os_family property of this ManagedInstanceSummary. Allowed values for this property are: “LINUX”, “WINDOWS”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_reboot_required (bool) – The value to assign to the is_reboot_required property of this ManagedInstanceSummary.
compartment_id

[Required] Gets the compartment_id of this ManagedInstanceSummary. OCID for the Compartment

Returns:The compartment_id of this ManagedInstanceSummary.
Return type:str
description

Gets the description of this ManagedInstanceSummary. Information specified by the user about the managed instance

Returns:The description of this ManagedInstanceSummary.
Return type:str
display_name

[Required] Gets the display_name of this ManagedInstanceSummary. user settable name

Returns:The display_name of this ManagedInstanceSummary.
Return type:str
id

[Required] Gets the id of this ManagedInstanceSummary. OCID for the managed instance

Returns:The id of this ManagedInstanceSummary.
Return type:str
is_reboot_required

Gets the is_reboot_required of this ManagedInstanceSummary. Indicates whether a reboot is required to complete installation of updates.

Returns:The is_reboot_required of this ManagedInstanceSummary.
Return type:bool
last_boot

Gets the last_boot of this ManagedInstanceSummary. Time at which the instance last booted

Returns:The last_boot of this ManagedInstanceSummary.
Return type:str
last_checkin

Gets the last_checkin of this ManagedInstanceSummary. Time at which the instance last checked in

Returns:The last_checkin of this ManagedInstanceSummary.
Return type:str
os_family

Gets the os_family of this ManagedInstanceSummary. The Operating System type of the managed instance.

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

Returns:The os_family of this ManagedInstanceSummary.
Return type:str
status

Gets the status of this ManagedInstanceSummary. status of the managed instance.

Allowed values for this property are: “NORMAL”, “UNREACHABLE”, “ERROR”, “WARNING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this ManagedInstanceSummary.
Return type:str
updates_available

Gets the updates_available of this ManagedInstanceSummary. Number of updates available to be installed

Returns:The updates_available of this ManagedInstanceSummary.
Return type:int