Google Cloud Deploy v1 API - Class CanaryDeployment (3.4.0)

public sealed class CanaryDeployment : IMessage<CanaryDeployment>, IEquatable<CanaryDeployment>, IDeepCloneable<CanaryDeployment>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class CanaryDeployment.

CanaryDeployment represents the canary deployment configuration

Inheritance

object > CanaryDeployment

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

CanaryDeployment()

public CanaryDeployment()

CanaryDeployment(CanaryDeployment)

public CanaryDeployment(CanaryDeployment other)
Parameter
Name Description
other CanaryDeployment

Properties

Percentages

public RepeatedField<int> Percentages { get; }

Required. The percentage based deployments that will occur as a part of a Rollout. List is expected in ascending order and each integer n is 0 <= n < 100. If the GatewayServiceMesh is configured for Kubernetes, then the range for n is 0 <= n <= 100.

Property Value
Type Description
RepeatedFieldint

Postdeploy

public Postdeploy Postdeploy { get; set; }

Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.

Property Value
Type Description
Postdeploy

Predeploy

public Predeploy Predeploy { get; set; }

Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.

Property Value
Type Description
Predeploy

Verify

public bool Verify { get; set; }

Whether to run verify tests after each percentage deployment.

Property Value
Type Description
bool