Class V1VolumeError
VolumeError captures an error encountered during a volume operation.
Inheritance
V1VolumeError
Assembly: KubernetesClient.dll
Syntax
public record V1VolumeError : IEquatable<V1VolumeError>
Constructors
V1VolumeError()
Declaration
V1VolumeError(V1VolumeError)
Declaration
protected V1VolumeError(V1VolumeError original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
ErrorCode
errorCode is a numeric gRPC code representing the error encountered during
Attach or Detach operations.
This field requires the MutableCSINodeAllocatableCount feature gate being
enabled to be set.
Declaration
[JsonPropertyName("errorCode")]
public int? ErrorCode { get; set; }
Property Value
Message
message represents the error encountered during Attach or Detach operation. This
string may be logged, so it should not contain sensitive information.
Declaration
[JsonPropertyName("message")]
public string Message { get; set; }
Property Value
Time
time represents the time the error was encountered.
Declaration
[JsonPropertyName("time")]
public DateTime? Time { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1VolumeError?)
Declaration
public virtual bool Equals(V1VolumeError? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1VolumeError?, V1VolumeError?)
Declaration
public static bool operator ==(V1VolumeError? left, V1VolumeError? right)
Parameters
Returns
operator !=(V1VolumeError?, V1VolumeError?)
Declaration
public static bool operator !=(V1VolumeError? left, V1VolumeError? right)
Parameters
Returns
Implements