Share via


PersistentVolumeClaimSpecV1.VolumeName Property

Definition

Gets or sets the name of the specific volume to be bound to the PersistentVolumeClaim.

[YamlDotNet.Serialization.YamlMember(Alias="volumeName")]
public string VolumeName { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="volumeName")>]
member this.VolumeName : string with get, set
Public Property VolumeName As String

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property allows the user to bind the PersistentVolumeClaim to a pre-existing PersistentVolume by its name. When specified, the claim is directly associated with the named volume.

Applies to