ManagedInstanceGroup

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

Bases: object

An object that defines the managed instance group.

Attributes:

ARCH_TYPE_AARCH64

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_ALL

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_AMD64

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_ARM64

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_I386

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_I686

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_NOARCH

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_SRC

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

ARCH_TYPE_X86_64

A constant which can be used with the arch_type property of a ManagedInstanceGroup.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup.

LOCATION_AZURE

A constant which can be used with the location property of a ManagedInstanceGroup.

LOCATION_EC2

A constant which can be used with the location property of a ManagedInstanceGroup.

LOCATION_GCP

A constant which can be used with the location property of a ManagedInstanceGroup.

LOCATION_OCI_COMPUTE

A constant which can be used with the location property of a ManagedInstanceGroup.

LOCATION_ON_PREMISE

A constant which can be used with the location property of a ManagedInstanceGroup.

OS_FAMILY_ALL

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_ORACLE_LINUX_10

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_ORACLE_LINUX_6

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_ORACLE_LINUX_7

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_ORACLE_LINUX_8

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_ORACLE_LINUX_9

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_UBUNTU_20_04

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_UBUNTU_22_04

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_UBUNTU_24_04

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_WINDOWS_11

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_WINDOWS_SERVER_2016

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_WINDOWS_SERVER_2019

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_WINDOWS_SERVER_2022

A constant which can be used with the os_family property of a ManagedInstanceGroup.

OS_FAMILY_WINDOWS_SERVER_2025

A constant which can be used with the os_family property of a ManagedInstanceGroup.

VENDOR_NAME_CANONICAL

A constant which can be used with the vendor_name property of a ManagedInstanceGroup.

VENDOR_NAME_MICROSOFT

A constant which can be used with the vendor_name property of a ManagedInstanceGroup.

VENDOR_NAME_ORACLE

A constant which can be used with the vendor_name property of a ManagedInstanceGroup.

arch_type

Gets the arch_type of this ManagedInstanceGroup.

autonomous_settings

Gets the autonomous_settings of this ManagedInstanceGroup.

compartment_id

[Required] Gets the compartment_id of this ManagedInstanceGroup.

defined_tags

Gets the defined_tags of this ManagedInstanceGroup.

description

Gets the description of this ManagedInstanceGroup.

display_name

Gets the display_name of this ManagedInstanceGroup.

freeform_tags

Gets the freeform_tags of this ManagedInstanceGroup.

id

[Required] Gets the id of this ManagedInstanceGroup.

is_managed_by_autonomous_linux

Gets the is_managed_by_autonomous_linux of this ManagedInstanceGroup.

lifecycle_state

[Required] Gets the lifecycle_state of this ManagedInstanceGroup.

location

Gets the location of this ManagedInstanceGroup.

managed_instance_count

Gets the managed_instance_count of this ManagedInstanceGroup.

managed_instance_ids

Gets the managed_instance_ids of this ManagedInstanceGroup.

notification_topic_id

Gets the notification_topic_id of this ManagedInstanceGroup.

os_family

Gets the os_family of this ManagedInstanceGroup.

pending_job_count

Gets the pending_job_count of this ManagedInstanceGroup.

software_source_ids

Gets the software_source_ids of this ManagedInstanceGroup.

software_sources

Gets the software_sources of this ManagedInstanceGroup.

system_tags

Gets the system_tags of this ManagedInstanceGroup.

time_created

Gets the time_created of this ManagedInstanceGroup.

time_modified

Gets the time_modified of this ManagedInstanceGroup.

vendor_name

Gets the vendor_name of this ManagedInstanceGroup.

Methods:

__init__(**kwargs)

Initializes a new ManagedInstanceGroup object with values from keyword arguments.

ARCH_TYPE_AARCH64 = 'AARCH64'

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

ARCH_TYPE_ALL = 'ALL'

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

ARCH_TYPE_AMD64 = 'AMD64'

A constant which can be used with the arch_type property of a ManagedInstanceGroup. This constant has a value of “AMD64”

ARCH_TYPE_ARM64 = 'ARM64'

A constant which can be used with the arch_type property of a ManagedInstanceGroup. This constant has a value of “ARM64”

ARCH_TYPE_I386 = 'I386'

A constant which can be used with the arch_type property of a ManagedInstanceGroup. This constant has a value of “I386”

ARCH_TYPE_I686 = 'I686'

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

ARCH_TYPE_NOARCH = 'NOARCH'

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

ARCH_TYPE_SRC = 'SRC'

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

ARCH_TYPE_X86_64 = 'X86_64'

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

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a ManagedInstanceGroup. This constant has a value of “UPDATING”

LOCATION_AZURE = 'AZURE'

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

LOCATION_EC2 = 'EC2'

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

LOCATION_GCP = 'GCP'

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

LOCATION_OCI_COMPUTE = 'OCI_COMPUTE'

A constant which can be used with the location property of a ManagedInstanceGroup. 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 ManagedInstanceGroup. 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 ManagedInstanceGroup. This constant has a value of “ALL”

OS_FAMILY_ORACLE_LINUX_10 = 'ORACLE_LINUX_10'

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

OS_FAMILY_ORACLE_LINUX_6 = 'ORACLE_LINUX_6'

A constant which can be used with the os_family property of a ManagedInstanceGroup. 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 ManagedInstanceGroup. 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 ManagedInstanceGroup. 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 ManagedInstanceGroup. This constant has a value of “ORACLE_LINUX_9”

OS_FAMILY_UBUNTU_20_04 = 'UBUNTU_20_04'

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

OS_FAMILY_UBUNTU_22_04 = 'UBUNTU_22_04'

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

OS_FAMILY_UBUNTU_24_04 = 'UBUNTU_24_04'

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

OS_FAMILY_WINDOWS_11 = 'WINDOWS_11'

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

OS_FAMILY_WINDOWS_SERVER_2016 = 'WINDOWS_SERVER_2016'

A constant which can be used with the os_family property of a ManagedInstanceGroup. 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 ManagedInstanceGroup. 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 ManagedInstanceGroup. This constant has a value of “WINDOWS_SERVER_2022”

OS_FAMILY_WINDOWS_SERVER_2025 = 'WINDOWS_SERVER_2025'

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

VENDOR_NAME_CANONICAL = 'CANONICAL'

A constant which can be used with the vendor_name property of a ManagedInstanceGroup. This constant has a value of “CANONICAL”

VENDOR_NAME_MICROSOFT = 'MICROSOFT'

A constant which can be used with the vendor_name property of a ManagedInstanceGroup. This constant has a value of “MICROSOFT”

VENDOR_NAME_ORACLE = 'ORACLE'

A constant which can be used with the vendor_name property of a ManagedInstanceGroup. This constant has a value of “ORACLE”

__init__(**kwargs)

Initializes a new ManagedInstanceGroup 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 ManagedInstanceGroup.

  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedInstanceGroup.

  • display_name (str) – The value to assign to the display_name property of this ManagedInstanceGroup.

  • description (str) – The value to assign to the description property of this ManagedInstanceGroup.

  • time_created (datetime) – The value to assign to the time_created property of this ManagedInstanceGroup.

  • time_modified (datetime) – The value to assign to the time_modified property of this ManagedInstanceGroup.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ManagedInstanceGroup. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘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 ManagedInstanceGroup. Allowed values for this property are: “ORACLE_LINUX_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • arch_type (str) – The value to assign to the arch_type property of this ManagedInstanceGroup. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, “AMD64”, “ARM64”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • vendor_name (str) – The value to assign to the vendor_name property of this ManagedInstanceGroup. Allowed values for this property are: “ORACLE”, “MICROSOFT”, “CANONICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • software_source_ids (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_source_ids property of this ManagedInstanceGroup.

  • software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this ManagedInstanceGroup.

  • managed_instance_ids (list[str]) – The value to assign to the managed_instance_ids property of this ManagedInstanceGroup.

  • managed_instance_count (int) – The value to assign to the managed_instance_count property of this ManagedInstanceGroup.

  • location (str) – The value to assign to the location property of this ManagedInstanceGroup. 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’.

  • pending_job_count (int) – The value to assign to the pending_job_count property of this ManagedInstanceGroup.

  • notification_topic_id (str) – The value to assign to the notification_topic_id property of this ManagedInstanceGroup.

  • autonomous_settings (oci.os_management_hub.models.AutonomousSettings) – The value to assign to the autonomous_settings property of this ManagedInstanceGroup.

  • is_managed_by_autonomous_linux (bool) – The value to assign to the is_managed_by_autonomous_linux property of this ManagedInstanceGroup.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ManagedInstanceGroup.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ManagedInstanceGroup.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ManagedInstanceGroup.

property arch_type

Gets the arch_type of this ManagedInstanceGroup. The CPU architecture of the instances in the managed instance group.

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

Returns

The arch_type of this ManagedInstanceGroup.

Return type

str

property autonomous_settings

Gets the autonomous_settings of this ManagedInstanceGroup.

Returns

The autonomous_settings of this ManagedInstanceGroup.

Return type

oci.os_management_hub.models.AutonomousSettings

property compartment_id

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

Returns

The compartment_id of this ManagedInstanceGroup.

Return type

str

property defined_tags

Gets the defined_tags of this ManagedInstanceGroup. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns

The defined_tags of this ManagedInstanceGroup.

Return type

dict(str, dict(str, object))

property description

Gets the description of this ManagedInstanceGroup. User-specified information about the managed instance group.

Returns

The description of this ManagedInstanceGroup.

Return type

str

property display_name

Gets the display_name of this ManagedInstanceGroup. A user-friendly name for the managed instance group.

Returns

The display_name of this ManagedInstanceGroup.

Return type

str

property freeform_tags

Gets the freeform_tags of this ManagedInstanceGroup. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns

The freeform_tags of this ManagedInstanceGroup.

Return type

dict(str, str)

property id

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

Returns

The id of this ManagedInstanceGroup.

Return type

str

property is_managed_by_autonomous_linux

Gets the is_managed_by_autonomous_linux of this ManagedInstanceGroup. Indicates whether the Autonomous Linux service manages the group.

Returns

The is_managed_by_autonomous_linux of this ManagedInstanceGroup.

Return type

bool

property lifecycle_state

[Required] Gets the lifecycle_state of this ManagedInstanceGroup. The current state of the managed instance group.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this ManagedInstanceGroup.

Return type

str

property location

Gets the location of this ManagedInstanceGroup. The location of managed instances attached to the group.

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 ManagedInstanceGroup.

Return type

str

property managed_instance_count

Gets the managed_instance_count of this ManagedInstanceGroup. The number of managed instances in the group.

Returns

The managed_instance_count of this ManagedInstanceGroup.

Return type

int

property managed_instance_ids

Gets the managed_instance_ids of this ManagedInstanceGroup. The list of managed instance OCIDs attached to the managed instance group.

Returns

The managed_instance_ids of this ManagedInstanceGroup.

Return type

list[str]

property notification_topic_id

Gets the notification_topic_id of this ManagedInstanceGroup. 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 ManagedInstanceGroup.

Return type

str

property os_family

Gets the os_family of this ManagedInstanceGroup. The operating system type of the instances in the managed instance group.

Allowed values for this property are: “ORACLE_LINUX_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The os_family of this ManagedInstanceGroup.

Return type

str

property pending_job_count

Gets the pending_job_count of this ManagedInstanceGroup. The number of scheduled jobs pending against the managed instance group.

Returns

The pending_job_count of this ManagedInstanceGroup.

Return type

int

property software_source_ids

Gets the software_source_ids of this ManagedInstanceGroup. The list of software source OCIDs that the managed instance group will use.

Returns

The software_source_ids of this ManagedInstanceGroup.

Return type

list[oci.os_management_hub.models.SoftwareSourceDetails]

property software_sources

Gets the software_sources of this ManagedInstanceGroup. The list of software sources that the managed instance group will use.

Returns

The software_sources of this ManagedInstanceGroup.

Return type

list[oci.os_management_hub.models.SoftwareSourceDetails]

property system_tags

Gets the system_tags of this ManagedInstanceGroup. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this ManagedInstanceGroup.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this ManagedInstanceGroup. The time the managed instance group was created (in RFC 3339 format).

Returns

The time_created of this ManagedInstanceGroup.

Return type

datetime

property time_modified

Gets the time_modified of this ManagedInstanceGroup. The time the managed instance group was last modified (in RFC 3339 format).

Returns

The time_modified of this ManagedInstanceGroup.

Return type

datetime

property vendor_name

Gets the vendor_name of this ManagedInstanceGroup. The vendor of the operating system used by the managed instances in the group.

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

Returns

The vendor_name of this ManagedInstanceGroup.

Return type

str