Class NumberOfRoutesStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.tier_0s.NumberOfRoutesStub
-
- All Implemented Interfaces:
NumberOfRoutes
,NumberOfRoutesTypes
,com.vmware.vapi.bindings.Service
public class NumberOfRoutesStub extends com.vmware.vapi.internal.bindings.Stub implements NumberOfRoutes
Remote stub implementation of theNumberOfRoutes
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.tier_0s.NumberOfRoutesTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description NumberOfRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
NumberOfRoutesStub(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 Tier0NumberOfRoutesResult
get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf)
Get total number of IPv4 or IPv6 routes on a Tier0void
get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.AsyncCallback<Tier0NumberOfRoutesResult> asyncCallback)
Get total number of IPv4 or IPv6 routes on a Tier0void
get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.AsyncCallback<Tier0NumberOfRoutesResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get total number of IPv4 or IPv6 routes on a Tier0Tier0NumberOfRoutesResult
get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get total number of IPv4 or IPv6 routes on a Tier0
-
-
-
Constructor Detail
-
NumberOfRoutesStub
public NumberOfRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
NumberOfRoutesStub
public NumberOfRoutesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public Tier0NumberOfRoutesResult get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf)
Description copied from interface:NumberOfRoutes
Get total number of IPv4 or IPv6 routes on a Tier0Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceNumberOfRoutes
- Parameters:
tier0Id
- (required)edgePath
- Policy path of edge node (required)enforcementPointPath
- String Path of the enforcement point (optional)includeChildVrf
- Count all the child VRF routes or not. (optional)- Returns:
- com.vmware.nsx_policy.model.Tier0NumberOfRoutesResult
-
get
public Tier0NumberOfRoutesResult get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:NumberOfRoutes
Get total number of IPv4 or IPv6 routes on a Tier0Synchronous 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 interfaceNumberOfRoutes
- Parameters:
tier0Id
- (required)edgePath
- Policy path of edge node (required)enforcementPointPath
- String Path of the enforcement point (optional)includeChildVrf
- Count all the child VRF routes or not. (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.Tier0NumberOfRoutesResult
-
get
public void get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.AsyncCallback<Tier0NumberOfRoutesResult> asyncCallback)
Description copied from interface:NumberOfRoutes
Get total number of IPv4 or IPv6 routes on a Tier0Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.Tier0NumberOfRoutesResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceNumberOfRoutes
- Parameters:
tier0Id
- (required)edgePath
- Policy path of edge node (required)enforcementPointPath
- String Path of the enforcement point (optional)includeChildVrf
- Count all the child VRF routes or not. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String tier0Id, java.lang.String edgePath, java.lang.String enforcementPointPath, java.lang.Boolean includeChildVrf, com.vmware.vapi.bindings.client.AsyncCallback<Tier0NumberOfRoutesResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:NumberOfRoutes
Get total number of IPv4 or IPv6 routes on a Tier0Asynchronous 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.Tier0NumberOfRoutesResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceNumberOfRoutes
- Parameters:
tier0Id
- (required)edgePath
- Policy path of edge node (required)enforcementPointPath
- String Path of the enforcement point (optional)includeChildVrf
- Count all the child VRF routes or not. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-