DeploymentUpgradeSummary

class oci.golden_gate.models.DeploymentUpgradeSummary(**kwargs)

Bases: object

Summary of the Deployment Upgrade.

Attributes

DEPLOYMENT_UPGRADE_TYPE_AUTOMATIC A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary.
DEPLOYMENT_UPGRADE_TYPE_MANUAL A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_CANCELED A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_CANCELING A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_NEEDS_ATTENTION A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_STATE_WAITING A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_MOVING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_RECOVERING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_RESTORING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_ROLLBACK_IN_PROGRESS A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_STARTING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_STOPPING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
LIFECYCLE_SUB_STATE_UPGRADING A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
RELEASE_TYPE_BUNDLE A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
RELEASE_TYPE_MAJOR A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
RELEASE_TYPE_MINOR A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
compartment_id [Required] Gets the compartment_id of this DeploymentUpgradeSummary.
defined_tags Gets the defined_tags of this DeploymentUpgradeSummary.
deployment_id [Required] Gets the deployment_id of this DeploymentUpgradeSummary.
deployment_upgrade_type [Required] Gets the deployment_upgrade_type of this DeploymentUpgradeSummary.
description Gets the description of this DeploymentUpgradeSummary.
display_name Gets the display_name of this DeploymentUpgradeSummary.
freeform_tags Gets the freeform_tags of this DeploymentUpgradeSummary.
id [Required] Gets the id of this DeploymentUpgradeSummary.
is_cancel_allowed Gets the is_cancel_allowed of this DeploymentUpgradeSummary.
is_reschedule_allowed Gets the is_reschedule_allowed of this DeploymentUpgradeSummary.
is_rollback_allowed Gets the is_rollback_allowed of this DeploymentUpgradeSummary.
is_security_fix Gets the is_security_fix of this DeploymentUpgradeSummary.
is_snoozed Gets the is_snoozed of this DeploymentUpgradeSummary.
lifecycle_details Gets the lifecycle_details of this DeploymentUpgradeSummary.
lifecycle_state Gets the lifecycle_state of this DeploymentUpgradeSummary.
lifecycle_sub_state Gets the lifecycle_sub_state of this DeploymentUpgradeSummary.
ogg_version Gets the ogg_version of this DeploymentUpgradeSummary.
previous_ogg_version Gets the previous_ogg_version of this DeploymentUpgradeSummary.
release_type Gets the release_type of this DeploymentUpgradeSummary.
system_tags Gets the system_tags of this DeploymentUpgradeSummary.
time_created Gets the time_created of this DeploymentUpgradeSummary.
time_finished Gets the time_finished of this DeploymentUpgradeSummary.
time_ogg_version_supported_until Gets the time_ogg_version_supported_until of this DeploymentUpgradeSummary.
time_released Gets the time_released of this DeploymentUpgradeSummary.
time_schedule Gets the time_schedule of this DeploymentUpgradeSummary.
time_schedule_max Gets the time_schedule_max of this DeploymentUpgradeSummary.
time_snoozed_until Gets the time_snoozed_until of this DeploymentUpgradeSummary.
time_started Gets the time_started of this DeploymentUpgradeSummary.
time_updated Gets the time_updated of this DeploymentUpgradeSummary.

Methods

__init__(**kwargs) Initializes a new DeploymentUpgradeSummary object with values from keyword arguments.
DEPLOYMENT_UPGRADE_TYPE_AUTOMATIC = 'AUTOMATIC'

A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary. This constant has a value of “AUTOMATIC”

DEPLOYMENT_UPGRADE_TYPE_MANUAL = 'MANUAL'

A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary. This constant has a value of “MANUAL”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CANCELED = 'CANCELED'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “CANCELED”

LIFECYCLE_STATE_CANCELING = 'CANCELING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “CANCELING”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “NEEDS_ATTENTION”

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “UPDATING”

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgradeSummary. This constant has a value of “WAITING”

LIFECYCLE_SUB_STATE_BACKUP_IN_PROGRESS = 'BACKUP_IN_PROGRESS'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “BACKUP_IN_PROGRESS”

LIFECYCLE_SUB_STATE_MOVING = 'MOVING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “MOVING”

LIFECYCLE_SUB_STATE_RECOVERING = 'RECOVERING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “RECOVERING”

LIFECYCLE_SUB_STATE_RESTORING = 'RESTORING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “RESTORING”

LIFECYCLE_SUB_STATE_ROLLBACK_IN_PROGRESS = 'ROLLBACK_IN_PROGRESS'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “ROLLBACK_IN_PROGRESS”

LIFECYCLE_SUB_STATE_STARTING = 'STARTING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “STARTING”

LIFECYCLE_SUB_STATE_STOPPING = 'STOPPING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “STOPPING”

LIFECYCLE_SUB_STATE_UPGRADING = 'UPGRADING'

A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary. This constant has a value of “UPGRADING”

RELEASE_TYPE_BUNDLE = 'BUNDLE'

A constant which can be used with the release_type property of a DeploymentUpgradeSummary. This constant has a value of “BUNDLE”

RELEASE_TYPE_MAJOR = 'MAJOR'

A constant which can be used with the release_type property of a DeploymentUpgradeSummary. This constant has a value of “MAJOR”

RELEASE_TYPE_MINOR = 'MINOR'

A constant which can be used with the release_type property of a DeploymentUpgradeSummary. This constant has a value of “MINOR”

__init__(**kwargs)

Initializes a new DeploymentUpgradeSummary 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 DeploymentUpgradeSummary.
  • display_name (str) – The value to assign to the display_name property of this DeploymentUpgradeSummary.
  • description (str) – The value to assign to the description property of this DeploymentUpgradeSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this DeploymentUpgradeSummary.
  • deployment_id (str) – The value to assign to the deployment_id property of this DeploymentUpgradeSummary.
  • deployment_upgrade_type (str) – The value to assign to the deployment_upgrade_type property of this DeploymentUpgradeSummary. Allowed values for this property are: “MANUAL”, “AUTOMATIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_started (datetime) – The value to assign to the time_started property of this DeploymentUpgradeSummary.
  • time_finished (datetime) – The value to assign to the time_finished property of this DeploymentUpgradeSummary.
  • ogg_version (str) – The value to assign to the ogg_version property of this DeploymentUpgradeSummary.
  • time_created (datetime) – The value to assign to the time_created property of this DeploymentUpgradeSummary.
  • time_updated (datetime) – The value to assign to the time_updated property of this DeploymentUpgradeSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DeploymentUpgradeSummary. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, “IN_PROGRESS”, “CANCELING”, “CANCELED”, “SUCCEEDED”, “WAITING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_sub_state (str) – The value to assign to the lifecycle_sub_state property of this DeploymentUpgradeSummary. Allowed values for this property are: “RECOVERING”, “STARTING”, “STOPPING”, “MOVING”, “UPGRADING”, “RESTORING”, “BACKUP_IN_PROGRESS”, “ROLLBACK_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this DeploymentUpgradeSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DeploymentUpgradeSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DeploymentUpgradeSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DeploymentUpgradeSummary.
  • previous_ogg_version (str) – The value to assign to the previous_ogg_version property of this DeploymentUpgradeSummary.
  • time_schedule (datetime) – The value to assign to the time_schedule property of this DeploymentUpgradeSummary.
  • is_snoozed (bool) – The value to assign to the is_snoozed property of this DeploymentUpgradeSummary.
  • time_snoozed_until (datetime) – The value to assign to the time_snoozed_until property of this DeploymentUpgradeSummary.
  • time_released (datetime) – The value to assign to the time_released property of this DeploymentUpgradeSummary.
  • release_type (str) – The value to assign to the release_type property of this DeploymentUpgradeSummary. Allowed values for this property are: “MAJOR”, “BUNDLE”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_security_fix (bool) – The value to assign to the is_security_fix property of this DeploymentUpgradeSummary.
  • is_rollback_allowed (bool) – The value to assign to the is_rollback_allowed property of this DeploymentUpgradeSummary.
  • time_ogg_version_supported_until (datetime) – The value to assign to the time_ogg_version_supported_until property of this DeploymentUpgradeSummary.
  • is_cancel_allowed (bool) – The value to assign to the is_cancel_allowed property of this DeploymentUpgradeSummary.
  • is_reschedule_allowed (bool) – The value to assign to the is_reschedule_allowed property of this DeploymentUpgradeSummary.
  • time_schedule_max (datetime) – The value to assign to the time_schedule_max property of this DeploymentUpgradeSummary.
compartment_id

[Required] Gets the compartment_id of this DeploymentUpgradeSummary. The OCID of the compartment being referenced.

Returns:The compartment_id of this DeploymentUpgradeSummary.
Return type:str
defined_tags

Gets the defined_tags of this DeploymentUpgradeSummary. Tags defined for this resource. Each key is predefined and scoped to a namespace.

Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this DeploymentUpgradeSummary.
Return type:dict(str, dict(str, object))
deployment_id

[Required] Gets the deployment_id of this DeploymentUpgradeSummary. The OCID of the deployment being referenced.

Returns:The deployment_id of this DeploymentUpgradeSummary.
Return type:str
deployment_upgrade_type

[Required] Gets the deployment_upgrade_type of this DeploymentUpgradeSummary. The type of the deployment upgrade: MANUAL or AUTOMATIC

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

Returns:The deployment_upgrade_type of this DeploymentUpgradeSummary.
Return type:str
description

Gets the description of this DeploymentUpgradeSummary. Metadata about this specific object.

Returns:The description of this DeploymentUpgradeSummary.
Return type:str
display_name

Gets the display_name of this DeploymentUpgradeSummary. An object’s Display Name.

Returns:The display_name of this DeploymentUpgradeSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this DeploymentUpgradeSummary. A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only.

Example: {“bar-key”: “value”}

Returns:The freeform_tags of this DeploymentUpgradeSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this DeploymentUpgradeSummary. The OCID of the deployment being referenced.

Returns:The id of this DeploymentUpgradeSummary.
Return type:str
is_cancel_allowed

Gets the is_cancel_allowed of this DeploymentUpgradeSummary. Indicates if cancel is allowed. Scheduled upgrade can be cancelled only if target version is not forced by service, otherwise only reschedule allowed.

Returns:The is_cancel_allowed of this DeploymentUpgradeSummary.
Return type:bool
is_reschedule_allowed

Gets the is_reschedule_allowed of this DeploymentUpgradeSummary. Indicates if reschedule is allowed. Upgrade can be rescheduled postponed until the end of the service defined auto-upgrade period.

Returns:The is_reschedule_allowed of this DeploymentUpgradeSummary.
Return type:bool
is_rollback_allowed

Gets the is_rollback_allowed of this DeploymentUpgradeSummary. Indicates if rollback is allowed. In practice only the last upgrade can be rolled back. - Manual upgrade is allowed to rollback only until the old version isn’t deprecated yet. - Automatic upgrade by default is not allowed, unless a serious issue does not justify.

Returns:The is_rollback_allowed of this DeploymentUpgradeSummary.
Return type:bool
is_security_fix

Gets the is_security_fix of this DeploymentUpgradeSummary. Indicates if OGG release contains security fix.

Returns:The is_security_fix of this DeploymentUpgradeSummary.
Return type:bool
is_snoozed

Gets the is_snoozed of this DeploymentUpgradeSummary. Indicates if upgrade notifications are snoozed or not.

Returns:The is_snoozed of this DeploymentUpgradeSummary.
Return type:bool
lifecycle_details

Gets the lifecycle_details of this DeploymentUpgradeSummary. Describes the object’s current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state.

Returns:The lifecycle_details of this DeploymentUpgradeSummary.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DeploymentUpgradeSummary. Possible lifecycle states.

Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, “FAILED”, “NEEDS_ATTENTION”, “IN_PROGRESS”, “CANCELING”, “CANCELED”, “SUCCEEDED”, “WAITING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this DeploymentUpgradeSummary.
Return type:str
lifecycle_sub_state

Gets the lifecycle_sub_state of this DeploymentUpgradeSummary. Possible GGS lifecycle sub-states.

Allowed values for this property are: “RECOVERING”, “STARTING”, “STOPPING”, “MOVING”, “UPGRADING”, “RESTORING”, “BACKUP_IN_PROGRESS”, “ROLLBACK_IN_PROGRESS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_sub_state of this DeploymentUpgradeSummary.
Return type:str
ogg_version

Gets the ogg_version of this DeploymentUpgradeSummary. Version of OGG

Returns:The ogg_version of this DeploymentUpgradeSummary.
Return type:str
previous_ogg_version

Gets the previous_ogg_version of this DeploymentUpgradeSummary. Version of OGG

Returns:The previous_ogg_version of this DeploymentUpgradeSummary.
Return type:str
release_type

Gets the release_type of this DeploymentUpgradeSummary. The type of release.

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

Returns:The release_type of this DeploymentUpgradeSummary.
Return type:str
system_tags

Gets the system_tags of this DeploymentUpgradeSummary. The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags.

Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this DeploymentUpgradeSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DeploymentUpgradeSummary. The time the resource was created. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_created of this DeploymentUpgradeSummary.
Return type:datetime
time_finished

Gets the time_finished of this DeploymentUpgradeSummary. The date and time the request was finished. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_finished of this DeploymentUpgradeSummary.
Return type:datetime
time_ogg_version_supported_until

Gets the time_ogg_version_supported_until of this DeploymentUpgradeSummary. The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_ogg_version_supported_until of this DeploymentUpgradeSummary.
Return type:datetime
time_released

Gets the time_released of this DeploymentUpgradeSummary. The time the resource was released. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_released of this DeploymentUpgradeSummary.
Return type:datetime
time_schedule

Gets the time_schedule of this DeploymentUpgradeSummary. The time of upgrade schedule. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_schedule of this DeploymentUpgradeSummary.
Return type:datetime
time_schedule_max

Gets the time_schedule_max of this DeploymentUpgradeSummary. Indicates the latest time until the deployment upgrade could be rescheduled. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_schedule_max of this DeploymentUpgradeSummary.
Return type:datetime
time_snoozed_until

Gets the time_snoozed_until of this DeploymentUpgradeSummary. The time the upgrade notifications are snoozed until. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_snoozed_until of this DeploymentUpgradeSummary.
Return type:datetime
time_started

Gets the time_started of this DeploymentUpgradeSummary. The date and time the request was started. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_started of this DeploymentUpgradeSummary.
Return type:datetime
time_updated

Gets the time_updated of this DeploymentUpgradeSummary. The time the resource was last updated. The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.

Returns:The time_updated of this DeploymentUpgradeSummary.
Return type:datetime