PrivateSoftwareSource¶
-
class
oci.os_management_hub.models.PrivateSoftwareSource(**kwargs)¶ Bases:
oci.os_management_hub.models.software_source.SoftwareSourceThe object that defines a private software source. A software source is a collection of packages. For more information, see Managing Software Sources.
Attributes
ARCH_TYPE_AARCH64str(object=’’) -> str ARCH_TYPE_I386str(object=’’) -> str ARCH_TYPE_I686str(object=’’) -> str ARCH_TYPE_NOARCHstr(object=’’) -> str ARCH_TYPE_SRCstr(object=’’) -> str ARCH_TYPE_X86_64str(object=’’) -> str AVAILABILITY_AT_OCI_AVAILABLEstr(object=’’) -> str AVAILABILITY_AT_OCI_RESTRICTEDstr(object=’’) -> str AVAILABILITY_AT_OCI_SELECTEDstr(object=’’) -> str AVAILABILITY_AT_OCI_UNAVAILABLEstr(object=’’) -> str AVAILABILITY_AVAILABLEstr(object=’’) -> str AVAILABILITY_RESTRICTEDstr(object=’’) -> str AVAILABILITY_SELECTEDstr(object=’’) -> str AVAILABILITY_UNAVAILABLEstr(object=’’) -> str CHECKSUM_TYPE_SHA1str(object=’’) -> str CHECKSUM_TYPE_SHA256str(object=’’) -> str CHECKSUM_TYPE_SHA384str(object=’’) -> str CHECKSUM_TYPE_SHA512str(object=’’) -> str LIFECYCLE_STATE_ACTIVEstr(object=’’) -> str LIFECYCLE_STATE_CREATINGstr(object=’’) -> str LIFECYCLE_STATE_DELETEDstr(object=’’) -> str LIFECYCLE_STATE_DELETINGstr(object=’’) -> str LIFECYCLE_STATE_FAILEDstr(object=’’) -> str LIFECYCLE_STATE_INACTIVEstr(object=’’) -> str LIFECYCLE_STATE_NEEDS_ATTENTIONstr(object=’’) -> str LIFECYCLE_STATE_UPDATINGstr(object=’’) -> str OS_FAMILY_ALLstr(object=’’) -> str OS_FAMILY_ORACLE_LINUX_6str(object=’’) -> str OS_FAMILY_ORACLE_LINUX_7str(object=’’) -> str OS_FAMILY_ORACLE_LINUX_8str(object=’’) -> str OS_FAMILY_ORACLE_LINUX_9str(object=’’) -> str OS_FAMILY_WINDOWS_SERVER_2016str(object=’’) -> str OS_FAMILY_WINDOWS_SERVER_2019str(object=’’) -> str OS_FAMILY_WINDOWS_SERVER_2022str(object=’’) -> str 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 PrivateSoftwareSource. arch_type[Required] Gets the arch_type of this SoftwareSource. availability[Required] Gets the availability of this SoftwareSource. availability_at_oci[Required] Gets the availability_at_oci of this SoftwareSource. checksum_typeGets the checksum_type of this SoftwareSource. compartment_id[Required] Gets the compartment_id of this SoftwareSource. defined_tagsGets the defined_tags of this SoftwareSource. descriptionGets the description of this SoftwareSource. display_name[Required] Gets the display_name of this SoftwareSource. freeform_tagsGets the freeform_tags of this SoftwareSource. gpg_key_fingerprintGets the gpg_key_fingerprint of this SoftwareSource. gpg_key_idGets the gpg_key_id of this SoftwareSource. gpg_key_urlGets the gpg_key_url of this SoftwareSource. id[Required] Gets the id of this SoftwareSource. is_gpg_check_enabledGets the is_gpg_check_enabled of this PrivateSoftwareSource. is_mirror_sync_allowedGets the is_mirror_sync_allowed of this PrivateSoftwareSource. is_ssl_verify_enabledGets the is_ssl_verify_enabled of this PrivateSoftwareSource. lifecycle_stateGets the lifecycle_state of this SoftwareSource. os_family[Required] Gets the os_family of this SoftwareSource. package_countGets the package_count of this SoftwareSource. repo_id[Required] Gets the repo_id of this SoftwareSource. sizeGets the size of this SoftwareSource. software_source_type[Required] Gets the software_source_type of this SoftwareSource. system_tagsGets the system_tags of this SoftwareSource. time_created[Required] Gets the time_created of this SoftwareSource. url[Required] Gets the url of this SoftwareSource. Methods
__init__(**kwargs)Initializes a new PrivateSoftwareSource 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'¶
-
ARCH_TYPE_I386= 'I386'¶
-
ARCH_TYPE_I686= 'I686'¶
-
ARCH_TYPE_NOARCH= 'NOARCH'¶
-
ARCH_TYPE_SRC= 'SRC'¶
-
ARCH_TYPE_X86_64= 'X86_64'¶
-
AVAILABILITY_AT_OCI_AVAILABLE= 'AVAILABLE'¶
-
AVAILABILITY_AT_OCI_RESTRICTED= 'RESTRICTED'¶
-
AVAILABILITY_AT_OCI_SELECTED= 'SELECTED'¶
-
AVAILABILITY_AT_OCI_UNAVAILABLE= 'UNAVAILABLE'¶
-
AVAILABILITY_AVAILABLE= 'AVAILABLE'¶
-
AVAILABILITY_RESTRICTED= 'RESTRICTED'¶
-
AVAILABILITY_SELECTED= 'SELECTED'¶
-
AVAILABILITY_UNAVAILABLE= 'UNAVAILABLE'¶
-
CHECKSUM_TYPE_SHA1= 'SHA1'¶
-
CHECKSUM_TYPE_SHA256= 'SHA256'¶
-
CHECKSUM_TYPE_SHA384= 'SHA384'¶
-
CHECKSUM_TYPE_SHA512= 'SHA512'¶
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶
-
LIFECYCLE_STATE_INACTIVE= 'INACTIVE'¶
-
LIFECYCLE_STATE_NEEDS_ATTENTION= 'NEEDS_ATTENTION'¶
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶
-
OS_FAMILY_ALL= 'ALL'¶
-
OS_FAMILY_ORACLE_LINUX_6= 'ORACLE_LINUX_6'¶
-
OS_FAMILY_ORACLE_LINUX_7= 'ORACLE_LINUX_7'¶
-
OS_FAMILY_ORACLE_LINUX_8= 'ORACLE_LINUX_8'¶
-
OS_FAMILY_ORACLE_LINUX_9= 'ORACLE_LINUX_9'¶
-
OS_FAMILY_WINDOWS_SERVER_2016= 'WINDOWS_SERVER_2016'¶
-
OS_FAMILY_WINDOWS_SERVER_2019= 'WINDOWS_SERVER_2019'¶
-
OS_FAMILY_WINDOWS_SERVER_2022= '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 PrivateSoftwareSource object with values from keyword arguments. The default value of the
software_source_typeattribute of this class isPRIVATEand it should not be changed. 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 PrivateSoftwareSource.
- compartment_id (str) – The value to assign to the compartment_id property of this PrivateSoftwareSource.
- display_name (str) – The value to assign to the display_name property of this PrivateSoftwareSource.
- time_created (datetime) – The value to assign to the time_created property of this PrivateSoftwareSource.
- description (str) – The value to assign to the description property of this PrivateSoftwareSource.
- software_source_type (str) – The value to assign to the software_source_type property of this PrivateSoftwareSource. Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”
- availability (str) – The value to assign to the availability property of this PrivateSoftwareSource. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”
- availability_at_oci (str) – The value to assign to the availability_at_oci property of this PrivateSoftwareSource. Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”
- repo_id (str) – The value to assign to the repo_id property of this PrivateSoftwareSource.
- os_family (str) – The value to assign to the os_family property of this PrivateSoftwareSource. 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 PrivateSoftwareSource. Allowed values for this property are: “X86_64”, “AARCH64”, “I686”, “NOARCH”, “SRC”, “I386”
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this PrivateSoftwareSource. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”
- package_count (int) – The value to assign to the package_count property of this PrivateSoftwareSource.
- url (str) – The value to assign to the url property of this PrivateSoftwareSource.
- checksum_type (str) – The value to assign to the checksum_type property of this PrivateSoftwareSource. Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”
- gpg_key_url (str) – The value to assign to the gpg_key_url property of this PrivateSoftwareSource.
- gpg_key_id (str) – The value to assign to the gpg_key_id property of this PrivateSoftwareSource.
- gpg_key_fingerprint (str) – The value to assign to the gpg_key_fingerprint property of this PrivateSoftwareSource.
- size (float) – The value to assign to the size property of this PrivateSoftwareSource.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PrivateSoftwareSource.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PrivateSoftwareSource.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PrivateSoftwareSource.
- is_gpg_check_enabled (bool) – The value to assign to the is_gpg_check_enabled property of this PrivateSoftwareSource.
- is_ssl_verify_enabled (bool) – The value to assign to the is_ssl_verify_enabled property of this PrivateSoftwareSource.
- advanced_repo_options (str) – The value to assign to the advanced_repo_options property of this PrivateSoftwareSource.
- is_mirror_sync_allowed (bool) – The value to assign to the is_mirror_sync_allowed property of this PrivateSoftwareSource.
-
advanced_repo_options¶ Gets the advanced_repo_options of this PrivateSoftwareSource. Advanced repository options for the software source
Returns: The advanced_repo_options of this PrivateSoftwareSource. Return type: str
-
arch_type¶ [Required] Gets the arch_type of this SoftwareSource. The architecture type supported by the software source.
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 SoftwareSource. Return type: str
-
availability¶ [Required] Gets the availability of this SoftwareSource. Availability of the software source (for non-OCI environments).
Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The availability of this SoftwareSource. Return type: str
-
availability_at_oci¶ [Required] Gets the availability_at_oci of this SoftwareSource. Availability of the software source (for OCI environments).
Allowed values for this property are: “AVAILABLE”, “SELECTED”, “RESTRICTED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The availability_at_oci of this SoftwareSource. Return type: str
-
checksum_type¶ Gets the checksum_type of this SoftwareSource. The yum repository checksum type used by this software source.
Allowed values for this property are: “SHA1”, “SHA256”, “SHA384”, “SHA512”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The checksum_type of this SoftwareSource. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this SoftwareSource. The OCID of the compartment that contains the software source.
Returns: The compartment_id of this SoftwareSource. Return type: str
Gets the defined_tags of this SoftwareSource. 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 SoftwareSource. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this SoftwareSource. User-specified description for the software source.
Returns: The description of this SoftwareSource. Return type: str
-
display_name¶ [Required] Gets the display_name of this SoftwareSource. User-friendly name for the software source.
Returns: The display_name of this SoftwareSource. Return type: str
Gets the freeform_tags of this SoftwareSource. 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 SoftwareSource. 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_fingerprint¶ Gets the gpg_key_fingerprint of this SoftwareSource. Fingerprint of the GPG key for this software source.
Returns: The gpg_key_fingerprint of this SoftwareSource. Return type: str
-
gpg_key_id¶ Gets the gpg_key_id of this SoftwareSource. ID of the GPG key for this software source.
Returns: The gpg_key_id of this SoftwareSource. Return type: str
-
gpg_key_url¶ Gets the gpg_key_url of this SoftwareSource. URI of the GPG key for this software source.
Returns: The gpg_key_url of this SoftwareSource. Return type: str
-
id¶ [Required] Gets the id of this SoftwareSource. The OCID of the software source.
Returns: The id of this SoftwareSource. Return type: str
-
is_gpg_check_enabled¶ Gets the is_gpg_check_enabled of this PrivateSoftwareSource. Indicates if GPG verification is enabled for the software source.
Returns: The is_gpg_check_enabled of this PrivateSoftwareSource. Return type: bool
-
is_mirror_sync_allowed¶ Gets the is_mirror_sync_allowed of this PrivateSoftwareSource. Indicates if this software source can be mirrored to a management station.
Returns: The is_mirror_sync_allowed of this PrivateSoftwareSource. Return type: bool
-
is_ssl_verify_enabled¶ Gets the is_ssl_verify_enabled of this PrivateSoftwareSource. Indicates if SSL validation is enabled for the software source.
Returns: The is_ssl_verify_enabled of this PrivateSoftwareSource. Return type: bool
-
lifecycle_state¶ Gets the lifecycle_state of this SoftwareSource. The current state of the software source.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this SoftwareSource. Return type: str
-
os_family¶ [Required] Gets the os_family of this SoftwareSource. The OS family of the 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The os_family of this SoftwareSource. Return type: str
-
package_count¶ Gets the package_count of this SoftwareSource. Number of packages the software source contains.
Returns: The package_count of this SoftwareSource. Return type: int
-
repo_id¶ [Required] Gets the repo_id of this SoftwareSource. The repository ID for the software source.
Returns: The repo_id of this SoftwareSource. Return type: str
-
size¶ Gets the size of this SoftwareSource. The size of the software source in bytes (B).
Returns: The size of this SoftwareSource. Return type: float
-
software_source_type¶ [Required] Gets the software_source_type of this SoftwareSource. Type of software source.
Allowed values for this property are: “VENDOR”, “CUSTOM”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The software_source_type of this SoftwareSource. Return type: str
Gets the system_tags of this SoftwareSource. 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 SoftwareSource. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this SoftwareSource. The date and time the software source was created (in RFC 3339 format).
Returns: The time_created of this SoftwareSource. Return type: datetime
-
url¶ [Required] Gets the url of this SoftwareSource. URL for the repository. For vendor software sources, this is the URL to the regional yum server. For custom software sources, this is ‘custom/<repoId>’.
Returns: The url of this SoftwareSource. Return type: str
-