PersistentVolumeSpec constructor

const PersistentVolumeSpec({
  1. List<String>? accessModes,
  2. AWSElasticBlockStoreVolumeSource? awsElasticBlockStore,
  3. AzureDiskVolumeSource? azureDisk,
  4. AzureFilePersistentVolumeSource? azureFile,
  5. Map<String, String>? capacity,
  6. CephFSPersistentVolumeSource? cephfs,
  7. CinderPersistentVolumeSource? cinder,
  8. ObjectReference? claimRef,
  9. CSIPersistentVolumeSource? csi,
  10. FCVolumeSource? fc,
  11. FlexPersistentVolumeSource? flexVolume,
  12. FlockerVolumeSource? flocker,
  13. GCEPersistentDiskVolumeSource? gcePersistentDisk,
  14. GlusterfsPersistentVolumeSource? glusterfs,
  15. HostPathVolumeSource? hostPath,
  16. ISCSIPersistentVolumeSource? iscsi,
  17. LocalVolumeSource? local,
  18. List<String>? mountOptions,
  19. NFSVolumeSource? nfs,
  20. VolumeNodeAffinity? nodeAffinity,
  21. String? persistentVolumeReclaimPolicy,
  22. PhotonPersistentDiskVolumeSource? photonPersistentDisk,
  23. PortworxVolumeSource? portworxVolume,
  24. QuobyteVolumeSource? quobyte,
  25. RBDPersistentVolumeSource? rbd,
  26. ScaleIOPersistentVolumeSource? scaleIO,
  27. String? storageClassName,
  28. StorageOSPersistentVolumeSource? storageos,
  29. String? volumeMode,
  30. VsphereVirtualDiskVolumeSource? vsphereVolume,
})

Default constructor.

Implementation

const PersistentVolumeSpec({
  this.accessModes,
  this.awsElasticBlockStore,
  this.azureDisk,
  this.azureFile,
  this.capacity,
  this.cephfs,
  this.cinder,
  this.claimRef,
  this.csi,
  this.fc,
  this.flexVolume,
  this.flocker,
  this.gcePersistentDisk,
  this.glusterfs,
  this.hostPath,
  this.iscsi,
  this.local,
  this.mountOptions,
  this.nfs,
  this.nodeAffinity,
  this.persistentVolumeReclaimPolicy,
  this.photonPersistentDisk,
  this.portworxVolume,
  this.quobyte,
  this.rbd,
  this.scaleIO,
  this.storageClassName,
  this.storageos,
  this.volumeMode,
  this.vsphereVolume,
});