public class IpPoolsStub extends com.vmware.vapi.internal.bindings.Stub implements IpPools
IpPools
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, ALLOCATEORRELEASE_ACTION_ALLOCATE, ALLOCATEORRELEASE_ACTION_RELEASE
Constructor and Description |
---|
IpPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
IpPoolsStub(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 |
---|---|
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.
|
public IpPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public IpPoolsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public AllocationIpAddress allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
allocateorrelease
in interface IpPools
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)public AllocationIpAddress allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
allocateorrelease
in interface IpPools
poolId
- IP pool ID (required)allocationIpAddress
- (required)action
- Specifies allocate or release action (required)invocationConfig
- Configuration for the method invocation.public void allocateorrelease(java.lang.String poolId, AllocationIpAddress allocationIpAddress, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<AllocationIpAddress> asyncCallback)
IpPools
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
allocateorrelease
in interface IpPools
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.public 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)
IpPools
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
allocateorrelease
in interface IpPools
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.public IpPool create(IpPool ipPool)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IpPool create(IpPool ipPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
IpPools
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
public void create(IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
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
public void delete(java.lang.String poolId, java.lang.Boolean force)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String poolId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String poolId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
IpPools
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
public 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)
IpPools
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
delete
in interface IpPools
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.public IpPool get(java.lang.String poolId)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IpPool get(java.lang.String poolId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String poolId, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
IpPools
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
public void get(java.lang.String poolId, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
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
public IpPoolListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface IpPools
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)public 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)
IpPools
Synchronous 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 IpPools
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.public 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)
IpPools
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
list
in interface IpPools
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.public 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)
IpPools
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
list
in interface IpPools
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.public IpPool update(java.lang.String poolId, IpPool ipPool)
IpPools
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IpPool update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback)
IpPools
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
public void update(java.lang.String poolId, IpPool ipPool, com.vmware.vapi.bindings.client.AsyncCallback<IpPool> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
IpPools
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