Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.vsphere.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 vsphere platforms.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(String apiVIP, List<String> apiVIPs, String cluster, String clusterOSImage, String datacenter, String defaultDatastore, MachinePool defaultMachinePlatform, String diskType, List<FailureDomain> failureDomains, String folder, List<Host> hosts, String ingressVIP, List<String> ingressVIPs, io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer loadBalancer, String network, io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking nodeNetworking, String password, String resourcePool, String username, String vCenter, List<VCenter> vcenters)
-
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.StringgetCluster()Cluster is the name of the cluster virtual machines will be cloned into.StringgetClusterOSImage()ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVAStringgetDatacenter()Datacenter is the name of the datacenter to use in the vCenter.StringgetDefaultDatastore()DefaultDatastore is the default datastore to use for provisioning volumes.MachinePoolgetDefaultMachinePlatform()Platform stores any global configuration used for vsphere platforms.StringgetDiskType()DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick.List<FailureDomain>getFailureDomains()FailureDomains holds the VSpherePlatformFailureDomainSpec which contains the definition of region, zone and the vCenter topology.StringgetFolder()Folder is the absolute path of the folder that will be used and/or created for virtual machines.List<Host>getHosts()Hosts defines network configurations to be applied by the installer.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.VSpherePlatformLoadBalancergetLoadBalancer()Platform stores any global configuration used for vsphere platforms.StringgetNetwork()Network specifies the name of the network to be used by the cluster.io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworkinggetNodeNetworking()Platform stores any global configuration used for vsphere platforms.StringgetPassword()Password is the password for the user to use to connect to the vCenter.StringgetResourcePool()ResourcePool is the absolute path of the resource pool where virtual machines will be created.StringgetUsername()Username is the name of the user to use to connect to the vCenter.StringgetVCenter()VCenter is the domain name or IP address of the vCenter.List<VCenter>getVcenters()VCenters holds the connection details for services to communicate with vCenter.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.voidsetCluster(String cluster)Cluster is the name of the cluster virtual machines will be cloned into.voidsetClusterOSImage(String clusterOSImage)ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVAvoidsetDatacenter(String datacenter)Datacenter is the name of the datacenter to use in the vCenter.voidsetDefaultDatastore(String defaultDatastore)DefaultDatastore is the default datastore to use for provisioning volumes.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores any global configuration used for vsphere platforms.voidsetDiskType(String diskType)DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick.voidsetFailureDomains(List<FailureDomain> failureDomains)FailureDomains holds the VSpherePlatformFailureDomainSpec which contains the definition of region, zone and the vCenter topology.voidsetFolder(String folder)Folder is the absolute path of the folder that will be used and/or created for virtual machines.voidsetHosts(List<Host> hosts)Hosts defines network configurations to be applied by the installer.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.VSpherePlatformLoadBalancer loadBalancer)Platform stores any global configuration used for vsphere platforms.voidsetNetwork(String network)Network specifies the name of the network to be used by the cluster.voidsetNodeNetworking(io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking nodeNetworking)Platform stores any global configuration used for vsphere platforms.voidsetPassword(String password)Password is the password for the user to use to connect to the vCenter.voidsetResourcePool(String resourcePool)ResourcePool is the absolute path of the resource pool where virtual machines will be created.voidsetUsername(String username)Username is the name of the user to use to connect to the vCenter.voidsetVCenter(String vCenter)VCenter is the domain name or IP address of the vCenter.voidsetVcenters(List<VCenter> vcenters)VCenters holds the connection details for services to communicate with vCenter.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String apiVIP, List<String> apiVIPs, String cluster, String clusterOSImage, String datacenter, String defaultDatastore, MachinePool defaultMachinePlatform, String diskType, List<FailureDomain> failureDomains, String folder, List<Host> hosts, String ingressVIP, List<String> ingressVIPs, io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer loadBalancer, String network, io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking nodeNetworking, String password, String resourcePool, String username, String vCenter, List<VCenter> vcenters)
-
-
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
-
getCluster
public String getCluster()
Cluster is the name of the cluster virtual machines will be cloned into. Deprecated: Use FailureDomains.Topology.Cluster
-
setCluster
public void setCluster(String cluster)
Cluster is the name of the cluster virtual machines will be cloned into. Deprecated: Use FailureDomains.Topology.Cluster
-
getClusterOSImage
public String getClusterOSImage()
ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVA
-
setClusterOSImage
public void setClusterOSImage(String clusterOSImage)
ClusterOSImage overrides the url provided in rhcos.json to download the RHCOS OVA
-
getDatacenter
public String getDatacenter()
Datacenter is the name of the datacenter to use in the vCenter. Deprecated: Use FailureDomains.Topology.Datacenter
-
setDatacenter
public void setDatacenter(String datacenter)
Datacenter is the name of the datacenter to use in the vCenter. Deprecated: Use FailureDomains.Topology.Datacenter
-
getDefaultDatastore
public String getDefaultDatastore()
DefaultDatastore is the default datastore to use for provisioning volumes. Deprecated: Use FailureDomains.Topology.Datastore
-
setDefaultDatastore
public void setDefaultDatastore(String defaultDatastore)
DefaultDatastore is the default datastore to use for provisioning volumes. Deprecated: Use FailureDomains.Topology.Datastore
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores any global configuration used for vsphere platforms.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores any global configuration used for vsphere platforms.
-
getDiskType
public String getDiskType()
DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick. When not specified, it will be set according to the default storage policy of vsphere.
-
setDiskType
public void setDiskType(String diskType)
DiskType is the name of the disk provisioning type, valid values are thin, thick, and eagerZeroedThick. When not specified, it will be set according to the default storage policy of vsphere.
-
getFailureDomains
public List<FailureDomain> getFailureDomains()
FailureDomains holds the VSpherePlatformFailureDomainSpec which contains the definition of region, zone and the vCenter topology. If this is omitted failure domains (regions and zones) will not be used.
-
setFailureDomains
public void setFailureDomains(List<FailureDomain> failureDomains)
FailureDomains holds the VSpherePlatformFailureDomainSpec which contains the definition of region, zone and the vCenter topology. If this is omitted failure domains (regions and zones) will not be used.
-
getFolder
public String getFolder()
Folder is the absolute path of the folder that will be used and/or created for virtual machines. The absolute path is of the form /<datacenter>/vm/<folder>/<subfolder>. Deprecated: Use FailureDomains.Topology.Folder
-
setFolder
public void setFolder(String folder)
Folder is the absolute path of the folder that will be used and/or created for virtual machines. The absolute path is of the form /<datacenter>/vm/<folder>/<subfolder>. Deprecated: Use FailureDomains.Topology.Folder
-
getHosts
public List<Host> getHosts()
Hosts defines network configurations to be applied by the installer. Hosts is available in TechPreview.
-
setHosts
public void setHosts(List<Host> hosts)
Hosts defines network configurations to be applied by the installer. Hosts is available in TechPreview.
-
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.VSpherePlatformLoadBalancer getLoadBalancer()
Platform stores any global configuration used for vsphere platforms.
-
setLoadBalancer
public void setLoadBalancer(io.fabric8.openshift.api.model.config.v1.VSpherePlatformLoadBalancer loadBalancer)
Platform stores any global configuration used for vsphere platforms.
-
getNetwork
public String getNetwork()
Network specifies the name of the network to be used by the cluster. Deprecated: Use FailureDomains.Topology.Network
-
setNetwork
public void setNetwork(String network)
Network specifies the name of the network to be used by the cluster. Deprecated: Use FailureDomains.Topology.Network
-
getNodeNetworking
public io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking getNodeNetworking()
Platform stores any global configuration used for vsphere platforms.
-
setNodeNetworking
public void setNodeNetworking(io.fabric8.openshift.api.model.config.v1.VSpherePlatformNodeNetworking nodeNetworking)
Platform stores any global configuration used for vsphere platforms.
-
getPassword
public String getPassword()
Password is the password for the user to use to connect to the vCenter. Deprecated: Use VCenters.Password
-
setPassword
public void setPassword(String password)
Password is the password for the user to use to connect to the vCenter. Deprecated: Use VCenters.Password
-
getResourcePool
public String getResourcePool()
ResourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>. Deprecated: Use FailureDomains.Topology.ResourcePool
-
setResourcePool
public void setResourcePool(String resourcePool)
ResourcePool is the absolute path of the resource pool where virtual machines will be created. The absolute path is of the form /<datacenter>/host/<cluster>/Resources/<resourcepool>. Deprecated: Use FailureDomains.Topology.ResourcePool
-
getUsername
public String getUsername()
Username is the name of the user to use to connect to the vCenter. Deprecated: Use VCenters.Username
-
setUsername
public void setUsername(String username)
Username is the name of the user to use to connect to the vCenter. Deprecated: Use VCenters.Username
-
getVCenter
public String getVCenter()
VCenter is the domain name or IP address of the vCenter. Deprecated: Use VCenters.Server
-
setVCenter
public void setVCenter(String vCenter)
VCenter is the domain name or IP address of the vCenter. Deprecated: Use VCenters.Server
-
getVcenters
public List<VCenter> getVcenters()
VCenters holds the connection details for services to communicate with vCenter.
-
setVcenters
public void setVcenters(List<VCenter> vcenters)
VCenters holds the connection details for services to communicate with vCenter.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-