public class AllocationsStub extends com.vmware.vapi.internal.bindings.Stub implements Allocations
Allocations
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
AllocationsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
AllocationsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
AllocationIpAddressListResult |
list(java.lang.String poolId)
Returns information about which addresses have been allocated from a specified
IP address pool.
|
void |
list(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddressListResult> asyncCallback)
Returns information about which addresses have been allocated from a specified
IP address pool.
|
void |
list(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddressListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about which addresses have been allocated from a specified
IP address pool.
|
AllocationIpAddressListResult |
list(java.lang.String poolId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about which addresses have been allocated from a specified
IP address pool.
|
public AllocationsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public AllocationsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public AllocationIpAddressListResult list(java.lang.String poolId)
AllocationsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface AllocationspoolId - IP pool ID (required)public AllocationIpAddressListResult list(java.lang.String poolId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AllocationsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface AllocationspoolId - IP pool ID (required)invocationConfig - Configuration for the method invocation.public void list(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddressListResult> asyncCallback)
AllocationsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.AllocationIpAddressListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface AllocationspoolId - IP pool ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddressListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AllocationsAsynchronous 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.model.AllocationIpAddressListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface AllocationspoolId - IP pool ID (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.