InstalledPackageSummary¶
-
class
oci.os_management_hub.models.InstalledPackageSummary(**kwargs)¶ Bases:
oci.os_management_hub.models.package_summary.PackageSummaryProvides summary information for a software package installed on a managed instance.
Attributes
ARCHITECTURE_AARCH64str(object=’’) -> str ARCHITECTURE_I386str(object=’’) -> str ARCHITECTURE_I686str(object=’’) -> str ARCHITECTURE_NOARCHstr(object=’’) -> str ARCHITECTURE_SRCstr(object=’’) -> str ARCHITECTURE_X86_64str(object=’’) -> str PACKAGE_CLASSIFICATION_AVAILABLEstr(object=’’) -> str PACKAGE_CLASSIFICATION_INSTALLEDstr(object=’’) -> str PACKAGE_CLASSIFICATION_UPDATABLEstr(object=’’) -> str architectureGets the architecture of this PackageSummary. display_name[Required] Gets the display_name of this PackageSummary. name[Required] Gets the name of this PackageSummary. package_classification[Required] Gets the package_classification of this PackageSummary. software_sourcesGets the software_sources of this PackageSummary. time_installed[Required] Gets the time_installed of this InstalledPackageSummary. time_issuedGets the time_issued of this InstalledPackageSummary. type[Required] Gets the type of this PackageSummary. version[Required] Gets the version of this PackageSummary. Methods
__init__(**kwargs)Initializes a new InstalledPackageSummary 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. -
ARCHITECTURE_AARCH64= 'AARCH64'¶
-
ARCHITECTURE_I386= 'I386'¶
-
ARCHITECTURE_I686= 'I686'¶
-
ARCHITECTURE_NOARCH= 'NOARCH'¶
-
ARCHITECTURE_SRC= 'SRC'¶
-
ARCHITECTURE_X86_64= 'X86_64'¶
-
PACKAGE_CLASSIFICATION_AVAILABLE= 'AVAILABLE'¶
-
PACKAGE_CLASSIFICATION_INSTALLED= 'INSTALLED'¶
-
PACKAGE_CLASSIFICATION_UPDATABLE= 'UPDATABLE'¶
-
__init__(**kwargs)¶ Initializes a new InstalledPackageSummary object with values from keyword arguments. The default value of the
package_classificationattribute of this class isINSTALLEDand 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 InstalledPackageSummary.
- name (str) – The value to assign to the name property of this InstalledPackageSummary.
- type (str) – The value to assign to the type property of this InstalledPackageSummary.
- version (str) – The value to assign to the version property of this InstalledPackageSummary.
- architecture (str) – The value to assign to the architecture property of this InstalledPackageSummary. 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’.
- software_sources (list[oci.os_management_hub.models.SoftwareSourceDetails]) – The value to assign to the software_sources property of this InstalledPackageSummary.
- package_classification (str) – The value to assign to the package_classification property of this InstalledPackageSummary. Allowed values for this property are: “INSTALLED”, “AVAILABLE”, “UPDATABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_installed (datetime) – The value to assign to the time_installed property of this InstalledPackageSummary.
- time_issued (datetime) – The value to assign to the time_issued property of this InstalledPackageSummary.
-
architecture¶ Gets the architecture of this PackageSummary. The architecture for which this package was built.
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 architecture of this PackageSummary. Return type: str
-
display_name¶ [Required] Gets the display_name of this PackageSummary. Package name.
Returns: The display_name of this PackageSummary. Return type: 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.
-
name¶ [Required] Gets the name of this PackageSummary. Unique identifier for the package.
Returns: The name of this PackageSummary. Return type: str
-
package_classification¶ [Required] Gets the package_classification of this PackageSummary. Status of the software package.
Allowed values for this property are: “INSTALLED”, “AVAILABLE”, “UPDATABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The package_classification of this PackageSummary. Return type: str
-
software_sources¶ Gets the software_sources of this PackageSummary. List of software sources that provide the software package.
Returns: The software_sources of this PackageSummary. Return type: list[oci.os_management_hub.models.SoftwareSourceDetails]
-
time_installed¶ [Required] Gets the time_installed of this InstalledPackageSummary. The date and time the package was installed, as described in RFC 3339, section 14.29.
Returns: The time_installed of this InstalledPackageSummary. Return type: datetime
-
time_issued¶ Gets the time_issued of this InstalledPackageSummary. The date and time the package was issued by a providing erratum (in RFC 3339 format).
Returns: The time_issued of this InstalledPackageSummary. Return type: datetime
-
type¶ [Required] Gets the type of this PackageSummary. Type of the package.
Returns: The type of this PackageSummary. Return type: str
-
version¶ [Required] Gets the version of this PackageSummary. Version of the installed package.
Returns: The version of this PackageSummary. Return type: str
-