Class VSphereFailureDomainZoneAffinity

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<VSphereFailureDomainZoneAffinityBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class VSphereFailureDomainZoneAffinity
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<VSphereFailureDomainZoneAffinityBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    VSphereFailureDomainZoneAffinity contains the vCenter cluster vm-host group (virtual machine and host types) and the vm-host affinity rule that together creates an affinity configuration for vm-host based zonal. This configuration within vCenter creates the required association between a failure domain, virtual machines and ESXi hosts to create a vm-host based zone.
    See Also:
    Serialized Form
    • Constructor Detail

      • VSphereFailureDomainZoneAffinity

        public VSphereFailureDomainZoneAffinity()
        No args constructor for use in serialization
    • Method Detail

      • getHostGroup

        public VSphereFailureDomainHostGroup getHostGroup()
        VSphereFailureDomainZoneAffinity contains the vCenter cluster vm-host group (virtual machine and host types) and the vm-host affinity rule that together creates an affinity configuration for vm-host based zonal. This configuration within vCenter creates the required association between a failure domain, virtual machines and ESXi hosts to create a vm-host based zone.
      • setHostGroup

        public void setHostGroup​(VSphereFailureDomainHostGroup hostGroup)
        VSphereFailureDomainZoneAffinity contains the vCenter cluster vm-host group (virtual machine and host types) and the vm-host affinity rule that together creates an affinity configuration for vm-host based zonal. This configuration within vCenter creates the required association between a failure domain, virtual machines and ESXi hosts to create a vm-host based zone.
      • getType

        public String getType()
        type determines the vSphere object type for a zone within this failure domain. Available types are ComputeCluster and HostGroup. When set to ComputeCluster, this means the vCenter cluster defined is the zone. When set to HostGroup, hostGroup must be configured with hostGroup, vmGroup and vmHostRule and this means the zone is defined by the grouping of those fields.


        Possible enum values:

        - `"ComputeCluster"` is a failure domain zone for a vCenter compute cluster.

        - `"HostGroup"` is a failure domain zone for a vCenter vm-host group.

      • setType

        public void setType​(String type)
        type determines the vSphere object type for a zone within this failure domain. Available types are ComputeCluster and HostGroup. When set to ComputeCluster, this means the vCenter cluster defined is the zone. When set to HostGroup, hostGroup must be configured with hostGroup, vmGroup and vmHostRule and this means the zone is defined by the grouping of those fields.


        Possible enum values:

        - `"ComputeCluster"` is a failure domain zone for a vCenter compute cluster.

        - `"HostGroup"` is a failure domain zone for a vCenter vm-host group.

      • getAdditionalProperties

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

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

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