CreateLifecycleEnvironmentDetails¶
-
class
oci.os_management_hub.models.CreateLifecycleEnvironmentDetails(**kwargs)¶ Bases:
objectProvides the information used to create a lifecycle environment. A lifecycle environment is a user-defined pipeline to deliver curated, versioned content in a prescribed, methodical manner.
Attributes
ARCH_TYPE_AARCH64A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. ARCH_TYPE_I386A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. ARCH_TYPE_I686A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. ARCH_TYPE_NOARCHA constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. ARCH_TYPE_SRCA constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. ARCH_TYPE_X86_64A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. LOCATION_AZUREA constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. LOCATION_EC2A constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. LOCATION_GCPA constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. LOCATION_OCI_COMPUTEA constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. LOCATION_ON_PREMISEA constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_ALLA constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_ORACLE_LINUX_6A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_ORACLE_LINUX_7A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_ORACLE_LINUX_8A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_ORACLE_LINUX_9A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_WINDOWS_SERVER_2016A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_WINDOWS_SERVER_2019A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. OS_FAMILY_WINDOWS_SERVER_2022A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails. VENDOR_NAME_MICROSOFTA constant which can be used with the vendor_name property of a CreateLifecycleEnvironmentDetails. VENDOR_NAME_ORACLEA constant which can be used with the vendor_name property of a CreateLifecycleEnvironmentDetails. arch_type[Required] Gets the arch_type of this CreateLifecycleEnvironmentDetails. compartment_id[Required] Gets the compartment_id of this CreateLifecycleEnvironmentDetails. defined_tagsGets the defined_tags of this CreateLifecycleEnvironmentDetails. descriptionGets the description of this CreateLifecycleEnvironmentDetails. display_name[Required] Gets the display_name of this CreateLifecycleEnvironmentDetails. freeform_tagsGets the freeform_tags of this CreateLifecycleEnvironmentDetails. locationGets the location of this CreateLifecycleEnvironmentDetails. os_family[Required] Gets the os_family of this CreateLifecycleEnvironmentDetails. stages[Required] Gets the stages of this CreateLifecycleEnvironmentDetails. vendor_name[Required] Gets the vendor_name of this CreateLifecycleEnvironmentDetails. Methods
__init__(**kwargs)Initializes a new CreateLifecycleEnvironmentDetails object with values from keyword arguments. -
ARCH_TYPE_AARCH64= 'AARCH64'¶ A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. This constant has a value of “AARCH64”
-
ARCH_TYPE_I386= 'I386'¶ A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. This constant has a value of “I386”
-
ARCH_TYPE_I686= 'I686'¶ A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. This constant has a value of “I686”
-
ARCH_TYPE_NOARCH= 'NOARCH'¶ A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. This constant has a value of “NOARCH”
-
ARCH_TYPE_SRC= 'SRC'¶ A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. This constant has a value of “X86_64”
-
LOCATION_AZURE= 'AZURE'¶ A constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. This constant has a value of “AZURE”
-
LOCATION_EC2= 'EC2'¶ A constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. This constant has a value of “EC2”
-
LOCATION_GCP= 'GCP'¶ A constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. This constant has a value of “GCP”
-
LOCATION_OCI_COMPUTE= 'OCI_COMPUTE'¶ A constant which can be used with the location property of a CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. This constant has a value of “MICROSOFT”
-
VENDOR_NAME_ORACLE= 'ORACLE'¶ A constant which can be used with the vendor_name property of a CreateLifecycleEnvironmentDetails. This constant has a value of “ORACLE”
-
__init__(**kwargs)¶ Initializes a new CreateLifecycleEnvironmentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this CreateLifecycleEnvironmentDetails.
- display_name (str) – The value to assign to the display_name property of this CreateLifecycleEnvironmentDetails.
- description (str) – The value to assign to the description property of this CreateLifecycleEnvironmentDetails.
- stages (list[oci.os_management_hub.models.CreateLifecycleStageDetails]) – The value to assign to the stages property of this CreateLifecycleEnvironmentDetails.
- arch_type (str) – The value to assign to the arch_type property of this CreateLifecycleEnvironmentDetails. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”
- os_family (str) – The value to assign to the os_family property of this CreateLifecycleEnvironmentDetails. 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”
- vendor_name (str) – The value to assign to the vendor_name property of this CreateLifecycleEnvironmentDetails. Allowed values for this property are: “ORACLE”, “MICROSOFT”
- location (str) – The value to assign to the location property of this CreateLifecycleEnvironmentDetails. Allowed values for this property are: “ON_PREMISE”, “OCI_COMPUTE”, “AZURE”, “EC2”, “GCP”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateLifecycleEnvironmentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateLifecycleEnvironmentDetails.
-
arch_type¶ [Required] Gets the arch_type of this CreateLifecycleEnvironmentDetails. The CPU architecture of the managed instances in the lifecycle environment.
Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”
Returns: The arch_type of this CreateLifecycleEnvironmentDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateLifecycleEnvironmentDetails. The OCID of the compartment that contains the lifecycle environment.
Returns: The compartment_id of this CreateLifecycleEnvironmentDetails. Return type: str
Gets the defined_tags of this CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateLifecycleEnvironmentDetails. User-specified information about the lifecycle environment. Avoid entering confidential information.
Returns: The description of this CreateLifecycleEnvironmentDetails. Return type: str
-
display_name¶ [Required] Gets the display_name of this CreateLifecycleEnvironmentDetails. A user-friendly name for the lifecycle environment. Does not have to be unique and you can change the name later. Avoid entering confidential information.
Returns: The display_name of this CreateLifecycleEnvironmentDetails. Return type: str
Gets the freeform_tags of this CreateLifecycleEnvironmentDetails. 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 CreateLifecycleEnvironmentDetails. Return type: dict(str, str)
-
location¶ Gets the location of this CreateLifecycleEnvironmentDetails. The location of managed instances attached to the lifecycle environment. If no location is provided, the default is ‘ON_PREMISE.’
Allowed values for this property are: “ON_PREMISE”, “OCI_COMPUTE”, “AZURE”, “EC2”, “GCP”
Returns: The location of this CreateLifecycleEnvironmentDetails. Return type: str
-
os_family¶ [Required] Gets the os_family of this CreateLifecycleEnvironmentDetails. 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”
Returns: The os_family of this CreateLifecycleEnvironmentDetails. Return type: str
-
stages¶ [Required] Gets the stages of this CreateLifecycleEnvironmentDetails. User-specified list of ranked lifecycle stages used within the lifecycle environment.
Returns: The stages of this CreateLifecycleEnvironmentDetails. Return type: list[oci.os_management_hub.models.CreateLifecycleStageDetails]
-
vendor_name¶ [Required] Gets the vendor_name of this CreateLifecycleEnvironmentDetails. The vendor of the operating system used by the managed instances in the lifecycle environment.
Allowed values for this property are: “ORACLE”, “MICROSOFT”
Returns: The vendor_name of this CreateLifecycleEnvironmentDetails. Return type: str
-