MirrorSummary¶
-
class
oci.os_management_hub.models.MirrorSummary(**kwargs)¶ Bases:
objectProvides summary information for a software source mirror.
Attributes
ARCH_TYPE_AARCH64A constant which can be used with the arch_type property of a MirrorSummary. ARCH_TYPE_I386A constant which can be used with the arch_type property of a MirrorSummary. ARCH_TYPE_I686A constant which can be used with the arch_type property of a MirrorSummary. ARCH_TYPE_NOARCHA constant which can be used with the arch_type property of a MirrorSummary. ARCH_TYPE_SRCA constant which can be used with the arch_type property of a MirrorSummary. ARCH_TYPE_X86_64A constant which can be used with the arch_type property of a MirrorSummary. OS_FAMILY_ALLA constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_ORACLE_LINUX_6A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_ORACLE_LINUX_7A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_ORACLE_LINUX_8A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_ORACLE_LINUX_9A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_WINDOWS_SERVER_2016A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_WINDOWS_SERVER_2019A constant which can be used with the os_family property of a MirrorSummary. OS_FAMILY_WINDOWS_SERVER_2022A constant which can be used with the os_family property of a MirrorSummary. STATE_FAILEDA constant which can be used with the state property of a MirrorSummary. STATE_QUEUEDA constant which can be used with the state property of a MirrorSummary. STATE_SYNCEDA constant which can be used with the state property of a MirrorSummary. STATE_SYNCINGA constant which can be used with the state property of a MirrorSummary. STATE_UNSYNCEDA constant which can be used with the state property of a MirrorSummary. TYPE_CUSTOMA constant which can be used with the type property of a MirrorSummary. TYPE_PRIVATEA constant which can be used with the type property of a MirrorSummary. TYPE_THIRD_PARTYA constant which can be used with the type property of a MirrorSummary. TYPE_VENDORA constant which can be used with the type property of a MirrorSummary. TYPE_VERSIONEDA constant which can be used with the type property of a MirrorSummary. arch_typeGets the arch_type of this MirrorSummary. display_nameGets the display_name of this MirrorSummary. id[Required] Gets the id of this MirrorSummary. log[Required] Gets the log of this MirrorSummary. os_familyGets the os_family of this MirrorSummary. package_count[Required] Gets the package_count of this MirrorSummary. percentage[Required] Gets the percentage of this MirrorSummary. size[Required] Gets the size of this MirrorSummary. state[Required] Gets the state of this MirrorSummary. time_last_synced[Required] Gets the time_last_synced of this MirrorSummary. typeGets the type of this MirrorSummary. Methods
__init__(**kwargs)Initializes a new MirrorSummary object with values from keyword arguments. -
ARCH_TYPE_AARCH64= 'AARCH64'¶ A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “AARCH64”
-
ARCH_TYPE_I386= 'I386'¶ A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “I386”
-
ARCH_TYPE_I686= 'I686'¶ A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “I686”
-
ARCH_TYPE_NOARCH= 'NOARCH'¶ A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “NOARCH”
-
ARCH_TYPE_SRC= 'SRC'¶ A constant which can be used with the arch_type property of a MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. 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 MirrorSummary. This constant has a value of “WINDOWS_SERVER_2022”
-
STATE_FAILED= 'FAILED'¶ A constant which can be used with the state property of a MirrorSummary. This constant has a value of “FAILED”
-
STATE_QUEUED= 'QUEUED'¶ A constant which can be used with the state property of a MirrorSummary. This constant has a value of “QUEUED”
-
STATE_SYNCED= 'SYNCED'¶ A constant which can be used with the state property of a MirrorSummary. This constant has a value of “SYNCED”
-
STATE_SYNCING= 'SYNCING'¶ A constant which can be used with the state property of a MirrorSummary. This constant has a value of “SYNCING”
-
STATE_UNSYNCED= 'UNSYNCED'¶ A constant which can be used with the state property of a MirrorSummary. This constant has a value of “UNSYNCED”
-
TYPE_CUSTOM= 'CUSTOM'¶ A constant which can be used with the type property of a MirrorSummary. This constant has a value of “CUSTOM”
-
TYPE_PRIVATE= 'PRIVATE'¶ A constant which can be used with the type property of a MirrorSummary. This constant has a value of “PRIVATE”
-
TYPE_THIRD_PARTY= 'THIRD_PARTY'¶ A constant which can be used with the type property of a MirrorSummary. This constant has a value of “THIRD_PARTY”
-
TYPE_VENDOR= 'VENDOR'¶ A constant which can be used with the type property of a MirrorSummary. This constant has a value of “VENDOR”
-
TYPE_VERSIONED= 'VERSIONED'¶ A constant which can be used with the type property of a MirrorSummary. This constant has a value of “VERSIONED”
-
__init__(**kwargs)¶ Initializes a new MirrorSummary object with values from keyword arguments. 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 MirrorSummary.
- display_name (str) – The value to assign to the display_name property of this MirrorSummary.
- type (str) – The value to assign to the type property of this MirrorSummary. Allowed values for this property are: “CUSTOM”, “VENDOR”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”, ‘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 MirrorSummary. 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 MirrorSummary. 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’.
- state (str) – The value to assign to the state property of this MirrorSummary. Allowed values for this property are: “UNSYNCED”, “QUEUED”, “SYNCING”, “SYNCED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- percentage (int) – The value to assign to the percentage property of this MirrorSummary.
- time_last_synced (datetime) – The value to assign to the time_last_synced property of this MirrorSummary.
- log (str) – The value to assign to the log property of this MirrorSummary.
- package_count (int) – The value to assign to the package_count property of this MirrorSummary.
- size (int) – The value to assign to the size property of this MirrorSummary.
-
arch_type¶ Gets the arch_type of this MirrorSummary. 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 MirrorSummary. Return type: str
-
display_name¶ Gets the display_name of this MirrorSummary. Display name of the mirror.
Returns: The display_name of this MirrorSummary. Return type: str
-
id¶ [Required] Gets the id of this MirrorSummary. The OCID of the software source.
Returns: The id of this MirrorSummary. Return type: str
-
log¶ [Required] Gets the log of this MirrorSummary. The current log from the management station plugin.
Returns: The log of this MirrorSummary. Return type: str
-
os_family¶ Gets the os_family of this MirrorSummary. 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 MirrorSummary. Return type: str
-
package_count¶ [Required] Gets the package_count of this MirrorSummary. The number of packages within the mirrored software source.
Returns: The package_count of this MirrorSummary. Return type: int
-
percentage¶ [Required] Gets the percentage of this MirrorSummary. A decimal number representing the percentage of the software source that has been synced.
Returns: The percentage of this MirrorSummary. Return type: int
-
size¶ [Required] Gets the size of this MirrorSummary. The size the mirrored software source in bytes.
Returns: The size of this MirrorSummary. Return type: int
-
state¶ [Required] Gets the state of this MirrorSummary. Current state of the software source mirror.
Allowed values for this property are: “UNSYNCED”, “QUEUED”, “SYNCING”, “SYNCED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The state of this MirrorSummary. Return type: str
-
time_last_synced¶ [Required] Gets the time_last_synced of this MirrorSummary. Time that the software source was last synced (in RFC 3339 format).
Returns: The time_last_synced of this MirrorSummary. Return type: datetime
-
type¶ Gets the type of this MirrorSummary. Type of software source.
Allowed values for this property are: “CUSTOM”, “VENDOR”, “VERSIONED”, “PRIVATE”, “THIRD_PARTY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The type of this MirrorSummary. Return type: str
-