Files
csharp/src/generated/Models/V1beta1DaemonSetStatus.cs

143 lines
6.3 KiB
C#
Raw Normal View History

2017-06-16 10:47:10 -07:00
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// DaemonSetStatus represents the current status of a daemon set.
/// </summary>
public partial class V1beta1DaemonSetStatus
{
/// <summary>
/// Initializes a new instance of the V1beta1DaemonSetStatus class.
/// </summary>
public V1beta1DaemonSetStatus()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1beta1DaemonSetStatus class.
/// </summary>
/// <param name="currentNumberScheduled">The number of nodes that are
/// running at least 1 daemon pod and are supposed to run the daemon
/// pod. More info:
/// http://releases.k8s.io/HEAD/docs/admin/daemons.md</param>
/// <param name="desiredNumberScheduled">The total number of nodes that
/// should be running the daemon pod (including nodes correctly running
/// the daemon pod). More info:
/// http://releases.k8s.io/HEAD/docs/admin/daemons.md</param>
/// <param name="numberMisscheduled">The number of nodes that are
/// running the daemon pod, but are not supposed to run the daemon pod.
/// More info:
/// http://releases.k8s.io/HEAD/docs/admin/daemons.md</param>
/// <param name="numberReady">The number of nodes that should be
/// running the daemon pod and have one or more of the daemon pod
/// running and ready.</param>
/// <param name="numberAvailable">The number of nodes that should be
/// running the daemon pod and have one or more of the daemon pod
/// running and available (ready for at least
/// spec.minReadySeconds)</param>
/// <param name="numberUnavailable">The number of nodes that should be
/// running the daemon pod and have none of the daemon pod running and
/// available (ready for at least spec.minReadySeconds)</param>
/// <param name="observedGeneration">The most recent generation
/// observed by the daemon set controller.</param>
/// <param name="updatedNumberScheduled">The total number of nodes that
/// are running updated daemon pod</param>
public V1beta1DaemonSetStatus(int currentNumberScheduled, int desiredNumberScheduled, int numberMisscheduled, int numberReady, int? numberAvailable = default(int?), int? numberUnavailable = default(int?), long? observedGeneration = default(long?), int? updatedNumberScheduled = default(int?))
{
CurrentNumberScheduled = currentNumberScheduled;
DesiredNumberScheduled = desiredNumberScheduled;
NumberAvailable = numberAvailable;
NumberMisscheduled = numberMisscheduled;
NumberReady = numberReady;
NumberUnavailable = numberUnavailable;
ObservedGeneration = observedGeneration;
UpdatedNumberScheduled = updatedNumberScheduled;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the number of nodes that are running at least 1 daemon
/// pod and are supposed to run the daemon pod. More info:
/// http://releases.k8s.io/HEAD/docs/admin/daemons.md
/// </summary>
[JsonProperty(PropertyName = "currentNumberScheduled")]
public int CurrentNumberScheduled { get; set; }
/// <summary>
/// Gets or sets the total number of nodes that should be running the
/// daemon pod (including nodes correctly running the daemon pod). More
/// info: http://releases.k8s.io/HEAD/docs/admin/daemons.md
/// </summary>
[JsonProperty(PropertyName = "desiredNumberScheduled")]
public int DesiredNumberScheduled { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have one or more of the daemon pod running and available
/// (ready for at least spec.minReadySeconds)
/// </summary>
[JsonProperty(PropertyName = "numberAvailable")]
public int? NumberAvailable { get; set; }
/// <summary>
/// Gets or sets the number of nodes that are running the daemon pod,
/// but are not supposed to run the daemon pod. More info:
/// http://releases.k8s.io/HEAD/docs/admin/daemons.md
/// </summary>
[JsonProperty(PropertyName = "numberMisscheduled")]
public int NumberMisscheduled { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have one or more of the daemon pod running and ready.
/// </summary>
[JsonProperty(PropertyName = "numberReady")]
public int NumberReady { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have none of the daemon pod running and available (ready
/// for at least spec.minReadySeconds)
/// </summary>
[JsonProperty(PropertyName = "numberUnavailable")]
public int? NumberUnavailable { get; set; }
/// <summary>
/// Gets or sets the most recent generation observed by the daemon set
/// controller.
/// </summary>
[JsonProperty(PropertyName = "observedGeneration")]
public long? ObservedGeneration { get; set; }
/// <summary>
/// Gets or sets the total number of nodes that are running updated
/// daemon pod
/// </summary>
[JsonProperty(PropertyName = "updatedNumberScheduled")]
public int? UpdatedNumberScheduled { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
//Nothing to validate
}
}
}