CreateThirdPartySoftwareSourceDetails¶
-
class
oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails(**kwargs)¶ Bases:
oci.os_management_hub.models.create_software_source_details.CreateSoftwareSourceDetailsProvides the information used to create a third-party software source.
Attributes
ARCH_TYPE_AARCH64A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. ARCH_TYPE_I386A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. ARCH_TYPE_I686A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. ARCH_TYPE_NOARCHA constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. ARCH_TYPE_SRCA constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. ARCH_TYPE_X86_64A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_ALLA constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_ORACLE_LINUX_6A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_ORACLE_LINUX_7A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_ORACLE_LINUX_8A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_ORACLE_LINUX_9A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_WINDOWS_SERVER_2016A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_WINDOWS_SERVER_2019A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. OS_FAMILY_WINDOWS_SERVER_2022A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails. SOFTWARE_SOURCE_TYPE_CUSTOMstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_PRIVATEstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_THIRD_PARTYstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_VENDORstr(object=’’) -> str SOFTWARE_SOURCE_TYPE_VERSIONEDstr(object=’’) -> str advanced_repo_optionsGets the advanced_repo_options of this CreateThirdPartySoftwareSourceDetails. arch_type[Required] Gets the arch_type of this CreateThirdPartySoftwareSourceDetails. compartment_id[Required] Gets the compartment_id of this CreateSoftwareSourceDetails. defined_tagsGets the defined_tags of this CreateSoftwareSourceDetails. descriptionGets the description of this CreateSoftwareSourceDetails. display_nameGets the display_name of this CreateSoftwareSourceDetails. freeform_tagsGets the freeform_tags of this CreateSoftwareSourceDetails. gpg_key_urlGets the gpg_key_url of this CreateThirdPartySoftwareSourceDetails. is_gpg_check_enabledGets the is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails. is_mirror_sync_allowedGets the is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails. is_ssl_verify_enabledGets the is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails. os_family[Required] Gets the os_family of this CreateThirdPartySoftwareSourceDetails. software_source_type[Required] Gets the software_source_type of this CreateSoftwareSourceDetails. url[Required] Gets the url of this CreateThirdPartySoftwareSourceDetails. Methods
__init__(**kwargs)Initializes a new CreateThirdPartySoftwareSourceDetails 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 CreateThirdPartySoftwareSourceDetails. This constant has a value of “AARCH64”
-
ARCH_TYPE_I386= 'I386'¶ A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. This constant has a value of “I386”
-
ARCH_TYPE_I686= 'I686'¶ A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. This constant has a value of “I686”
-
ARCH_TYPE_NOARCH= 'NOARCH'¶ A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. This constant has a value of “NOARCH”
-
ARCH_TYPE_SRC= 'SRC'¶ A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. This constant has a value of “WINDOWS_SERVER_2022”
-
SOFTWARE_SOURCE_TYPE_CUSTOM= 'CUSTOM'¶
-
SOFTWARE_SOURCE_TYPE_PRIVATE= 'PRIVATE'¶
-
SOFTWARE_SOURCE_TYPE_THIRD_PARTY= 'THIRD_PARTY'¶
-
SOFTWARE_SOURCE_TYPE_VENDOR= 'VENDOR'¶
-
SOFTWARE_SOURCE_TYPE_VERSIONED= 'VERSIONED'¶
-
__init__(**kwargs)¶ Initializes a new CreateThirdPartySoftwareSourceDetails object with values from keyword arguments. The default value of the
software_source_typeattribute of this class isTHIRD_PARTYand it should not be changed. 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 CreateThirdPartySoftwareSourceDetails.
- display_name (str) – The value to assign to the display_name property of this CreateThirdPartySoftwareSourceDetails.
- description (str) – The value to assign to the description property of this CreateThirdPartySoftwareSourceDetails.
- software_source_type (str) – The value to assign to the software_source_type property of this CreateThirdPartySoftwareSourceDetails. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateThirdPartySoftwareSourceDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateThirdPartySoftwareSourceDetails.
- os_family (str) – The value to assign to the os_family property of this CreateThirdPartySoftwareSourceDetails. 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 CreateThirdPartySoftwareSourceDetails. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”
- url (str) – The value to assign to the url property of this CreateThirdPartySoftwareSourceDetails.
- gpg_key_url (str) – The value to assign to the gpg_key_url property of this CreateThirdPartySoftwareSourceDetails.
- is_gpg_check_enabled (bool) – The value to assign to the is_gpg_check_enabled property of this CreateThirdPartySoftwareSourceDetails.
- is_ssl_verify_enabled (bool) – The value to assign to the is_ssl_verify_enabled property of this CreateThirdPartySoftwareSourceDetails.
- advanced_repo_options (str) – The value to assign to the advanced_repo_options property of this CreateThirdPartySoftwareSourceDetails.
- is_mirror_sync_allowed (bool) – The value to assign to the is_mirror_sync_allowed property of this CreateThirdPartySoftwareSourceDetails.
-
advanced_repo_options¶ Gets the advanced_repo_options of this CreateThirdPartySoftwareSourceDetails. Advanced repository options for the software source
Returns: The advanced_repo_options of this CreateThirdPartySoftwareSourceDetails. Return type: str
-
arch_type¶ [Required] Gets the arch_type of this CreateThirdPartySoftwareSourceDetails. The architecture type supported by the third-party software source.
Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”
Returns: The arch_type of this CreateThirdPartySoftwareSourceDetails. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this CreateSoftwareSourceDetails. The OCID of the compartment that contains the software source.
Returns: The compartment_id of this CreateSoftwareSourceDetails. Return type: str
Gets the defined_tags of this CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this CreateSoftwareSourceDetails. User-specified description for the software source. Avoid entering confidential information.
Returns: The description of this CreateSoftwareSourceDetails. Return type: str
-
display_name¶ Gets the display_name of this CreateSoftwareSourceDetails. User-friendly name for the software source. Does not have to be unique and you can change the name later. Avoid entering confidential information.
Returns: The display_name of this CreateSoftwareSourceDetails. Return type: str
Gets the freeform_tags of this CreateSoftwareSourceDetails. 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 CreateSoftwareSourceDetails. 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.
-
gpg_key_url¶ Gets the gpg_key_url of this CreateThirdPartySoftwareSourceDetails. URI of the GPG key for this software source.
Returns: The gpg_key_url of this CreateThirdPartySoftwareSourceDetails. Return type: str
-
is_gpg_check_enabled¶ Gets the is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails. Whether signature verification should be done for the software source.
Returns: The is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails. Return type: bool
-
is_mirror_sync_allowed¶ Gets the is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails. Whether this software source can be synced to a management station
Returns: The is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails. Return type: bool
-
is_ssl_verify_enabled¶ Gets the is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails. Whether SSL validation needs to be turned on
Returns: The is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails. Return type: bool
-
os_family¶ [Required] Gets the os_family of this CreateThirdPartySoftwareSourceDetails. The OS family for the third-party software source.
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 CreateThirdPartySoftwareSourceDetails. Return type: str
-
software_source_type¶ [Required] Gets the software_source_type of this CreateSoftwareSourceDetails. Type of software source.
Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”
Returns: The software_source_type of this CreateSoftwareSourceDetails. Return type: str
-
url¶ [Required] Gets the url of this CreateThirdPartySoftwareSourceDetails. URL for the third-party software source.
Returns: The url of this CreateThirdPartySoftwareSourceDetails. Return type: str
-