Files
csharp/src/KubernetesClient/generated/Models/V1beta2StatefulSetUpdateStrategy.cs

65 lines
2.3 KiB
C#
Raw Normal View History

2017-10-19 19:53:02 +00:00
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// 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.
/// </summary>
public partial class V1beta2StatefulSetUpdateStrategy
{
/// <summary>
/// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy
/// class.
/// </summary>
public V1beta2StatefulSetUpdateStrategy()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1beta2StatefulSetUpdateStrategy
/// class.
/// </summary>
/// <param name="rollingUpdate">RollingUpdate is used to communicate
/// parameters when Type is
/// RollingUpdateStatefulSetStrategyType.</param>
/// <param name="type">Type indicates the type of the
/// StatefulSetUpdateStrategy. Default is RollingUpdate.</param>
public V1beta2StatefulSetUpdateStrategy(V1beta2RollingUpdateStatefulSetStrategy rollingUpdate = default(V1beta2RollingUpdateStatefulSetStrategy), string type = default(string))
{
RollingUpdate = rollingUpdate;
Type = type;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets rollingUpdate is used to communicate parameters when
/// Type is RollingUpdateStatefulSetStrategyType.
/// </summary>
[JsonProperty(PropertyName = "rollingUpdate")]
public V1beta2RollingUpdateStatefulSetStrategy RollingUpdate { get; set; }
/// <summary>
/// Gets or sets type indicates the type of the
/// StatefulSetUpdateStrategy. Default is RollingUpdate.
/// </summary>
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
}
}