SoftwarePackageSummary¶
-
class
oci.os_management_hub.models.
SoftwarePackageSummary
(**kwargs)¶ Bases:
object
Provides summary information for a software package.
Attributes
ARCHITECTURE_AARCH64
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_I386
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_I686
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_NOARCH
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_OTHER
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_SRC
A constant which can be used with the architecture property of a SoftwarePackageSummary. ARCHITECTURE_X86_64
A constant which can be used with the architecture property of a SoftwarePackageSummary. architecture
Gets the architecture of this SoftwarePackageSummary. checksum
Gets the checksum of this SoftwarePackageSummary. checksum_type
Gets the checksum_type of this SoftwarePackageSummary. display_name
[Required] Gets the display_name of this SoftwarePackageSummary. is_latest
Gets the is_latest of this SoftwarePackageSummary. name
[Required] Gets the name of this SoftwarePackageSummary. os_families
Gets the os_families of this SoftwarePackageSummary. software_sources
Gets the software_sources of this SoftwarePackageSummary. type
[Required] Gets the type of this SoftwarePackageSummary. version
[Required] Gets the version of this SoftwarePackageSummary. Methods
__init__
(**kwargs)Initializes a new SoftwarePackageSummary object with values from keyword arguments. -
ARCHITECTURE_AARCH64
= 'AARCH64'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “AARCH64”
-
ARCHITECTURE_I386
= 'I386'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “I386”
-
ARCHITECTURE_I686
= 'I686'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “I686”
-
ARCHITECTURE_NOARCH
= 'NOARCH'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “NOARCH”
-
ARCHITECTURE_OTHER
= 'OTHER'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “OTHER”
-
ARCHITECTURE_SRC
= 'SRC'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “SRC”
-
ARCHITECTURE_X86_64
= 'X86_64'¶ A constant which can be used with the architecture property of a SoftwarePackageSummary. This constant has a value of “X86_64”
-
__init__
(**kwargs)¶ Initializes a new SoftwarePackageSummary object with values from keyword arguments. 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 SoftwarePackageSummary.
- name (str) – The value to assign to the name property of this SoftwarePackageSummary.
- type (str) – The value to assign to the type property of this SoftwarePackageSummary.
- version (str) – The value to assign to the version property of this SoftwarePackageSummary.
- architecture (str) – The value to assign to the architecture property of this SoftwarePackageSummary. Allowed values for this property are: “I386”, “I686”, “AARCH64”, “X86_64”, “SRC”, “NOARCH”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- checksum (str) – The value to assign to the checksum property of this SoftwarePackageSummary.
- checksum_type (str) – The value to assign to the checksum_type property of this SoftwarePackageSummary.
- is_latest (bool) – The value to assign to the is_latest property of this SoftwarePackageSummary.
- software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this SoftwarePackageSummary.
- os_families (list[oci.os_management_hub.models.OsFamily]) – The value to assign to the os_families property of this SoftwarePackageSummary.
-
architecture
¶ Gets the architecture of this SoftwarePackageSummary. The architecture for which this software was built.
Allowed values for this property are: “I386”, “I686”, “AARCH64”, “X86_64”, “SRC”, “NOARCH”, “OTHER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The architecture of this SoftwarePackageSummary. Return type: str
-
checksum
¶ Gets the checksum of this SoftwarePackageSummary. Checksum of the package.
Returns: The checksum of this SoftwarePackageSummary. Return type: str
-
checksum_type
¶ Gets the checksum_type of this SoftwarePackageSummary. Type of the checksum.
Returns: The checksum_type of this SoftwarePackageSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this SoftwarePackageSummary. Package name.
Returns: The display_name of this SoftwarePackageSummary. Return type: str
-
is_latest
¶ Gets the is_latest of this SoftwarePackageSummary. Indicates whether this package is the latest version.
Returns: The is_latest of this SoftwarePackageSummary. Return type: bool
-
name
¶ [Required] Gets the name of this SoftwarePackageSummary. Unique identifier for the package. Note that this is not an OCID.
Returns: The name of this SoftwarePackageSummary. Return type: str
-
os_families
¶ Gets the os_families of this SoftwarePackageSummary. The OS families the package belongs to.
Returns: The os_families of this SoftwarePackageSummary. Return type: list[oci.os_management_hub.models.OsFamily]
-
software_sources
¶ Gets the software_sources of this SoftwarePackageSummary. List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
Returns: The software_sources of this SoftwarePackageSummary. Return type: list[oci.os_management_hub.models.SoftwareSourceDetails]
-
type
¶ [Required] Gets the type of this SoftwarePackageSummary. Type of the package.
Returns: The type of this SoftwarePackageSummary. Return type: str
-
version
¶ [Required] Gets the version of this SoftwarePackageSummary. Version of the package.
Returns: The version of this SoftwarePackageSummary. Return type: str
-