public class ServersStub extends com.vmware.vapi.internal.bindings.Stub implements Servers
Servers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServersStub(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 |
---|---|
LogicalDhcpServer |
create(LogicalDhcpServer logicalDhcpServer)
Create a logical DHCP server with v4 and/or v6 servers.
|
void |
create(LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Create a logical DHCP server with v4 and/or v6 servers.
|
void |
create(LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a logical DHCP server with v4 and/or v6 servers.
|
LogicalDhcpServer |
create(LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a logical DHCP server with v4 and/or v6 servers.
|
void |
delete(java.lang.String serverId)
Delete a logical DHCP server specified by server id.
|
void |
delete(java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a logical DHCP server specified by server id.
|
void |
delete(java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a logical DHCP server specified by server id.
|
void |
delete(java.lang.String serverId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a logical DHCP server specified by server id.
|
LogicalDhcpServer |
get(java.lang.String serverId)
Retrieve a logical DHCP server specified by server id.
|
void |
get(java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Retrieve a logical DHCP server specified by server id.
|
void |
get(java.lang.String serverId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a logical DHCP server specified by server id.
|
LogicalDhcpServer |
get(java.lang.String serverId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a logical DHCP server specified by server id.
|
LogicalDhcpServerListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
List logical DHCP servers with pagination support.
|
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<LogicalDhcpServerListResult> asyncCallback)
List logical DHCP servers with pagination support.
|
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<LogicalDhcpServerListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List logical DHCP servers with pagination support.
|
LogicalDhcpServerListResult |
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)
List logical DHCP servers with pagination support.
|
LogicalDhcpServer |
update(java.lang.String serverId,
LogicalDhcpServer logicalDhcpServer)
Update a logical DHCP server with new configurations.
|
void |
update(java.lang.String serverId,
LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Update a logical DHCP server with new configurations.
|
void |
update(java.lang.String serverId,
LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a logical DHCP server with new configurations.
|
LogicalDhcpServer |
update(java.lang.String serverId,
LogicalDhcpServer logicalDhcpServer,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a logical DHCP server with new configurations.
|
public ServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public LogicalDhcpServer create(LogicalDhcpServer logicalDhcpServer)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public LogicalDhcpServer create(LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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(LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalDhcpServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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.LogicalDhcpServer
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 serverId)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String serverId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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 serverId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Servers
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 serverId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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
public LogicalDhcpServer get(java.lang.String serverId)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public LogicalDhcpServer get(java.lang.String serverId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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 serverId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalDhcpServer
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 serverId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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.LogicalDhcpServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public LogicalDhcpServerListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Servers
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 LogicalDhcpServerListResult 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)
Servers
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 Servers
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<LogicalDhcpServerListResult> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalDhcpServerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Servers
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<LogicalDhcpServerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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.LogicalDhcpServerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Servers
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 LogicalDhcpServer update(java.lang.String serverId, LogicalDhcpServer logicalDhcpServer)
Servers
Synchronous method overload. Result of the invocation will be reported as a method return value.
public LogicalDhcpServer update(java.lang.String serverId, LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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 serverId, LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback)
Servers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalDhcpServer
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 serverId, LogicalDhcpServer logicalDhcpServer, com.vmware.vapi.bindings.client.AsyncCallback<LogicalDhcpServer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Servers
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.LogicalDhcpServer
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found