DeploymentUpgrade¶
- class oci.golden_gate.models.DeploymentUpgrade(**kwargs)¶
Bases:
objectA container for your OCI GoldenGate Upgrade information.
Attributes:
A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgrade.
A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgrade.
A constant which can be used with the release_type property of a DeploymentUpgrade.
A constant which can be used with the release_type property of a DeploymentUpgrade.
A constant which can be used with the release_type property of a DeploymentUpgrade.
[Required] Gets the compartment_id of this DeploymentUpgrade.
Gets the defined_tags of this DeploymentUpgrade.
[Required] Gets the deployment_id of this DeploymentUpgrade.
[Required] Gets the deployment_upgrade_type of this DeploymentUpgrade.
Gets the description of this DeploymentUpgrade.
Gets the display_name of this DeploymentUpgrade.
Gets the freeform_tags of this DeploymentUpgrade.
[Required] Gets the id of this DeploymentUpgrade.
Gets the is_cancel_allowed of this DeploymentUpgrade.
Gets the is_reschedule_allowed of this DeploymentUpgrade.
Gets the is_rollback_allowed of this DeploymentUpgrade.
Gets the is_security_fix of this DeploymentUpgrade.
Gets the is_snoozed of this DeploymentUpgrade.
Gets the lifecycle_details of this DeploymentUpgrade.
Gets the lifecycle_state of this DeploymentUpgrade.
Gets the lifecycle_sub_state of this DeploymentUpgrade.
Gets the ogg_version of this DeploymentUpgrade.
Gets the previous_ogg_version of this DeploymentUpgrade.
Gets the release_type of this DeploymentUpgrade.
Gets the system_tags of this DeploymentUpgrade.
Gets the time_created of this DeploymentUpgrade.
Gets the time_finished of this DeploymentUpgrade.
Gets the time_ogg_version_supported_until of this DeploymentUpgrade.
Gets the time_released of this DeploymentUpgrade.
Gets the time_schedule of this DeploymentUpgrade.
Gets the time_schedule_max of this DeploymentUpgrade.
Gets the time_snoozed_until of this DeploymentUpgrade.
Gets the time_started of this DeploymentUpgrade.
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_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_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_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_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_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: “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘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.
- property 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
- property 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))
- property 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
- property 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
- property description¶
Gets the description of this DeploymentUpgrade. Metadata about this specific object.
- Returns
The description of this DeploymentUpgrade.
- Return type
str
- property display_name¶
Gets the display_name of this DeploymentUpgrade. An object’s Display Name.
- Returns
The display_name of this DeploymentUpgrade.
- Return type
str
- property 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)
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property lifecycle_state¶
Gets the lifecycle_state of this DeploymentUpgrade. Possible lifecycle states for a Deployment Upgrade.
Allowed values for this property are: “WAITING”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELED”, ‘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
- property 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
- property ogg_version¶
Gets the ogg_version of this DeploymentUpgrade. Version of OGG
- Returns
The ogg_version of this DeploymentUpgrade.
- Return type
str
- property 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
- property 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
- property 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))
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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