Class BlueGreenDeployment
A blue/green deployment resource.
Inherited Members
Namespace: Oci.MysqlService.Models
Assembly: OCI.DotNetSDK.Mysql.dll
Syntax
public class BlueGreenDeployment
Properties
ActiveDbSystemId
Declaration
[JsonProperty(PropertyName = "activeDbSystemId")]
public string ActiveDbSystemId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The DB system OCID that currently owns the client-facing VIP and serves traffic. |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the compartment. |
Remarks
Required
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the blue/green deployment. |
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the blue/green deployment. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Additional lifecycle details. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BlueGreenDeployment.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| BlueGreenDeployment.LifecycleStateEnum? | The current lifecycle state. |
Remarks
Required
ReplicationChannelId
Declaration
[JsonProperty(PropertyName = "replicationChannelId")]
public string ReplicationChannelId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Replication channel OCID. |
SourceDbSystemId
Declaration
[JsonProperty(PropertyName = "sourceDbSystemId")]
public string SourceDbSystemId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Blue/original source DB system OCID for the deployment pair. |
SslMode
Declaration
[JsonProperty(PropertyName = "sslMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SslMode? SslMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SslMode? | SSL mode used for the replication channel created by the blue/green workflow. |
SwitchoverStatus
Declaration
[JsonProperty(PropertyName = "switchoverStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public BlueGreenDeploymentSwitchoverStatus? SwitchoverStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| BlueGreenDeploymentSwitchoverStatus? | Stage of the most recent switchover workflow.
|
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TargetDbSystemDetails
Declaration
[JsonProperty(PropertyName = "targetDbSystemDetails")]
public BlueGreenDeploymentTargetDbSystemDetails TargetDbSystemDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| BlueGreenDeploymentTargetDbSystemDetails |
TargetDbSystemId
Declaration
[JsonProperty(PropertyName = "targetDbSystemId")]
public string TargetDbSystemId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Green/target DB system OCID for the deployment pair. |
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time the deployment was created. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | The time the deployment was last updated. |