public class StaticBindingsStub extends com.vmware.vapi.internal.bindings.Stub implements StaticBindings
StaticBindings
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
StaticBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StaticBindingsStub(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 |
---|---|
DhcpStaticBinding |
create(java.lang.String serverId,
DhcpStaticBinding dhcpStaticBinding)
Create a static binding for a logical DHCP server.
|
void |
create(java.lang.String serverId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
Create a static binding for a logical DHCP server.
|
void |
create(java.lang.String serverId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a static binding for a logical DHCP server.
|
DhcpStaticBinding |
create(java.lang.String serverId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a static binding for a logical DHCP server.
|
void |
delete(java.lang.String serverId,
java.lang.String bindingId)
Delete a specific static binding of a given logical DHCP server.
|
void |
delete(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a specific static binding of a given logical DHCP server.
|
void |
delete(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific static binding of a given logical DHCP server.
|
void |
delete(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a specific static binding of a given logical DHCP server.
|
DhcpStaticBinding |
get(java.lang.String serverId,
java.lang.String bindingId)
Return a specific static binding of a given logical DHCP server.
|
void |
get(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
Return a specific static binding of a given logical DHCP server.
|
void |
get(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return a specific static binding of a given logical DHCP server.
|
DhcpStaticBinding |
get(java.lang.String serverId,
java.lang.String bindingId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return a specific static binding of a given logical DHCP server.
|
DhcpStaticBindingListResult |
list(java.lang.String serverId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Return a paginated list of a static bindings of a given logical DHCP server.
|
void |
list(java.lang.String serverId,
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<DhcpStaticBindingListResult> asyncCallback)
Return a paginated list of a static bindings of a given logical DHCP server.
|
void |
list(java.lang.String serverId,
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<DhcpStaticBindingListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return a paginated list of a static bindings of a given logical DHCP server.
|
DhcpStaticBindingListResult |
list(java.lang.String serverId,
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)
Return a paginated list of a static bindings of a given logical DHCP server.
|
DhcpStaticBinding |
update(java.lang.String serverId,
java.lang.String bindingId,
DhcpStaticBinding dhcpStaticBinding)
Update a specific static binding of a given local DHCP server.
|
void |
update(java.lang.String serverId,
java.lang.String bindingId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
Update a specific static binding of a given local DHCP server.
|
void |
update(java.lang.String serverId,
java.lang.String bindingId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific static binding of a given local DHCP server.
|
DhcpStaticBinding |
update(java.lang.String serverId,
java.lang.String bindingId,
DhcpStaticBinding dhcpStaticBinding,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a specific static binding of a given local DHCP server.
|
public StaticBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StaticBindingsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public DhcpStaticBinding create(java.lang.String serverId, DhcpStaticBinding dhcpStaticBinding)
StaticBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface StaticBindings
serverId
- (required)dhcpStaticBinding
- (required)public DhcpStaticBinding create(java.lang.String serverId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface StaticBindings
serverId
- (required)dhcpStaticBinding
- (required)invocationConfig
- Configuration for the method invocation.public void create(java.lang.String serverId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
StaticBindings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface StaticBindings
serverId
- (required)dhcpStaticBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String serverId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
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.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface StaticBindings
serverId
- (required)dhcpStaticBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serverId, java.lang.String bindingId)
StaticBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface StaticBindings
serverId
- (required)bindingId
- (required)public void delete(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface StaticBindings
serverId
- (required)bindingId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
StaticBindings
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
delete
in interface StaticBindings
serverId
- (required)bindingId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
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 StaticBindings
serverId
- (required)bindingId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DhcpStaticBinding get(java.lang.String serverId, java.lang.String bindingId)
StaticBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface StaticBindings
serverId
- (required)bindingId
- (required)public DhcpStaticBinding get(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface StaticBindings
serverId
- (required)bindingId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
StaticBindings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StaticBindings
serverId
- (required)bindingId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serverId, java.lang.String bindingId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
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.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface StaticBindings
serverId
- (required)bindingId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public DhcpStaticBindingListResult list(java.lang.String serverId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
StaticBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface StaticBindings
serverId
- (required)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 DhcpStaticBindingListResult list(java.lang.String serverId, 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)
StaticBindings
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 StaticBindings
serverId
- (required)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 serverId, 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<DhcpStaticBindingListResult> asyncCallback)
StaticBindings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpStaticBindingListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface StaticBindings
serverId
- (required)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 serverId, 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<DhcpStaticBindingListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
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.DhcpStaticBindingListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface StaticBindings
serverId
- (required)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 DhcpStaticBinding update(java.lang.String serverId, java.lang.String bindingId, DhcpStaticBinding dhcpStaticBinding)
StaticBindings
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface StaticBindings
serverId
- (required)bindingId
- (required)dhcpStaticBinding
- (required)public DhcpStaticBinding update(java.lang.String serverId, java.lang.String bindingId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface StaticBindings
serverId
- (required)bindingId
- (required)dhcpStaticBinding
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String serverId, java.lang.String bindingId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback)
StaticBindings
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface StaticBindings
serverId
- (required)bindingId
- (required)dhcpStaticBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String serverId, java.lang.String bindingId, DhcpStaticBinding dhcpStaticBinding, com.vmware.vapi.bindings.client.AsyncCallback<DhcpStaticBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StaticBindings
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.DhcpStaticBinding
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface StaticBindings
serverId
- (required)bindingId
- (required)dhcpStaticBinding
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.