Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.vsphere.v1.MachinePool
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePool extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePool stores the configuration for a machine pool installed on vSphere.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(Integer coresPerSocket, Integer cpus, List<DataDisk> dataDisks, Long memoryMB, OSDisk osDisk, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetCoresPerSocket()NumCoresPerSocket is the number of cores per socket in a vm.IntegergetCpus()NumCPUs is the total number of virtual processor cores to assign a vm.List<DataDisk>getDataDisks()DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.LonggetMemoryMB()Memory is the size of a VM's memory in MB.OSDiskgetOsDisk()MachinePool stores the configuration for a machine pool installed on vSphere.List<String>getZones()Zones defines available zones Zones is available in TechPreview.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCoresPerSocket(Integer coresPerSocket)NumCoresPerSocket is the number of cores per socket in a vm.voidsetCpus(Integer cpus)NumCPUs is the total number of virtual processor cores to assign a vm.voidsetDataDisks(List<DataDisk> dataDisks)DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.voidsetMemoryMB(Long memoryMB)Memory is the size of a VM's memory in MB.voidsetOsDisk(OSDisk osDisk)MachinePool stores the configuration for a machine pool installed on vSphere.voidsetZones(List<String> zones)Zones defines available zones Zones is available in TechPreview.MachinePoolBuildertoBuilder()
-
-
-
Method Detail
-
getCoresPerSocket
public Integer getCoresPerSocket()
NumCoresPerSocket is the number of cores per socket in a vm. The number of vCPUs on the vm will be NumCPUs/NumCoresPerSocket.
-
setCoresPerSocket
public void setCoresPerSocket(Integer coresPerSocket)
NumCoresPerSocket is the number of cores per socket in a vm. The number of vCPUs on the vm will be NumCPUs/NumCoresPerSocket.
-
getCpus
public Integer getCpus()
NumCPUs is the total number of virtual processor cores to assign a vm.
-
setCpus
public void setCpus(Integer cpus)
NumCPUs is the total number of virtual processor cores to assign a vm.
-
getDataDisks
public List<DataDisk> getDataDisks()
DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
-
setDataDisks
public void setDataDisks(List<DataDisk> dataDisks)
DataDisks are additional disks to add to the VM that are not part of the VM's OVA template.
-
getMemoryMB
public Long getMemoryMB()
Memory is the size of a VM's memory in MB.
-
setMemoryMB
public void setMemoryMB(Long memoryMB)
Memory is the size of a VM's memory in MB.
-
getOsDisk
public OSDisk getOsDisk()
MachinePool stores the configuration for a machine pool installed on vSphere.
-
setOsDisk
public void setOsDisk(OSDisk osDisk)
MachinePool stores the configuration for a machine pool installed on vSphere.
-
getZones
public List<String> getZones()
Zones defines available zones Zones is available in TechPreview.
-
setZones
public void setZones(List<String> zones)
Zones defines available zones Zones is available in TechPreview.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-