Show / Hide Table of Contents

Class V1LimitRangeItem

LimitRangeItem defines a min/max usage limit for any resource that matches on kind.

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

Constructors

View Source

V1LimitRangeItem()

Declaration
public V1LimitRangeItem()
View Source

V1LimitRangeItem(V1LimitRangeItem)

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

Properties

View Source

DefaultProperty

Default resource requirement limit value by resource name if resource limit is omitted.

Declaration
[JsonPropertyName("default")]
public IDictionary<string, ResourceQuantity> DefaultProperty { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>
View Source

DefaultRequest

DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.

Declaration
[JsonPropertyName("defaultRequest")]
public IDictionary<string, ResourceQuantity> DefaultRequest { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>
View Source

EqualityContract

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

Max

Max usage constraints on this kind by resource name.

Declaration
[JsonPropertyName("max")]
public IDictionary<string, ResourceQuantity> Max { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>
View Source

MaxLimitRequestRatio

MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.

Declaration
[JsonPropertyName("maxLimitRequestRatio")]
public IDictionary<string, ResourceQuantity> MaxLimitRequestRatio { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>
View Source

Min

Min usage constraints on this kind by resource name.

Declaration
[JsonPropertyName("min")]
public IDictionary<string, ResourceQuantity> Min { get; set; }
Property Value
Type Description
IDictionary<string, ResourceQuantity>
View Source

Type

Type of resource that this limit applies to.

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

Methods

View Source

Equals(object?)

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

Equals(V1LimitRangeItem?)

Declaration
public virtual bool Equals(V1LimitRangeItem? other)
Parameters
Type Name Description
V1LimitRangeItem other
Returns
Type Description
bool
View Source

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

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

Operators

View Source

operator ==(V1LimitRangeItem?, V1LimitRangeItem?)

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

operator !=(V1LimitRangeItem?, V1LimitRangeItem?)

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

Implements

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