Class HardwareRAIDVolume

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class HardwareRAIDVolume
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<HardwareRAIDVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    HardwareRAIDVolume defines the desired configuration of volume in hardware RAID.
    See Also:
    Serialized Form
    • Constructor Detail

      • HardwareRAIDVolume

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

      • getController

        public String getController()
        The name of the RAID controller to use.
      • setController

        public void setController​(String controller)
        The name of the RAID controller to use.
      • getLevel

        public String getLevel()
        RAID level for the logical disk. The following levels are supported: 0, 1, 2, 5, 6, 1+0, 5+0, 6+0 (drivers may support only some of them).
      • setLevel

        public void setLevel​(String level)
        RAID level for the logical disk. The following levels are supported: 0, 1, 2, 5, 6, 1+0, 5+0, 6+0 (drivers may support only some of them).
      • getName

        public String getName()
        Name of the volume. Should be unique within the Node. If not specified, the name will be auto-generated.
      • setName

        public void setName​(String name)
        Name of the volume. Should be unique within the Node. If not specified, the name will be auto-generated.
      • getNumberOfPhysicalDisks

        public Integer getNumberOfPhysicalDisks()
        Integer, number of physical disks to use for the logical disk. Defaults to minimum number of disks required for the particular RAID level.
      • setNumberOfPhysicalDisks

        public void setNumberOfPhysicalDisks​(Integer numberOfPhysicalDisks)
        Integer, number of physical disks to use for the logical disk. Defaults to minimum number of disks required for the particular RAID level.
      • getPhysicalDisks

        public List<String> getPhysicalDisks()
        Optional list of physical disk names to be used for the hardware RAID volumes. The disk names are interpreted by the hardware RAID controller, and the format is hardware specific.
      • setPhysicalDisks

        public void setPhysicalDisks​(List<String> physicalDisks)
        Optional list of physical disk names to be used for the hardware RAID volumes. The disk names are interpreted by the hardware RAID controller, and the format is hardware specific.
      • getRotational

        public Boolean getRotational()
        Select disks with only rotational (if set to true) or solid-state (if set to false) storage. By default, any disks can be picked.
      • setRotational

        public void setRotational​(Boolean rotational)
        Select disks with only rotational (if set to true) or solid-state (if set to false) storage. By default, any disks can be picked.
      • getSizeGibibytes

        public Integer getSizeGibibytes()
        Size of the logical disk to be created in GiB. If unspecified or set be 0, the maximum capacity of disk will be used for logical disk.
      • setSizeGibibytes

        public void setSizeGibibytes​(Integer sizeGibibytes)
        Size of the logical disk to be created in GiB. If unspecified or set be 0, the maximum capacity of disk will be used for logical disk.
      • getAdditionalProperties

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

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

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