Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1DeploymentRollback class.
 /// </summary>
 public Iok8sapiextensionsv1beta1DeploymentRollback(string name, Iok8sapiextensionsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary <string, string> updatedAnnotations = default(IDictionary <string, string>))
 {
     ApiVersion         = apiVersion;
     Kind               = kind;
     Name               = name;
     RollbackTo         = rollbackTo;
     UpdatedAnnotations = updatedAnnotations;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1DeploymentSpec class.
 /// </summary>
 public Iok8sapiextensionsv1beta1DeploymentSpec(Iok8sapicorev1PodTemplateSpec template, int?minReadySeconds = default(int?), bool?paused = default(bool?), int?progressDeadlineSeconds = default(int?), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapiextensionsv1beta1RollbackConfig rollbackTo = default(Iok8sapiextensionsv1beta1RollbackConfig), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8sapiextensionsv1beta1DeploymentStrategy strategy = default(Iok8sapiextensionsv1beta1DeploymentStrategy))
 {
     MinReadySeconds         = minReadySeconds;
     Paused                  = paused;
     ProgressDeadlineSeconds = progressDeadlineSeconds;
     Replicas                = replicas;
     RevisionHistoryLimit    = revisionHistoryLimit;
     RollbackTo              = rollbackTo;
     Selector                = selector;
     Strategy                = strategy;
     Template                = template;
 }