public interface Config extends com.vmware.vapi.bindings.Service, ConfigTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
Proxy |
get()
Returns the proxy configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Returns the proxy configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the proxy configuration.
|
Proxy |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the proxy configuration.
|
Proxy |
update(Proxy proxy)
Updates or creates the proxy configuration, and returns the new configuration.
|
void |
update(Proxy proxy,
com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Updates or creates the proxy configuration, and returns the new configuration.
|
void |
update(Proxy proxy,
com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the proxy configuration, and returns the new configuration.
|
Proxy |
update(Proxy proxy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the proxy configuration, and returns the new configuration.
|
Proxy get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundProxy get(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.
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 get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> 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.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Proxy update(Proxy proxy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
proxy
- (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 FoundProxy update(Proxy proxy, 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.
proxy
- (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 update(Proxy proxy, com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
proxy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(Proxy proxy, com.vmware.vapi.bindings.client.AsyncCallback<Proxy> 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.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
proxy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.