Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.nutanix.v1.Platform
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Platform extends Object implements io.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Platform stores any global configuration used for Nutanix platforms.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(String apiVIP, List<String> apiVIPs, String clusterOSImage, MachinePool defaultMachinePlatform, List<FailureDomain> failureDomains, String ingressVIP, List<String> ingressVIPs, io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancer loadBalancer, String preloadedOSImageName, Integer prismAPICallTimeout, PrismCentral prismCentral, List<PrismElement> prismElements, List<String> subnetUUIDs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVIP()DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: use APIVIPsList<String>getApiVIPs()APIVIPs contains the VIP(s) for the api endpoint.StringgetClusterOSImage()ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS Image.MachinePoolgetDefaultMachinePlatform()Platform stores any global configuration used for Nutanix platforms.List<FailureDomain>getFailureDomains()FailureDomains configures failure domains for the Nutanix platform.StringgetIngressVIP()DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: use IngressVIPsList<String>getIngressVIPs()IngressVIPs contains the VIP(s) for ingress.io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancergetLoadBalancer()Platform stores any global configuration used for Nutanix platforms.StringgetPreloadedOSImageName()PreloadedOSImageName uses the named preloaded RHCOS image from PC/PE, instead of create and upload a new image for each cluster.IntegergetPrismAPICallTimeout()PrismAPICallTimeout sets the timeout (in minutes) for the prism-api calls.PrismCentralgetPrismCentral()Platform stores any global configuration used for Nutanix platforms.List<PrismElement>getPrismElements()PrismElements holds a list of Prism Elements (clusters).List<String>getSubnetUUIDs()SubnetUUIDs identifies the network subnets to be used by the cluster.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVIP(String apiVIP)DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: use APIVIPsvoidsetApiVIPs(List<String> apiVIPs)APIVIPs contains the VIP(s) for the api endpoint.voidsetClusterOSImage(String clusterOSImage)ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS Image.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores any global configuration used for Nutanix platforms.voidsetFailureDomains(List<FailureDomain> failureDomains)FailureDomains configures failure domains for the Nutanix platform.voidsetIngressVIP(String ingressVIP)DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: use IngressVIPsvoidsetIngressVIPs(List<String> ingressVIPs)IngressVIPs contains the VIP(s) for ingress.voidsetLoadBalancer(io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancer loadBalancer)Platform stores any global configuration used for Nutanix platforms.voidsetPreloadedOSImageName(String preloadedOSImageName)PreloadedOSImageName uses the named preloaded RHCOS image from PC/PE, instead of create and upload a new image for each cluster.voidsetPrismAPICallTimeout(Integer prismAPICallTimeout)PrismAPICallTimeout sets the timeout (in minutes) for the prism-api calls.voidsetPrismCentral(PrismCentral prismCentral)Platform stores any global configuration used for Nutanix platforms.voidsetPrismElements(List<PrismElement> prismElements)PrismElements holds a list of Prism Elements (clusters).voidsetSubnetUUIDs(List<String> subnetUUIDs)SubnetUUIDs identifies the network subnets to be used by the cluster.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String apiVIP, List<String> apiVIPs, String clusterOSImage, MachinePool defaultMachinePlatform, List<FailureDomain> failureDomains, String ingressVIP, List<String> ingressVIPs, io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancer loadBalancer, String preloadedOSImageName, Integer prismAPICallTimeout, PrismCentral prismCentral, List<PrismElement> prismElements, List<String> subnetUUIDs)
-
-
Method Detail
-
getApiVIP
public String getApiVIP()
DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: use APIVIPs
-
setApiVIP
public void setApiVIP(String apiVIP)
DeprecatedAPIVIP is the virtual IP address for the api endpoint Deprecated: use APIVIPs
-
getApiVIPs
public List<String> getApiVIPs()
APIVIPs contains the VIP(s) for the api endpoint. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
setApiVIPs
public void setApiVIPs(List<String> apiVIPs)
APIVIPs contains the VIP(s) for the api endpoint. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
getClusterOSImage
public String getClusterOSImage()
ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS Image.
-
setClusterOSImage
public void setClusterOSImage(String clusterOSImage)
ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS Image.
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores any global configuration used for Nutanix platforms.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores any global configuration used for Nutanix platforms.
-
getFailureDomains
public List<FailureDomain> getFailureDomains()
FailureDomains configures failure domains for the Nutanix platform.
-
setFailureDomains
public void setFailureDomains(List<FailureDomain> failureDomains)
FailureDomains configures failure domains for the Nutanix platform.
-
getIngressVIP
public String getIngressVIP()
DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: use IngressVIPs
-
setIngressVIP
public void setIngressVIP(String ingressVIP)
DeprecatedIngressVIP is the virtual IP address for ingress Deprecated: use IngressVIPs
-
getIngressVIPs
public List<String> getIngressVIPs()
IngressVIPs contains the VIP(s) for ingress. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
setIngressVIPs
public void setIngressVIPs(List<String> ingressVIPs)
IngressVIPs contains the VIP(s) for ingress. In dual stack clusters it contains an IPv4 and IPv6 address, otherwise only one VIP
-
getLoadBalancer
public io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancer getLoadBalancer()
Platform stores any global configuration used for Nutanix platforms.
-
setLoadBalancer
public void setLoadBalancer(io.fabric8.openshift.api.model.config.v1.NutanixPlatformLoadBalancer loadBalancer)
Platform stores any global configuration used for Nutanix platforms.
-
getPreloadedOSImageName
public String getPreloadedOSImageName()
PreloadedOSImageName uses the named preloaded RHCOS image from PC/PE, instead of create and upload a new image for each cluster.
-
setPreloadedOSImageName
public void setPreloadedOSImageName(String preloadedOSImageName)
PreloadedOSImageName uses the named preloaded RHCOS image from PC/PE, instead of create and upload a new image for each cluster.
-
getPrismAPICallTimeout
public Integer getPrismAPICallTimeout()
PrismAPICallTimeout sets the timeout (in minutes) for the prism-api calls. If not configured, the default value of 10 minutes will be used as the prism-api call timeout.
-
setPrismAPICallTimeout
public void setPrismAPICallTimeout(Integer prismAPICallTimeout)
PrismAPICallTimeout sets the timeout (in minutes) for the prism-api calls. If not configured, the default value of 10 minutes will be used as the prism-api call timeout.
-
getPrismCentral
public PrismCentral getPrismCentral()
Platform stores any global configuration used for Nutanix platforms.
-
setPrismCentral
public void setPrismCentral(PrismCentral prismCentral)
Platform stores any global configuration used for Nutanix platforms.
-
getPrismElements
public List<PrismElement> getPrismElements()
PrismElements holds a list of Prism Elements (clusters). A Prism Element encompasses all Nutanix resources (VMs, subnets, etc.) used to host the OpenShift cluster. Currently only a single Prism Element may be defined. This serves as the default Prism-Element.
-
setPrismElements
public void setPrismElements(List<PrismElement> prismElements)
PrismElements holds a list of Prism Elements (clusters). A Prism Element encompasses all Nutanix resources (VMs, subnets, etc.) used to host the OpenShift cluster. Currently only a single Prism Element may be defined. This serves as the default Prism-Element.
-
getSubnetUUIDs
public List<String> getSubnetUUIDs()
SubnetUUIDs identifies the network subnets to be used by the cluster. Currently we only support one subnet for an OpenShift cluster.
-
setSubnetUUIDs
public void setSubnetUUIDs(List<String> subnetUUIDs)
SubnetUUIDs identifies the network subnets to be used by the cluster. Currently we only support one subnet for an OpenShift cluster.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-