Show / Hide Table of Contents

Class V1CustomResourceSubresources

CustomResourceSubresources defines the status and scale subresources for CustomResources.

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

Constructors

View Source

V1CustomResourceSubresources()

Declaration
public V1CustomResourceSubresources()
View Source

V1CustomResourceSubresources(V1CustomResourceSubresources)

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

Properties

View Source

EqualityContract

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

Scale

scale indicates the custom resource should serve a /scale subresource that returns an autoscaling/v1 Scale object.

Declaration
[JsonPropertyName("scale")]
public V1CustomResourceSubresourceScale Scale { get; set; }
Property Value
Type Description
V1CustomResourceSubresourceScale
View Source

Status

status indicates the custom resource should serve a /status subresource. When enabled: 1. requests to the custom resource primary endpoint ignore changes to the status stanza of the object. 2. requests to the custom resource /status subresource ignore changes to anything other than the status stanza of the object.

Declaration
[JsonPropertyName("status")]
public object Status { get; set; }
Property Value
Type Description
object

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(V1CustomResourceSubresources?)

Declaration
public virtual bool Equals(V1CustomResourceSubresources? other)
Parameters
Type Name Description
V1CustomResourceSubresources 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 ==(V1CustomResourceSubresources?, V1CustomResourceSubresources?)

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

operator !=(V1CustomResourceSubresources?, V1CustomResourceSubresources?)

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

Implements

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