Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.powervs.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 all the global configuration that all machinesets use.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Platform()No args constructor for use in serializationPlatform(String clusterOSImage, MachinePool defaultMachinePlatform, String powervsResourceGroup, String region, List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint> serviceEndpoints, String serviceInstanceGUID, String tgName, String userID, String vpcName, String vpcRegion, List<String> vpcSubnets, String zone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()StringgetClusterOSImage()ClusterOSImage is a pre-created Power VS boot image that overrides the default image for cluster nodes.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.StringgetPowervsResourceGroup()PowerVSResourceGroup is the resource group in which Power VS resources will be created.StringgetRegion()Region specifies the IBM Cloud colo region where the cluster will be created.List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint>getServiceEndpoints()ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services.StringgetServiceInstanceGUID()ServiceInstanceGUID is the GUID of the Power IAAS instance created from the IBM Cloud Catalog before the cluster is completed.StringgetTgName()tgName is the name or id of a pre-created TransitGateway inside IBM Cloud.StringgetUserID()UserID is the login for the user's IBM Cloud account.StringgetVpcName()vpcName is the name or id of a pre-created VPC inside IBM Cloud.StringgetVpcRegion()VPCRegion specifies the IBM Cloud region in which to create VPC resources.List<String>getVpcSubnets()VPCSubnets specifies existing subnets (by ID) where cluster resources will be created.StringgetZone()Zone specifies the IBM Cloud colo region where the cluster will be created.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetClusterOSImage(String clusterOSImage)ClusterOSImage is a pre-created Power VS boot image that overrides the default image for cluster nodes.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetPowervsResourceGroup(String powervsResourceGroup)PowerVSResourceGroup is the resource group in which Power VS resources will be created.voidsetRegion(String region)Region specifies the IBM Cloud colo region where the cluster will be created.voidsetServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint> serviceEndpoints)ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services.voidsetServiceInstanceGUID(String serviceInstanceGUID)ServiceInstanceGUID is the GUID of the Power IAAS instance created from the IBM Cloud Catalog before the cluster is completed.voidsetTgName(String tgName)tgName is the name or id of a pre-created TransitGateway inside IBM Cloud.voidsetUserID(String userID)UserID is the login for the user's IBM Cloud account.voidsetVpcName(String vpcName)vpcName is the name or id of a pre-created VPC inside IBM Cloud.voidsetVpcRegion(String vpcRegion)VPCRegion specifies the IBM Cloud region in which to create VPC resources.voidsetVpcSubnets(List<String> vpcSubnets)VPCSubnets specifies existing subnets (by ID) where cluster resources will be created.voidsetZone(String zone)Zone specifies the IBM Cloud colo region where the cluster will be created.PlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String clusterOSImage, MachinePool defaultMachinePlatform, String powervsResourceGroup, String region, List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint> serviceEndpoints, String serviceInstanceGUID, String tgName, String userID, String vpcName, String vpcRegion, List<String> vpcSubnets, String zone)
-
-
Method Detail
-
getClusterOSImage
public String getClusterOSImage()
ClusterOSImage is a pre-created Power VS boot image that overrides the default image for cluster nodes.
-
setClusterOSImage
public void setClusterOSImage(String clusterOSImage)
ClusterOSImage is a pre-created Power VS boot image that overrides the default image for cluster nodes.
-
getDefaultMachinePlatform
public MachinePool getDefaultMachinePlatform()
Platform stores all the global configuration that all machinesets use.
-
setDefaultMachinePlatform
public void setDefaultMachinePlatform(MachinePool defaultMachinePlatform)
Platform stores all the global configuration that all machinesets use.
-
getPowervsResourceGroup
public String getPowervsResourceGroup()
PowerVSResourceGroup is the resource group in which Power VS resources will be created.
-
setPowervsResourceGroup
public void setPowervsResourceGroup(String powervsResourceGroup)
PowerVSResourceGroup is the resource group in which Power VS resources will be created.
-
getRegion
public String getRegion()
Region specifies the IBM Cloud colo region where the cluster will be created.
-
setRegion
public void setRegion(String region)
Region specifies the IBM Cloud colo region where the cluster will be created.
-
getServiceEndpoints
public List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint> getServiceEndpoints()
ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
-
setServiceEndpoints
public void setServiceEndpoints(List<io.fabric8.openshift.api.model.config.v1.PowerVSServiceEndpoint> serviceEndpoints)
ServiceEndpoints is a list which contains custom endpoints to override default service endpoints of IBM Cloud Services. There must only be one ServiceEndpoint for a service (no duplicates).
-
getServiceInstanceGUID
public String getServiceInstanceGUID()
ServiceInstanceGUID is the GUID of the Power IAAS instance created from the IBM Cloud Catalog before the cluster is completed. Leave unset to allow the installer to create a service instance during cluster creation.
-
setServiceInstanceGUID
public void setServiceInstanceGUID(String serviceInstanceGUID)
ServiceInstanceGUID is the GUID of the Power IAAS instance created from the IBM Cloud Catalog before the cluster is completed. Leave unset to allow the installer to create a service instance during cluster creation.
-
getTgName
public String getTgName()
tgName is the name or id of a pre-created TransitGateway inside IBM Cloud.
-
setTgName
public void setTgName(String tgName)
tgName is the name or id of a pre-created TransitGateway inside IBM Cloud.
-
getUserID
public String getUserID()
UserID is the login for the user's IBM Cloud account.
-
setUserID
public void setUserID(String userID)
UserID is the login for the user's IBM Cloud account.
-
getVpcName
public String getVpcName()
vpcName is the name or id of a pre-created VPC inside IBM Cloud.
-
setVpcName
public void setVpcName(String vpcName)
vpcName is the name or id of a pre-created VPC inside IBM Cloud.
-
getVpcRegion
public String getVpcRegion()
VPCRegion specifies the IBM Cloud region in which to create VPC resources. Leave unset to allow installer to select the closest VPC region.
-
setVpcRegion
public void setVpcRegion(String vpcRegion)
VPCRegion specifies the IBM Cloud region in which to create VPC resources. Leave unset to allow installer to select the closest VPC region.
-
getVpcSubnets
public List<String> getVpcSubnets()
VPCSubnets specifies existing subnets (by ID) where cluster resources will be created. Leave unset to have the installer create subnets in a new VPC on your behalf.
-
setVpcSubnets
public void setVpcSubnets(List<String> vpcSubnets)
VPCSubnets specifies existing subnets (by ID) where cluster resources will be created. Leave unset to have the installer create subnets in a new VPC on your behalf.
-
getZone
public String getZone()
Zone specifies the IBM Cloud colo region where the cluster will be created. At this time, only single-zone clusters are supported.
-
setZone
public void setZone(String zone)
Zone specifies the IBM Cloud colo region where the cluster will be created. At this time, only single-zone clusters are supported.
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-