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

View Source

V1ResourceClaimTemplateSpec()

Declaration
public V1ResourceClaimTemplateSpec()
View Source

V1ResourceClaimTemplateSpec(V1ResourceClaimTemplateSpec)

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

Properties

View Source

EqualityContract

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

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
View Source

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

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

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

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

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>
  • View Source
In this article
Back to top Generated by DocFX