public class LoadBalancersStub extends com.vmware.vapi.internal.bindings.Stub implements LoadBalancers
LoadBalancers
API service.
WARNING: Internal class, subject to change in future versions.
LoadBalancersTypes.ConfigSpec, LoadBalancersTypes.HAProxyConfigCreateSpec, LoadBalancersTypes.HAProxyInfo, LoadBalancersTypes.Info, LoadBalancersTypes.Provider, LoadBalancersTypes.Server, LoadBalancersTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
LoadBalancersStub(ApiProvider apiProvider,
StubConfigurationBase config) |
LoadBalancersStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
LoadBalancersTypes.Info |
get(java.lang.String cluster,
java.lang.String id)
Returns information
LoadBalancersTypes.Info about the load
balancer associated with the given cluster. |
void |
get(java.lang.String cluster,
java.lang.String id,
AsyncCallback<LoadBalancersTypes.Info> asyncCallback)
Returns information
LoadBalancersTypes.Info about the load
balancer associated with the given cluster. |
void |
get(java.lang.String cluster,
java.lang.String id,
AsyncCallback<LoadBalancersTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information
LoadBalancersTypes.Info about the load
balancer associated with the given cluster. |
LoadBalancersTypes.Info |
get(java.lang.String cluster,
java.lang.String id,
InvocationConfig invocationConfig)
Returns information
LoadBalancersTypes.Info about the load
balancer associated with the given cluster. |
java.util.List<LoadBalancersTypes.Summary> |
list(java.lang.String cluster)
Returns information about all load balancers associated with the given cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<LoadBalancersTypes.Summary>> asyncCallback)
Returns information about all load balancers associated with the given cluster.
|
void |
list(java.lang.String cluster,
AsyncCallback<java.util.List<LoadBalancersTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all load balancers associated with the given cluster.
|
java.util.List<LoadBalancersTypes.Summary> |
list(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns information about all load balancers associated with the given cluster.
|
public LoadBalancersStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public LoadBalancersStub(ApiProvider apiProvider, StubConfigurationBase config)
public LoadBalancersTypes.Info get(java.lang.String cluster, java.lang.String id)
LoadBalancers
LoadBalancersTypes.Info
about the load
balancer associated with the given cluster. This method was added in vSphere API
7.0.1.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancer is associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.id
- Identifier of the load balancer LoadBalancersTypes.ConfigSpec.getId()
.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig
.public LoadBalancersTypes.Info get(java.lang.String cluster, java.lang.String id, InvocationConfig invocationConfig)
LoadBalancers
LoadBalancersTypes.Info
about the load
balancer associated with the given cluster. This method was added in vSphere API
7.0.1.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancer is associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.id
- Identifier of the load balancer LoadBalancersTypes.ConfigSpec.getId()
.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, java.lang.String id, AsyncCallback<LoadBalancersTypes.Info> asyncCallback)
LoadBalancers
LoadBalancersTypes.Info
about the load
balancer associated with the given cluster. This method was added in vSphere API
7.0.1.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if cluster
or id
cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unsupported
- if the specified cluster does not have vSphere Namespaces enabled.
get
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancer is associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.id
- Identifier of the load balancer LoadBalancersTypes.ConfigSpec.getId()
.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String cluster, java.lang.String id, AsyncCallback<LoadBalancersTypes.Info> asyncCallback, InvocationConfig invocationConfig)
LoadBalancers
LoadBalancersTypes.Info
about the load
balancer associated with the given cluster. This method was added in vSphere API
7.0.1.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if cluster
or id
cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unsupported
- if the specified cluster does not have vSphere Namespaces enabled.
get
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancer is associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.id
- Identifier of the load balancer LoadBalancersTypes.ConfigSpec.getId()
.
The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<LoadBalancersTypes.Summary> list(java.lang.String cluster)
LoadBalancers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancers are associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public java.util.List<LoadBalancersTypes.Summary> list(java.lang.String cluster, InvocationConfig invocationConfig)
LoadBalancers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancers are associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cluster, AsyncCallback<java.util.List<LoadBalancersTypes.Summary>> asyncCallback)
LoadBalancers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if cluster
cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unsupported
- if the specified cluster does not have vSphere Namespaces enabled.
list
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancers are associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cluster, AsyncCallback<java.util.List<LoadBalancersTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
LoadBalancers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if cluster
cannot be located.
Unauthenticated
- if the user cannot be authenticated.
Unauthorized
- if the user does not have System.Read privilege.
Unsupported
- if the specified cluster does not have vSphere Namespaces enabled.
list
in interface LoadBalancers
cluster
- Identifier of the cluster the load balancers are associated with.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.