UpgradeStatus

class oci.core.models.UpgradeStatus(**kwargs)

Bases: object

The upgrade status of a DRG.

Attributes

STATUS_IN_PROGRESS A constant which can be used with the status property of a UpgradeStatus.
STATUS_NOT_UPGRADED A constant which can be used with the status property of a UpgradeStatus.
STATUS_UPGRADED A constant which can be used with the status property of a UpgradeStatus.
drg_id [Required] Gets the drg_id of this UpgradeStatus.
status [Required] Gets the status of this UpgradeStatus.
upgraded_connections [Required] Gets the upgraded_connections of this UpgradeStatus.

Methods

__init__(**kwargs) Initializes a new UpgradeStatus object with values from keyword arguments.
STATUS_IN_PROGRESS = 'IN_PROGRESS'

A constant which can be used with the status property of a UpgradeStatus. This constant has a value of “IN_PROGRESS”

STATUS_NOT_UPGRADED = 'NOT_UPGRADED'

A constant which can be used with the status property of a UpgradeStatus. This constant has a value of “NOT_UPGRADED”

STATUS_UPGRADED = 'UPGRADED'

A constant which can be used with the status property of a UpgradeStatus. This constant has a value of “UPGRADED”

__init__(**kwargs)

Initializes a new UpgradeStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • drg_id (str) – The value to assign to the drg_id property of this UpgradeStatus.
  • status (str) – The value to assign to the status property of this UpgradeStatus. Allowed values for this property are: “NOT_UPGRADED”, “IN_PROGRESS”, “UPGRADED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • upgraded_connections (str) – The value to assign to the upgraded_connections property of this UpgradeStatus.
drg_id

[Required] Gets the drg_id of this UpgradeStatus. The drgId of the upgraded DRG.

Returns:The drg_id of this UpgradeStatus.
Return type:str
status

[Required] Gets the status of this UpgradeStatus. The current upgrade status of the DRG attachment.

Allowed values for this property are: “NOT_UPGRADED”, “IN_PROGRESS”, “UPGRADED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this UpgradeStatus.
Return type:str
upgraded_connections

[Required] Gets the upgraded_connections of this UpgradeStatus. The number of upgraded connections.

Returns:The upgraded_connections of this UpgradeStatus.
Return type:str