Cloud SQL Admin V1 API - Module Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask::Type (v0.5.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API module Google::Cloud::Sql::V1::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask::Type.

The type of the task. This enum type Type is prone to change, and new values may be added in the future.

Constants

TYPE_UNSPECIFIED

value: 0
The default value. This value is used if the type is omitted.

PROVISION

value: 1
Provisions the green environment, which includes creating the target instance.

UPGRADE

value: 2
Upgrades the green environment, for example, performing a major version upgrade on the target instance.

SWITCHOVER

value: 3
Promotes the target instance and then demotes the source instance for this pair.

DELETE

value: 4
Deletes the blue-green deployment, including underlying resources.

POST_SWITCHOVER_OPERATIONS

value: 5
Post-switchover operations, including cleaning up resources of the old instance, taking final backups, and updating metadata.