public interface Leases extends com.vmware.vapi.bindings.Service, LeasesTypes
_VAPI_SERVICE_ID, LIST_SOURCE_CACHED, LIST_SOURCE_REALTIME
Modifier and Type | Method and Description |
---|---|
void |
delete(java.lang.String serverId,
java.lang.String ip,
java.lang.String mac)
Delete a single DHCP lease entry specified by ip and mac.
|
void |
delete(java.lang.String serverId,
java.lang.String ip,
java.lang.String mac,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a single DHCP lease entry specified by ip and mac.
|
void |
delete(java.lang.String serverId,
java.lang.String ip,
java.lang.String mac,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a single DHCP lease entry specified by ip and mac.
|
void |
delete(java.lang.String serverId,
java.lang.String ip,
java.lang.String mac,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a single DHCP lease entry specified by ip and mac.
|
DhcpLeases |
list(java.lang.String serverId,
java.lang.String address,
java.lang.String poolId,
java.lang.String source)
Deprecated.
|
void |
list(java.lang.String serverId,
java.lang.String address,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpLeases> asyncCallback)
Deprecated.
|
void |
list(java.lang.String serverId,
java.lang.String address,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpLeases> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
DhcpLeases |
list(java.lang.String serverId,
java.lang.String address,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void delete(java.lang.String serverId, java.lang.String ip, java.lang.String mac)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serverId
- (required)ip
- IPv4 or IPv6 address (required)mac
- MAC Address (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 Foundvoid delete(java.lang.String serverId, java.lang.String ip, java.lang.String mac, 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.
serverId
- (required)ip
- IPv4 or IPv6 address (required)mac
- MAC Address (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 delete(java.lang.String serverId, java.lang.String ip, java.lang.String mac, 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
serverId
- (required)ip
- IPv4 or IPv6 address (required)mac
- MAC Address (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String serverId, java.lang.String ip, java.lang.String mac, 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
serverId
- (required)ip
- IPv4 or IPv6 address (required)mac
- MAC Address (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated DhcpLeases list(java.lang.String serverId, java.lang.String address, java.lang.String poolId, java.lang.String source)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serverId
- (required)address
- can be an ip address, or an ip range, or a mac address (optional)poolId
- The uuid of dhcp ip pool (optional)source
- Data source type. (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 Found@Deprecated DhcpLeases list(java.lang.String serverId, java.lang.String address, java.lang.String poolId, java.lang.String source, 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.
serverId
- (required)address
- can be an ip address, or an ip range, or a mac address (optional)poolId
- The uuid of dhcp ip pool (optional)source
- Data source type. (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 Found@Deprecated void list(java.lang.String serverId, java.lang.String address, java.lang.String poolId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<DhcpLeases> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpLeases
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serverId
- (required)address
- can be an ip address, or an ip range, or a mac address (optional)poolId
- The uuid of dhcp ip pool (optional)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void list(java.lang.String serverId, java.lang.String address, java.lang.String poolId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<DhcpLeases> 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.DhcpLeases
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
serverId
- (required)address
- can be an ip address, or an ip range, or a mac address (optional)poolId
- The uuid of dhcp ip pool (optional)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.