SourceTargetPairedNode(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a pairing of a source instance node and a target instance node.
Attributes |
|
|---|---|
| Name | Description |
source |
google.cloud.sqladmin_v1beta4.types.BlueGreenDeployment.SourceTargetPairedNode.NodeInfo
Output only. Resource name of the source instance in this pair. |
target |
google.cloud.sqladmin_v1beta4.types.BlueGreenDeployment.SourceTargetPairedNode.NodeInfo
Output only. Details of the corresponding target instance in this pair. |
state |
google.cloud.sqladmin_v1beta4.types.BlueGreenDeployment.SourceTargetPairedNode.State
Output only. The current state of this specific source-target pair. |
currently_serving_traffic |
google.cloud.sqladmin_v1beta4.types.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. |
tasks |
MutableSequence[google.cloud.sqladmin_v1beta4.types.BlueGreenDeployment.SourceTargetPairedNode.DeploymentTask]
Output only. Tasks performed or being performed on the target instance of this pair. |
diffs |
MutableSequence[google.cloud.sqladmin_v1beta4.types.BlueGreenDeployment.SourceTargetPairedNode.ConfigDiff]
Output only. Describes the list of differences for this pair. |
Classes
ConfigDiff
ConfigDiff(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a specific configuration difference between Blue and Green instances.
CurrentlyServingTraffic
CurrentlyServingTraffic(value)The instance currently serving traffic.
DeploymentTask
DeploymentTask(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a task executed as part of the deployment on a target instance.
NodeInfo
NodeInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)Details about an instance within the deployment.
State
State(value)The state of a pair of source and target instances in deployment (paired node).