public class VersionStub extends com.vmware.vapi.internal.bindings.Stub implements Version
Version
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
VersionStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VersionStub(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 |
---|---|
NodeVersion |
get()
Read node version
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodeVersion> asyncCallback)
Read node version
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<NodeVersion> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read node version
|
NodeVersion |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read node version
|
public VersionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public VersionStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NodeVersion get()
Version
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodeVersion get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Version
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(com.vmware.vapi.bindings.client.AsyncCallback<NodeVersion> asyncCallback)
Version
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeVersion
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<NodeVersion> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Version
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.NodeVersion
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found