LifecycleEnvironment

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

Bases: object

Defines the lifecycle environment, including the associated versioned software sources, lifecycle stages, and managed instances.

Attributes

ARCH_TYPE_AARCH64 A constant which can be used with the arch_type property of a LifecycleEnvironment.
ARCH_TYPE_I686 A constant which can be used with the arch_type property of a LifecycleEnvironment.
ARCH_TYPE_NOARCH A constant which can be used with the arch_type property of a LifecycleEnvironment.
ARCH_TYPE_SRC A constant which can be used with the arch_type property of a LifecycleEnvironment.
ARCH_TYPE_X86_64 A constant which can be used with the arch_type property of a LifecycleEnvironment.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a LifecycleEnvironment.
LOCATION_AZURE A constant which can be used with the location property of a LifecycleEnvironment.
LOCATION_EC2 A constant which can be used with the location property of a LifecycleEnvironment.
LOCATION_GCP A constant which can be used with the location property of a LifecycleEnvironment.
LOCATION_OCI_COMPUTE A constant which can be used with the location property of a LifecycleEnvironment.
LOCATION_ON_PREMISE A constant which can be used with the location property of a LifecycleEnvironment.
OS_FAMILY_ALL A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_ORACLE_LINUX_6 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_ORACLE_LINUX_7 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_ORACLE_LINUX_8 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_ORACLE_LINUX_9 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_WINDOWS_SERVER_2016 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_WINDOWS_SERVER_2019 A constant which can be used with the os_family property of a LifecycleEnvironment.
OS_FAMILY_WINDOWS_SERVER_2022 A constant which can be used with the os_family property of a LifecycleEnvironment.
VENDOR_NAME_MICROSOFT A constant which can be used with the vendor_name property of a LifecycleEnvironment.
VENDOR_NAME_ORACLE A constant which can be used with the vendor_name property of a LifecycleEnvironment.
arch_type [Required] Gets the arch_type of this LifecycleEnvironment.
compartment_id [Required] Gets the compartment_id of this LifecycleEnvironment.
defined_tags Gets the defined_tags of this LifecycleEnvironment.
description Gets the description of this LifecycleEnvironment.
display_name [Required] Gets the display_name of this LifecycleEnvironment.
freeform_tags Gets the freeform_tags of this LifecycleEnvironment.
id [Required] Gets the id of this LifecycleEnvironment.
lifecycle_state [Required] Gets the lifecycle_state of this LifecycleEnvironment.
location Gets the location of this LifecycleEnvironment.
managed_instance_ids Gets the managed_instance_ids of this LifecycleEnvironment.
os_family [Required] Gets the os_family of this LifecycleEnvironment.
stages [Required] Gets the stages of this LifecycleEnvironment.
system_tags Gets the system_tags of this LifecycleEnvironment.
time_created [Required] Gets the time_created of this LifecycleEnvironment.
time_modified Gets the time_modified of this LifecycleEnvironment.
vendor_name [Required] Gets the vendor_name of this LifecycleEnvironment.

Methods

__init__(**kwargs) Initializes a new LifecycleEnvironment object with values from keyword arguments.
ARCH_TYPE_AARCH64 = 'AARCH64'

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

ARCH_TYPE_I686 = 'I686'

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

ARCH_TYPE_NOARCH = 'NOARCH'

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

ARCH_TYPE_SRC = 'SRC'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

LOCATION_AZURE = 'AZURE'

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

LOCATION_EC2 = 'EC2'

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

LOCATION_GCP = 'GCP'

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

LOCATION_OCI_COMPUTE = 'OCI_COMPUTE'

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

VENDOR_NAME_MICROSOFT = 'MICROSOFT'

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

VENDOR_NAME_ORACLE = 'ORACLE'

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

__init__(**kwargs)

Initializes a new LifecycleEnvironment 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 LifecycleEnvironment.
  • compartment_id (str) – The value to assign to the compartment_id property of this LifecycleEnvironment.
  • display_name (str) – The value to assign to the display_name property of this LifecycleEnvironment.
  • description (str) – The value to assign to the description property of this LifecycleEnvironment.
  • stages (list[oci.os_management_hub.models.LifecycleStage]) – The value to assign to the stages property of this LifecycleEnvironment.
  • managed_instance_ids (list[oci.os_management_hub.models.ManagedInstanceDetails]) – The value to assign to the managed_instance_ids property of this LifecycleEnvironment.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LifecycleEnvironment. 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 LifecycleEnvironment. 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’.
  • arch_type (str) – The value to assign to the arch_type property of this LifecycleEnvironment. 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’.
  • vendor_name (str) – The value to assign to the vendor_name property of this LifecycleEnvironment. Allowed values for this property are: “ORACLE”, “MICROSOFT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • location (str) – The value to assign to the location property of this LifecycleEnvironment. 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_created (datetime) – The value to assign to the time_created property of this LifecycleEnvironment.
  • time_modified (datetime) – The value to assign to the time_modified property of this LifecycleEnvironment.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this LifecycleEnvironment.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this LifecycleEnvironment.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this LifecycleEnvironment.
arch_type

[Required] Gets the arch_type of this LifecycleEnvironment. The CPU architecture of the managed instances in the lifecycle environment.

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 arch_type of this LifecycleEnvironment.
Return type:str
compartment_id

[Required] Gets the compartment_id of this LifecycleEnvironment. The OCID of the compartment that contains the lifecycle environment.

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

Gets the defined_tags of this LifecycleEnvironment. 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 LifecycleEnvironment.
Return type:dict(str, dict(str, object))
description

Gets the description of this LifecycleEnvironment. User-specified information about the lifecycle environment.

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

[Required] Gets the display_name of this LifecycleEnvironment. The user-friendly name for the lifecycle environment.

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

Gets the freeform_tags of this LifecycleEnvironment. 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 LifecycleEnvironment.
Return type:dict(str, str)
id

[Required] Gets the id of this LifecycleEnvironment. The OCID of the lifecycle environment.

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

[Required] Gets the lifecycle_state of this LifecycleEnvironment. The current state of the lifecycle environment.

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 LifecycleEnvironment.
Return type:str
location

Gets the location of this LifecycleEnvironment. The location of managed instances attached to the lifecycle environment.

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 LifecycleEnvironment.
Return type:str
managed_instance_ids

Gets the managed_instance_ids of this LifecycleEnvironment. List of managed instance OCIDs assigned to the lifecycle stage.

Returns:The managed_instance_ids of this LifecycleEnvironment.
Return type:list[oci.os_management_hub.models.ManagedInstanceDetails]
os_family

[Required] Gets the os_family of this LifecycleEnvironment. The operating system of the managed instances in the lifecycle environment.

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 LifecycleEnvironment.
Return type:str
stages

[Required] Gets the stages of this LifecycleEnvironment. User-specified list of lifecycle stages used within the lifecycle environment.

Returns:The stages of this LifecycleEnvironment.
Return type:list[oci.os_management_hub.models.LifecycleStage]
system_tags

Gets the system_tags of this LifecycleEnvironment. 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 LifecycleEnvironment.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this LifecycleEnvironment. The time the lifecycle environment was created (in RFC 3339 format).

Returns:The time_created of this LifecycleEnvironment.
Return type:datetime
time_modified

Gets the time_modified of this LifecycleEnvironment. The time the lifecycle environment was last modified (in RFC 3339 format).

Returns:The time_modified of this LifecycleEnvironment.
Return type:datetime
vendor_name

[Required] Gets the vendor_name of this LifecycleEnvironment. The vendor of the operating system used by the managed instances in the lifecycle environment.

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

Returns:The vendor_name of this LifecycleEnvironment.
Return type:str