Class LbServiceUsageSummaryStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.LbServiceUsageSummaryStub
-
- All Implemented Interfaces:
LbServiceUsageSummary
,LbServiceUsageSummaryTypes
,com.vmware.vapi.bindings.Service
public class LbServiceUsageSummaryStub extends com.vmware.vapi.internal.bindings.Stub implements LbServiceUsageSummary
Remote stub implementation of theLbServiceUsageSummary
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.LbServiceUsageSummaryTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description LbServiceUsageSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
LbServiceUsageSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
LbServiceUsageSummaryStub
public LbServiceUsageSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
LbServiceUsageSummaryStub
public LbServiceUsageSummaryStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public LBServiceUsageSummary get(java.lang.Boolean includeUsages)
Description copied from interface:LbServiceUsageSummary
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.
- Specified by:
get
in interfaceLbServiceUsageSummary
- Parameters:
includeUsages
- Whether to include usages (optional)- Returns:
- com.vmware.nsx_policy.model.LBServiceUsageSummary
-
get
public LBServiceUsageSummary get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:LbServiceUsageSummary
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.- Specified by:
get
in interfaceLbServiceUsageSummary
- Parameters:
includeUsages
- Whether to include usages (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.LBServiceUsageSummary
-
get
public void get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback)
Description copied from interface:LbServiceUsageSummary
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
- Specified by:
get
in interfaceLbServiceUsageSummary
- Parameters:
includeUsages
- Whether to include usages (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.Boolean includeUsages, com.vmware.vapi.bindings.client.AsyncCallback<LBServiceUsageSummary> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:LbServiceUsageSummary
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
- Specified by:
get
in interfaceLbServiceUsageSummary
- 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.
-
-