Class DataDisk

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DataDisk
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DataDiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DataDisk defines a data disk to add to the VM that is not part of the VM OVA template.
    See Also:
    Serialized Form
    • Constructor Detail

      • DataDisk

        public DataDisk()
        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.
      • 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.
      • 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 is 16384 GiB.
      • setSizeGiB

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

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

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

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