Interface LbServiceUsageSummary
-
- All Superinterfaces:
LbServiceUsageSummaryTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
LbServiceUsageSummaryStub
public interface LbServiceUsageSummary extends com.vmware.vapi.bindings.Service, LbServiceUsageSummaryTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.LbServiceUsageSummaryTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LBServiceUsageSummary
get(java.lang.Boolean includeUsages)
API is used to retrieve the load balancer usage summary for all load balancer services.void
get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback)
API is used to retrieve the load balancer usage summary for all load balancer services.void
get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the load balancer usage summary for all load balancer services.LBServiceUsageSummary
get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the load balancer usage summary for all load balancer services.
-
-
-
Method Detail
-
get
LBServiceUsageSummary get(java.lang.Boolean includeUsages)
API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response. This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
includeUsages
- Whether to include usages (optional)- Returns:
- com.vmware.nsx_policy.model.LBServiceUsageSummary
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
LBServiceUsageSummary get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response. This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
includeUsages
- Whether to include usages (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.LBServiceUsageSummary
- Throws:
com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found
-
get
void get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback)
API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response. This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.LBServiceUsageSummaryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
includeUsages
- Whether to include usages (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the load balancer usage summary for all load balancer services. If the parameter ?include_usages=true exists, the property service-usages is included in the response. By default, service-usages is not included in the response. This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.LBServiceUsageSummaryOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
includeUsages
- Whether to include usages (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-