Show / Hide Table of Contents

Class V1PriorityLevelConfigurationSpec

PriorityLevelConfigurationSpec specifies the configuration of a priority level.

Inheritance
object
V1PriorityLevelConfigurationSpec
Implements
IEquatable<V1PriorityLevelConfigurationSpec>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1PriorityLevelConfigurationSpec : IEquatable<V1PriorityLevelConfigurationSpec>

Constructors

V1PriorityLevelConfigurationSpec()

Declaration
public V1PriorityLevelConfigurationSpec()

V1PriorityLevelConfigurationSpec(V1PriorityLevelConfigurationSpec)

Declaration
protected V1PriorityLevelConfigurationSpec(V1PriorityLevelConfigurationSpec original)
Parameters
Type Name Description
V1PriorityLevelConfigurationSpec original

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type

Exempt

exempt specifies how requests are handled for an exempt priority level. This field MUST be empty if type is "Limited". This field MAY be non-empty if type is "Exempt". If empty and type is "Exempt" then the default values for ExemptPriorityLevelConfiguration apply.

Declaration
[JsonPropertyName("exempt")]
public V1ExemptPriorityLevelConfiguration Exempt { get; set; }
Property Value
Type Description
V1ExemptPriorityLevelConfiguration

Limited

limited specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if type is "Limited".

Declaration
[JsonPropertyName("limited")]
public V1LimitedPriorityLevelConfiguration Limited { get; set; }
Property Value
Type Description
V1LimitedPriorityLevelConfiguration

Type

type indicates whether this priority level is subject to limitation on request execution. A value of "Exempt" means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of "Limited" means that (a) requests of this priority level are subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.

Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1PriorityLevelConfigurationSpec?)

Declaration
public virtual bool Equals(V1PriorityLevelConfigurationSpec? other)
Parameters
Type Name Description
V1PriorityLevelConfigurationSpec other
Returns
Type Description
bool

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1PriorityLevelConfigurationSpec?, V1PriorityLevelConfigurationSpec?)

Declaration
public static bool operator ==(V1PriorityLevelConfigurationSpec? left, V1PriorityLevelConfigurationSpec? right)
Parameters
Type Name Description
V1PriorityLevelConfigurationSpec left
V1PriorityLevelConfigurationSpec right
Returns
Type Description
bool

operator !=(V1PriorityLevelConfigurationSpec?, V1PriorityLevelConfigurationSpec?)

Declaration
public static bool operator !=(V1PriorityLevelConfigurationSpec? left, V1PriorityLevelConfigurationSpec? right)
Parameters
Type Name Description
V1PriorityLevelConfigurationSpec left
V1PriorityLevelConfigurationSpec right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX