Class VSphereFailureDomainZoneAffinity
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.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 Summary
Constructors Constructor Description VSphereFailureDomainZoneAffinity()No args constructor for use in serializationVSphereFailureDomainZoneAffinity(VSphereFailureDomainHostGroup hostGroup, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VSphereFailureDomainZoneAffinityBuilderedit()Map<String,Object>getAdditionalProperties()VSphereFailureDomainHostGroupgetHostGroup()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.StringgetType()type determines the vSphere object type for a zone within this failure domain.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHostGroup(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.voidsetType(String type)type determines the vSphere object type for a zone within this failure domain.VSphereFailureDomainZoneAffinityBuildertoBuilder()
-
-
-
Constructor Detail
-
VSphereFailureDomainZoneAffinity
public VSphereFailureDomainZoneAffinity()
No args constructor for use in serialization
-
VSphereFailureDomainZoneAffinity
public VSphereFailureDomainZoneAffinity(VSphereFailureDomainHostGroup hostGroup, String type)
-
-
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.
-
edit
public VSphereFailureDomainZoneAffinityBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VSphereFailureDomainZoneAffinityBuilder>
-
toBuilder
public VSphereFailureDomainZoneAffinityBuilder toBuilder()
-
-