public interface IpPools extends com.vmware.vapi.bindings.Service, IpPoolsTypes
_VAPI_SERVICE_ID, ALLOCATEORRELEASE_ACTION_ALLOCATE, ALLOCATEORRELEASE_ACTION_RELEASE
Modifier and Type | Method and Description |
---|---|
AllocationIpAddress |
allocateorrelease(java.lang.String poolId,
AllocationIpAddress allocationIpAddress,
java.lang.String action)
Allocates or releases an IP address from the specified IP pool.
|
void |
allocateorrelease(java.lang.String poolId,
AllocationIpAddress allocationIpAddress,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddress> asyncCallback)
Allocates or releases an IP address from the specified IP pool.
|
void |
allocateorrelease(java.lang.String poolId,
AllocationIpAddress allocationIpAddress,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddress> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Allocates or releases an IP address from the specified IP pool.
|
AllocationIpAddress |
allocateorrelease(java.lang.String poolId,
AllocationIpAddress allocationIpAddress,
java.lang.String action,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Allocates or releases an IP address from the specified IP pool.
|
IpPool |
create(IpPool ipPool)
Creates a new IPv4 or IPv6 address pool.
|
void |
create(IpPool ipPool,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Creates a new IPv4 or IPv6 address pool.
|
void |
create(IpPool ipPool,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IPv4 or IPv6 address pool.
|
IpPool |
create(IpPool ipPool,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new IPv4 or IPv6 address pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force)
Deletes the specified IP address pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified IP address pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified IP address pool.
|
void |
delete(java.lang.String poolId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified IP address pool.
|
IpPool |
get(java.lang.String poolId)
Returns information about the specified IP address pool.
|
void |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Returns information about the specified IP address pool.
|
void |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified IP address pool.
|
IpPool |
get(java.lang.String poolId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the specified IP address pool.
|
IpPoolListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about the configured IP address pools.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<IpPoolListResult> asyncCallback)
Returns information about the configured IP address pools.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<IpPoolListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the configured IP address pools.
|
IpPoolListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the configured IP address pools.
|
IpPool |
update(java.lang.String poolId,
IpPool ipPool)
Modifies the specified IP address pool.
|
void |
update(java.lang.String poolId,
IpPool ipPool,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Modifies the specified IP address pool.
|
void |
update(java.lang.String poolId,
IpPool ipPool,
com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified IP address pool.
|
IpPool |
update(java.lang.String poolId,
IpPool ipPool,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified IP address pool.
|
AllocationIpAddress allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action)
Synchronous method overload. Result of the invocation will be reported as a method return value.
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 FoundAllocationIpAddress allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 Foundvoid allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddress> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AllocationIpAddress
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddress> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.AllocationIpAddress
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.IpPool create(IpPool ipPool)
Synchronous method overload. Result of the invocation will be reported as a method return value.
ipPool
- (required)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 FoundIpPool create(IpPool ipPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
ipPool
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid create(IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipPool
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
ipPool
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void delete(java.lang.String poolId, java.lang.Boolean force)
Synchronous method overload. Result of the invocation will be reported as a method return value.
poolId
- IP pool ID (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)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 Foundvoid delete(java.lang.String poolId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
poolId
- IP pool ID (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)invocationConfig
- Configuration for the method invocation.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 Foundvoid delete(java.lang.String poolId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String poolId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.IpPool get(java.lang.String poolId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
poolId
- IP pool ID (required)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 FoundIpPool get(java.lang.String poolId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
poolId
- IP pool ID (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid get(java.lang.String poolId, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String poolId, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.IpPoolListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)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 FoundIpPoolListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.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 Foundvoid list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpPoolListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IpPoolListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<IpPoolListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.IpPoolListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.IpPool update(java.lang.String poolId, IpPool ipPool)
Synchronous method overload. Result of the invocation will be reported as a method return value.
poolId
- IP pool ID (required)ipPool
- (required)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 FoundIpPool update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
poolId
- IP pool ID (required)ipPool
- (required)invocationConfig
- Configuration for the method invocation.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 Foundvoid update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)ipPool
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.IpPool
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
poolId
- IP pool ID (required)ipPool
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.