List Load Balancers
Returns information about all load balancers associated with the given cluster.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the cluster the load balancers are associated with. The parameter must be an identifier for the resource type: ClusterComputeResource.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
NamespaceManagementLoadBalancersSummary
of type application/json
List of summary of all load balancers associated with a clusters.
[
{
"id": "string",
"provider": "HA_PROXY"
}
]
An DNS compliant identifier for a load balancer, which can be used to query or configure the load balancer properties. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespace_management.LoadBalancerConfig.
The LoadBalancers.Provider enumerates the kinds of load balancers supported by vSphere Namespaces.
HA_PROXY : HAProxy load balancer
AVI : NSX Advanced Load Balancer
Possible values are: HA_PROXY , AVI
Errors
com.vmware.vapi.std.errors.unsupported : if the specified cluster does not have vSphere Namespaces enabled.
com.vmware.vapi.std.errors.unauthorized : if the user does not have System.Read privilege.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: list