ProfileVersion¶
-
class
oci.os_management_hub.models.ProfileVersion(**kwargs)¶ Bases:
objectRepresents a specific version of a registration profile.
Attributes
ARCH_TYPE_AARCH64A constant which can be used with the arch_type property of a ProfileVersion. ARCH_TYPE_I386A constant which can be used with the arch_type property of a ProfileVersion. ARCH_TYPE_I686A constant which can be used with the arch_type property of a ProfileVersion. ARCH_TYPE_NOARCHA constant which can be used with the arch_type property of a ProfileVersion. ARCH_TYPE_SRCA constant which can be used with the arch_type property of a ProfileVersion. ARCH_TYPE_X86_64A constant which can be used with the arch_type property of a ProfileVersion. OS_FAMILY_ALLA constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_ORACLE_LINUX_6A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_ORACLE_LINUX_7A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_ORACLE_LINUX_8A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_ORACLE_LINUX_9A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_WINDOWS_SERVER_2016A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_WINDOWS_SERVER_2019A constant which can be used with the os_family property of a ProfileVersion. OS_FAMILY_WINDOWS_SERVER_2022A constant which can be used with the os_family property of a ProfileVersion. PROFILE_TYPE_GROUPA constant which can be used with the profile_type property of a ProfileVersion. PROFILE_TYPE_LIFECYCLEA constant which can be used with the profile_type property of a ProfileVersion. PROFILE_TYPE_SOFTWARESOURCEA constant which can be used with the profile_type property of a ProfileVersion. PROFILE_TYPE_STATIONA constant which can be used with the profile_type property of a ProfileVersion. PROFILE_TYPE_WINDOWS_STANDALONEA constant which can be used with the profile_type property of a ProfileVersion. REGISTRATION_TYPE_AUTONOMOUS_LINUXA constant which can be used with the registration_type property of a ProfileVersion. REGISTRATION_TYPE_NON_OCI_LINUXA constant which can be used with the registration_type property of a ProfileVersion. REGISTRATION_TYPE_OCI_LINUXA constant which can be used with the registration_type property of a ProfileVersion. REGISTRATION_TYPE_OCI_WINDOWSA constant which can be used with the registration_type property of a ProfileVersion. VENDOR_NAME_MICROSOFTA constant which can be used with the vendor_name property of a ProfileVersion. VENDOR_NAME_ORACLEA constant which can be used with the vendor_name property of a ProfileVersion. arch_type[Required] Gets the arch_type of this ProfileVersion. compartment_id[Required] Gets the compartment_id of this ProfileVersion. descriptionGets the description of this ProfileVersion. display_name[Required] Gets the display_name of this ProfileVersion. id[Required] Gets the id of this ProfileVersion. is_default_profileGets the is_default_profile of this ProfileVersion. is_service_provided_profileGets the is_service_provided_profile of this ProfileVersion. lifecycle_environmentGets the lifecycle_environment of this ProfileVersion. lifecycle_stageGets the lifecycle_stage of this ProfileVersion. lifecycle_stateGets the lifecycle_state of this ProfileVersion. managed_instance_groupGets the managed_instance_group of this ProfileVersion. management_station_idGets the management_station_id of this ProfileVersion. os_family[Required] Gets the os_family of this ProfileVersion. profile_typeGets the profile_type of this ProfileVersion. profile_versionGets the profile_version of this ProfileVersion. registration_typeGets the registration_type of this ProfileVersion. software_sourcesGets the software_sources of this ProfileVersion. time_createdGets the time_created of this ProfileVersion. time_modifiedGets the time_modified of this ProfileVersion. vendor_name[Required] Gets the vendor_name of this ProfileVersion. Methods
__init__(**kwargs)Initializes a new ProfileVersion object with values from keyword arguments. -
ARCH_TYPE_AARCH64= 'AARCH64'¶ A constant which can be used with the arch_type property of a ProfileVersion. This constant has a value of “AARCH64”
-
ARCH_TYPE_I386= 'I386'¶ A constant which can be used with the arch_type property of a ProfileVersion. This constant has a value of “I386”
-
ARCH_TYPE_I686= 'I686'¶ A constant which can be used with the arch_type property of a ProfileVersion. This constant has a value of “I686”
-
ARCH_TYPE_NOARCH= 'NOARCH'¶ A constant which can be used with the arch_type property of a ProfileVersion. This constant has a value of “NOARCH”
-
ARCH_TYPE_SRC= 'SRC'¶ A constant which can be used with the arch_type property of a ProfileVersion. 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 ProfileVersion. This constant has a value of “X86_64”
-
OS_FAMILY_ALL= 'ALL'¶ A constant which can be used with the os_family property of a ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. 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 ProfileVersion. This constant has a value of “WINDOWS_SERVER_2022”
-
PROFILE_TYPE_GROUP= 'GROUP'¶ A constant which can be used with the profile_type property of a ProfileVersion. This constant has a value of “GROUP”
-
PROFILE_TYPE_LIFECYCLE= 'LIFECYCLE'¶ A constant which can be used with the profile_type property of a ProfileVersion. This constant has a value of “LIFECYCLE”
-
PROFILE_TYPE_SOFTWARESOURCE= 'SOFTWARESOURCE'¶ A constant which can be used with the profile_type property of a ProfileVersion. This constant has a value of “SOFTWARESOURCE”
-
PROFILE_TYPE_STATION= 'STATION'¶ A constant which can be used with the profile_type property of a ProfileVersion. This constant has a value of “STATION”
-
PROFILE_TYPE_WINDOWS_STANDALONE= 'WINDOWS_STANDALONE'¶ A constant which can be used with the profile_type property of a ProfileVersion. This constant has a value of “WINDOWS_STANDALONE”
-
REGISTRATION_TYPE_AUTONOMOUS_LINUX= 'AUTONOMOUS_LINUX'¶ A constant which can be used with the registration_type property of a ProfileVersion. This constant has a value of “AUTONOMOUS_LINUX”
-
REGISTRATION_TYPE_NON_OCI_LINUX= 'NON_OCI_LINUX'¶ A constant which can be used with the registration_type property of a ProfileVersion. This constant has a value of “NON_OCI_LINUX”
-
REGISTRATION_TYPE_OCI_LINUX= 'OCI_LINUX'¶ A constant which can be used with the registration_type property of a ProfileVersion. This constant has a value of “OCI_LINUX”
-
REGISTRATION_TYPE_OCI_WINDOWS= 'OCI_WINDOWS'¶ A constant which can be used with the registration_type property of a ProfileVersion. This constant has a value of “OCI_WINDOWS”
-
VENDOR_NAME_MICROSOFT= 'MICROSOFT'¶ A constant which can be used with the vendor_name property of a ProfileVersion. This constant has a value of “MICROSOFT”
-
VENDOR_NAME_ORACLE= 'ORACLE'¶ A constant which can be used with the vendor_name property of a ProfileVersion. This constant has a value of “ORACLE”
-
__init__(**kwargs)¶ Initializes a new ProfileVersion 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 ProfileVersion.
- compartment_id (str) – The value to assign to the compartment_id property of this ProfileVersion.
- display_name (str) – The value to assign to the display_name property of this ProfileVersion.
- description (str) – The value to assign to the description property of this ProfileVersion.
- management_station_id (str) – The value to assign to the management_station_id property of this ProfileVersion.
- software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this ProfileVersion.
- managed_instance_group (oci.os_management_hub.models.ManagedInstanceGroupDetails) – The value to assign to the managed_instance_group property of this ProfileVersion.
- lifecycle_environment (oci.os_management_hub.models.LifecycleEnvironmentDetails) – The value to assign to the lifecycle_environment property of this ProfileVersion.
- lifecycle_stage (oci.os_management_hub.models.LifecycleStageDetails) – The value to assign to the lifecycle_stage property of this ProfileVersion.
- profile_type (str) – The value to assign to the profile_type property of this ProfileVersion. Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”, ‘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 ProfileVersion. 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’.
- os_family (str) – The value to assign to the os_family property of this ProfileVersion. 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 ProfileVersion. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, ‘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 ProfileVersion.
- time_modified (datetime) – The value to assign to the time_modified property of this ProfileVersion.
- profile_version (str) – The value to assign to the profile_version property of this ProfileVersion.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ProfileVersion.
- registration_type (str) – The value to assign to the registration_type property of this ProfileVersion. Allowed values for this property are: “OCI_LINUX”, “NON_OCI_LINUX”, “OCI_WINDOWS”, “AUTONOMOUS_LINUX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- is_default_profile (bool) – The value to assign to the is_default_profile property of this ProfileVersion.
- is_service_provided_profile (bool) – The value to assign to the is_service_provided_profile property of this ProfileVersion.
-
arch_type¶ [Required] Gets the arch_type of this ProfileVersion. The architecture type.
Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The arch_type of this ProfileVersion. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this ProfileVersion. The OCID of the compartment that contains the registration profile.
Returns: The compartment_id of this ProfileVersion. Return type: str
-
description¶ Gets the description of this ProfileVersion. The description of the registration profile.
Returns: The description of this ProfileVersion. Return type: str
-
display_name¶ [Required] Gets the display_name of this ProfileVersion. A user-friendly name for the profile.
Returns: The display_name of this ProfileVersion. Return type: str
-
id¶ [Required] Gets the id of this ProfileVersion. The OCID of the registration profile.
Returns: The id of this ProfileVersion. Return type: str
-
is_default_profile¶ Gets the is_default_profile of this ProfileVersion. Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
Returns: The is_default_profile of this ProfileVersion. Return type: bool
-
is_service_provided_profile¶ Gets the is_service_provided_profile of this ProfileVersion. Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
Returns: The is_service_provided_profile of this ProfileVersion. Return type: bool
-
lifecycle_environment¶ Gets the lifecycle_environment of this ProfileVersion.
Returns: The lifecycle_environment of this ProfileVersion. Return type: oci.os_management_hub.models.LifecycleEnvironmentDetails
-
lifecycle_stage¶ Gets the lifecycle_stage of this ProfileVersion.
Returns: The lifecycle_stage of this ProfileVersion. Return type: oci.os_management_hub.models.LifecycleStageDetails
-
lifecycle_state¶ Gets the lifecycle_state of this ProfileVersion. The current state of the registration profile.
Returns: The lifecycle_state of this ProfileVersion. Return type: str
-
managed_instance_group¶ Gets the managed_instance_group of this ProfileVersion.
Returns: The managed_instance_group of this ProfileVersion. Return type: oci.os_management_hub.models.ManagedInstanceGroupDetails
-
management_station_id¶ Gets the management_station_id of this ProfileVersion. The OCID of the management station to associate with an instance once registered. Management stations are only used with non-OCI instances.
Returns: The management_station_id of this ProfileVersion. Return type: str
-
os_family¶ [Required] Gets the os_family of this ProfileVersion. The operating system family.
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 ProfileVersion. Return type: str
-
profile_type¶ Gets the profile_type of this ProfileVersion. The type of profile.
Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The profile_type of this ProfileVersion. Return type: str
-
profile_version¶ Gets the profile_version of this ProfileVersion. The version of the profile.
Returns: The profile_version of this ProfileVersion. Return type: str
-
registration_type¶ Gets the registration_type of this ProfileVersion. The type of instance to register.
Allowed values for this property are: “OCI_LINUX”, “NON_OCI_LINUX”, “OCI_WINDOWS”, “AUTONOMOUS_LINUX”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The registration_type of this ProfileVersion. Return type: str
-
software_sources¶ Gets the software_sources of this ProfileVersion. The list of software sources that the registration profile will use.
Returns: The software_sources of this ProfileVersion. Return type: list[oci.os_management_hub.models.SoftwareSourceDetails]
-
time_created¶ Gets the time_created of this ProfileVersion. The time the registration profile was created (in RFC 3339 format).
Returns: The time_created of this ProfileVersion. Return type: datetime
-
time_modified¶ Gets the time_modified of this ProfileVersion. The time the registration profile was last modified (in RFC 3339 format).
Returns: The time_modified of this ProfileVersion. Return type: datetime
-
vendor_name¶ [Required] Gets the vendor_name of this ProfileVersion. The vendor of the operating system for the instance.
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 ProfileVersion. Return type: str
-