Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.powervc.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 OpenStack.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(List<String> additionalNetworkIDs, List<String> additionalSecurityGroupIDs, RootVolume rootVolume, String serverGroupPolicy, String type, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()List<String>getAdditionalNetworkIDs()AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format.Map<String,Object>getAdditionalProperties()List<String>getAdditionalSecurityGroupIDs()AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.RootVolumegetRootVolume()MachinePool stores the configuration for a machine pool installed on OpenStack.StringgetServerGroupPolicy()ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool.StringgetType()FlavorName defines the OpenStack Nova flavor. eg. m1.largeList<String>getZones()Zones is the list of availability zones where the instances should be deployed.voidsetAdditionalNetworkIDs(List<String> additionalNetworkIDs)AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAdditionalSecurityGroupIDs(List<String> additionalSecurityGroupIDs)AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.voidsetRootVolume(RootVolume rootVolume)MachinePool stores the configuration for a machine pool installed on OpenStack.voidsetServerGroupPolicy(String serverGroupPolicy)ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool.voidsetType(String type)FlavorName defines the OpenStack Nova flavor. eg. m1.largevoidsetZones(List<String> zones)Zones is the list of availability zones where the instances should be deployed.MachinePoolBuildertoBuilder()
-
-
-
Method Detail
-
getAdditionalNetworkIDs
public List<String> getAdditionalNetworkIDs()
AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format. Allowed address pairs won't be created for the additional networks.
-
setAdditionalNetworkIDs
public void setAdditionalNetworkIDs(List<String> additionalNetworkIDs)
AdditionalNetworkIDs contains IDs of additional networks for machines, where each ID is presented in UUID v4 format. Allowed address pairs won't be created for the additional networks.
-
getAdditionalSecurityGroupIDs
public List<String> getAdditionalSecurityGroupIDs()
AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.
-
setAdditionalSecurityGroupIDs
public void setAdditionalSecurityGroupIDs(List<String> additionalSecurityGroupIDs)
AdditionalSecurityGroupIDs contains IDs of additional security groups for machines, where each ID is presented in UUID v4 format.
-
getRootVolume
public RootVolume getRootVolume()
MachinePool stores the configuration for a machine pool installed on OpenStack.
-
setRootVolume
public void setRootVolume(RootVolume rootVolume)
MachinePool stores the configuration for a machine pool installed on OpenStack.
-
getServerGroupPolicy
public String getServerGroupPolicy()
ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool. Defaults to "soft-anti-affinity".
-
setServerGroupPolicy
public void setServerGroupPolicy(String serverGroupPolicy)
ServerGroupPolicy will be used to create the Server Group that will contain all the machines of this MachinePool. Defaults to "soft-anti-affinity".
-
getType
public String getType()
FlavorName defines the OpenStack Nova flavor. eg. m1.large
-
setType
public void setType(String type)
FlavorName defines the OpenStack Nova flavor. eg. m1.large
-
getZones
public List<String> getZones()
Zones is the list of availability zones where the instances should be deployed. If no zones are provided, all instances will be deployed on OpenStack Nova default availability zone
-
setZones
public void setZones(List<String> zones)
Zones is the list of availability zones where the instances should be deployed. If no zones are provided, all instances will be deployed on OpenStack Nova default availability zone
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-