Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode.
Represents a pairing of a source instance node and a target instance node.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#currently_serving_traffic
def currently_serving_traffic() -> ::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::CurrentlyServingTraffic
Returns
- (::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::CurrentlyServingTraffic) — Output only. Deprecated: Indicates which instance (SOURCE or TARGET) in the pair is currently live. Used for internal implementation and deprecated for external use.
#diffs
def diffs() -> ::Array<::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff>
Returns
- (::Array<::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::ConfigDiff>) — Output only. Describes the list of differences for this pair.
#source
def source() -> ::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo
Returns
- (::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo) — Output only. Resource name of the source instance in this pair.
#state
def state() -> ::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::State
Returns
- (::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::State) — Output only. The current state of this specific source-target pair.
#target
def target() -> ::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo
Returns
- (::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::NodeInfo) — Output only. Details of the corresponding target instance in this pair.
#tasks
def tasks() -> ::Array<::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask>
Returns
- (::Array<::Google::Cloud::Sql::V1beta4::BlueGreenDeployment::SourceTargetPairedNode::DeploymentTask>) — Output only. Tasks performed or being performed on the target instance of this pair.