Class StatusCause
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
Inheritance
System.Object
StatusCause
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Kubernetes.Types.Outputs.Meta.V1
Assembly: Pulumi.Kubernetes.dll
Syntax
public sealed class StatusCause
Fields
View SourceField
The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
Examples: "name" - the field "name" on the current resource "items[0].name" - the field "name" on the first array entry in "items"
Declaration
public readonly string Field
Field Value
| Type | Description |
|---|---|
| System.String |
Message
A human-readable description of the cause of the error. This field may be presented as-is to a reader.
Declaration
public readonly string Message
Field Value
| Type | Description |
|---|---|
| System.String |
Reason
A machine-readable description of the cause of the error. If this value is empty there is no information available.
Declaration
public readonly string Reason
Field Value
| Type | Description |
|---|---|
| System.String |