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
V1CinderVolumeSource
Assembly: KubernetesClient.dll
Syntax
public record V1CinderVolumeSource : IEquatable<V1CinderVolumeSource>
Constructors
V1CinderVolumeSource()
Declaration
public V1CinderVolumeSource()
V1CinderVolumeSource(V1CinderVolumeSource)
Declaration
protected V1CinderVolumeSource(V1CinderVolumeSource original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
ReadOnlyProperty
Declaration
[JsonPropertyName("readOnly")]
public bool? ReadOnlyProperty { get; set; }
Property Value
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
VolumeID
Declaration
[JsonPropertyName("volumeID")]
public string VolumeID { get; set; }
Property Value
Methods
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1CinderVolumeSource?)
Declaration
public virtual bool Equals(V1CinderVolumeSource? 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 ==(V1CinderVolumeSource?, V1CinderVolumeSource?)
Declaration
public static bool operator ==(V1CinderVolumeSource? left, V1CinderVolumeSource? right)
Parameters
Returns
operator !=(V1CinderVolumeSource?, V1CinderVolumeSource?)
Declaration
public static bool operator !=(V1CinderVolumeSource? left, V1CinderVolumeSource? right)
Parameters
Returns
Implements