Class Platform
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.azure.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 armEndpoint, String baseDomainResourceGroupName, String cloudName, String clusterOSImage, String computeSubnet, String controlPlaneSubnet, CustomerManagedKey customerManagedKey, MachinePool defaultMachinePlatform, String networkResourceGroupName, String outboundType, String region, String resourceGroupName, Map<String,String> userTags, String virtualNetwork)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlatformBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArmEndpoint()ARMEndpoint is the endpoint for the Azure API when installing on Azure Stack.StringgetBaseDomainResourceGroupName()BaseDomainResourceGroupName specifies the resource group where the Azure DNS zone for the base domain is found.StringgetCloudName()cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK with the appropriate Azure API endpoints.StringgetClusterOSImage()ClusterOSImage is the url of a storage blob in the Azure Stack environment containing an RHCOS VHD.StringgetComputeSubnet()ComputeSubnet specifies an existing subnet for use by compute nodesStringgetControlPlaneSubnet()ControlPlaneSubnet specifies an existing subnet for use by the control plane nodesCustomerManagedKeygetCustomerManagedKey()Platform stores all the global configuration that all machinesets use.MachinePoolgetDefaultMachinePlatform()Platform stores all the global configuration that all machinesets use.StringgetNetworkResourceGroupName()NetworkResourceGroupName specifies the network resource group that contains an existing VNetStringgetOutboundType()OutboundType is a strategy for how egress from cluster is achieved.StringgetRegion()Region specifies the Azure region where the cluster will be created.StringgetResourceGroupName()ResourceGroupName is the name of an already existing resource group where the cluster should be installed.Map<String,String>getUserTags()UserTags has additional keys and values that the installer will add as tags to all resources that it creates on AzurePublicCloud alone.StringgetVirtualNetwork()VirtualNetwork specifies the name of an existing VNet for the installer to usevoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArmEndpoint(String armEndpoint)ARMEndpoint is the endpoint for the Azure API when installing on Azure Stack.voidsetBaseDomainResourceGroupName(String baseDomainResourceGroupName)BaseDomainResourceGroupName specifies the resource group where the Azure DNS zone for the base domain is found.voidsetCloudName(String cloudName)cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK with the appropriate Azure API endpoints.voidsetClusterOSImage(String clusterOSImage)ClusterOSImage is the url of a storage blob in the Azure Stack environment containing an RHCOS VHD.voidsetComputeSubnet(String computeSubnet)ComputeSubnet specifies an existing subnet for use by compute nodesvoidsetControlPlaneSubnet(String controlPlaneSubnet)ControlPlaneSubnet specifies an existing subnet for use by the control plane nodesvoidsetCustomerManagedKey(CustomerManagedKey customerManagedKey)Platform stores all the global configuration that all machinesets use.voidsetDefaultMachinePlatform(MachinePool defaultMachinePlatform)Platform stores all the global configuration that all machinesets use.voidsetNetworkResourceGroupName(String networkResourceGroupName)NetworkResourceGroupName specifies the network resource group that contains an existing VNetvoidsetOutboundType(String outboundType)OutboundType is a strategy for how egress from cluster is achieved.voidsetRegion(String region)Region specifies the Azure region where the cluster will be created.voidsetResourceGroupName(String resourceGroupName)ResourceGroupName is the name of an already existing resource group where the cluster should be installed.voidsetUserTags(Map<String,String> userTags)UserTags has additional keys and values that the installer will add as tags to all resources that it creates on AzurePublicCloud alone.voidsetVirtualNetwork(String virtualNetwork)VirtualNetwork specifies the name of an existing VNet for the installer to usePlatformBuildertoBuilder()
-
-
-
Constructor Detail
-
Platform
public Platform()
No args constructor for use in serialization
-
Platform
public Platform(String armEndpoint, String baseDomainResourceGroupName, String cloudName, String clusterOSImage, String computeSubnet, String controlPlaneSubnet, CustomerManagedKey customerManagedKey, MachinePool defaultMachinePlatform, String networkResourceGroupName, String outboundType, String region, String resourceGroupName, Map<String,String> userTags, String virtualNetwork)
-
-
Method Detail
-
getArmEndpoint
public String getArmEndpoint()
ARMEndpoint is the endpoint for the Azure API when installing on Azure Stack.
-
setArmEndpoint
public void setArmEndpoint(String armEndpoint)
ARMEndpoint is the endpoint for the Azure API when installing on Azure Stack.
-
getBaseDomainResourceGroupName
public String getBaseDomainResourceGroupName()
BaseDomainResourceGroupName specifies the resource group where the Azure DNS zone for the base domain is found. This field is optional when creating a private cluster, otherwise required.
-
setBaseDomainResourceGroupName
public void setBaseDomainResourceGroupName(String baseDomainResourceGroupName)
BaseDomainResourceGroupName specifies the resource group where the Azure DNS zone for the base domain is found. This field is optional when creating a private cluster, otherwise required.
-
getCloudName
public String getCloudName()
cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK with the appropriate Azure API endpoints. If empty, the value is equal to "AzurePublicCloud".
-
setCloudName
public void setCloudName(String cloudName)
cloudName is the name of the Azure cloud environment which can be used to configure the Azure SDK with the appropriate Azure API endpoints. If empty, the value is equal to "AzurePublicCloud".
-
getClusterOSImage
public String getClusterOSImage()
ClusterOSImage is the url of a storage blob in the Azure Stack environment containing an RHCOS VHD. This field is required for Azure Stack and not applicable to Azure.
-
setClusterOSImage
public void setClusterOSImage(String clusterOSImage)
ClusterOSImage is the url of a storage blob in the Azure Stack environment containing an RHCOS VHD. This field is required for Azure Stack and not applicable to Azure.
-
getComputeSubnet
public String getComputeSubnet()
ComputeSubnet specifies an existing subnet for use by compute nodes
-
setComputeSubnet
public void setComputeSubnet(String computeSubnet)
ComputeSubnet specifies an existing subnet for use by compute nodes
-
getControlPlaneSubnet
public String getControlPlaneSubnet()
ControlPlaneSubnet specifies an existing subnet for use by the control plane nodes
-
setControlPlaneSubnet
public void setControlPlaneSubnet(String controlPlaneSubnet)
ControlPlaneSubnet specifies an existing subnet for use by the control plane nodes
-
getCustomerManagedKey
public CustomerManagedKey getCustomerManagedKey()
Platform stores all the global configuration that all machinesets use.
-
setCustomerManagedKey
public void setCustomerManagedKey(CustomerManagedKey customerManagedKey)
Platform stores all the global configuration that all machinesets use.
-
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.
-
getNetworkResourceGroupName
public String getNetworkResourceGroupName()
NetworkResourceGroupName specifies the network resource group that contains an existing VNet
-
setNetworkResourceGroupName
public void setNetworkResourceGroupName(String networkResourceGroupName)
NetworkResourceGroupName specifies the network resource group that contains an existing VNet
-
getOutboundType
public String getOutboundType()
OutboundType is a strategy for how egress from cluster is achieved. When not specified default is "Loadbalancer". "NatGateway" is only available in TechPreview.
-
setOutboundType
public void setOutboundType(String outboundType)
OutboundType is a strategy for how egress from cluster is achieved. When not specified default is "Loadbalancer". "NatGateway" is only available in TechPreview.
-
getRegion
public String getRegion()
Region specifies the Azure region where the cluster will be created.
-
setRegion
public void setRegion(String region)
Region specifies the Azure region where the cluster will be created.
-
getResourceGroupName
public String getResourceGroupName()
ResourceGroupName is the name of an already existing resource group where the cluster should be installed. This resource group should only be used for this specific cluster and the cluster components will assume ownership of all resources in the resource group. Destroying the cluster using installer will delete this resource group. This resource group must be empty with no other resources when trying to use it for creating a cluster. If empty, a new resource group will created for the cluster.
-
setResourceGroupName
public void setResourceGroupName(String resourceGroupName)
ResourceGroupName is the name of an already existing resource group where the cluster should be installed. This resource group should only be used for this specific cluster and the cluster components will assume ownership of all resources in the resource group. Destroying the cluster using installer will delete this resource group. This resource group must be empty with no other resources when trying to use it for creating a cluster. If empty, a new resource group will created for the cluster.
-
getUserTags
public Map<String,String> getUserTags()
UserTags has additional keys and values that the installer will add as tags to all resources that it creates on AzurePublicCloud alone. Resources created by the cluster itself may not include these tags.
-
setUserTags
public void setUserTags(Map<String,String> userTags)
UserTags has additional keys and values that the installer will add as tags to all resources that it creates on AzurePublicCloud alone. Resources created by the cluster itself may not include these tags.
-
getVirtualNetwork
public String getVirtualNetwork()
VirtualNetwork specifies the name of an existing VNet for the installer to use
-
setVirtualNetwork
public void setVirtualNetwork(String virtualNetwork)
VirtualNetwork specifies the name of an existing VNet for the installer to use
-
edit
public PlatformBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PlatformBuilder>
-
toBuilder
public PlatformBuilder toBuilder()
-
-