Show / Hide Table of Contents

Class V1CinderVolumeSource

Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.

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

Constructors

V1CinderVolumeSource()

Declaration
public V1CinderVolumeSource()

V1CinderVolumeSource(V1CinderVolumeSource)

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

Properties

EqualityContract

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

FsType

fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

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

ReadOnlyProperty

readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

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

SecretRef

secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.

Declaration
[JsonPropertyName("secretRef")]
public V1LocalObjectReference SecretRef { get; set; }
Property Value
Type Description
V1LocalObjectReference

VolumeID

volumeID used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md

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(V1CinderVolumeSource?)

Declaration
public virtual bool Equals(V1CinderVolumeSource? other)
Parameters
Type Name Description
V1CinderVolumeSource 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 ==(V1CinderVolumeSource?, V1CinderVolumeSource?)

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

operator !=(V1CinderVolumeSource?, V1CinderVolumeSource?)

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

Implements

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