DeploymentUpgrade

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

Bases: object

A container for your OCI GoldenGate Upgrade information.

Attributes

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

Methods

__init__(**kwargs) Initializes a new DeploymentUpgrade 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 DeploymentUpgrade. 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 DeploymentUpgrade. This constant has a value of “MANUAL”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CANCELED = 'CANCELED'

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

LIFECYCLE_STATE_CANCELING = 'CANCELING'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. This constant has a value of “SUCCEEDED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

LIFECYCLE_STATE_WAITING = 'WAITING'

A constant which can be used with the lifecycle_state property of a DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade. This constant has a value of “UPGRADING”

RELEASE_TYPE_BUNDLE = 'BUNDLE'

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

RELEASE_TYPE_MAJOR = 'MAJOR'

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

RELEASE_TYPE_MINOR = 'MINOR'

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

__init__(**kwargs)

Initializes a new DeploymentUpgrade 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 DeploymentUpgrade.
  • display_name (str) – The value to assign to the display_name property of this DeploymentUpgrade.
  • description (str) – The value to assign to the description property of this DeploymentUpgrade.
  • compartment_id (str) – The value to assign to the compartment_id property of this DeploymentUpgrade.
  • deployment_id (str) – The value to assign to the deployment_id property of this DeploymentUpgrade.
  • deployment_upgrade_type (str) – The value to assign to the deployment_upgrade_type property of this DeploymentUpgrade. 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 DeploymentUpgrade.
  • time_finished (datetime) – The value to assign to the time_finished property of this DeploymentUpgrade.
  • ogg_version (str) – The value to assign to the ogg_version property of this DeploymentUpgrade.
  • time_created (datetime) – The value to assign to the time_created property of this DeploymentUpgrade.
  • time_updated (datetime) – The value to assign to the time_updated property of this DeploymentUpgrade.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this DeploymentUpgrade. 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 DeploymentUpgrade. 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 DeploymentUpgrade.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DeploymentUpgrade.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DeploymentUpgrade.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this DeploymentUpgrade.
  • previous_ogg_version (str) – The value to assign to the previous_ogg_version property of this DeploymentUpgrade.
  • time_schedule (datetime) – The value to assign to the time_schedule property of this DeploymentUpgrade.
  • is_snoozed (bool) – The value to assign to the is_snoozed property of this DeploymentUpgrade.
  • time_snoozed_until (datetime) – The value to assign to the time_snoozed_until property of this DeploymentUpgrade.
  • time_released (datetime) – The value to assign to the time_released property of this DeploymentUpgrade.
  • release_type (str) – The value to assign to the release_type property of this DeploymentUpgrade. 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 DeploymentUpgrade.
  • is_rollback_allowed (bool) – The value to assign to the is_rollback_allowed property of this DeploymentUpgrade.
  • time_ogg_version_supported_until (datetime) – The value to assign to the time_ogg_version_supported_until property of this DeploymentUpgrade.
  • is_cancel_allowed (bool) – The value to assign to the is_cancel_allowed property of this DeploymentUpgrade.
  • is_reschedule_allowed (bool) – The value to assign to the is_reschedule_allowed property of this DeploymentUpgrade.
  • time_schedule_max (datetime) – The value to assign to the time_schedule_max property of this DeploymentUpgrade.
compartment_id

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

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

Gets the defined_tags of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:dict(str, dict(str, object))
deployment_id

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

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

[Required] Gets the deployment_upgrade_type of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:str
description

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

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

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

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

Gets the freeform_tags of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:dict(str, str)
id

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

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

Gets the is_cancel_allowed of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:bool
is_reschedule_allowed

Gets the is_reschedule_allowed of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:bool
is_rollback_allowed

Gets the is_rollback_allowed of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:bool
is_security_fix

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

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

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

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

Gets the lifecycle_details of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:str
lifecycle_state

Gets the lifecycle_state of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:str
lifecycle_sub_state

Gets the lifecycle_sub_state of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:str
ogg_version

Gets the ogg_version of this DeploymentUpgrade. Version of OGG

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

Gets the previous_ogg_version of this DeploymentUpgrade. Version of OGG

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

Gets the release_type of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:str
system_tags

Gets the system_tags of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_finished

Gets the time_finished of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_ogg_version_supported_until

Gets the time_ogg_version_supported_until of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_released

Gets the time_released of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_schedule

Gets the time_schedule of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_schedule_max

Gets the time_schedule_max of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_snoozed_until

Gets the time_snoozed_until of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_started

Gets the time_started of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime
time_updated

Gets the time_updated of this DeploymentUpgrade. 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 DeploymentUpgrade.
Return type:datetime