Show / Hide Table of Contents

Class V1CinderPersistentVolumeSource

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
V1CinderPersistentVolumeSource
Implements
IEquatable<V1CinderPersistentVolumeSource>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1CinderPersistentVolumeSource : IEquatable<V1CinderPersistentVolumeSource>

Constructors

V1CinderPersistentVolumeSource()

Declaration
public V1CinderPersistentVolumeSource()

V1CinderPersistentVolumeSource(V1CinderPersistentVolumeSource)

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

Properties

EqualityContract

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

FsType

fsType 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 is Optional: 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 V1SecretReference SecretRef { get; set; }
Property Value
Type Description
V1SecretReference

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

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

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

operator !=(V1CinderPersistentVolumeSource?, V1CinderPersistentVolumeSource?)

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

Implements

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