ManagedInstance

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

Bases: object

Detail information for 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 ManagedInstance.
OS_FAMILY_LINUX A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_WINDOWS A constant which can be used with the os_family property of a ManagedInstance.
STATUS_ERROR A constant which can be used with the status property of a ManagedInstance.
STATUS_NORMAL A constant which can be used with the status property of a ManagedInstance.
STATUS_UNREACHABLE A constant which can be used with the status property of a ManagedInstance.
STATUS_WARNING A constant which can be used with the status property of a ManagedInstance.
bug_updates_available Gets the bug_updates_available of this ManagedInstance.
child_software_sources Gets the child_software_sources of this ManagedInstance.
compartment_id [Required] Gets the compartment_id of this ManagedInstance.
description Gets the description of this ManagedInstance.
display_name [Required] Gets the display_name of this ManagedInstance.
enhancement_updates_available Gets the enhancement_updates_available of this ManagedInstance.
id [Required] Gets the id of this ManagedInstance.
is_reboot_required Gets the is_reboot_required of this ManagedInstance.
last_boot Gets the last_boot of this ManagedInstance.
last_checkin Gets the last_checkin of this ManagedInstance.
managed_instance_groups Gets the managed_instance_groups of this ManagedInstance.
os_family Gets the os_family of this ManagedInstance.
os_kernel_version Gets the os_kernel_version of this ManagedInstance.
os_name Gets the os_name of this ManagedInstance.
os_version Gets the os_version of this ManagedInstance.
other_updates_available Gets the other_updates_available of this ManagedInstance.
parent_software_source Gets the parent_software_source of this ManagedInstance.
scheduled_job_count Gets the scheduled_job_count of this ManagedInstance.
security_updates_available Gets the security_updates_available of this ManagedInstance.
status Gets the status of this ManagedInstance.
updates_available Gets the updates_available of this ManagedInstance.
work_request_count Gets the work_request_count of this ManagedInstance.

Methods

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

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

OS_FAMILY_LINUX = 'LINUX'

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

OS_FAMILY_WINDOWS = 'WINDOWS'

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

STATUS_ERROR = 'ERROR'

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

STATUS_NORMAL = 'NORMAL'

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

STATUS_UNREACHABLE = 'UNREACHABLE'

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

STATUS_WARNING = 'WARNING'

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

__init__(**kwargs)

Initializes a new ManagedInstance 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 ManagedInstance.
  • id (str) – The value to assign to the id property of this ManagedInstance.
  • description (str) – The value to assign to the description property of this ManagedInstance.
  • last_checkin (str) – The value to assign to the last_checkin property of this ManagedInstance.
  • last_boot (str) – The value to assign to the last_boot property of this ManagedInstance.
  • updates_available (int) – The value to assign to the updates_available property of this ManagedInstance.
  • os_name (str) – The value to assign to the os_name property of this ManagedInstance.
  • os_version (str) – The value to assign to the os_version property of this ManagedInstance.
  • os_kernel_version (str) – The value to assign to the os_kernel_version property of this ManagedInstance.
  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedInstance.
  • status (str) – The value to assign to the status property of this ManagedInstance. 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’.
  • parent_software_source (oci.os_management.models.SoftwareSourceId) – The value to assign to the parent_software_source property of this ManagedInstance.
  • child_software_sources (list[oci.os_management.models.SoftwareSourceId]) – The value to assign to the child_software_sources property of this ManagedInstance.
  • managed_instance_groups (list[oci.os_management.models.Id]) – The value to assign to the managed_instance_groups property of this ManagedInstance.
  • os_family (str) – The value to assign to the os_family property of this ManagedInstance. 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 ManagedInstance.
  • security_updates_available (int) – The value to assign to the security_updates_available property of this ManagedInstance.
  • bug_updates_available (int) – The value to assign to the bug_updates_available property of this ManagedInstance.
  • enhancement_updates_available (int) – The value to assign to the enhancement_updates_available property of this ManagedInstance.
  • other_updates_available (int) – The value to assign to the other_updates_available property of this ManagedInstance.
  • scheduled_job_count (int) – The value to assign to the scheduled_job_count property of this ManagedInstance.
  • work_request_count (int) – The value to assign to the work_request_count property of this ManagedInstance.
bug_updates_available

Gets the bug_updates_available of this ManagedInstance. Number of bug fix type updates available to be installed

Returns:The bug_updates_available of this ManagedInstance.
Return type:int
child_software_sources

Gets the child_software_sources of this ManagedInstance. list of child Software Sources attached to the Managed Instance

Returns:The child_software_sources of this ManagedInstance.
Return type:list[oci.os_management.models.SoftwareSourceId]
compartment_id

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

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

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

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

[Required] Gets the display_name of this ManagedInstance. Managed Instance identifier

Returns:The display_name of this ManagedInstance.
Return type:str
enhancement_updates_available

Gets the enhancement_updates_available of this ManagedInstance. Number of enhancement type updates available to be installed

Returns:The enhancement_updates_available of this ManagedInstance.
Return type:int
id

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

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

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

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

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

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

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

Returns:The last_checkin of this ManagedInstance.
Return type:str
managed_instance_groups

Gets the managed_instance_groups of this ManagedInstance. The ids of the managed instance groups of which this instance is a member.

Returns:The managed_instance_groups of this ManagedInstance.
Return type:list[oci.os_management.models.Id]
os_family

Gets the os_family of this ManagedInstance. 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 ManagedInstance.
Return type:str
os_kernel_version

Gets the os_kernel_version of this ManagedInstance. Operating System Kernel Version

Returns:The os_kernel_version of this ManagedInstance.
Return type:str
os_name

Gets the os_name of this ManagedInstance. Operating System Name

Returns:The os_name of this ManagedInstance.
Return type:str
os_version

Gets the os_version of this ManagedInstance. Operating System Version

Returns:The os_version of this ManagedInstance.
Return type:str
other_updates_available

Gets the other_updates_available of this ManagedInstance. Number of non-classified updates available to be installed

Returns:The other_updates_available of this ManagedInstance.
Return type:int
parent_software_source

Gets the parent_software_source of this ManagedInstance. the parent (base) Software Source attached to the Managed Instance

Returns:The parent_software_source of this ManagedInstance.
Return type:oci.os_management.models.SoftwareSourceId
scheduled_job_count

Gets the scheduled_job_count of this ManagedInstance. Number of scheduled jobs associated with this instance

Returns:The scheduled_job_count of this ManagedInstance.
Return type:int
security_updates_available

Gets the security_updates_available of this ManagedInstance. Number of security type updates available to be installed

Returns:The security_updates_available of this ManagedInstance.
Return type:int
status

Gets the status of this ManagedInstance. 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 ManagedInstance.
Return type:str
updates_available

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

Returns:The updates_available of this ManagedInstance.
Return type:int
work_request_count

Gets the work_request_count of this ManagedInstance. Number of work requests associated with this instance

Returns:The work_request_count of this ManagedInstance.
Return type:int