// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Linq; /// /// VolumeAttachmentSource represents a volume that should be attached. /// Right now only PersistenVolumes can be attached via external attacher, /// in future we may allow also inline volumes in pods. Exactly one member /// can be set. /// public partial class V1VolumeAttachmentSource { /// /// Initializes a new instance of the V1VolumeAttachmentSource class. /// public V1VolumeAttachmentSource() { CustomInit(); } /// /// Initializes a new instance of the V1VolumeAttachmentSource class. /// /// Name of the persistent volume to /// attach. public V1VolumeAttachmentSource(string persistentVolumeName = default(string)) { PersistentVolumeName = persistentVolumeName; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets name of the persistent volume to attach. /// [JsonProperty(PropertyName = "persistentVolumeName")] public string PersistentVolumeName { get; set; } } }