Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FailureDomainBuilder edit()  
      Map<String,​Object> getAdditionalProperties()  
      String getName()
      name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.
      String getRegion()
      The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`.
      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.
      String getServer()
      server is the fully-qualified domain name or the IP address of the vCenter server.
      Topology getTopology()
      FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.
      String getZone()
      The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`.
      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.
      void setAdditionalProperties​(Map<String,​Object> additionalProperties)  
      void setAdditionalProperty​(String name, Object value)  
      void setName​(String name)
      name defines the name of the FailureDomain This name is arbitrary but will be used in VSpherePlatformDeploymentZone for association.
      void setRegion​(String region)
      The region is the name of the tag in vCenter that is associated with the tag category `openshift-region`.
      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.
      void setServer​(String server)
      server is the fully-qualified domain name or the IP address of the vCenter server.
      void setTopology​(Topology topology)
      FailureDomain holds the region and zone failure domain and the vCenter topology of that failure domain.
      void setZone​(String zone)
      The zone is the name of the tag in vCenter that is associated with the tag category `openshift-zone`.
      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.
      FailureDomainBuilder toBuilder()  
    • Constructor Detail

      • FailureDomain

        public FailureDomain()
        No args constructor for use in serialization
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)