MirrorSummary

class oci.os_management_hub.models.MirrorSummary(**kwargs)

Bases: object

Summary of a Mirror

Attributes

ARCH_TYPE_AARCH64 A constant which can be used with the arch_type property of a MirrorSummary.
ARCH_TYPE_I686 A constant which can be used with the arch_type property of a MirrorSummary.
ARCH_TYPE_NOARCH A constant which can be used with the arch_type property of a MirrorSummary.
ARCH_TYPE_SRC A constant which can be used with the arch_type property of a MirrorSummary.
ARCH_TYPE_X86_64 A constant which can be used with the arch_type property of a MirrorSummary.
OS_FAMILY_ALL A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_ORACLE_LINUX_6 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_ORACLE_LINUX_7 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_ORACLE_LINUX_8 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_ORACLE_LINUX_9 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_WINDOWS_SERVER_2016 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_WINDOWS_SERVER_2019 A constant which can be used with the os_family property of a MirrorSummary.
OS_FAMILY_WINDOWS_SERVER_2022 A constant which can be used with the os_family property of a MirrorSummary.
STATE_FAILED A constant which can be used with the state property of a MirrorSummary.
STATE_QUEUED A constant which can be used with the state property of a MirrorSummary.
STATE_SYNCED A constant which can be used with the state property of a MirrorSummary.
STATE_SYNCING A constant which can be used with the state property of a MirrorSummary.
STATE_UNSYNCED A constant which can be used with the state property of a MirrorSummary.
TYPE_CUSTOM A constant which can be used with the type property of a MirrorSummary.
TYPE_VENDOR A constant which can be used with the type property of a MirrorSummary.
TYPE_VERSIONED A constant which can be used with the type property of a MirrorSummary.
arch_type Gets the arch_type of this MirrorSummary.
display_name Gets the display_name of this MirrorSummary.
id [Required] Gets the id of this MirrorSummary.
log [Required] Gets the log of this MirrorSummary.
os_family Gets the os_family of this MirrorSummary.
percentage [Required] Gets the percentage of this MirrorSummary.
state [Required] Gets the state of this MirrorSummary.
time_last_synced [Required] Gets the time_last_synced of this MirrorSummary.
type Gets 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_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_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”, ‘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”, ‘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.
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”, ‘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. OCID of a 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 the Software Source belongs to

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
percentage

[Required] Gets the percentage of this MirrorSummary. A decimal number representing the completness percentage

Returns:The percentage of this MirrorSummary.
Return type:int
state

[Required] Gets the state of this MirrorSummary. Current state of the 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. Timestamp of the last time the mirror was sync

Returns:The time_last_synced of this MirrorSummary.
Return type:datetime
type

Gets the type of this MirrorSummary. Type of the mirror

Allowed values for this property are: “CUSTOM”, “VENDOR”, “VERSIONED”, ‘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