Class DataDiskProperties

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DataDiskProperties
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DataDiskPropertiesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DataDisk contains the information regarding the datadisk attached to an instance
    See Also:
    Serialized Form
    • Constructor Detail

      • DataDiskProperties

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

      • getCategory

        public String getCategory()
        Category describes the type of data disk N. Valid values: cloud_efficiency: ultra disk cloud_ssd: standard SSD cloud_essd: ESSD cloud: basic disk Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently for non-I/O optimized instances of retired instance types, the default is `cloud`. Currently for other instances, the default is `cloud_efficiency`.
      • setCategory

        public void setCategory​(String category)
        Category describes the type of data disk N. Valid values: cloud_efficiency: ultra disk cloud_ssd: standard SSD cloud_essd: ESSD cloud: basic disk Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently for non-I/O optimized instances of retired instance types, the default is `cloud`. Currently for other instances, the default is `cloud_efficiency`.
      • getDiskEncryption

        public String getDiskEncryption()
        DiskEncryption specifies whether to encrypt data disk N.


        Empty value means the platform chooses a default, which is subject to change over time. Currently the default is `disabled`.

      • setDiskEncryption

        public void setDiskEncryption​(String diskEncryption)
        DiskEncryption specifies whether to encrypt data disk N.


        Empty value means the platform chooses a default, which is subject to change over time. Currently the default is `disabled`.

      • getDiskPreservation

        public String getDiskPreservation()
        DiskPreservation specifies whether to release data disk N along with the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `DeleteWithInstance`
      • setDiskPreservation

        public void setDiskPreservation​(String diskPreservation)
        DiskPreservation specifies whether to release data disk N along with the instance. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `DeleteWithInstance`
      • getKMSKeyID

        public String getKMSKeyID()
        KMSKeyID is the ID of the Key Management Service (KMS) key to be used by data disk N. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `""` which is interpreted as do not use KMSKey encryption.
      • setKMSKeyID

        public void setKMSKeyID​(String kMSKeyID)
        KMSKeyID is the ID of the Key Management Service (KMS) key to be used by data disk N. Empty value means no opinion and the platform chooses the a default, which is subject to change over time. Currently the default is `""` which is interpreted as do not use KMSKey encryption.
      • getName

        public String getName()
        Name is the name of data disk N. If the name is specified the name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).


        Empty value means the platform chooses a default, which is subject to change over time. Currently the default is `""`.

      • setName

        public void setName​(String name)
        Name is the name of data disk N. If the name is specified the name must be 2 to 128 characters in length. It must start with a letter and cannot start with http:// or https://. It can contain letters, digits, colons (:), underscores (_), and hyphens (-).


        Empty value means the platform chooses a default, which is subject to change over time. Currently the default is `""`.

      • getPerformanceLevel

        public String getPerformanceLevel()
        PerformanceLevel is the performance level of the ESSD used as as data disk N. The N value must be the same as that in DataDisk.N.Category when DataDisk.N.Category is set to cloud_essd. Empty value means no opinion and the platform chooses a default, which is subject to change over time. Currently the default is `PL1`. Valid values:


        PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. PL1: A single ESSD can deliver up to 50,000 random read/write IOPS. PL2: A single ESSD can deliver up to 100,000 random read/write IOPS. PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS. For more information about ESSD performance levels, see ESSDs.

      • setPerformanceLevel

        public void setPerformanceLevel​(String performanceLevel)
        PerformanceLevel is the performance level of the ESSD used as as data disk N. The N value must be the same as that in DataDisk.N.Category when DataDisk.N.Category is set to cloud_essd. Empty value means no opinion and the platform chooses a default, which is subject to change over time. Currently the default is `PL1`. Valid values:


        PL0: A single ESSD can deliver up to 10,000 random read/write IOPS. PL1: A single ESSD can deliver up to 50,000 random read/write IOPS. PL2: A single ESSD can deliver up to 100,000 random read/write IOPS. PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS. For more information about ESSD performance levels, see ESSDs.

      • getSize

        public Long getSize()
        Size of the data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:


        Valid values when DataDisk.N.Category is set to cloud_efficiency: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud_ssd: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud_essd: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud: 5 to 2000 The value of this parameter must be greater than or equal to the size of the snapshot specified by the SnapshotID parameter.

      • setSize

        public void setSize​(Long size)
        Size of the data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values:


        Valid values when DataDisk.N.Category is set to cloud_efficiency: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud_ssd: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud_essd: 20 to 32768 Valid values when DataDisk.N.Category is set to cloud: 5 to 2000 The value of this parameter must be greater than or equal to the size of the snapshot specified by the SnapshotID parameter.

      • getSnapshotID

        public String getSnapshotID()
        SnapshotID is the ID of the snapshot used to create data disk N. Valid values of N: 1 to 16.


        When the DataDisk.N.SnapshotID parameter is specified, the DataDisk.N.Size parameter is ignored. The data disk is created based on the size of the specified snapshot. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.

      • setSnapshotID

        public void setSnapshotID​(String snapshotID)
        SnapshotID is the ID of the snapshot used to create data disk N. Valid values of N: 1 to 16.


        When the DataDisk.N.SnapshotID parameter is specified, the DataDisk.N.Size parameter is ignored. The data disk is created based on the size of the specified snapshot. Use snapshots created after July 15, 2013. Otherwise, an error is returned and your request is rejected.

      • getAdditionalProperties

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

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

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