Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Volume class.
 /// </summary>
 public Iok8sapicorev1Volume(string name, Iok8sapicorev1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8sapicorev1AWSElasticBlockStoreVolumeSource), Iok8sapicorev1AzureDiskVolumeSource azureDisk = default(Iok8sapicorev1AzureDiskVolumeSource), Iok8sapicorev1AzureFileVolumeSource azureFile = default(Iok8sapicorev1AzureFileVolumeSource), Iok8sapicorev1CephFSVolumeSource cephfs = default(Iok8sapicorev1CephFSVolumeSource), Iok8sapicorev1CinderVolumeSource cinder = default(Iok8sapicorev1CinderVolumeSource), Iok8sapicorev1ConfigMapVolumeSource configMap = default(Iok8sapicorev1ConfigMapVolumeSource), Iok8sapicorev1DownwardAPIVolumeSource downwardAPI = default(Iok8sapicorev1DownwardAPIVolumeSource), Iok8sapicorev1EmptyDirVolumeSource emptyDir = default(Iok8sapicorev1EmptyDirVolumeSource), Iok8sapicorev1FCVolumeSource fc = default(Iok8sapicorev1FCVolumeSource), Iok8sapicorev1FlexVolumeSource flexVolume = default(Iok8sapicorev1FlexVolumeSource), Iok8sapicorev1FlockerVolumeSource flocker = default(Iok8sapicorev1FlockerVolumeSource), Iok8sapicorev1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8sapicorev1GCEPersistentDiskVolumeSource), Iok8sapicorev1GitRepoVolumeSource gitRepo = default(Iok8sapicorev1GitRepoVolumeSource), Iok8sapicorev1GlusterfsVolumeSource glusterfs = default(Iok8sapicorev1GlusterfsVolumeSource), Iok8sapicorev1HostPathVolumeSource hostPath = default(Iok8sapicorev1HostPathVolumeSource), Iok8sapicorev1ISCSIVolumeSource iscsi = default(Iok8sapicorev1ISCSIVolumeSource), Iok8sapicorev1NFSVolumeSource nfs = default(Iok8sapicorev1NFSVolumeSource), Iok8sapicorev1PersistentVolumeClaimVolumeSource persistentVolumeClaim = default(Iok8sapicorev1PersistentVolumeClaimVolumeSource), Iok8sapicorev1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8sapicorev1PhotonPersistentDiskVolumeSource), Iok8sapicorev1PortworxVolumeSource portworxVolume = default(Iok8sapicorev1PortworxVolumeSource), Iok8sapicorev1ProjectedVolumeSource projected = default(Iok8sapicorev1ProjectedVolumeSource), Iok8sapicorev1QuobyteVolumeSource quobyte = default(Iok8sapicorev1QuobyteVolumeSource), Iok8sapicorev1RBDVolumeSource rbd = default(Iok8sapicorev1RBDVolumeSource), Iok8sapicorev1ScaleIOVolumeSource scaleIO = default(Iok8sapicorev1ScaleIOVolumeSource), Iok8sapicorev1SecretVolumeSource secret = default(Iok8sapicorev1SecretVolumeSource), Iok8sapicorev1StorageOSVolumeSource storageos = default(Iok8sapicorev1StorageOSVolumeSource), Iok8sapicorev1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8sapicorev1VsphereVirtualDiskVolumeSource))
 {
     AwsElasticBlockStore = awsElasticBlockStore;
     AzureDisk            = azureDisk;
     AzureFile            = azureFile;
     Cephfs                = cephfs;
     Cinder                = cinder;
     ConfigMap             = configMap;
     DownwardAPI           = downwardAPI;
     EmptyDir              = emptyDir;
     Fc                    = fc;
     FlexVolume            = flexVolume;
     Flocker               = flocker;
     GcePersistentDisk     = gcePersistentDisk;
     GitRepo               = gitRepo;
     Glusterfs             = glusterfs;
     HostPath              = hostPath;
     Iscsi                 = iscsi;
     Name                  = name;
     Nfs                   = nfs;
     PersistentVolumeClaim = persistentVolumeClaim;
     PhotonPersistentDisk  = photonPersistentDisk;
     PortworxVolume        = portworxVolume;
     Projected             = projected;
     Quobyte               = quobyte;
     Rbd                   = rbd;
     ScaleIO               = scaleIO;
     Secret                = secret;
     Storageos             = storageos;
     VsphereVolume         = vsphereVolume;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1PersistentVolumeSpec class.
 /// </summary>
 public Iok8sapicorev1PersistentVolumeSpec(IList <string> accessModes = default(IList <string>), Iok8sapicorev1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8sapicorev1AWSElasticBlockStoreVolumeSource), Iok8sapicorev1AzureDiskVolumeSource azureDisk = default(Iok8sapicorev1AzureDiskVolumeSource), Iok8sapicorev1AzureFilePersistentVolumeSource azureFile = default(Iok8sapicorev1AzureFilePersistentVolumeSource), IDictionary <string, string> capacity = default(IDictionary <string, string>), Iok8sapicorev1CephFSPersistentVolumeSource cephfs = default(Iok8sapicorev1CephFSPersistentVolumeSource), Iok8sapicorev1CinderVolumeSource cinder = default(Iok8sapicorev1CinderVolumeSource), Iok8sapicorev1ObjectReference claimRef = default(Iok8sapicorev1ObjectReference), Iok8sapicorev1CSIPersistentVolumeSource csi = default(Iok8sapicorev1CSIPersistentVolumeSource), Iok8sapicorev1FCVolumeSource fc = default(Iok8sapicorev1FCVolumeSource), Iok8sapicorev1FlexVolumeSource flexVolume = default(Iok8sapicorev1FlexVolumeSource), Iok8sapicorev1FlockerVolumeSource flocker = default(Iok8sapicorev1FlockerVolumeSource), Iok8sapicorev1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8sapicorev1GCEPersistentDiskVolumeSource), Iok8sapicorev1GlusterfsVolumeSource glusterfs = default(Iok8sapicorev1GlusterfsVolumeSource), Iok8sapicorev1HostPathVolumeSource hostPath = default(Iok8sapicorev1HostPathVolumeSource), Iok8sapicorev1ISCSIPersistentVolumeSource iscsi = default(Iok8sapicorev1ISCSIPersistentVolumeSource), Iok8sapicorev1LocalVolumeSource local = default(Iok8sapicorev1LocalVolumeSource), IList <string> mountOptions = default(IList <string>), Iok8sapicorev1NFSVolumeSource nfs = default(Iok8sapicorev1NFSVolumeSource), string persistentVolumeReclaimPolicy = default(string), Iok8sapicorev1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8sapicorev1PhotonPersistentDiskVolumeSource), Iok8sapicorev1PortworxVolumeSource portworxVolume = default(Iok8sapicorev1PortworxVolumeSource), Iok8sapicorev1QuobyteVolumeSource quobyte = default(Iok8sapicorev1QuobyteVolumeSource), Iok8sapicorev1RBDPersistentVolumeSource rbd = default(Iok8sapicorev1RBDPersistentVolumeSource), Iok8sapicorev1ScaleIOPersistentVolumeSource scaleIO = default(Iok8sapicorev1ScaleIOPersistentVolumeSource), string storageClassName = default(string), Iok8sapicorev1StorageOSPersistentVolumeSource storageos = default(Iok8sapicorev1StorageOSPersistentVolumeSource), string volumeMode = default(string), Iok8sapicorev1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8sapicorev1VsphereVirtualDiskVolumeSource))
 {
     AccessModes          = accessModes;
     AwsElasticBlockStore = awsElasticBlockStore;
     AzureDisk            = azureDisk;
     AzureFile            = azureFile;
     Capacity             = capacity;
     Cephfs                        = cephfs;
     Cinder                        = cinder;
     ClaimRef                      = claimRef;
     Csi                           = csi;
     Fc                            = fc;
     FlexVolume                    = flexVolume;
     Flocker                       = flocker;
     GcePersistentDisk             = gcePersistentDisk;
     Glusterfs                     = glusterfs;
     HostPath                      = hostPath;
     Iscsi                         = iscsi;
     Local                         = local;
     MountOptions                  = mountOptions;
     Nfs                           = nfs;
     PersistentVolumeReclaimPolicy = persistentVolumeReclaimPolicy;
     PhotonPersistentDisk          = photonPersistentDisk;
     PortworxVolume                = portworxVolume;
     Quobyte                       = quobyte;
     Rbd                           = rbd;
     ScaleIO                       = scaleIO;
     StorageClassName              = storageClassName;
     Storageos                     = storageos;
     VolumeMode                    = volumeMode;
     VsphereVolume                 = vsphereVolume;
 }