// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Linq; /// /// StatefulSetUpdateStrategy indicates the strategy that the StatefulSet /// controller will use to perform updates. It includes any additional /// parameters necessary to perform the update for the indicated strategy. /// public partial class V1beta2StatefulSetUpdateStrategy { /// /// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy /// class. /// public V1beta2StatefulSetUpdateStrategy() { CustomInit(); } /// /// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy /// class. /// /// RollingUpdate is used to communicate /// parameters when Type is /// RollingUpdateStatefulSetStrategyType. /// Type indicates the type of the /// StatefulSetUpdateStrategy. Default is RollingUpdate. public V1beta2StatefulSetUpdateStrategy(V1beta2RollingUpdateStatefulSetStrategy rollingUpdate = default(V1beta2RollingUpdateStatefulSetStrategy), string type = default(string)) { RollingUpdate = rollingUpdate; Type = type; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets rollingUpdate is used to communicate parameters when /// Type is RollingUpdateStatefulSetStrategyType. /// [JsonProperty(PropertyName = "rollingUpdate")] public V1beta2RollingUpdateStatefulSetStrategy RollingUpdate { get; set; } /// /// Gets or sets type indicates the type of the /// StatefulSetUpdateStrategy. Default is RollingUpdate. /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } } }