public class RemoteStub extends com.vmware.vapi.internal.bindings.Stub implements Remote
Remote
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RemoteStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RemoteStub(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 |
---|---|
RemoteSiteCompatibilityInfo |
get(RemoteSiteCredential remoteSiteCredential)
Returns the version of this site and list of compatible versions for both local
and remote site, also a boolean indicating whether the two are compatible, this
value is true if one of the site version is in the compatibility list of the
other site
|
void |
get(RemoteSiteCredential remoteSiteCredential,
com.vmware.vapi.bindings.client.AsyncCallback<RemoteSiteCompatibilityInfo> asyncCallback)
Returns the version of this site and list of compatible versions for both local
and remote site, also a boolean indicating whether the two are compatible, this
value is true if one of the site version is in the compatibility list of the
other site
|
void |
get(RemoteSiteCredential remoteSiteCredential,
com.vmware.vapi.bindings.client.AsyncCallback<RemoteSiteCompatibilityInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the version of this site and list of compatible versions for both local
and remote site, also a boolean indicating whether the two are compatible, this
value is true if one of the site version is in the compatibility list of the
other site
|
RemoteSiteCompatibilityInfo |
get(RemoteSiteCredential remoteSiteCredential,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the version of this site and list of compatible versions for both local
and remote site, also a boolean indicating whether the two are compatible, this
value is true if one of the site version is in the compatibility list of the
other site
|
public RemoteStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RemoteStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public RemoteSiteCompatibilityInfo get(RemoteSiteCredential remoteSiteCredential)
Remote
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RemoteSiteCompatibilityInfo get(RemoteSiteCredential remoteSiteCredential, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remote
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(RemoteSiteCredential remoteSiteCredential, com.vmware.vapi.bindings.client.AsyncCallback<RemoteSiteCompatibilityInfo> asyncCallback)
Remote
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.RemoteSiteCompatibilityInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(RemoteSiteCredential remoteSiteCredential, com.vmware.vapi.bindings.client.AsyncCallback<RemoteSiteCompatibilityInfo> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Remote
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.RemoteSiteCompatibilityInfo
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found