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_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_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. 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. 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. 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_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_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_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”
-
__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”, ‘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”, ‘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.
-
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
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
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
-
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”, ‘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”, ‘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
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
-