Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.azure.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 Azure.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()StringgetComputeSubnet()ComputeSubnet specifies an existing subnet for use by compute nodes.StringgetNetworkResourceGroupName()NetworkResourceGroupName specifies the network resource group that contains an existing VNet.OSDiskgetOsDisk()MachinePool stores the configuration for a machine pool installed on Azure.OSImagegetOsImage()MachinePool stores the configuration for a machine pool installed on Azure.StringgetType()InstanceType defines the azure instance type. eg.StringgetVirtualNetwork()VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.StringgetVmNetworkingType()VMNetworkingType specifies whether to enable accelerated networking.List<String>getZones()Zones is list of availability zones that can be used. eg. ["1", "2", "3"]voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetComputeSubnet(String computeSubnet)ComputeSubnet specifies an existing subnet for use by compute nodes.voidsetNetworkResourceGroupName(String networkResourceGroupName)NetworkResourceGroupName specifies the network resource group that contains an existing VNet.voidsetOsDisk(OSDisk osDisk)MachinePool stores the configuration for a machine pool installed on Azure.voidsetOsImage(OSImage osImage)MachinePool stores the configuration for a machine pool installed on Azure.voidsetType(String type)InstanceType defines the azure instance type. eg.voidsetVirtualNetwork(String virtualNetwork)VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.voidsetVmNetworkingType(String vmNetworkingType)VMNetworkingType specifies whether to enable accelerated networking.voidsetZones(List<String> zones)Zones is list of availability zones that can be used. eg. ["1", "2", "3"]MachinePoolBuildertoBuilder()
-
-
-
Method Detail
-
getComputeSubnet
public String getComputeSubnet()
ComputeSubnet specifies an existing subnet for use by compute nodes. If omitted, the default (${infraID}-worker-subnet) will be used.
-
setComputeSubnet
public void setComputeSubnet(String computeSubnet)
ComputeSubnet specifies an existing subnet for use by compute nodes. If omitted, the default (${infraID}-worker-subnet) will be used.
-
getNetworkResourceGroupName
public String getNetworkResourceGroupName()
NetworkResourceGroupName specifies the network resource group that contains an existing VNet. Ignored unless VirtualNetwork is also specified.
-
setNetworkResourceGroupName
public void setNetworkResourceGroupName(String networkResourceGroupName)
NetworkResourceGroupName specifies the network resource group that contains an existing VNet. Ignored unless VirtualNetwork is also specified.
-
getOsDisk
public OSDisk getOsDisk()
MachinePool stores the configuration for a machine pool installed on Azure.
-
setOsDisk
public void setOsDisk(OSDisk osDisk)
MachinePool stores the configuration for a machine pool installed on Azure.
-
getOsImage
public OSImage getOsImage()
MachinePool stores the configuration for a machine pool installed on Azure.
-
setOsImage
public void setOsImage(OSImage osImage)
MachinePool stores the configuration for a machine pool installed on Azure.
-
getType
public String getType()
InstanceType defines the azure instance type. eg. Standard_DS_V2
-
setType
public void setType(String type)
InstanceType defines the azure instance type. eg. Standard_DS_V2
-
getVirtualNetwork
public String getVirtualNetwork()
VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.
-
setVirtualNetwork
public void setVirtualNetwork(String virtualNetwork)
VirtualNetwork specifies the name of an existing VNet for the Machines to use If omitted, the default (${infraID}-vnet) will be used.
-
getVmNetworkingType
public String getVmNetworkingType()
VMNetworkingType specifies whether to enable accelerated networking. Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. eg. values: "Accelerated", "Basic"
-
setVmNetworkingType
public void setVmNetworkingType(String vmNetworkingType)
VMNetworkingType specifies whether to enable accelerated networking. Accelerated networking enables single root I/O virtualization (SR-IOV) to a VM, greatly improving its networking performance. eg. values: "Accelerated", "Basic"
-
getZones
public List<String> getZones()
Zones is list of availability zones that can be used. eg. ["1", "2", "3"]
-
setZones
public void setZones(List<String> zones)
Zones is list of availability zones that can be used. eg. ["1", "2", "3"]
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-