BlueGreenDeploymentSummary¶
-
class
oci.mysql.models.BlueGreenDeploymentSummary(**kwargs)¶ Bases:
objectList-safe summary of a blue/green deployment.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_NOT_STARTEDA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_READY_FOR_SWITCHOVERA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_REPLICATING_DATAA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_SWITCHOVER_COMPLETEDA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_SWITCHOVER_FAILEDA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_SWITCHOVER_IN_PROGRESSA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. SWITCHOVER_STATUS_VALIDATINGA constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. active_db_system_idGets the active_db_system_id of this BlueGreenDeploymentSummary. compartment_id[Required] Gets the compartment_id of this BlueGreenDeploymentSummary. defined_tagsGets the defined_tags of this BlueGreenDeploymentSummary. display_nameGets the display_name of this BlueGreenDeploymentSummary. freeform_tagsGets the freeform_tags of this BlueGreenDeploymentSummary. id[Required] Gets the id of this BlueGreenDeploymentSummary. lifecycle_detailsGets the lifecycle_details of this BlueGreenDeploymentSummary. lifecycle_state[Required] Gets the lifecycle_state of this BlueGreenDeploymentSummary. source_db_system_idGets the source_db_system_id of this BlueGreenDeploymentSummary. switchover_statusGets the switchover_status of this BlueGreenDeploymentSummary. system_tagsGets the system_tags of this BlueGreenDeploymentSummary. target_db_system_idGets the target_db_system_id of this BlueGreenDeploymentSummary. time_created[Required] Gets the time_created of this BlueGreenDeploymentSummary. time_updatedGets the time_updated of this BlueGreenDeploymentSummary. Methods
__init__(**kwargs)Initializes a new BlueGreenDeploymentSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a BlueGreenDeploymentSummary. This constant has a value of “UPDATING”
-
SWITCHOVER_STATUS_NOT_STARTED= 'NOT_STARTED'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “NOT_STARTED”
-
SWITCHOVER_STATUS_READY_FOR_SWITCHOVER= 'READY_FOR_SWITCHOVER'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “READY_FOR_SWITCHOVER”
-
SWITCHOVER_STATUS_REPLICATING_DATA= 'REPLICATING_DATA'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “REPLICATING_DATA”
-
SWITCHOVER_STATUS_SWITCHOVER_COMPLETED= 'SWITCHOVER_COMPLETED'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “SWITCHOVER_COMPLETED”
-
SWITCHOVER_STATUS_SWITCHOVER_FAILED= 'SWITCHOVER_FAILED'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “SWITCHOVER_FAILED”
-
SWITCHOVER_STATUS_SWITCHOVER_IN_PROGRESS= 'SWITCHOVER_IN_PROGRESS'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “SWITCHOVER_IN_PROGRESS”
-
SWITCHOVER_STATUS_VALIDATING= 'VALIDATING'¶ A constant which can be used with the switchover_status property of a BlueGreenDeploymentSummary. This constant has a value of “VALIDATING”
-
__init__(**kwargs)¶ Initializes a new BlueGreenDeploymentSummary 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 BlueGreenDeploymentSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this BlueGreenDeploymentSummary.
- display_name (str) – The value to assign to the display_name property of this BlueGreenDeploymentSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this BlueGreenDeploymentSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘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 BlueGreenDeploymentSummary.
- source_db_system_id (str) – The value to assign to the source_db_system_id property of this BlueGreenDeploymentSummary.
- target_db_system_id (str) – The value to assign to the target_db_system_id property of this BlueGreenDeploymentSummary.
- active_db_system_id (str) – The value to assign to the active_db_system_id property of this BlueGreenDeploymentSummary.
- switchover_status (str) – The value to assign to the switchover_status property of this BlueGreenDeploymentSummary. Allowed values for this property are: “NOT_STARTED”, “VALIDATING”, “REPLICATING_DATA”, “READY_FOR_SWITCHOVER”, “SWITCHOVER_IN_PROGRESS”, “SWITCHOVER_COMPLETED”, “SWITCHOVER_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this BlueGreenDeploymentSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this BlueGreenDeploymentSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this BlueGreenDeploymentSummary.
- time_created (datetime) – The value to assign to the time_created property of this BlueGreenDeploymentSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this BlueGreenDeploymentSummary.
-
active_db_system_id¶ Gets the active_db_system_id of this BlueGreenDeploymentSummary. The DB system OCID that currently owns the client-facing VIP and serves traffic.
Returns: The active_db_system_id of this BlueGreenDeploymentSummary. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this BlueGreenDeploymentSummary. The OCID of the compartment.
Returns: The compartment_id of this BlueGreenDeploymentSummary. Return type: str
Gets the defined_tags of this BlueGreenDeploymentSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this BlueGreenDeploymentSummary. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this BlueGreenDeploymentSummary. The display name of the blue/green deployment.
Returns: The display_name of this BlueGreenDeploymentSummary. Return type: str
Gets the freeform_tags of this BlueGreenDeploymentSummary. 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 BlueGreenDeploymentSummary. Return type: dict(str, str)
-
id¶ [Required] Gets the id of this BlueGreenDeploymentSummary. The OCID of the blue/green deployment.
Returns: The id of this BlueGreenDeploymentSummary. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this BlueGreenDeploymentSummary. Additional lifecycle details.
Returns: The lifecycle_details of this BlueGreenDeploymentSummary. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this BlueGreenDeploymentSummary. The current lifecycle state.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this BlueGreenDeploymentSummary. Return type: str
-
source_db_system_id¶ Gets the source_db_system_id of this BlueGreenDeploymentSummary. Blue/original source DB system OCID for the deployment pair.
Returns: The source_db_system_id of this BlueGreenDeploymentSummary. Return type: str
-
switchover_status¶ Gets the switchover_status of this BlueGreenDeploymentSummary. Stage of the most recent switchover workflow. SWITCHOVER_FAILED indicates terminal switchover failure.
Allowed values for this property are: “NOT_STARTED”, “VALIDATING”, “REPLICATING_DATA”, “READY_FOR_SWITCHOVER”, “SWITCHOVER_IN_PROGRESS”, “SWITCHOVER_COMPLETED”, “SWITCHOVER_FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The switchover_status of this BlueGreenDeploymentSummary. Return type: str
Gets the system_tags of this BlueGreenDeploymentSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this BlueGreenDeploymentSummary. Return type: dict(str, dict(str, object))
-
target_db_system_id¶ Gets the target_db_system_id of this BlueGreenDeploymentSummary. Green/target DB system OCID for the deployment pair.
Returns: The target_db_system_id of this BlueGreenDeploymentSummary. Return type: str
-
time_created¶ [Required] Gets the time_created of this BlueGreenDeploymentSummary. The time the deployment was created.
Returns: The time_created of this BlueGreenDeploymentSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this BlueGreenDeploymentSummary. The time the deployment was last updated.
Returns: The time_updated of this BlueGreenDeploymentSummary. Return type: datetime
-