Google Cloud Deploy v1 API - Class CustomCanaryDeployment.Types.PhaseConfig (2.6.0)

public sealed class CustomCanaryDeployment.Types.PhaseConfig : IMessage<CustomCanaryDeployment.Types.PhaseConfig>, IEquatable<CustomCanaryDeployment.Types.PhaseConfig>, IDeepCloneable<CustomCanaryDeployment.Types.PhaseConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Deploy v1 API class CustomCanaryDeployment.Types.PhaseConfig.

PhaseConfig represents the configuration for a phase in the custom canary deployment.

Inheritance

object > CustomCanaryDeployment.Types.PhaseConfig

Namespace

Google.Cloud.Deploy.V1

Assembly

Google.Cloud.Deploy.V1.dll

Constructors

PhaseConfig()

public PhaseConfig()

PhaseConfig(PhaseConfig)

public PhaseConfig(CustomCanaryDeployment.Types.PhaseConfig other)
Parameter
NameDescription
otherCustomCanaryDeploymentTypesPhaseConfig

Properties

Percentage

public int Percentage { get; set; }

Required. Percentage deployment for the phase.

Property Value
TypeDescription
int

PhaseId

public string PhaseId { get; set; }

Required. The ID to assign to the Rollout phase. This value must consist of lower-case letters, numbers, and hyphens, start with a letter and end with a letter or a number, and have a max length of 63 characters. In other words, it must match the following regex: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

Property Value
TypeDescription
string

Profiles

public RepeatedField<string> Profiles { get; }

Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles list specified in the DeliveryPipeline stage.

Property Value
TypeDescription
RepeatedFieldstring

Verify

public bool Verify { get; set; }

Whether to run verify tests after the deployment.

Property Value
TypeDescription
bool