Class FailureDomain
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.vsphere.v1.FailureDomain
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FailureDomainBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FailureDomain extends Object implements io.fabric8.kubernetes.api.builder.Editable<FailureDomainBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailureDomain()No args constructor for use in serializationFailureDomain(String name, String region, String regionType, String server, Topology topology, String zone, String zoneType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailureDomainBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.StringgetRegion()The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`.StringgetRegionType()regionType is the type of failure domain region, the current values are "Datacenter" and "ComputeCluster" When regionType is Datacenter the zoneType must be ComputeCluster.StringgetServer()server is the fully-qualified domain name or the IP address of the vCenter server.TopologygetTopology()FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.StringgetZone()The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`.StringgetZoneType()When zoneType is ComputeCluster the regionType must be Datacenter When zoneType is HostGroup the regionType must be ComputeCluster If the zoneType is HostGroup topology.hostGroup must be defined and exist in vCenter prior to installation.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.voidsetRegion(String region)The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`.voidsetRegionType(String regionType)regionType is the type of failure domain region, the current values are "Datacenter" and "ComputeCluster" When regionType is Datacenter the zoneType must be ComputeCluster.voidsetServer(String server)server is the fully-qualified domain name or the IP address of the vCenter server.voidsetTopology(Topology topology)FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.voidsetZone(String zone)The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`.voidsetZoneType(String zoneType)When zoneType is ComputeCluster the regionType must be Datacenter When zoneType is HostGroup the regionType must be ComputeCluster If the zoneType is HostGroup topology.hostGroup must be defined and exist in vCenter prior to installation.FailureDomainBuildertoBuilder()
-
-
-
Method Detail
-
getName
public String getName()
name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.
-
setName
public void setName(String name)
name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.
-
getRegion
public String getRegion()
The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`. The region name must match the tag name and must exist prior to installation. When the regionType is Datacenter the tag must be attached to the toplogy.datacenter object in vCenter. When the regionType is ComputeCluster the tag must be attached to the topology.computeCluster object in vCenter.
-
setRegion
public void setRegion(String region)
The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`. The region name must match the tag name and must exist prior to installation. When the regionType is Datacenter the tag must be attached to the toplogy.datacenter object in vCenter. When the regionType is ComputeCluster the tag must be attached to the topology.computeCluster object in vCenter.
-
getRegionType
public String getRegionType()
regionType is the type of failure domain region, the current values are "Datacenter" and "ComputeCluster" When regionType is Datacenter the zoneType must be ComputeCluster. When regionType is ComputeCluster the zoneType must be HostGroup
-
setRegionType
public void setRegionType(String regionType)
regionType is the type of failure domain region, the current values are "Datacenter" and "ComputeCluster" When regionType is Datacenter the zoneType must be ComputeCluster. When regionType is ComputeCluster the zoneType must be HostGroup
-
getServer
public String getServer()
server is the fully-qualified domain name or the IP address of the vCenter server.
-
setServer
public void setServer(String server)
server is the fully-qualified domain name or the IP address of the vCenter server.
-
getTopology
public Topology getTopology()
FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.
-
setTopology
public void setTopology(Topology topology)
FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.
-
getZone
public String getZone()
The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`. The zone name must match the tag name and must exist prior to installation. When zoneType is HostGroup the ESXi hosts defined in the provided in the topology.hostGroup field must be tagged. When the zoneType is ComputeCluster the tag must be attached to the topology.computeCluster object in vCenter.
-
setZone
public void setZone(String zone)
The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`. The zone name must match the tag name and must exist prior to installation. When zoneType is HostGroup the ESXi hosts defined in the provided in the topology.hostGroup field must be tagged. When the zoneType is ComputeCluster the tag must be attached to the topology.computeCluster object in vCenter.
-
getZoneType
public String getZoneType()
When zoneType is ComputeCluster the regionType must be Datacenter When zoneType is HostGroup the regionType must be ComputeCluster If the zoneType is HostGroup topology.hostGroup must be defined and exist in vCenter prior to installation.
-
setZoneType
public void setZoneType(String zoneType)
When zoneType is ComputeCluster the regionType must be Datacenter When zoneType is HostGroup the regionType must be ComputeCluster If the zoneType is HostGroup topology.hostGroup must be defined and exist in vCenter prior to installation.
-
edit
public FailureDomainBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FailureDomainBuilder>
-
toBuilder
public FailureDomainBuilder toBuilder()
-
-