public PhaseResource WithOptionalDeploymentTargets(params EnvironmentResource[] environments) { foreach (var environment in environments) { OptionalDeploymentTargets.Add(environment.Id); } return(this); }
public PhaseResource Clear() { AutomaticDeploymentTargets.Clear(); OptionalDeploymentTargets.Clear(); MinimumEnvironmentsBeforePromotion = 0; ReleaseRetentionPolicy = null; TentacleRetentionPolicy = null; return(this); }