Class PhaseConfig
PhaseConfig represents the configuration for a phase in the custom canary deployment.
Implements
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1.Data
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class PhaseConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Percentage
Required. Percentage deployment for the phase.
Declaration
[JsonProperty("percentage")]
public virtual int? Percentage { get; set; }
Property Value
Type | Description |
---|---|
int? |
PhaseId
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])?$
.
Declaration
[JsonProperty("phaseId")]
public virtual string PhaseId { get; set; }
Property Value
Type | Description |
---|---|
string |
Postdeploy
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
Declaration
[JsonProperty("postdeploy")]
public virtual Postdeploy Postdeploy { get; set; }
Property Value
Type | Description |
---|---|
Postdeploy |
Predeploy
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
Declaration
[JsonProperty("predeploy")]
public virtual Predeploy Predeploy { get; set; }
Property Value
Type | Description |
---|---|
Predeploy |
Profiles
Skaffold profiles to use when rendering the manifest for this phase. These are in addition to the profiles
list specified in the DeliveryPipeline
stage.
Declaration
[JsonProperty("profiles")]
public virtual IList<string> Profiles { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Verify
Whether to run verify tests after the deployment.
Declaration
[JsonProperty("verify")]
public virtual bool? Verify { get; set; }
Property Value
Type | Description |
---|---|
bool? |