Show / Hide Table of Contents

Class V1AWSElasticBlockStoreVolumeSource

Represents a Persistent Disk resource in AWS.

An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.

Inheritance
object
V1AWSElasticBlockStoreVolumeSource
Implements
IEquatable<V1AWSElasticBlockStoreVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1AWSElasticBlockStoreVolumeSource : IEquatable<V1AWSElasticBlockStoreVolumeSource>

Constructors

V1AWSElasticBlockStoreVolumeSource()

Declaration
public V1AWSElasticBlockStoreVolumeSource()

V1AWSElasticBlockStoreVolumeSource(V1AWSElasticBlockStoreVolumeSource)

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

Properties

EqualityContract

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

FsType

fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

Declaration
[JsonPropertyName("fsType")]
public string FsType { get; set; }
Property Value
Type Description
string

Partition

partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty).

Declaration
[JsonPropertyName("partition")]
public int? Partition { get; set; }
Property Value
Type Description
int?

ReadOnlyProperty

readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
Type Description
bool?

VolumeID

volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore

Declaration
[JsonPropertyName("volumeID")]
public string VolumeID { get; set; }
Property Value
Type Description
string

Methods

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)

Equals(V1AWSElasticBlockStoreVolumeSource?)

Declaration
public virtual bool Equals(V1AWSElasticBlockStoreVolumeSource? other)
Parameters
Type Name Description
V1AWSElasticBlockStoreVolumeSource other
Returns
Type Description
bool

GetHashCode()

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

PrintMembers(StringBuilder)

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

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

operator ==(V1AWSElasticBlockStoreVolumeSource?, V1AWSElasticBlockStoreVolumeSource?)

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

operator !=(V1AWSElasticBlockStoreVolumeSource?, V1AWSElasticBlockStoreVolumeSource?)

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

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX