Data Source: oci_mysql_blue_green_deployment
This data source provides details about a specific Blue Green Deployment resource in Oracle Cloud Infrastructure MySQL Database service.
Gets a blue/green deployment by identifier.
Example Usage
data "oci_mysql_blue_green_deployment" "test_blue_green_deployment" {
#Required
blue_green_deployment_id = oci_mysql_blue_green_deployment.test_blue_green_deployment.id
}
Argument Reference
The following arguments are supported:
blue_green_deployment_id- (Required) The OCID of the blue/green deployment.
Attributes Reference
The following attributes are exported:
active_db_system_id- The DB system OCID that currently owns the client-facing VIP and serves traffic.compartment_id- The OCID of the compartment.defined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}display_name- The display name of the blue/green deployment.freeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}id- The OCID of the blue/green deployment.lifecycle_details- Additional lifecycle details.replication_channel_id- Replication channel OCID.source_db_system_id- Blue/original source DB system OCID for the deployment pair.ssl_mode- SSL mode used for the replication channel created by the blue/green workflow.state- The current lifecycle state.switchover_status- Stage of the most recent switchover workflow.SWITCHOVER_FAILEDindicates terminal switchover failure.system_tags- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:{"orcl-cloud.free-tier-retained": "true"}target_db_system_details- Target DB System details for a blue/green deployment.configuration_id- The OCID of the configuration applied to the target DB System.data_storage_size_in_gb- Initial data storage size in GiBs for the target DB System.mysql_version- Target MySQL engine version.shape_name- The shape of the target DB System. The shape determines resources allocated to the DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the ListShapes operation.
target_db_system_id- Green/target DB system OCID for the deployment pair.time_created- The time the deployment was created.time_updated- The time the deployment was last updated.