CreateSoftwareSourceProfileDetails¶
-
class
oci.os_management_hub.models.
CreateSoftwareSourceProfileDetails
(**kwargs)¶ Bases:
oci.os_management_hub.models.create_profile_details.CreateProfileDetails
Provides the information used to create the software source registration profile.
Attributes
ARCH_TYPE_AARCH64
A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. ARCH_TYPE_I686
A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. ARCH_TYPE_NOARCH
A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. ARCH_TYPE_SRC
A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. ARCH_TYPE_X86_64
A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_ALL
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_ORACLE_LINUX_6
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_ORACLE_LINUX_7
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_ORACLE_LINUX_8
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_ORACLE_LINUX_9
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_WINDOWS_SERVER_2016
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_WINDOWS_SERVER_2019
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. OS_FAMILY_WINDOWS_SERVER_2022
A constant which can be used with the os_family property of a CreateSoftwareSourceProfileDetails. PROFILE_TYPE_GROUP
str(object=’’) -> str PROFILE_TYPE_LIFECYCLE
str(object=’’) -> str PROFILE_TYPE_SOFTWARESOURCE
str(object=’’) -> str PROFILE_TYPE_STATION
str(object=’’) -> str PROFILE_TYPE_WINDOWS_STANDALONE
str(object=’’) -> str VENDOR_NAME_MICROSOFT
A constant which can be used with the vendor_name property of a CreateSoftwareSourceProfileDetails. VENDOR_NAME_ORACLE
A constant which can be used with the vendor_name property of a CreateSoftwareSourceProfileDetails. arch_type
[Required] Gets the arch_type of this CreateSoftwareSourceProfileDetails. compartment_id
[Required] Gets the compartment_id of this CreateProfileDetails. defined_tags
Gets the defined_tags of this CreateProfileDetails. description
Gets the description of this CreateProfileDetails. display_name
[Required] Gets the display_name of this CreateProfileDetails. freeform_tags
Gets the freeform_tags of this CreateProfileDetails. is_default_profile
Gets the is_default_profile of this CreateProfileDetails. management_station_id
Gets the management_station_id of this CreateProfileDetails. os_family
[Required] Gets the os_family of this CreateSoftwareSourceProfileDetails. profile_type
[Required] Gets the profile_type of this CreateProfileDetails. registration_type
Gets the registration_type of this CreateProfileDetails. software_source_ids
Gets the software_source_ids of this CreateSoftwareSourceProfileDetails. vendor_name
[Required] Gets the vendor_name of this CreateSoftwareSourceProfileDetails. Methods
__init__
(**kwargs)Initializes a new CreateSoftwareSourceProfileDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
ARCH_TYPE_AARCH64
= 'AARCH64'¶ A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. This constant has a value of “AARCH64”
-
ARCH_TYPE_I686
= 'I686'¶ A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. This constant has a value of “I686”
-
ARCH_TYPE_NOARCH
= 'NOARCH'¶ A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. This constant has a value of “NOARCH”
-
ARCH_TYPE_SRC
= 'SRC'¶ A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. 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 CreateSoftwareSourceProfileDetails. This constant has a value of “WINDOWS_SERVER_2022”
-
PROFILE_TYPE_GROUP
= 'GROUP'¶
-
PROFILE_TYPE_LIFECYCLE
= 'LIFECYCLE'¶
-
PROFILE_TYPE_SOFTWARESOURCE
= 'SOFTWARESOURCE'¶
-
PROFILE_TYPE_STATION
= 'STATION'¶
-
PROFILE_TYPE_WINDOWS_STANDALONE
= 'WINDOWS_STANDALONE'¶
-
VENDOR_NAME_MICROSOFT
= 'MICROSOFT'¶ A constant which can be used with the vendor_name property of a CreateSoftwareSourceProfileDetails. This constant has a value of “MICROSOFT”
-
VENDOR_NAME_ORACLE
= 'ORACLE'¶ A constant which can be used with the vendor_name property of a CreateSoftwareSourceProfileDetails. This constant has a value of “ORACLE”
-
__init__
(**kwargs)¶ Initializes a new CreateSoftwareSourceProfileDetails object with values from keyword arguments. The default value of the
profile_type
attribute of this class isSOFTWARESOURCE
and it should not be changed. 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 CreateSoftwareSourceProfileDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateSoftwareSourceProfileDetails.
- description (str) – The value to assign to the description property of this CreateSoftwareSourceProfileDetails.
- management_station_id (str) – The value to assign to the management_station_id property of this CreateSoftwareSourceProfileDetails.
- profile_type (str) – The value to assign to the profile_type property of this CreateSoftwareSourceProfileDetails. Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”
- registration_type (str) – The value to assign to the registration_type property of this CreateSoftwareSourceProfileDetails.
- is_default_profile (bool) – The value to assign to the is_default_profile property of this CreateSoftwareSourceProfileDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateSoftwareSourceProfileDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateSoftwareSourceProfileDetails.
- vendor_name (str) – The value to assign to the vendor_name property of this CreateSoftwareSourceProfileDetails. Allowed values for this property are: “ORACLE”, “MICROSOFT”
- os_family (str) – The value to assign to the os_family property of this CreateSoftwareSourceProfileDetails. 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”
- arch_type (str) – The value to assign to the arch_type property of this CreateSoftwareSourceProfileDetails. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”
- software_source_ids (list[str]) – The value to assign to the software_source_ids property of this CreateSoftwareSourceProfileDetails.
-
arch_type
¶ [Required] Gets the arch_type of this CreateSoftwareSourceProfileDetails. The architecture type.
Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”
Returns: The arch_type of this CreateSoftwareSourceProfileDetails. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateProfileDetails. The OCID of the compartment that contains the registration profile.
Returns: The compartment_id of this CreateProfileDetails. Return type: str
Gets the defined_tags of this CreateProfileDetails. 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 CreateProfileDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateProfileDetails. User-specified description of the registration profile.
Returns: The description of this CreateProfileDetails. Return type: str
-
display_name
¶ [Required] Gets the display_name of this CreateProfileDetails. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this CreateProfileDetails. Return type: str
Gets the freeform_tags of this CreateProfileDetails. 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 CreateProfileDetails. Return type: dict(str, str)
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
is_default_profile
¶ Gets the is_default_profile of this CreateProfileDetails. 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 CreateProfileDetails. Return type: bool
-
management_station_id
¶ Gets the management_station_id of this CreateProfileDetails. The OCID of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
Returns: The management_station_id of this CreateProfileDetails. Return type: str
-
os_family
¶ [Required] Gets the os_family of this CreateSoftwareSourceProfileDetails. 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”
Returns: The os_family of this CreateSoftwareSourceProfileDetails. Return type: str
-
profile_type
¶ [Required] Gets the profile_type of this CreateProfileDetails. The type of profile.
Allowed values for this property are: “SOFTWARESOURCE”, “GROUP”, “LIFECYCLE”, “STATION”, “WINDOWS_STANDALONE”
Returns: The profile_type of this CreateProfileDetails. Return type: str
-
registration_type
¶ Gets the registration_type of this CreateProfileDetails. The type of instance to register.
Returns: The registration_type of this CreateProfileDetails. Return type: str
-
software_source_ids
¶ Gets the software_source_ids of this CreateSoftwareSourceProfileDetails. The list of software source OCIDs that the registration profile will use.
Returns: The software_source_ids of this CreateSoftwareSourceProfileDetails. Return type: list[str]
-
vendor_name
¶ [Required] Gets the vendor_name of this CreateSoftwareSourceProfileDetails. The vendor of the operating system for the instance.
Allowed values for this property are: “ORACLE”, “MICROSOFT”
Returns: The vendor_name of this CreateSoftwareSourceProfileDetails. Return type: str
-