public final class Edge
extends java.lang.Object
implements java.io.Serializable, com.vmware.vapi.bindings.StaticStructure
Edge
class contains configuration for network traffic entering and
exiting a Supervisor. This class was added in vSphere API 8.0.0.1.Modifier and Type | Class and Description |
---|---|
static class |
Edge.Builder
Builder class for
Edge . |
Modifier and Type | Field and Description |
---|---|
protected com.vmware.vapi.data.StructValue |
__dynamicStructureFields |
Modifier | Constructor and Description |
---|---|
|
Edge()
Default constructor.
|
protected |
Edge(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 Edge |
_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 Edge |
_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) |
HAProxyConfig |
getHaproxy()
getHaproxy()
defines configuration for the HAProxy Load Balancer. |
java.lang.String |
getId()
getId() is a
unique identifier that can be referenced for updates. |
java.util.List<IPRange> |
getLoadBalancerAddressRanges()
getLoadBalancerAddressRanges()
defines the list of addresses that a load balancer can consume to publish
Kubernetes services. |
NSXConfig |
getNsx()
getNsx()
defines configuration for the NSX Load Balancer. |
NSXAdvancedLBConfig |
getNsxAdvanced()
getNsxAdvanced()
defines configuration for the NSX Advanced Load Balancer and Ingress Software. |
EdgeProvider |
getProvider()
getProvider()
specifies the vendor providing edge services. |
int |
hashCode() |
void |
setHaproxy(HAProxyConfig haproxy)
getHaproxy()
defines configuration for the HAProxy Load Balancer. |
void |
setId(java.lang.String id)
getId() is a
unique identifier that can be referenced for updates. |
void |
setLoadBalancerAddressRanges(java.util.List<IPRange> loadBalancerAddressRanges)
getLoadBalancerAddressRanges()
defines the list of addresses that a load balancer can consume to publish
Kubernetes services. |
void |
setNsx(NSXConfig nsx)
getNsx()
defines configuration for the NSX Load Balancer. |
void |
setNsxAdvanced(NSXAdvancedLBConfig nsxAdvanced)
getNsxAdvanced()
defines configuration for the NSX Advanced Load Balancer and Ingress Software. |
void |
setProvider(EdgeProvider provider)
getProvider()
specifies the vendor providing edge services. |
java.lang.String |
toString() |
protected com.vmware.vapi.data.StructValue __dynamicStructureFields
public Edge()
protected Edge(com.vmware.vapi.data.StructValue __dynamicStructureFields)
public java.lang.String getId()
getId()
is a
unique identifier that can be referenced for updates. This property was added in
vSphere API 8.0.0.1.
If unset, an ID will be automatically generated.com.vmware.vcenter.namespace_management.network.edge.Edge
. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: com.vmware.vcenter.namespace_management.network.edge.Edge
.public void setId(java.lang.String id)
getId()
is a
unique identifier that can be referenced for updates. This property was added in
vSphere API 8.0.0.1.
If unset, an ID will be automatically generated.id
- 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: com.vmware.vcenter.namespace_management.network.edge.Edge
. When methods return
a value of this class as a return value, the property will be an identifier for
the resource type: com.vmware.vcenter.namespace_management.network.edge.Edge
.public java.util.List<IPRange> getLoadBalancerAddressRanges()
getLoadBalancerAddressRanges()
defines the list of addresses that a load balancer can consume to publish
Kubernetes services. This range must contain at least one IP address unless the
NSX Advanced provider is selected. It is recommended to supply a large enough
range to support load balancers requested for pods in the control plane and
Tanzu Clusters.
getProvider()
is not
an NSX Advanced Load Balancer . This field is required if you want to load
balance traffic on a DHCP Workload Network.public void setLoadBalancerAddressRanges(java.util.List<IPRange> loadBalancerAddressRanges)
getLoadBalancerAddressRanges()
defines the list of addresses that a load balancer can consume to publish
Kubernetes services. This range must contain at least one IP address unless the
NSX Advanced provider is selected. It is recommended to supply a large enough
range to support load balancers requested for pods in the control plane and
Tanzu Clusters.
getProvider()
is not
an NSX Advanced Load Balancer . This field is required if you want to load
balance traffic on a DHCP Workload Network.loadBalancerAddressRanges
- New value for the property.public HAProxyConfig getHaproxy()
getHaproxy()
defines configuration for the HAProxy Load Balancer. This property was added in
vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.HAPROXY
.public void setHaproxy(HAProxyConfig haproxy)
getHaproxy()
defines configuration for the HAProxy Load Balancer. This property was added in
vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.HAPROXY
.haproxy
- New value for the property.public NSXConfig getNsx()
getNsx()
defines configuration for the NSX Load Balancer. This property was added in
vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.NSX
.public void setNsx(NSXConfig nsx)
getNsx()
defines configuration for the NSX Load Balancer. This property was added in
vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.NSX
.nsx
- New value for the property.public NSXAdvancedLBConfig getNsxAdvanced()
getNsxAdvanced()
defines configuration for the NSX Advanced Load Balancer and Ingress Software.
This property was added in vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.NSX_ADVANCED
.public void setNsxAdvanced(NSXAdvancedLBConfig nsxAdvanced)
getNsxAdvanced()
defines configuration for the NSX Advanced Load Balancer and Ingress Software.
This property was added in vSphere API 8.0.0.1.
This property is optional and it is only relevant when the value of getProvider()
is EdgeProvider.NSX_ADVANCED
.nsxAdvanced
- New value for the property.public EdgeProvider getProvider()
getProvider()
specifies the vendor providing edge services. This property was added in vSphere
API 8.0.0.1.
A provider is required to enable edge services for a cluster.public void setProvider(EdgeProvider provider)
getProvider()
specifies the vendor providing edge services. This property was added in vSphere
API 8.0.0.1.
A provider is required to enable edge services for a cluster.provider
- 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 Edge _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 Edge _newInstance2(com.vmware.vapi.data.StructValue structValue)