PromoteReleaseRuleResponse class
PromoteRelease rule will automatically promote a release from the current target to a specified target.
Constructors
-
PromoteReleaseRuleResponse({required Input<
AutomationRuleConditionResponse> condition, required Input<String> destinationPhase, required Input<String> destinationTargetId, required Input<String> wait}) -
Creates a new PromoteReleaseRuleResponse.
conditionInformation around the state of the Automation rule.destinationPhaseOptional. The starting phase of the rollout created by this operation. Default to the first phase.destinationTargetIdOptional. The ID of the stage in the pipeline to which thisReleaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.waitOptional. How long the release need to be paused until being promoted to the next target.const -
PromoteReleaseRuleResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
condition
→ Input<
AutomationRuleConditionResponse> -
Information around the state of the Automation rule.
final
-
destinationPhase
→ Input<
String> -
Optional. The starting phase of the rollout created by this operation. Default to the first phase.
final
-
destinationTargetId
→ Input<
String> -
Optional. The ID of the stage in the pipeline to which this
Releaseis deploying. If unspecified, default it to the next stage in the promotion flow. The value of this field could be one of the following: * The last segment of a target name. It only needs the ID to determine if the target is one of the stages in the promotion sequence defined in the pipeline. * "@next", the next target in the promotion sequence.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
wait
→ Input<
String> -
Optional. How long the release need to be paused until being promoted to the next target.
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