Share via


VolumeMountV1.ReadOnly Property

Definition

Gets or sets a value indicating whether the volume mount is read-only.

[YamlDotNet.Serialization.YamlMember(Alias="readOnly")]
public bool? ReadOnly { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="readOnly")>]
member this.ReadOnly : Nullable<bool> with get, set
Public Property ReadOnly As Nullable(Of Boolean)

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

When set to true, the volume is mounted in a read-only mode where write operations are not allowed. This property can be null to indicate the absence of an explicit read-only configuration.

Applies to