MirrorSummary

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

Bases: object

Provides summary information for a software source mirror.

Attributes:

ARCH_TYPE_AARCH64

A constant which can be used with the arch_type property of a MirrorSummary.

ARCH_TYPE_ALL

A constant which can be used with the arch_type property of a MirrorSummary.

ARCH_TYPE_AMD64

A constant which can be used with the arch_type property of a MirrorSummary.

ARCH_TYPE_ARM64

A constant which can be used with the arch_type property of a MirrorSummary.

ARCH_TYPE_I386

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_10

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_UBUNTU_20_04

A constant which can be used with the os_family property of a MirrorSummary.

OS_FAMILY_UBUNTU_22_04

A constant which can be used with the os_family property of a MirrorSummary.

OS_FAMILY_UBUNTU_24_04

A constant which can be used with the os_family property of a MirrorSummary.

OS_FAMILY_WINDOWS_11

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.

OS_FAMILY_WINDOWS_SERVER_2025

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_PRIVATE

A constant which can be used with the type property of a MirrorSummary.

TYPE_THIRD_PARTY

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.

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.

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_ALL = 'ALL'

A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “ALL”

ARCH_TYPE_AMD64 = 'AMD64'

A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “AMD64”

ARCH_TYPE_ARM64 = 'ARM64'

A constant which can be used with the arch_type property of a MirrorSummary. This constant has a value of “ARM64”

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_10 = 'ORACLE_LINUX_10'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “ORACLE_LINUX_10”

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_UBUNTU_20_04 = 'UBUNTU_20_04'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “UBUNTU_20_04”

OS_FAMILY_UBUNTU_22_04 = 'UBUNTU_22_04'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “UBUNTU_22_04”

OS_FAMILY_UBUNTU_24_04 = 'UBUNTU_24_04'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “UBUNTU_24_04”

OS_FAMILY_WINDOWS_11 = 'WINDOWS_11'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “WINDOWS_11”

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”

OS_FAMILY_WINDOWS_SERVER_2025 = 'WINDOWS_SERVER_2025'

A constant which can be used with the os_family property of a MirrorSummary. This constant has a value of “WINDOWS_SERVER_2025”

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_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘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”, “AMD64”, “ARM64”, “ALL”, ‘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.

property 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”, “AMD64”, “ARM64”, “ALL”, ‘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

property display_name

Gets the display_name of this MirrorSummary. Display name of the mirror.

Returns

The display_name of this MirrorSummary.

Return type

str

property id

[Required] Gets the id of this MirrorSummary. The OCID of the software source.

Returns

The id of this MirrorSummary.

Return type

str

property 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

property os_family

Gets the os_family of this MirrorSummary. The OS family of the software source.

Allowed values for this property are: “ORACLE_LINUX_10”, “ORACLE_LINUX_9”, “ORACLE_LINUX_8”, “ORACLE_LINUX_7”, “ORACLE_LINUX_6”, “WINDOWS_SERVER_2016”, “WINDOWS_SERVER_2019”, “WINDOWS_SERVER_2022”, “WINDOWS_SERVER_2025”, “WINDOWS_11”, “ALL”, “UBUNTU_20_04”, “UBUNTU_22_04”, “UBUNTU_24_04”, ‘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

property 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

property 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

property 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

property 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

property 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

property 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