ManagedInstance

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

Bases: object

An object that defines the instance being managed by the service.

Attributes

ARCHITECTURE_AARCH64 A constant which can be used with the architecture property of a ManagedInstance.
ARCHITECTURE_I686 A constant which can be used with the architecture property of a ManagedInstance.
ARCHITECTURE_NOARCH A constant which can be used with the architecture property of a ManagedInstance.
ARCHITECTURE_SRC A constant which can be used with the architecture property of a ManagedInstance.
ARCHITECTURE_X86_64 A constant which can be used with the architecture property of a ManagedInstance.
LOCATION_AZURE A constant which can be used with the location property of a ManagedInstance.
LOCATION_EC2 A constant which can be used with the location property of a ManagedInstance.
LOCATION_GCP A constant which can be used with the location property of a ManagedInstance.
LOCATION_OCI_COMPUTE A constant which can be used with the location property of a ManagedInstance.
LOCATION_ON_PREMISE A constant which can be used with the location property of a ManagedInstance.
OS_FAMILY_ALL A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_ORACLE_LINUX_6 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_ORACLE_LINUX_7 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_ORACLE_LINUX_8 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_ORACLE_LINUX_9 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_WINDOWS_SERVER_2016 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_WINDOWS_SERVER_2019 A constant which can be used with the os_family property of a ManagedInstance.
OS_FAMILY_WINDOWS_SERVER_2022 A constant which can be used with the os_family property of a ManagedInstance.
STATUS_DELETING A constant which can be used with the status 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_ONBOARDING A constant which can be used with the status property of a ManagedInstance.
STATUS_REGISTRATION_ERROR 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.
architecture Gets the architecture of this ManagedInstance.
autonomous_settings Gets the autonomous_settings of this ManagedInstance.
bug_updates_available Gets the bug_updates_available 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.
installed_packages Gets the installed_packages of this ManagedInstance.
installed_windows_updates Gets the installed_windows_updates of this ManagedInstance.
is_managed_by_autonomous_linux Gets the is_managed_by_autonomous_linux of this ManagedInstance.
is_management_station Gets the is_management_station of this ManagedInstance.
is_reboot_required Gets the is_reboot_required of this ManagedInstance.
ksplice_effective_kernel_version Gets the ksplice_effective_kernel_version of this ManagedInstance.
lifecycle_environment Gets the lifecycle_environment of this ManagedInstance.
lifecycle_stage Gets the lifecycle_stage of this ManagedInstance.
location Gets the location of this ManagedInstance.
managed_instance_group Gets the managed_instance_group of this ManagedInstance.
notification_topic_id Gets the notification_topic_id 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.
primary_management_station_id Gets the primary_management_station_id of this ManagedInstance.
profile Gets the profile of this ManagedInstance.
scheduled_job_count Gets the scheduled_job_count of this ManagedInstance.
secondary_management_station_id Gets the secondary_management_station_id of this ManagedInstance.
security_updates_available Gets the security_updates_available of this ManagedInstance.
software_sources Gets the software_sources of this ManagedInstance.
status [Required] Gets the status of this ManagedInstance.
tenancy_id [Required] Gets the tenancy_id of this ManagedInstance.
time_created Gets the time_created of this ManagedInstance.
time_last_boot Gets the time_last_boot of this ManagedInstance.
time_last_checkin Gets the time_last_checkin of this ManagedInstance.
time_updated Gets the time_updated 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.
ARCHITECTURE_AARCH64 = 'AARCH64'

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

ARCHITECTURE_I686 = 'I686'

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

ARCHITECTURE_NOARCH = 'NOARCH'

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

ARCHITECTURE_SRC = 'SRC'

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

ARCHITECTURE_X86_64 = 'X86_64'

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

LOCATION_AZURE = 'AZURE'

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

LOCATION_EC2 = 'EC2'

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

LOCATION_GCP = 'GCP'

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

LOCATION_OCI_COMPUTE = 'OCI_COMPUTE'

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

LOCATION_ON_PREMISE = 'ON_PREMISE'

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

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_ORACLE_LINUX_6 = 'ORACLE_LINUX_6'

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

OS_FAMILY_ORACLE_LINUX_7 = 'ORACLE_LINUX_7'

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

OS_FAMILY_ORACLE_LINUX_8 = 'ORACLE_LINUX_8'

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

OS_FAMILY_ORACLE_LINUX_9 = 'ORACLE_LINUX_9'

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

OS_FAMILY_WINDOWS_SERVER_2016 = 'WINDOWS_SERVER_2016'

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

OS_FAMILY_WINDOWS_SERVER_2019 = 'WINDOWS_SERVER_2019'

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

OS_FAMILY_WINDOWS_SERVER_2022 = 'WINDOWS_SERVER_2022'

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

STATUS_DELETING = 'DELETING'

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

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_ONBOARDING = 'ONBOARDING'

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

STATUS_REGISTRATION_ERROR = 'REGISTRATION_ERROR'

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

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:
  • id (str) – The value to assign to the id property of this ManagedInstance.
  • display_name (str) – The value to assign to the display_name property of this ManagedInstance.
  • description (str) – The value to assign to the description property of this ManagedInstance.
  • tenancy_id (str) – The value to assign to the tenancy_id property of this ManagedInstance.
  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedInstance.
  • location (str) – The value to assign to the location property of this ManagedInstance. Allowed values for this property are: “ON_PREMISE”, “OCI_COMPUTE”, “AZURE”, “EC2”, “GCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_last_checkin (datetime) – The value to assign to the time_last_checkin property of this ManagedInstance.
  • time_last_boot (datetime) – The value to assign to the time_last_boot 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.
  • ksplice_effective_kernel_version (str) – The value to assign to the ksplice_effective_kernel_version property of this ManagedInstance.
  • architecture (str) – The value to assign to the architecture property of this ManagedInstance. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, ‘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 ManagedInstance. Allowed values for this property are: “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status (str) – The value to assign to the status property of this ManagedInstance. Allowed values for this property are: “NORMAL”, “UNREACHABLE”, “ERROR”, “WARNING”, “REGISTRATION_ERROR”, “DELETING”, “ONBOARDING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • profile (str) – The value to assign to the profile property of this ManagedInstance.
  • is_management_station (bool) – The value to assign to the is_management_station property of this ManagedInstance.
  • primary_management_station_id (str) – The value to assign to the primary_management_station_id property of this ManagedInstance.
  • secondary_management_station_id (str) – The value to assign to the secondary_management_station_id property of this ManagedInstance.
  • software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this ManagedInstance.
  • managed_instance_group (oci.os_management_hub.models.Id) – The value to assign to the managed_instance_group property of this ManagedInstance.
  • lifecycle_environment (oci.os_management_hub.models.Id) – The value to assign to the lifecycle_environment property of this ManagedInstance.
  • lifecycle_stage (oci.os_management_hub.models.Id) – The value to assign to the lifecycle_stage property of this ManagedInstance.
  • is_reboot_required (bool) – The value to assign to the is_reboot_required property of this ManagedInstance.
  • installed_packages (int) – The value to assign to the installed_packages property of this ManagedInstance.
  • installed_windows_updates (int) – The value to assign to the installed_windows_updates property of this ManagedInstance.
  • updates_available (int) – The value to assign to the updates_available 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.
  • time_created (datetime) – The value to assign to the time_created property of this ManagedInstance.
  • time_updated (datetime) – The value to assign to the time_updated property of this ManagedInstance.
  • notification_topic_id (str) – The value to assign to the notification_topic_id property of this ManagedInstance.
  • autonomous_settings (oci.os_management_hub.models.AutonomousSettings) – The value to assign to the autonomous_settings property of this ManagedInstance.
  • is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux property of this ManagedInstance.
architecture

Gets the architecture of this ManagedInstance. The CPU architecture type of the managed instance.

Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The architecture of this ManagedInstance.
Return type:str
autonomous_settings

Gets the autonomous_settings of this ManagedInstance.

Returns:The autonomous_settings of this ManagedInstance.
Return type:oci.os_management_hub.models.AutonomousSettings
bug_updates_available

Gets the bug_updates_available of this ManagedInstance. Number of bug fix type updates available for installation.

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

[Required] Gets the compartment_id of this ManagedInstance. The OCID of the compartment that contains the managed instance.

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

Gets the description of this ManagedInstance. User-specified description for the managed instance.

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

[Required] Gets the display_name of this ManagedInstance. User-friendly name for the managed instance.

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 for installation.

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

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

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

Gets the installed_packages of this ManagedInstance. Number of packages installed on the instance.

Returns:The installed_packages of this ManagedInstance.
Return type:int
installed_windows_updates

Gets the installed_windows_updates of this ManagedInstance. Number of Windows updates installed on the instance.

Returns:The installed_windows_updates of this ManagedInstance.
Return type:int
is_managed_by_autonomous_linux

Gets the is_managed_by_autonomous_linux of this ManagedInstance. Indicates whether the Autonomous Linux service manages the instance.

Returns:The is_managed_by_autonomous_linux of this ManagedInstance.
Return type:bool
is_management_station

Gets the is_management_station of this ManagedInstance. Indicates whether this managed instance is acting as an on-premises management station.

Returns:The is_management_station of this ManagedInstance.
Return type:bool
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
ksplice_effective_kernel_version

Gets the ksplice_effective_kernel_version of this ManagedInstance. The ksplice effective kernel version.

Returns:The ksplice_effective_kernel_version of this ManagedInstance.
Return type:str
lifecycle_environment

Gets the lifecycle_environment of this ManagedInstance.

Returns:The lifecycle_environment of this ManagedInstance.
Return type:oci.os_management_hub.models.Id
lifecycle_stage

Gets the lifecycle_stage of this ManagedInstance.

Returns:The lifecycle_stage of this ManagedInstance.
Return type:oci.os_management_hub.models.Id
location

Gets the location of this ManagedInstance. The location of the managed instance.

Allowed values for this property are: “ON_PREMISE”, “OCI_COMPUTE”, “AZURE”, “EC2”, “GCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The location of this ManagedInstance.
Return type:str
managed_instance_group

Gets the managed_instance_group of this ManagedInstance.

Returns:The managed_instance_group of this ManagedInstance.
Return type:oci.os_management_hub.models.Id
notification_topic_id

Gets the notification_topic_id of this ManagedInstance. The OCID for the Oracle Notifications service (ONS) topic. ONS is the channel used to send notifications to the customer.

Returns:The notification_topic_id of this ManagedInstance.
Return type:str
os_family

Gets the os_family of this ManagedInstance. The operating system type of the managed instance.

Allowed values for this property are: “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “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 (other) updates available for installation.

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

Gets the primary_management_station_id of this ManagedInstance. The OCID of the management station for the instance to use as primary management station.

Returns:The primary_management_station_id of this ManagedInstance.
Return type:str
profile

Gets the profile of this ManagedInstance. The profile that was used to register this instance with the service.

Returns:The profile of this ManagedInstance.
Return type:str
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
secondary_management_station_id

Gets the secondary_management_station_id of this ManagedInstance. The OCID of the management station for the instance to use as secondary managment station.

Returns:The secondary_management_station_id of this ManagedInstance.
Return type:str
security_updates_available

Gets the security_updates_available of this ManagedInstance. Number of security type updates available for installation.

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

Gets the software_sources of this ManagedInstance. The list of software sources currently attached to the managed instance.

Returns:The software_sources of this ManagedInstance.
Return type:list[oci.os_management_hub.models.SoftwareSourceDetails]
status

[Required] Gets the status of this ManagedInstance. Current status of the managed instance.

Allowed values for this property are: “NORMAL”, “UNREACHABLE”, “ERROR”, “WARNING”, “REGISTRATION_ERROR”, “DELETING”, “ONBOARDING”, ‘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
tenancy_id

[Required] Gets the tenancy_id of this ManagedInstance. The OCID of the tenancy that the managed instance resides in.

Returns:The tenancy_id of this ManagedInstance.
Return type:str
time_created

Gets the time_created of this ManagedInstance. The date and time the instance was created (in RFC 3339 format).

Returns:The time_created of this ManagedInstance.
Return type:datetime
time_last_boot

Gets the time_last_boot of this ManagedInstance. Time that the instance last booted (in RFC 3339 format).

Returns:The time_last_boot of this ManagedInstance.
Return type:datetime
time_last_checkin

Gets the time_last_checkin of this ManagedInstance. Time that the instance last checked in with the service (in RFC 3339 format).

Returns:The time_last_checkin of this ManagedInstance.
Return type:datetime
time_updated

Gets the time_updated of this ManagedInstance. The date and time the instance was last updated (in RFC 3339 format).

Returns:The time_updated of this ManagedInstance.
Return type:datetime
updates_available

Gets the updates_available of this ManagedInstance. Number of updates available for installation.

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