Show / Hide Table of Contents

Class V1ResourceClaimTemplateSpec

ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.

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

Constructors

V1ResourceClaimTemplateSpec()

Declaration
public V1ResourceClaimTemplateSpec()

V1ResourceClaimTemplateSpec(V1ResourceClaimTemplateSpec)

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

Properties

EqualityContract

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

Metadata

ObjectMeta may contain labels and annotations that will be copied into the ResourceClaim when creating it. No other fields are allowed and will be rejected during validation.

Declaration
[JsonPropertyName("metadata")]
public V1ObjectMeta Metadata { get; set; }
Property Value
Type Description
V1ObjectMeta

Spec

Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.

Declaration
[JsonPropertyName("spec")]
public V1ResourceClaimSpec Spec { get; set; }
Property Value
Type Description
V1ResourceClaimSpec

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

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

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

operator !=(V1ResourceClaimTemplateSpec?, V1ResourceClaimTemplateSpec?)

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

Implements

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