Class NutanixPlatformSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.NutanixPlatformSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NutanixPlatformSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NutanixPlatformSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<NutanixPlatformSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NutanixPlatformSpec holds the desired state of the Nutanix infrastructure provider. This only includes fields that can be modified in the cluster.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NutanixPlatformSpec()No args constructor for use in serializationNutanixPlatformSpec(List<NutanixFailureDomain> failureDomains, NutanixPrismEndpoint prismCentral, List<NutanixPrismElementEndpoint> prismElements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NutanixPlatformSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<NutanixFailureDomain>getFailureDomains()failureDomains configures failure domains information for the Nutanix platform.NutanixPrismEndpointgetPrismCentral()NutanixPlatformSpec holds the desired state of the Nutanix infrastructure provider.List<NutanixPrismElementEndpoint>getPrismElements()prismElements holds one or more endpoint address and port data to access the Nutanix Prism Elements (clusters) of the Nutanix Prism Central.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFailureDomains(List<NutanixFailureDomain> failureDomains)failureDomains configures failure domains information for the Nutanix platform.voidsetPrismCentral(NutanixPrismEndpoint prismCentral)NutanixPlatformSpec holds the desired state of the Nutanix infrastructure provider.voidsetPrismElements(List<NutanixPrismElementEndpoint> prismElements)prismElements holds one or more endpoint address and port data to access the Nutanix Prism Elements (clusters) of the Nutanix Prism Central.NutanixPlatformSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
NutanixPlatformSpec
public NutanixPlatformSpec()
No args constructor for use in serialization
-
NutanixPlatformSpec
public NutanixPlatformSpec(List<NutanixFailureDomain> failureDomains, NutanixPrismEndpoint prismCentral, List<NutanixPrismElementEndpoint> prismElements)
-
-
Method Detail
-
getFailureDomains
public List<NutanixFailureDomain> getFailureDomains()
failureDomains configures failure domains information for the Nutanix platform. When set, the failure domains defined here may be used to spread Machines across prism element clusters to improve fault tolerance of the cluster.
-
setFailureDomains
public void setFailureDomains(List<NutanixFailureDomain> failureDomains)
failureDomains configures failure domains information for the Nutanix platform. When set, the failure domains defined here may be used to spread Machines across prism element clusters to improve fault tolerance of the cluster.
-
getPrismCentral
public NutanixPrismEndpoint getPrismCentral()
NutanixPlatformSpec holds the desired state of the Nutanix infrastructure provider. This only includes fields that can be modified in the cluster.
-
setPrismCentral
public void setPrismCentral(NutanixPrismEndpoint prismCentral)
NutanixPlatformSpec holds the desired state of the Nutanix infrastructure provider. This only includes fields that can be modified in the cluster.
-
getPrismElements
public List<NutanixPrismElementEndpoint> getPrismElements()
prismElements holds one or more endpoint address and port data to access the Nutanix Prism Elements (clusters) of the Nutanix Prism Central. Currently we only support one Prism Element (cluster) for an OpenShift cluster, where all the Nutanix resources (VMs, subnets, volumes, etc.) used in the OpenShift cluster are located. In the future, we may support Nutanix resources (VMs, etc.) spread over multiple Prism Elements (clusters) of the Prism Central.
-
setPrismElements
public void setPrismElements(List<NutanixPrismElementEndpoint> prismElements)
prismElements holds one or more endpoint address and port data to access the Nutanix Prism Elements (clusters) of the Nutanix Prism Central. Currently we only support one Prism Element (cluster) for an OpenShift cluster, where all the Nutanix resources (VMs, subnets, volumes, etc.) used in the OpenShift cluster are located. In the future, we may support Nutanix resources (VMs, etc.) spread over multiple Prism Elements (clusters) of the Prism Central.
-
edit
public NutanixPlatformSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NutanixPlatformSpecBuilder>
-
toBuilder
public NutanixPlatformSpecBuilder toBuilder()
-
-