Class NutanixVMDiskDeviceProperties

    • Constructor Detail

      • NutanixVMDiskDeviceProperties

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

        public NutanixVMDiskDeviceProperties​(String adapterType,
                                             Integer deviceIndex,
                                             String deviceType)
    • Method Detail

      • getAdapterType

        public String getAdapterType()
        adapterType is the adapter type of the disk address. If the deviceType is "Disk", the valid adapterType can be "SCSI", "IDE", "PCI", "SATA" or "SPAPR". If the deviceType is "CDRom", the valid adapterType can be "IDE" or "SATA".
      • setAdapterType

        public void setAdapterType​(String adapterType)
        adapterType is the adapter type of the disk address. If the deviceType is "Disk", the valid adapterType can be "SCSI", "IDE", "PCI", "SATA" or "SPAPR". If the deviceType is "CDRom", the valid adapterType can be "IDE" or "SATA".
      • getDeviceIndex

        public Integer getDeviceIndex()
        deviceIndex is the index of the disk address. The valid values are non-negative integers, with the default value 0. For a Machine VM, the deviceIndex for the disks with the same deviceType.adapterType combination should start from 0 and increase consecutively afterwards. Note that for each Machine VM, the Disk.SCSI.0 and CDRom.IDE.0 are reserved to be used by the VM's system. So for dataDisks of Disk.SCSI and CDRom.IDE, the deviceIndex should start from 1.
      • setDeviceIndex

        public void setDeviceIndex​(Integer deviceIndex)
        deviceIndex is the index of the disk address. The valid values are non-negative integers, with the default value 0. For a Machine VM, the deviceIndex for the disks with the same deviceType.adapterType combination should start from 0 and increase consecutively afterwards. Note that for each Machine VM, the Disk.SCSI.0 and CDRom.IDE.0 are reserved to be used by the VM's system. So for dataDisks of Disk.SCSI and CDRom.IDE, the deviceIndex should start from 1.
      • getDeviceType

        public String getDeviceType()
        deviceType specifies the disk device type. The valid values are "Disk" and "CDRom", and the default is "Disk".
      • setDeviceType

        public void setDeviceType​(String deviceType)
        deviceType specifies the disk device type. The valid values are "Disk" and "CDRom", and the default is "Disk".
      • getAdditionalProperties

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

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

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