CustomSoftwareSourceSummary¶
-
class
oci.os_management_hub.models.CustomSoftwareSourceSummary(**kwargs)¶ Bases:
oci.os_management_hub.models.software_source_summary.SoftwareSourceSummaryProvides summary information for a custom software source.
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 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_SUB_TYPE_FILTERA constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. SOFTWARE_SOURCE_SUB_TYPE_MANIFESTA constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOTA constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. 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 arch_type[Required] Gets the arch_type of this SoftwareSourceSummary. availability[Required] Gets the availability of this SoftwareSourceSummary. availability_at_oci[Required] Gets the availability_at_oci of this SoftwareSourceSummary. compartment_id[Required] Gets the compartment_id of this SoftwareSourceSummary. defined_tagsGets the defined_tags of this SoftwareSourceSummary. descriptionGets the description of this SoftwareSourceSummary. display_name[Required] Gets the display_name of this SoftwareSourceSummary. freeform_tagsGets the freeform_tags of this SoftwareSourceSummary. id[Required] Gets the id of this SoftwareSourceSummary. lifecycle_stateGets the lifecycle_state of this SoftwareSourceSummary. os_family[Required] Gets the os_family of this SoftwareSourceSummary. package_countGets the package_count of this SoftwareSourceSummary. repo_id[Required] Gets the repo_id of this SoftwareSourceSummary. sizeGets the size of this SoftwareSourceSummary. software_source_sub_typeGets the software_source_sub_type of this CustomSoftwareSourceSummary. software_source_type[Required] Gets the software_source_type of this SoftwareSourceSummary. system_tagsGets the system_tags of this SoftwareSourceSummary. time_created[Required] Gets the time_created of this SoftwareSourceSummary. time_updated[Required] Gets the time_updated of this SoftwareSourceSummary. url[Required] Gets the url of this SoftwareSourceSummary. vendor_software_sources[Required] Gets the vendor_software_sources of this CustomSoftwareSourceSummary. Methods
__init__(**kwargs)Initializes a new CustomSoftwareSourceSummary 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'¶
-
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_SUB_TYPE_FILTER= 'FILTER'¶ A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. This constant has a value of “FILTER”
-
SOFTWARE_SOURCE_SUB_TYPE_MANIFEST= 'MANIFEST'¶ A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. This constant has a value of “MANIFEST”
-
SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT= 'SNAPSHOT'¶ A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary. This constant has a value of “SNAPSHOT”
-
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 CustomSoftwareSourceSummary object with values from keyword arguments. The default value of the
software_source_typeattribute of this class isCUSTOMand 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 CustomSoftwareSourceSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this CustomSoftwareSourceSummary.
- display_name (str) – The value to assign to the display_name property of this CustomSoftwareSourceSummary.
- repo_id (str) – The value to assign to the repo_id property of this CustomSoftwareSourceSummary.
- url (str) – The value to assign to the url property of this CustomSoftwareSourceSummary.
- time_created (datetime) – The value to assign to the time_created property of this CustomSoftwareSourceSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this CustomSoftwareSourceSummary.
- description (str) – The value to assign to the description property of this CustomSoftwareSourceSummary.
- software_source_type (str) – The value to assign to the software_source_type property of this CustomSoftwareSourceSummary. 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’.
- availability (str) – The value to assign to the availability property of this CustomSoftwareSourceSummary. 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’.
- availability_at_oci (str) – The value to assign to the availability_at_oci property of this CustomSoftwareSourceSummary. 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’.
- os_family (str) – The value to assign to the os_family property of this CustomSoftwareSourceSummary. 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 CustomSoftwareSourceSummary. 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’.
- package_count (int) – The value to assign to the package_count property of this CustomSoftwareSourceSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this CustomSoftwareSourceSummary.
- size (float) – The value to assign to the size property of this CustomSoftwareSourceSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CustomSoftwareSourceSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CustomSoftwareSourceSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this CustomSoftwareSourceSummary.
- vendor_software_sources (list[oci.os_management_hub.models.Id]) – The value to assign to the vendor_software_sources property of this CustomSoftwareSourceSummary.
- software_source_sub_type (str) – The value to assign to the software_source_sub_type property of this CustomSoftwareSourceSummary. Allowed values for this property are: “FILTER”, “MANIFEST”, “SNAPSHOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
arch_type¶ [Required] Gets the arch_type of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
-
availability¶ [Required] Gets the availability of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
-
availability_at_oci¶ [Required] Gets the availability_at_oci of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this SoftwareSourceSummary. The OCID of the compartment that contains the software source.
Returns: The compartment_id of this SoftwareSourceSummary. Return type: str
Gets the defined_tags of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: dict(str, dict(str, object))
-
description¶ Gets the description of this SoftwareSourceSummary. Description of the software source. For custom software sources, this is user-specified.
Returns: The description of this SoftwareSourceSummary. Return type: str
-
display_name¶ [Required] Gets the display_name of this SoftwareSourceSummary. User-friendly name for the software source.
Returns: The display_name of this SoftwareSourceSummary. Return type: str
Gets the freeform_tags of this SoftwareSourceSummary. 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 SoftwareSourceSummary. 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.
-
id¶ [Required] Gets the id of this SoftwareSourceSummary. The OCID of the software source.
Returns: The id of this SoftwareSourceSummary. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this SoftwareSourceSummary. The current state of the software source.
Returns: The lifecycle_state of this SoftwareSourceSummary. Return type: str
-
os_family¶ [Required] Gets the os_family of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
-
package_count¶ Gets the package_count of this SoftwareSourceSummary. Number of packages the software source contains.
Returns: The package_count of this SoftwareSourceSummary. Return type: int
-
repo_id¶ [Required] Gets the repo_id of this SoftwareSourceSummary. The repository ID for the software source.
Returns: The repo_id of this SoftwareSourceSummary. Return type: str
-
size¶ Gets the size of this SoftwareSourceSummary. The size of the software source in bytes (B).
Returns: The size of this SoftwareSourceSummary. Return type: float
-
software_source_sub_type¶ Gets the software_source_sub_type of this CustomSoftwareSourceSummary. Identifies how the custom software source was created.
Allowed values for this property are: “FILTER”, “MANIFEST”, “SNAPSHOT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The software_source_sub_type of this CustomSoftwareSourceSummary. Return type: str
-
software_source_type¶ [Required] Gets the software_source_type of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
Gets the system_tags of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: dict(str, dict(str, object))
-
time_created¶ [Required] Gets the time_created of this SoftwareSourceSummary. The date and time the software source was created (in RFC 3339 format).
Returns: The time_created of this SoftwareSourceSummary. Return type: datetime
-
time_updated¶ [Required] Gets the time_updated of this SoftwareSourceSummary. The date and time the software source was updated (in RFC 3339 format).
Returns: The time_updated of this SoftwareSourceSummary. Return type: datetime
-
url¶ [Required] Gets the url of this SoftwareSourceSummary. 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 SoftwareSourceSummary. Return type: str
-
vendor_software_sources¶ [Required] Gets the vendor_software_sources of this CustomSoftwareSourceSummary. List of vendor software sources that are used for the basis of the custom software source..
Returns: The vendor_software_sources of this CustomSoftwareSourceSummary. Return type: list[oci.os_management_hub.models.Id]
-