Show / Hide Table of Contents

Class V1Status

Status is a return value for calls that don't return other objects.

Inheritance
object
V1Status
Implements
IKubernetesObject<V1ListMeta>
IKubernetesObject
IMetadata<V1ListMeta>
IEquatable<V1Status>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
[KubernetesEntity(Group = "", Kind = "Status", ApiVersion = "v1", PluralName = "")]
public record V1Status : IKubernetesObject<V1ListMeta>, IKubernetesObject, IMetadata<V1ListMeta>, IEquatable<V1Status>

Constructors

View Source

V1Status()

Declaration
public V1Status()
View Source

V1Status(V1Status)

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

Fields

View Source

KubeApiVersion

Declaration
public const string KubeApiVersion = "v1"
Field Value
Type Description
string
View Source

KubeGroup

Declaration
public const string KubeGroup = ""
Field Value
Type Description
string
View Source

KubeKind

Declaration
public const string KubeKind = "Status"
Field Value
Type Description
string
View Source

KubePluralName

Declaration
public const string KubePluralName = ""
Field Value
Type Description
string

Properties

View Source

ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type Description
string
View Source

Code

Suggested HTTP return code for this status, 0 if not set.

Declaration
[JsonPropertyName("code")]
public int? Code { get; set; }
Property Value
Type Description
int?
View Source

Details

Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

Declaration
[JsonPropertyName("details")]
public V1StatusDetails Details { get; set; }
Property Value
Type Description
V1StatusDetails
View Source

EqualityContract

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

HasObject

Declaration
public bool HasObject { get; }
Property Value
Type Description
bool
View Source

Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Type Description
string
View Source

Message

A human-readable description of the status of this operation.

Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Type Description
string
View Source

Metadata

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

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

Reason

A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.

Declaration
[JsonPropertyName("reason")]
public string Reason { get; set; }
Property Value
Type Description
string
View Source

Status

Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

Declaration
[JsonPropertyName("status")]
public string Status { 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(V1Status?)

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

GetHashCode()

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

ObjectView<T>()

Declaration
public T ObjectView<T>()
Returns
Type Description
T
Type Parameters
Name Description
T
View Source

PrintMembers(StringBuilder)

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

ToString()

Converts a V1Status object into a short description of the status.

Declaration
public override string ToString()
Returns
Type Description
string

string description of the status

Overrides
object.ToString()

Operators

View Source

operator ==(V1Status?, V1Status?)

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

operator !=(V1Status?, V1Status?)

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

Implements

IKubernetesObject<TMetadata>
IKubernetesObject
IMetadata<T>
IEquatable<T>

Extension Methods

ModelExtensions.ApiGroup(IKubernetesObject)
ModelExtensions.ApiGroupAndVersion(IKubernetesObject)
ModelExtensions.ApiGroupVersion(IKubernetesObject)
ModelExtensions.GetApiGroupAndVersion(IKubernetesObject, out string, out string)
ModelExtensions.Continue(IMetadata<V1ListMeta>)
ModelExtensions.EnsureMetadata(IMetadata<V1ListMeta>)
ModelExtensions.ResourceVersion(IMetadata<V1ListMeta>)
Extensions.GetKubernetesTypeMetadata<T>(T)
Extensions.Initialize<T>(T)
  • View Source
In this article
Back to top Generated by DocFX