class K8S::Api::Core::V1::PersistentVolumeSpec
- K8S::Api::Core::V1::PersistentVolumeSpec
- Reference
- Object
Overview
PersistentVolumeSpec is the specification of a persistent volume.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.17/api/core/v1/persistent_volume_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, access_modes : Array? = nil, aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource? = nil, azure_disk : Api::Core::V1::AzureDiskVolumeSource? = nil, azure_file : Api::Core::V1::AzureFilePersistentVolumeSource? = nil, capacity : Hash(String, String)? = nil, cephfs : Api::Core::V1::CephFSPersistentVolumeSource? = nil, cinder : Api::Core::V1::CinderPersistentVolumeSource? = nil, claim_ref : Api::Core::V1::ObjectReference? = nil, csi : Api::Core::V1::CSIPersistentVolumeSource? = nil, fc : Api::Core::V1::FCVolumeSource? = nil, flex_volume : Api::Core::V1::FlexPersistentVolumeSource? = nil, flocker : Api::Core::V1::FlockerVolumeSource? = nil, gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource? = nil, glusterfs : Api::Core::V1::GlusterfsPersistentVolumeSource? = nil, host_path : Api::Core::V1::HostPathVolumeSource? = nil, iscsi : Api::Core::V1::ISCSIPersistentVolumeSource? = nil, local : Api::Core::V1::LocalVolumeSource? = nil, mount_options : Array? = nil, nfs : Api::Core::V1::NFSVolumeSource? = nil, node_affinity : Api::Core::V1::VolumeNodeAffinity? = nil, persistent_volume_reclaim_policy : String? = nil, photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource? = nil, portworx_volume : Api::Core::V1::PortworxVolumeSource? = nil, quobyte : Api::Core::V1::QuobyteVolumeSource? = nil, rbd : Api::Core::V1::RBDPersistentVolumeSource? = nil, scale_io : Api::Core::V1::ScaleIOPersistentVolumeSource? = nil, storage_class_name : String? = nil, storageos : Api::Core::V1::StorageOSPersistentVolumeSource? = nil, volume_mode : String? = nil, vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource? = nil)
Instance Method Summary
- #access_modes : Array(String)?
- #access_modes=(access_modes : Array(String)?)
- #aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?
- #aws_elastic_block_store=(aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?)
- #azure_disk : Api::Core::V1::AzureDiskVolumeSource?
- #azure_disk=(azure_disk : Api::Core::V1::AzureDiskVolumeSource?)
- #azure_file : Api::Core::V1::AzureFilePersistentVolumeSource?
- #azure_file=(azure_file : Api::Core::V1::AzureFilePersistentVolumeSource?)
- #capacity : Hash(String, String)?
- #capacity=(capacity : Hash(String, String)?)
- #cephfs : Api::Core::V1::CephFSPersistentVolumeSource?
- #cephfs=(cephfs : Api::Core::V1::CephFSPersistentVolumeSource?)
- #cinder : Api::Core::V1::CinderPersistentVolumeSource?
- #cinder=(cinder : Api::Core::V1::CinderPersistentVolumeSource?)
- #claim_ref : Api::Core::V1::ObjectReference?
- #claim_ref=(claim_ref : Api::Core::V1::ObjectReference?)
- #csi : Api::Core::V1::CSIPersistentVolumeSource?
- #csi=(csi : Api::Core::V1::CSIPersistentVolumeSource?)
- #fc : Api::Core::V1::FCVolumeSource?
- #fc=(fc : Api::Core::V1::FCVolumeSource?)
- #flex_volume : Api::Core::V1::FlexPersistentVolumeSource?
- #flex_volume=(flex_volume : Api::Core::V1::FlexPersistentVolumeSource?)
- #flocker : Api::Core::V1::FlockerVolumeSource?
- #flocker=(flocker : Api::Core::V1::FlockerVolumeSource?)
- #gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?
- #gce_persistent_disk=(gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?)
- #glusterfs : Api::Core::V1::GlusterfsPersistentVolumeSource?
- #glusterfs=(glusterfs : Api::Core::V1::GlusterfsPersistentVolumeSource?)
- #host_path : Api::Core::V1::HostPathVolumeSource?
- #host_path=(host_path : Api::Core::V1::HostPathVolumeSource?)
- #iscsi : Api::Core::V1::ISCSIPersistentVolumeSource?
- #iscsi=(iscsi : Api::Core::V1::ISCSIPersistentVolumeSource?)
- #local : Api::Core::V1::LocalVolumeSource?
- #local=(local : Api::Core::V1::LocalVolumeSource?)
- #mount_options : Array(String)?
- #mount_options=(mount_options : Array(String)?)
- #nfs : Api::Core::V1::NFSVolumeSource?
- #nfs=(nfs : Api::Core::V1::NFSVolumeSource?)
- #node_affinity : Api::Core::V1::VolumeNodeAffinity?
- #node_affinity=(node_affinity : Api::Core::V1::VolumeNodeAffinity?)
- #persistent_volume_reclaim_policy : String?
- #persistent_volume_reclaim_policy=(persistent_volume_reclaim_policy : String?)
- #photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?
- #photon_persistent_disk=(photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?)
- #portworx_volume : Api::Core::V1::PortworxVolumeSource?
- #portworx_volume=(portworx_volume : Api::Core::V1::PortworxVolumeSource?)
- #quobyte : Api::Core::V1::QuobyteVolumeSource?
- #quobyte=(quobyte : Api::Core::V1::QuobyteVolumeSource?)
- #rbd : Api::Core::V1::RBDPersistentVolumeSource?
- #rbd=(rbd : Api::Core::V1::RBDPersistentVolumeSource?)
- #scale_io : Api::Core::V1::ScaleIOPersistentVolumeSource?
- #scale_io=(scale_io : Api::Core::V1::ScaleIOPersistentVolumeSource?)
- #storage_class_name : String?
- #storage_class_name=(storage_class_name : String?)
- #storageos : Api::Core::V1::StorageOSPersistentVolumeSource?
- #storageos=(storageos : Api::Core::V1::StorageOSPersistentVolumeSource?)
- #volume_mode : String?
- #volume_mode=(volume_mode : String?)
- #vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?
- #vsphere_volume=(vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?)
Constructor Detail
def self.new(*, access_modes : Array? = nil, aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource? = nil, azure_disk : Api::Core::V1::AzureDiskVolumeSource? = nil, azure_file : Api::Core::V1::AzureFilePersistentVolumeSource? = nil, capacity : Hash(String, String)? = nil, cephfs : Api::Core::V1::CephFSPersistentVolumeSource? = nil, cinder : Api::Core::V1::CinderPersistentVolumeSource? = nil, claim_ref : Api::Core::V1::ObjectReference? = nil, csi : Api::Core::V1::CSIPersistentVolumeSource? = nil, fc : Api::Core::V1::FCVolumeSource? = nil, flex_volume : Api::Core::V1::FlexPersistentVolumeSource? = nil, flocker : Api::Core::V1::FlockerVolumeSource? = nil, gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource? = nil, glusterfs : Api::Core::V1::GlusterfsPersistentVolumeSource? = nil, host_path : Api::Core::V1::HostPathVolumeSource? = nil, iscsi : Api::Core::V1::ISCSIPersistentVolumeSource? = nil, local : Api::Core::V1::LocalVolumeSource? = nil, mount_options : Array? = nil, nfs : Api::Core::V1::NFSVolumeSource? = nil, node_affinity : Api::Core::V1::VolumeNodeAffinity? = nil, persistent_volume_reclaim_policy : String? = nil, photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource? = nil, portworx_volume : Api::Core::V1::PortworxVolumeSource? = nil, quobyte : Api::Core::V1::QuobyteVolumeSource? = nil, rbd : Api::Core::V1::RBDPersistentVolumeSource? = nil, scale_io : Api::Core::V1::ScaleIOPersistentVolumeSource? = nil, storage_class_name : String? = nil, storageos : Api::Core::V1::StorageOSPersistentVolumeSource? = nil, volume_mode : String? = nil, vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource? = nil)
#
Instance Method Detail
def aws_elastic_block_store=(aws_elastic_block_store : Api::Core::V1::AWSElasticBlockStoreVolumeSource?)
#
def gce_persistent_disk=(gce_persistent_disk : Api::Core::V1::GCEPersistentDiskVolumeSource?)
#
def photon_persistent_disk=(photon_persistent_disk : Api::Core::V1::PhotonPersistentDiskVolumeSource?)
#
def vsphere_volume=(vsphere_volume : Api::Core::V1::VsphereVirtualDiskVolumeSource?)
#