public final class NSXConfig
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
NSXConfig
class describes the configuration for NSX-T Edge services.
This class was added in vSphere API 8.0.0.1.Modifier and Type | Class and Description |
---|---|
static class |
NSXConfig.Builder
Builder class for
NSXConfig . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
NSXConfig()
Default constructor.
|
protected |
NSXConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields) |
Modifier and Type | Method and Description |
---|---|
<T extends com.vmware.vapi.bindings.Structure> |
_convertTo(java.lang.Class<T> clazz) |
java.lang.String |
_getCanonicalName() |
static java.lang.String |
_getCanonicalTypeName()
Returns the canonical type name.
|
static com.vmware.vapi.bindings.type.StructType |
_getClassType()
WARNING: Internal method, subject to change in future versions.
|
com.vmware.vapi.data.StructValue |
_getDataValue() |
com.vmware.vapi.data.DataValue |
_getDynamicField(java.lang.String fieldName) |
java.util.Set<java.lang.String> |
_getDynamicFieldNames() |
com.vmware.vapi.bindings.type.StructType |
_getType() |
boolean |
_hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz) |
static NSXConfig |
_newInstance(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Returns new instance of this binding class and injects the provided data value. WARNING: The returned object is not fully initialized. |
static NSXConfig |
_newInstance2(com.vmware.vapi.data.StructValue structValue)
WARNING: Internal method, subject to change in future versions.
Serves as a versioning mechanism. |
void |
_setDynamicField(java.lang.String fieldName,
com.vmware.vapi.data.DataValue fieldValue) |
protected void |
_updateDataValue(com.vmware.vapi.data.StructValue structValue) |
void |
_validate() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultIngressTLSCertificate()
getDefaultIngressTLSCertificate()
defines a default certificate that is served on Ingress services, when another
certificate is not presented. |
java.lang.String |
getEdgeClusterID()
getEdgeClusterID()
defines the NSX Edge Cluster to be used for Kubernetes Services of type
LoadBalancer, Kubernetes Ingresses, and NSX SNAT. |
java.util.List<IPRange> |
getEgressIPRanges()
getEgressIPRanges()
lists the IP Ranges from which NSX assigns IP addresses used for performing SNAT
from container IPs to external IPs. |
LoadBalancerSize |
getLoadBalancerSize()
getLoadBalancerSize()
describes the load balancer sizing options available. |
NSXRoutingMode |
getRoutingMode()
getRoutingMode()
enables the network topology in either NAT mode or Routed Mode. |
java.lang.String |
getT0Gateway()
getT0Gateway()
specifies the default Tier-0 gateway ID for the namespaces configuration. |
int |
hashCode() |
void |
setDefaultIngressTLSCertificate(java.lang.String defaultIngressTLSCertificate)
getDefaultIngressTLSCertificate()
defines a default certificate that is served on Ingress services, when another
certificate is not presented. |
void |
setEdgeClusterID(java.lang.String edgeClusterID)
getEdgeClusterID()
defines the NSX Edge Cluster to be used for Kubernetes Services of type
LoadBalancer, Kubernetes Ingresses, and NSX SNAT. |
void |
setEgressIPRanges(java.util.List<IPRange> egressIPRanges)
getEgressIPRanges()
lists the IP Ranges from which NSX assigns IP addresses used for performing SNAT
from container IPs to external IPs. |
void |
setLoadBalancerSize(LoadBalancerSize loadBalancerSize)
getLoadBalancerSize()
describes the load balancer sizing options available. |
void |
setRoutingMode(NSXRoutingMode routingMode)
getRoutingMode()
enables the network topology in either NAT mode or Routed Mode. |
void |
setT0Gateway(java.lang.String t0Gateway)
getT0Gateway()
specifies the default Tier-0 gateway ID for the namespaces configuration. |
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public NSXConfig()
protected NSXConfig(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getEdgeClusterID()
getEdgeClusterID()
defines the NSX Edge Cluster to be used for Kubernetes Services of type
LoadBalancer, Kubernetes Ingresses, and NSX SNAT. This property was added in
vSphere API 8.0.0.1.
Defaults to a the edge cluster created earliest.public void setEdgeClusterID(java.lang.String edgeClusterID)
getEdgeClusterID()
defines the NSX Edge Cluster to be used for Kubernetes Services of type
LoadBalancer, Kubernetes Ingresses, and NSX SNAT. This property was added in
vSphere API 8.0.0.1.
Defaults to a the edge cluster created earliest.edgeClusterID
- New value for the property.public java.lang.String getDefaultIngressTLSCertificate()
getDefaultIngressTLSCertificate()
defines a default certificate that is served on Ingress services, when another
certificate is not presented. This configuration applies to all namespaces by
default. This property was added in vSphere API 8.0.0.1.
If unset, there will be no certificate served on Ingress.public void setDefaultIngressTLSCertificate(java.lang.String defaultIngressTLSCertificate)
getDefaultIngressTLSCertificate()
defines a default certificate that is served on Ingress services, when another
certificate is not presented. This configuration applies to all namespaces by
default. This property was added in vSphere API 8.0.0.1.
If unset, there will be no certificate served on Ingress.defaultIngressTLSCertificate
- New value for the property.public NSXRoutingMode getRoutingMode()
getRoutingMode()
enables the network topology in either NAT mode or Routed Mode. Enabling routed
mode will result in all the workloads i.e vSphere PODs, VMs and Tanzu clusters
Node IPs to be directly accessible from networks beyond the Tier-0 router. Once
a namespace mode is applied, it cannot be changed. This property was added in
vSphere API 8.0.0.1.
The default setting is NAT mode.public void setRoutingMode(NSXRoutingMode routingMode)
getRoutingMode()
enables the network topology in either NAT mode or Routed Mode. Enabling routed
mode will result in all the workloads i.e vSphere PODs, VMs and Tanzu clusters
Node IPs to be directly accessible from networks beyond the Tier-0 router. Once
a namespace mode is applied, it cannot be changed. This property was added in
vSphere API 8.0.0.1.
The default setting is NAT mode.routingMode
- New value for the property.public java.util.List<IPRange> getEgressIPRanges()
getEgressIPRanges()
lists the IP Ranges from which NSX assigns IP addresses used for performing SNAT
from container IPs to external IPs. These ranges must not overlap with other IP
ranges on this network. This property was added in vSphere API 8.0.0.1.
If this range is empty, network traffic will not be able to exit the cluster.public void setEgressIPRanges(java.util.List<IPRange> egressIPRanges)
getEgressIPRanges()
lists the IP Ranges from which NSX assigns IP addresses used for performing SNAT
from container IPs to external IPs. These ranges must not overlap with other IP
ranges on this network. This property was added in vSphere API 8.0.0.1.
If this range is empty, network traffic will not be able to exit the cluster.egressIPRanges
- New value for the property.public java.lang.String getT0Gateway()
getT0Gateway()
specifies the default Tier-0 gateway ID for the namespaces configuration. This
property was added in vSphere API 8.0.0.1.
If unset, the default Tier-0 gateway from the edge cluster is used.NSXTier0Gateway
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: NSXTier0Gateway
.public void setT0Gateway(java.lang.String t0Gateway)
getT0Gateway()
specifies the default Tier-0 gateway ID for the namespaces configuration. This
property was added in vSphere API 8.0.0.1.
If unset, the default Tier-0 gateway from the edge cluster is used.t0Gateway
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: NSXTier0Gateway
. When methods return a
value of this class as a return value, the property will be an identifier for
the resource type: NSXTier0Gateway
.public LoadBalancerSize getLoadBalancerSize()
getLoadBalancerSize()
describes the load balancer sizing options available. Larger sizes support more
active virtual servers, but consume more resources. This property was added in
vSphere API 8.0.0.1.
If unset, the size defaults to small.public void setLoadBalancerSize(LoadBalancerSize loadBalancerSize)
getLoadBalancerSize()
describes the load balancer sizing options available. Larger sizes support more
active virtual servers, but consume more resources. This property was added in
vSphere API 8.0.0.1.
If unset, the size defaults to small.loadBalancerSize
- New value for the property.public com.vmware.vapi.bindings.type.StructType _getType()
_getType
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.StructValue _getDataValue()
_getDataValue
in interface com.vmware.vapi.bindings.Structure
protected void _updateDataValue(com.vmware.vapi.data.StructValue structValue)
public void _validate()
_validate
in interface com.vmware.vapi.bindings.StaticStructure
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface com.vmware.vapi.bindings.StaticStructure
toString
in class java.lang.Object
public boolean _hasTypeNameOf(java.lang.Class<? extends com.vmware.vapi.bindings.Structure> clazz)
_hasTypeNameOf
in interface com.vmware.vapi.bindings.Structure
public <T extends com.vmware.vapi.bindings.Structure> T _convertTo(java.lang.Class<T> clazz)
_convertTo
in interface com.vmware.vapi.bindings.Structure
public void _setDynamicField(java.lang.String fieldName, com.vmware.vapi.data.DataValue fieldValue)
_setDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public com.vmware.vapi.data.DataValue _getDynamicField(java.lang.String fieldName)
_getDynamicField
in interface com.vmware.vapi.bindings.StaticStructure
public java.util.Set<java.lang.String> _getDynamicFieldNames()
_getDynamicFieldNames
in interface com.vmware.vapi.bindings.StaticStructure
public static com.vmware.vapi.bindings.type.StructType _getClassType()
StructType
instance representing the static bindings
type for this Structure
.public java.lang.String _getCanonicalName()
_getCanonicalName
in interface com.vmware.vapi.bindings.Structure
public static java.lang.String _getCanonicalTypeName()
_getCanonicalName()
.public static NSXConfig _newInstance(com.vmware.vapi.data.StructValue structValue)
structValue
- the source of the data contained in the binding object. Could
contain more data than fields of this class can describe i.e.
newer version of the binding object. Could be null.StructType
public static NSXConfig _newInstance2(com.vmware.vapi.data.StructValue structValue)