public class RelaysStub extends com.vmware.vapi.internal.bindings.Stub implements Relays
Relays
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RelaysStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RelaysStub(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 |
---|---|
DhcpRelayService |
create(DhcpRelayService dhcpRelayService)
Creates a dhcp relay service.
|
void |
create(DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Creates a dhcp relay service.
|
void |
create(DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a dhcp relay service.
|
DhcpRelayService |
create(DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a dhcp relay service.
|
void |
delete(java.lang.String relayId)
Deletes the specified dhcp relay service.
|
void |
delete(java.lang.String relayId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified dhcp relay service.
|
void |
delete(java.lang.String relayId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified dhcp relay service.
|
void |
delete(java.lang.String relayId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified dhcp relay service.
|
DhcpRelayService |
get(java.lang.String relayId)
Returns the dhcp relay service information.
|
void |
get(java.lang.String relayId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Returns the dhcp relay service information.
|
void |
get(java.lang.String relayId,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the dhcp relay service information.
|
DhcpRelayService |
get(java.lang.String relayId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the dhcp relay service information.
|
DhcpRelayServiceListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Returns information about all configured dhcp relay services.
|
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<DhcpRelayServiceListResult> asyncCallback)
Returns information about all configured dhcp relay services.
|
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<DhcpRelayServiceListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about all configured dhcp relay services.
|
DhcpRelayServiceListResult |
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 all configured dhcp relay services.
|
DhcpRelayService |
update(java.lang.String relayId,
DhcpRelayService dhcpRelayService)
Modifies the specified dhcp relay service.
|
void |
update(java.lang.String relayId,
DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Modifies the specified dhcp relay service.
|
void |
update(java.lang.String relayId,
DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified dhcp relay service.
|
DhcpRelayService |
update(java.lang.String relayId,
DhcpRelayService dhcpRelayService,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies the specified dhcp relay service.
|
public RelaysStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RelaysStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public DhcpRelayService create(DhcpRelayService dhcpRelayService)
Relays
Synchronous method overload. Result of the invocation will be reported as a method return value.
public DhcpRelayService create(DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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(DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Relays
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpRelayService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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.DhcpRelayService
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 relayId)
Relays
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String relayId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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 relayId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Relays
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 relayId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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 DhcpRelayService get(java.lang.String relayId)
Relays
Synchronous method overload. Result of the invocation will be reported as a method return value.
public DhcpRelayService get(java.lang.String relayId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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 relayId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Relays
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpRelayService
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 relayId, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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.DhcpRelayService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public DhcpRelayServiceListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Relays
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Relays
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 DhcpRelayServiceListResult 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)
Relays
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 Relays
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<DhcpRelayServiceListResult> asyncCallback)
Relays
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpRelayServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Relays
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<DhcpRelayServiceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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.DhcpRelayServiceListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Relays
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 DhcpRelayService update(java.lang.String relayId, DhcpRelayService dhcpRelayService)
Relays
Synchronous method overload. Result of the invocation will be reported as a method return value.
public DhcpRelayService update(java.lang.String relayId, DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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 relayId, DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback)
Relays
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.DhcpRelayService
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 relayId, DhcpRelayService dhcpRelayService, com.vmware.vapi.bindings.client.AsyncCallback<DhcpRelayService> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Relays
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.DhcpRelayService
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found