ManagedInstanceGroup

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

Bases: object

Detail information for a managed instance group

Attributes

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.
OS_FAMILY_ALL A constant which can be used with the os_family property of a ManagedInstanceGroup.
OS_FAMILY_LINUX A constant which can be used with the os_family property of a ManagedInstanceGroup.
OS_FAMILY_WINDOWS A constant which can be used with the os_family property of a 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 [Required] Gets the display_name of this ManagedInstanceGroup.
freeform_tags Gets the freeform_tags of this ManagedInstanceGroup.
id [Required] Gets the id of this ManagedInstanceGroup.
lifecycle_state Gets the lifecycle_state of this ManagedInstanceGroup.
managed_instances Gets the managed_instances of this ManagedInstanceGroup.
os_family Gets the os_family of this ManagedInstanceGroup.

Methods

__init__(**kwargs) Initializes a new ManagedInstanceGroup object with values from keyword arguments.
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”

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_LINUX = 'LINUX'

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

OS_FAMILY_WINDOWS = 'WINDOWS'

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

__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:
  • display_name (str) – The value to assign to the display_name property of this ManagedInstanceGroup.
  • id (str) – The value to assign to the id property of this ManagedInstanceGroup.
  • description (str) – The value to assign to the description property of this ManagedInstanceGroup.
  • compartment_id (str) – The value to assign to the compartment_id property of this ManagedInstanceGroup.
  • managed_instances (list[oci.os_management.models.Id]) – The value to assign to the managed_instances 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’.
  • 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.
  • os_family (str) – The value to assign to the os_family property of this ManagedInstanceGroup. 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’.
compartment_id

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

Returns:The compartment_id of this ManagedInstanceGroup.
Return type:str
defined_tags

Gets the defined_tags of this ManagedInstanceGroup. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this ManagedInstanceGroup.
Return type:dict(str, dict(str, object))
description

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

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

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

Returns:The display_name of this ManagedInstanceGroup.
Return type:str
freeform_tags

Gets the freeform_tags of this ManagedInstanceGroup. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this ManagedInstanceGroup.
Return type:dict(str, str)
id

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

Returns:The id of this ManagedInstanceGroup.
Return type:str
lifecycle_state

Gets the lifecycle_state of this ManagedInstanceGroup. The current state of the Software Source.

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
managed_instances

Gets the managed_instances of this ManagedInstanceGroup. list of Managed Instances in the group

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

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