Class LbNodeUsageStub

  • All Implemented Interfaces:
    LbNodeUsage, LbNodeUsageTypes, com.vmware.vapi.bindings.Service

    public class LbNodeUsageStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements LbNodeUsage
    Remote stub implementation of the LbNodeUsage 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
    • Constructor Summary

      Constructors 
      Constructor Description
      LbNodeUsageStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      LbNodeUsageStub​(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
      com.vmware.vapi.bindings.Structure get​(java.lang.String nodePath)
      API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node.
      void get​(java.lang.String nodePath, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
      API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node.
      void get​(java.lang.String nodePath, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node.
      com.vmware.vapi.bindings.Structure get​(java.lang.String nodePath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LbNodeUsageStub

        public LbNodeUsageStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                               com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                               com.vmware.vapi.bindings.StubConfigurationBase config)
      • LbNodeUsageStub

        public LbNodeUsageStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                               com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • get

        public com.vmware.vapi.bindings.Structure get​(java.lang.String nodePath)
        Description copied from interface: LbNodeUsage
        API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node. Currently only edge node is supported. The parameter ?node_path= is required. For example, ?node_path= /infra/sites/default/enforcement-points/default/edge-clusters/ 85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes/ 86e077c0-449f-11e9-87c8-02004eb37029.

        NSX-T Load Balancer is deprecated.
        Please take advantage of NSX Advanced Load Balancer.
        Refer to Policy > Networking > Network Services > Advanced Load Balancing section of the API guide.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface LbNodeUsage
        Parameters:
        nodePath - The node path for load balancer node usage (required)
        Returns:
        com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the properties defined in LBNodeUsage.
      • get

        public com.vmware.vapi.bindings.Structure get​(java.lang.String nodePath,
                                                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LbNodeUsage
        API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node. Currently only edge node is supported. The parameter ?node_path= is required. For example, ?node_path= /infra/sites/default/enforcement-points/default/edge-clusters/ 85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes/ 86e077c0-449f-11e9-87c8-02004eb37029.

        NSX-T Load Balancer is deprecated.
        Please take advantage of NSX Advanced Load Balancer.
        Refer to Policy > Networking > Network Services > Advanced Load Balancing section of the API guide.

        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 interface LbNodeUsage
        Parameters:
        nodePath - The node path for load balancer node usage (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the properties defined in LBNodeUsage.
      • get

        public void get​(java.lang.String nodePath,
                        com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
        Description copied from interface: LbNodeUsage
        API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node. Currently only edge node is supported. The parameter ?node_path= is required. For example, ?node_path= /infra/sites/default/enforcement-points/default/edge-clusters/ 85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes/ 86e077c0-449f-11e9-87c8-02004eb37029.

        NSX-T Load Balancer is deprecated.
        Please take advantage of NSX Advanced Load Balancer.
        Refer to Policy > Networking > Network Services > Advanced Load Balancing section of the API guide.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the properties defined in LBNodeUsage.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface LbNodeUsage
        Parameters:
        nodePath - The node path for load balancer node usage (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String nodePath,
                        com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: LbNodeUsage
        API is used to retrieve node usage for load balancer which contains basic information, LB entity usages and capacities for the given node. Currently only edge node is supported. The parameter ?node_path= is required. For example, ?node_path= /infra/sites/default/enforcement-points/default/edge-clusters/ 85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes/ 86e077c0-449f-11e9-87c8-02004eb37029.

        NSX-T Load Balancer is deprecated.
        Please take advantage of NSX Advanced Load Balancer.
        Refer to Policy > Networking > Network Services > Advanced Load Balancing section of the API guide.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.LBNodeUsage The return value will contain all the properties defined in LBNodeUsage.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface LbNodeUsage
        Parameters:
        nodePath - The node path for load balancer node usage (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.