Class Topology
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.vsphere.v1.Topology
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TopologyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Topology extends Object implements io.fabric8.kubernetes.api.builder.Editable<TopologyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Topology holds the required and optional vCenter objects - datacenter, computeCluster, networks, datastore and resourcePool - to provision virtual machines.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TopologyBuilderedit()Map<String,Object>getAdditionalProperties()StringgetComputeCluster()computeCluster as the failure domain This is required to be a pathStringgetDatacenter()datacenter is the vCenter datacenter in which virtual machines will be located and defined as the failure domain.StringgetDatastore()datastore is the name or inventory path of the datastore in which the virtual machine is created/located.StringgetFolder()folder is the inventory path of the folder in which the virtual machine is created/located.StringgetHostGroup()hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. hostGroup is limited to 80 characters.List<String>getNetworks()networks is the list of networks within this failure domainStringgetResourcePool()resourcePool is the absolute path of the resource pool where virtual machines will be created.List<String>getTagIDs()tagIDs is an optional set of tags to add to an instance.StringgetTemplate()template is the inventory path of the virtual machine or template that will be used for cloning.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetComputeCluster(String computeCluster)computeCluster as the failure domain This is required to be a pathvoidsetDatacenter(String datacenter)datacenter is the vCenter datacenter in which virtual machines will be located and defined as the failure domain.voidsetDatastore(String datastore)datastore is the name or inventory path of the datastore in which the virtual machine is created/located.voidsetFolder(String folder)folder is the inventory path of the folder in which the virtual machine is created/located.voidsetHostGroup(String hostGroup)hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. hostGroup is limited to 80 characters.voidsetNetworks(List<String> networks)networks is the list of networks within this failure domainvoidsetResourcePool(String resourcePool)resourcePool is the absolute path of the resource pool where virtual machines will be created.voidsetTagIDs(List<String> tagIDs)tagIDs is an optional set of tags to add to an instance.voidsetTemplate(String template)template is the inventory path of the virtual machine or template that will be used for cloning.TopologyBuildertoBuilder()
-
-
-
Method Detail
-
getComputeCluster
public String getComputeCluster()
computeCluster as the failure domain This is required to be a path
-
setComputeCluster
public void setComputeCluster(String computeCluster)
computeCluster as the failure domain This is required to be a path
-
getDatacenter
public String getDatacenter()
datacenter is the vCenter datacenter in which virtual machines will be located and defined as the failure domain.
-
setDatacenter
public void setDatacenter(String datacenter)
datacenter is the vCenter datacenter in which virtual machines will be located and defined as the failure domain.
-
getDatastore
public String getDatastore()
datastore is the name or inventory path of the datastore in which the virtual machine is created/located.
-
setDatastore
public void setDatastore(String datastore)
datastore is the name or inventory path of the datastore in which the virtual machine is created/located.
-
getFolder
public String getFolder()
folder is the inventory path of the folder in which the virtual machine is created/located.
-
setFolder
public void setFolder(String folder)
folder is the inventory path of the folder in which the virtual machine is created/located.
-
getHostGroup
public String getHostGroup()
hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. hostGroup is limited to 80 characters. This field is required when the ZoneType is HostGroup
-
setHostGroup
public void setHostGroup(String hostGroup)
hostGroup is the name of the vm-host group of type host within vCenter for this failure domain. hostGroup is limited to 80 characters. This field is required when the ZoneType is HostGroup
-
getNetworks
public List<String> getNetworks()
networks is the list of networks within this failure domain
-
setNetworks
public void setNetworks(List<String> networks)
networks is the list of networks within this failure domain
-
getResourcePool
public String getResourcePool()
resourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>.
-
setResourcePool
public void setResourcePool(String resourcePool)
resourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>.
-
getTagIDs
public List<String> getTagIDs()
tagIDs is an optional set of tags to add to an instance. Specified tagIDs must use URN-notation instead of display names. A maximum of 10 tag IDs may be specified.
-
setTagIDs
public void setTagIDs(List<String> tagIDs)
tagIDs is an optional set of tags to add to an instance. Specified tagIDs must use URN-notation instead of display names. A maximum of 10 tag IDs may be specified.
-
getTemplate
public String getTemplate()
template is the inventory path of the virtual machine or template that will be used for cloning.
-
setTemplate
public void setTemplate(String template)
template is the inventory path of the virtual machine or template that will be used for cloning.
-
edit
public TopologyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TopologyBuilder>
-
toBuilder
public TopologyBuilder toBuilder()
-
-