DeploymentUpgradeSummary¶
- class oci.golden_gate.models.DeploymentUpgradeSummary(**kwargs)¶
Bases:
objectSummary of the Deployment Upgrade.
Attributes:
A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary.
A constant which can be used with the deployment_upgrade_type property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the lifecycle_sub_state property of a DeploymentUpgradeSummary.
A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
A constant which can be used with the release_type property of a DeploymentUpgradeSummary.
[Required] Gets the compartment_id of this DeploymentUpgradeSummary.
Gets the defined_tags of this DeploymentUpgradeSummary.
[Required] Gets the deployment_id of this DeploymentUpgradeSummary.
[Required] Gets the deployment_upgrade_type of this DeploymentUpgradeSummary.
Gets the description of this DeploymentUpgradeSummary.
Gets the display_name of this DeploymentUpgradeSummary.
Gets the freeform_tags of this DeploymentUpgradeSummary.
[Required] Gets the id of this DeploymentUpgradeSummary.
Gets the is_cancel_allowed of this DeploymentUpgradeSummary.
Gets the is_reschedule_allowed of this DeploymentUpgradeSummary.
Gets the is_rollback_allowed of this DeploymentUpgradeSummary.
Gets the is_security_fix of this DeploymentUpgradeSummary.
Gets the is_snoozed of this DeploymentUpgradeSummary.
Gets the lifecycle_details of this DeploymentUpgradeSummary.
Gets the lifecycle_state of this DeploymentUpgradeSummary.
Gets the lifecycle_sub_state of this DeploymentUpgradeSummary.
Gets the ogg_version of this DeploymentUpgradeSummary.
Gets the previous_ogg_version of this DeploymentUpgradeSummary.
Gets the release_type of this DeploymentUpgradeSummary.
Gets the system_tags of this DeploymentUpgradeSummary.
Gets the time_created of this DeploymentUpgradeSummary.
Gets the time_finished of this DeploymentUpgradeSummary.
Gets the time_ogg_version_supported_until of this DeploymentUpgradeSummary.
Gets the time_released of this DeploymentUpgradeSummary.
Gets the time_schedule of this DeploymentUpgradeSummary.
Gets the time_schedule_max of this DeploymentUpgradeSummary.
Gets the time_snoozed_until of this DeploymentUpgradeSummary.
Gets the time_started of this DeploymentUpgradeSummary.
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_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.
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.
- property 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
- property 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))
- property 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
- property 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
- property description¶
Gets the description of this DeploymentUpgradeSummary. Metadata about this specific object.
- Returns
The description of this DeploymentUpgradeSummary.
- Return type
str
- property display_name¶
Gets the display_name of this DeploymentUpgradeSummary. An object’s Display Name.
- Returns
The display_name of this DeploymentUpgradeSummary.
- Return type
str
- property 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)
- property id¶
[Required] Gets the id of this DeploymentUpgradeSummary. The OCID of the deployment being referenced.
- Returns
The id of this DeploymentUpgradeSummary.
- Return type
str
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property lifecycle_state¶
Gets the lifecycle_state of this DeploymentUpgradeSummary. Possible lifecycle states for a Deployment Upgrade.
- Returns
The lifecycle_state of this DeploymentUpgradeSummary.
- Return type
str
- property 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
- property ogg_version¶
Gets the ogg_version of this DeploymentUpgradeSummary. Version of OGG
- Returns
The ogg_version of this DeploymentUpgradeSummary.
- Return type
str
- property 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
- property 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
- property 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))
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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