/// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1PersistentVolumeSpec class.
 /// </summary>
 public Iok8skubernetespkgapiv1PersistentVolumeSpec(IList <string> accessModes = default(IList <string>), Iok8skubernetespkgapiv1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8skubernetespkgapiv1AWSElasticBlockStoreVolumeSource), Iok8skubernetespkgapiv1AzureDiskVolumeSource azureDisk = default(Iok8skubernetespkgapiv1AzureDiskVolumeSource), Iok8skubernetespkgapiv1AzureFileVolumeSource azureFile = default(Iok8skubernetespkgapiv1AzureFileVolumeSource), IDictionary <string, string> capacity = default(IDictionary <string, string>), Iok8skubernetespkgapiv1CephFSVolumeSource cephfs = default(Iok8skubernetespkgapiv1CephFSVolumeSource), Iok8skubernetespkgapiv1CinderVolumeSource cinder = default(Iok8skubernetespkgapiv1CinderVolumeSource), Iok8skubernetespkgapiv1ObjectReference claimRef = default(Iok8skubernetespkgapiv1ObjectReference), Iok8skubernetespkgapiv1FCVolumeSource fc = default(Iok8skubernetespkgapiv1FCVolumeSource), Iok8skubernetespkgapiv1FlexVolumeSource flexVolume = default(Iok8skubernetespkgapiv1FlexVolumeSource), Iok8skubernetespkgapiv1FlockerVolumeSource flocker = default(Iok8skubernetespkgapiv1FlockerVolumeSource), Iok8skubernetespkgapiv1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8skubernetespkgapiv1GCEPersistentDiskVolumeSource), Iok8skubernetespkgapiv1GlusterfsVolumeSource glusterfs = default(Iok8skubernetespkgapiv1GlusterfsVolumeSource), Iok8skubernetespkgapiv1HostPathVolumeSource hostPath = default(Iok8skubernetespkgapiv1HostPathVolumeSource), Iok8skubernetespkgapiv1ISCSIVolumeSource iscsi = default(Iok8skubernetespkgapiv1ISCSIVolumeSource), Iok8skubernetespkgapiv1LocalVolumeSource local = default(Iok8skubernetespkgapiv1LocalVolumeSource), Iok8skubernetespkgapiv1NFSVolumeSource nfs = default(Iok8skubernetespkgapiv1NFSVolumeSource), string persistentVolumeReclaimPolicy = default(string), Iok8skubernetespkgapiv1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8skubernetespkgapiv1PhotonPersistentDiskVolumeSource), Iok8skubernetespkgapiv1PortworxVolumeSource portworxVolume = default(Iok8skubernetespkgapiv1PortworxVolumeSource), Iok8skubernetespkgapiv1QuobyteVolumeSource quobyte = default(Iok8skubernetespkgapiv1QuobyteVolumeSource), Iok8skubernetespkgapiv1RBDVolumeSource rbd = default(Iok8skubernetespkgapiv1RBDVolumeSource), Iok8skubernetespkgapiv1ScaleIOVolumeSource scaleIO = default(Iok8skubernetespkgapiv1ScaleIOVolumeSource), string storageClassName = default(string), Iok8skubernetespkgapiv1StorageOSPersistentVolumeSource storageos = default(Iok8skubernetespkgapiv1StorageOSPersistentVolumeSource), Iok8skubernetespkgapiv1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8skubernetespkgapiv1VsphereVirtualDiskVolumeSource))
 {
     AccessModes          = accessModes;
     AwsElasticBlockStore = awsElasticBlockStore;
     AzureDisk            = azureDisk;
     AzureFile            = azureFile;
     Capacity             = capacity;
     Cephfs                        = cephfs;
     Cinder                        = cinder;
     ClaimRef                      = claimRef;
     Fc                            = fc;
     FlexVolume                    = flexVolume;
     Flocker                       = flocker;
     GcePersistentDisk             = gcePersistentDisk;
     Glusterfs                     = glusterfs;
     HostPath                      = hostPath;
     Iscsi                         = iscsi;
     Local                         = local;
     Nfs                           = nfs;
     PersistentVolumeReclaimPolicy = persistentVolumeReclaimPolicy;
     PhotonPersistentDisk          = photonPersistentDisk;
     PortworxVolume                = portworxVolume;
     Quobyte                       = quobyte;
     Rbd                           = rbd;
     ScaleIO                       = scaleIO;
     StorageClassName              = storageClassName;
     Storageos                     = storageos;
     VsphereVolume                 = vsphereVolume;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the Iok8skubernetespkgapiv1Volume
 /// class.
 /// </summary>
 public Iok8skubernetespkgapiv1Volume(string name, Iok8skubernetespkgapiv1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8skubernetespkgapiv1AWSElasticBlockStoreVolumeSource), Iok8skubernetespkgapiv1AzureDiskVolumeSource azureDisk = default(Iok8skubernetespkgapiv1AzureDiskVolumeSource), Iok8skubernetespkgapiv1AzureFileVolumeSource azureFile = default(Iok8skubernetespkgapiv1AzureFileVolumeSource), Iok8skubernetespkgapiv1CephFSVolumeSource cephfs = default(Iok8skubernetespkgapiv1CephFSVolumeSource), Iok8skubernetespkgapiv1CinderVolumeSource cinder = default(Iok8skubernetespkgapiv1CinderVolumeSource), Iok8skubernetespkgapiv1ConfigMapVolumeSource configMap = default(Iok8skubernetespkgapiv1ConfigMapVolumeSource), Iok8skubernetespkgapiv1DownwardAPIVolumeSource downwardAPI = default(Iok8skubernetespkgapiv1DownwardAPIVolumeSource), Iok8skubernetespkgapiv1EmptyDirVolumeSource emptyDir = default(Iok8skubernetespkgapiv1EmptyDirVolumeSource), Iok8skubernetespkgapiv1FCVolumeSource fc = default(Iok8skubernetespkgapiv1FCVolumeSource), Iok8skubernetespkgapiv1FlexVolumeSource flexVolume = default(Iok8skubernetespkgapiv1FlexVolumeSource), Iok8skubernetespkgapiv1FlockerVolumeSource flocker = default(Iok8skubernetespkgapiv1FlockerVolumeSource), Iok8skubernetespkgapiv1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8skubernetespkgapiv1GCEPersistentDiskVolumeSource), Iok8skubernetespkgapiv1GitRepoVolumeSource gitRepo = default(Iok8skubernetespkgapiv1GitRepoVolumeSource), Iok8skubernetespkgapiv1GlusterfsVolumeSource glusterfs = default(Iok8skubernetespkgapiv1GlusterfsVolumeSource), Iok8skubernetespkgapiv1HostPathVolumeSource hostPath = default(Iok8skubernetespkgapiv1HostPathVolumeSource), Iok8skubernetespkgapiv1ISCSIVolumeSource iscsi = default(Iok8skubernetespkgapiv1ISCSIVolumeSource), Iok8skubernetespkgapiv1NFSVolumeSource nfs = default(Iok8skubernetespkgapiv1NFSVolumeSource), Iok8skubernetespkgapiv1PersistentVolumeClaimVolumeSource persistentVolumeClaim = default(Iok8skubernetespkgapiv1PersistentVolumeClaimVolumeSource), Iok8skubernetespkgapiv1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8skubernetespkgapiv1PhotonPersistentDiskVolumeSource), Iok8skubernetespkgapiv1PortworxVolumeSource portworxVolume = default(Iok8skubernetespkgapiv1PortworxVolumeSource), Iok8skubernetespkgapiv1ProjectedVolumeSource projected = default(Iok8skubernetespkgapiv1ProjectedVolumeSource), Iok8skubernetespkgapiv1QuobyteVolumeSource quobyte = default(Iok8skubernetespkgapiv1QuobyteVolumeSource), Iok8skubernetespkgapiv1RBDVolumeSource rbd = default(Iok8skubernetespkgapiv1RBDVolumeSource), Iok8skubernetespkgapiv1ScaleIOVolumeSource scaleIO = default(Iok8skubernetespkgapiv1ScaleIOVolumeSource), Iok8skubernetespkgapiv1SecretVolumeSource secret = default(Iok8skubernetespkgapiv1SecretVolumeSource), Iok8skubernetespkgapiv1StorageOSVolumeSource storageos = default(Iok8skubernetespkgapiv1StorageOSVolumeSource), Iok8skubernetespkgapiv1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8skubernetespkgapiv1VsphereVirtualDiskVolumeSource))
 {
     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;
 }