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.
Implements
IMessageCustomCanaryDeploymentTypesPhaseConfig, IEquatableCustomCanaryDeploymentTypesPhaseConfig, IDeepCloneableCustomCanaryDeploymentTypesPhaseConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Deploy.V1Assembly
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 |
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 |