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

            return(this);
        }