PhaseConfig
import type { PhaseConfig } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";
PhaseConfig represents the configuration for a phase in the custom canary deployment.
interface PhaseConfig {
percentage?: number;
phaseId?: string;
postdeploy?: Postdeploy;
predeploy?: Predeploy;
profiles?: string[];
verify?: boolean;
}§Properties
§
phaseId?: string
[src]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])?$
.
§
postdeploy?: Postdeploy
[src]Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.