Google Cloud Deploy v1 API - Class CanaryDeployment (2.14.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
NameDescription
otherCanaryDeployment

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.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Predeploy

Verify

public bool Verify { get; set; }

Whether to run verify tests after each percentage deployment.

Property Value
TypeDescription
bool