Class BlockDeviceVolume

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BlockDeviceVolume
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BlockDeviceVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    blockDeviceVolume contains additional storage options for a volume block device.
    See Also:
    Serialized Form
    • Constructor Detail

      • BlockDeviceVolume

        public BlockDeviceVolume()
        No args constructor for use in serialization
      • BlockDeviceVolume

        public BlockDeviceVolume​(String availabilityZone,
                                 String type)
    • Method Detail

      • getAvailabilityZone

        public String getAvailabilityZone()
        availabilityZone is the volume availability zone to create the volume in. If omitted, the availability zone of the server will be used. The availability zone must NOT contain spaces otherwise it will lead to volume that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information.
      • setAvailabilityZone

        public void setAvailabilityZone​(String availabilityZone)
        availabilityZone is the volume availability zone to create the volume in. If omitted, the availability zone of the server will be used. The availability zone must NOT contain spaces otherwise it will lead to volume that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information.
      • getType

        public String getType()
        type is the Cinder volume type of the volume. If omitted, the default Cinder volume type that is configured in the OpenStack cloud will be used.
      • setType

        public void setType​(String type)
        type is the Cinder volume type of the volume. If omitted, the default Cinder volume type that is configured in the OpenStack cloud will be used.
      • getAdditionalProperties

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

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

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