Google Cloud Deploy v1 API - Class CustomCanaryDeployment.Types.PhaseConfig (2.15.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
Name Description
other CustomCanaryDeploymentTypesPhaseConfig

Properties

Percentage

public int Percentage { get; set; }

Required. Percentage deployment for the phase.

Property Value
Type Description
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
Type Description
string

Postdeploy

public Postdeploy Postdeploy { get; set; }

Optional. Configuration for the postdeploy job of this 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 this phase. If this is not configured, there will be no predeploy job for this phase.

Property Value
Type Description
Predeploy

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
Type Description
RepeatedFieldstring

Verify

public bool Verify { get; set; }

Whether to run verify tests after the deployment.

Property Value
Type Description
bool