Class VSphereDisk

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<VSphereDiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class VSphereDisk
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<VSphereDiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    VSphereDisk describes additional disks for vSphere.
    See Also:
    Serialized Form
    • Constructor Detail

      • VSphereDisk

        public VSphereDisk()
        No args constructor for use in serialization
    • Method Detail

      • getName

        public String getName()
        name is used to identify the disk definition. name is required needs to be unique so that it can be used to clearly identify purpose of the disk. It must be at most 80 characters in length and must consist only of alphanumeric characters, hyphens and underscores, and must start and end with an alphanumeric character.
      • setName

        public void setName​(String name)
        name is used to identify the disk definition. name is required needs to be unique so that it can be used to clearly identify purpose of the disk. It must be at most 80 characters in length and must consist only of alphanumeric characters, hyphens and underscores, and must start and end with an alphanumeric character.
      • getProvisioningMode

        public String getProvisioningMode()
        provisioningMode is an optional field that specifies the provisioning type to be used by this vSphere data disk. Allowed values are "Thin", "Thick", "EagerlyZeroed", and omitted. When set to Thin, the disk will be made using thin provisioning allocating the bare minimum space. When set to Thick, the full disk size will be allocated when disk is created. When set to EagerlyZeroed, the disk will be created using eager zero provisioning. An eager zeroed thick disk has all space allocated and wiped clean of any previous contents on the physical media at creation time. Such disks may take longer time during creation compared to other disk formats. When omitted, no setting will be applied to the data disk and the provisioning mode for the disk will be determined by the default storage policy configured for the datastore in vSphere.
      • setProvisioningMode

        public void setProvisioningMode​(String provisioningMode)
        provisioningMode is an optional field that specifies the provisioning type to be used by this vSphere data disk. Allowed values are "Thin", "Thick", "EagerlyZeroed", and omitted. When set to Thin, the disk will be made using thin provisioning allocating the bare minimum space. When set to Thick, the full disk size will be allocated when disk is created. When set to EagerlyZeroed, the disk will be created using eager zero provisioning. An eager zeroed thick disk has all space allocated and wiped clean of any previous contents on the physical media at creation time. Such disks may take longer time during creation compared to other disk formats. When omitted, no setting will be applied to the data disk and the provisioning mode for the disk will be determined by the default storage policy configured for the datastore in vSphere.
      • getSizeGiB

        public Integer getSizeGiB()
        sizeGiB is the size of the disk in GiB. The maximum supported size 16384 GiB.
      • setSizeGiB

        public void setSizeGiB​(Integer sizeGiB)
        sizeGiB is the size of the disk in GiB. The maximum supported size 16384 GiB.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)