Class V1VolumeAttachmentSpec
VolumeAttachmentSpec is the specification of a VolumeAttachment request.
Inheritance
V1VolumeAttachmentSpec
Assembly: KubernetesClient.dll
Syntax
public record V1VolumeAttachmentSpec : IEquatable<V1VolumeAttachmentSpec>
Constructors
V1VolumeAttachmentSpec()
Declaration
public V1VolumeAttachmentSpec()
V1VolumeAttachmentSpec(V1VolumeAttachmentSpec)
Declaration
protected V1VolumeAttachmentSpec(V1VolumeAttachmentSpec original)
Parameters
Properties
Attacher
attacher indicates the name of the volume driver that MUST handle this request.
This is the name returned by GetPluginName().
Declaration
[JsonPropertyName("attacher")]
public string Attacher { get; set; }
Property Value
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
NodeName
nodeName represents the node that the volume should be attached to.
Declaration
[JsonPropertyName("nodeName")]
public string NodeName { get; set; }
Property Value
Source
source represents the volume that should be attached.
Declaration
[JsonPropertyName("source")]
public V1VolumeAttachmentSource Source { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1VolumeAttachmentSpec?)
Declaration
public virtual bool Equals(V1VolumeAttachmentSpec? 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 ==(V1VolumeAttachmentSpec?, V1VolumeAttachmentSpec?)
Declaration
public static bool operator ==(V1VolumeAttachmentSpec? left, V1VolumeAttachmentSpec? right)
Parameters
Returns
operator !=(V1VolumeAttachmentSpec?, V1VolumeAttachmentSpec?)
Declaration
public static bool operator !=(V1VolumeAttachmentSpec? left, V1VolumeAttachmentSpec? right)
Parameters
Returns
Implements