CanaryDeploymentResponse class
CanaryDeployment represents the canary deployment configuration
Constructors
-
CanaryDeploymentResponse({required Input<
List< percentages, required Input<int> >PostdeployResponse> postdeploy, required Input<PredeployResponse> predeploy, required Input<bool> verify}) -
Creates a new CanaryDeploymentResponse.
percentagesThe percentage based deployments that will occur as a part of aRollout. List is expected in ascending order and each integer n is 0 <= n < 100.postdeployOptional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.predeployOptional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.verifyWhether to run verify tests after each percentage deployment.const -
CanaryDeploymentResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
percentages
→ Input<
List< int> > -
The percentage based deployments that will occur as a part of a
Rollout. List is expected in ascending order and each integer n is 0 <= n < 100.final -
postdeploy
→ Input<
PostdeployResponse> -
Optional. Configuration for the postdeploy job of the last phase. If this is not configured, there will be no postdeploy job for this phase.
final
-
predeploy
→ Input<
PredeployResponse> -
Optional. Configuration for the predeploy job of the first phase. If this is not configured, there will be no predeploy job for this phase.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
verify
→ Input<
bool> -
Whether to run verify tests after each percentage deployment.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited