Show / Hide Table of Contents

Class BlueGreenDeployment

A BlueGreenDeployment resource represents a Cloud SQL blue-green deployment setup.

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.v1.Data
Assembly: Google.Apis.SQLAdmin.v1.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. Example: 2024-01-01T00:00:00Z

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. The description can be up to 255 characters long.

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 details on why switchover is not possible. This field is empty unless a switchover attempt failed or the state is SWITCHOVER_NOT_READY. Example: "The target database version does not match the source instance database version."

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

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. Required on create, and immutable. The full resource name of the source instance (the "blue" instance). Format: projects/{project}/instances/{instance}

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. The full resource name of the primary target instance (the "green" instance) that will be promoted during switchover. This field is always populated once the deployment is created. Format: projects/{project}/instances/{instance}

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX