Show / Hide Table of Contents

Class BlueGreenDeployment

A BlueGreenDeployment resource represents a Cloud SQL blue-green deployment setup. It orchestrates the lifecycle of creating a synchronized "green" environment from a "blue" production environment, performing updates, and managing the switchover process to minimize downtime.

Inheritance
object
BlueGreenDeployment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class BlueGreenDeployment : IDirectResponseSchema

Properties

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time when the deployment was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

DeploymentMappings

Output only. A list representing the pairs of source and target instances in the deployment.

Declaration
[JsonProperty("deploymentMappings")]
public virtual IList<SourceTargetPairedNode> DeploymentMappings { get; set; }
Property Value
Type Description
IList<SourceTargetPairedNode>

DeploymentTasks

Output only. Combined list of tasks for all paired nodes.

Declaration
[JsonProperty("deploymentTasks")]
public virtual DeploymentTasks DeploymentTasks { get; set; }
Property Value
Type Description
DeploymentTasks

Description

Optional. User-provided description for the deployment.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

ErrorDetail

Output only. Provides an error message with details on why switchover is not possible.

Declaration
[JsonProperty("errorDetail")]
public virtual string ErrorDetail { get; set; }
Property Value
Type Description
string

Name

Output only. Identifier. The full resource name of the deployment. Format: projects/{project}/locations/{location}/blueGreenDeployments/{deployment_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

PairedNodes

Output only. Deprecated: Use deployment_mappings instead. Output only. A list representing the pairs of source and target instances in the deployment.

Declaration
[JsonProperty("pairedNodes")]
public virtual IList<SourceTargetPairedNode> PairedNodes { get; set; }
Property Value
Type Description
IList<SourceTargetPairedNode>

RequestedConfig

Optional. Immutable. Optional on create, and immutable. The configuration intended for the target instance(s) when the deployment was created.

Declaration
[JsonProperty("requestedConfig")]
public virtual RequestedConfig RequestedConfig { get; set; }
Property Value
Type Description
RequestedConfig

SourceInstance

Required. Immutable. The instance ID of the source instance (the "blue" instance). The value for this field does not include the project ID, for example, my-instance-id. This field is immutable.

Declaration
[JsonProperty("sourceInstance")]
public virtual string SourceInstance { get; set; }
Property Value
Type Description
string

State

Output only. The current state of the blue-green deployment.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

SwitchoverTargetInstance

Output only. Details about the primary target instance (the "Green" instance) that will be promoted during switchover.

Declaration
[JsonProperty("switchoverTargetInstance")]
public virtual string SwitchoverTargetInstance { get; set; }
Property Value
Type Description
string

TargetConfig

Optional. Immutable. Deprecated: Use requested_config instead. The configuration intended for the target instance(s) when the deployment was created. This field is immutable.

Declaration
[JsonProperty("targetConfig")]
public virtual TargetConfig TargetConfig { get; set; }
Property Value
Type Description
TargetConfig

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX