public class ServiceManagersStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceManagers
ServiceManagers
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceManagersStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceManagersStub(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 |
---|---|
ServiceManager |
create(ServiceManager serviceManager)
Register service-manager with NSX with basic details like name, username,
password.
|
void |
create(ServiceManager serviceManager,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
Register service-manager with NSX with basic details like name, username,
password.
|
void |
create(ServiceManager serviceManager,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register service-manager with NSX with basic details like name, username,
password.
|
ServiceManager |
create(ServiceManager serviceManager,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Register service-manager with NSX with basic details like name, username,
password.
|
void |
delete(java.lang.String serviceManagerId)
Delete service-manager which is registered with NSX with basic details like
name, username, password.
|
void |
delete(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete service-manager which is registered with NSX with basic details like
name, username, password.
|
void |
delete(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete service-manager which is registered with NSX with basic details like
name, username, password.
|
void |
delete(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete service-manager which is registered with NSX with basic details like
name, username, password.
|
ServiceManager |
get(java.lang.String serviceManagerId)
Retrieve service-manager details like name, username, password, vendor ID,
thumbprint for a given ID.
|
void |
get(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
Retrieve service-manager details like name, username, password, vendor ID,
thumbprint for a given ID.
|
void |
get(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve service-manager details like name, username, password, vendor ID,
thumbprint for a given ID.
|
ServiceManager |
get(java.lang.String serviceManagerId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve service-manager details like name, username, password, vendor ID,
thumbprint for a given ID.
|
ServiceManagerListResult |
list()
List all service managers.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceManagerListResult> asyncCallback)
List all service managers.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceManagerListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service managers.
|
ServiceManagerListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service managers.
|
ServiceManager |
update(java.lang.String serviceManagerId,
ServiceManager serviceManager)
Update service-manager which is registered with NSX with basic details like
name, username, password.
|
void |
update(java.lang.String serviceManagerId,
ServiceManager serviceManager,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
Update service-manager which is registered with NSX with basic details like
name, username, password.
|
void |
update(java.lang.String serviceManagerId,
ServiceManager serviceManager,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update service-manager which is registered with NSX with basic details like
name, username, password.
|
ServiceManager |
update(java.lang.String serviceManagerId,
ServiceManager serviceManager,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update service-manager which is registered with NSX with basic details like
name, username, password.
|
public ServiceManagersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceManagersStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceManager create(ServiceManager serviceManager)
ServiceManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceManagers
serviceManager
- (required)public ServiceManager create(ServiceManager serviceManager, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface ServiceManagers
serviceManager
- (required)invocationConfig
- Configuration for the method invocation.public void create(ServiceManager serviceManager, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
ServiceManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceManagers
serviceManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(ServiceManager serviceManager, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceManagers
serviceManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceManagerId)
ServiceManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceManagers
serviceManagerId
- (required)public void delete(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ServiceManagers
serviceManagerId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceManagers
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
delete
in interface ServiceManagers
serviceManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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
delete
in interface ServiceManagers
serviceManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceManager get(java.lang.String serviceManagerId)
ServiceManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceManagers
serviceManagerId
- (required)public ServiceManager get(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface ServiceManagers
serviceManagerId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
ServiceManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceManagers
serviceManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceManagerId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceManagers
serviceManagerId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceManagerListResult list()
ServiceManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceManagers
public ServiceManagerListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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 ServiceManagers
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceManagerListResult> asyncCallback)
ServiceManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceManagerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceManagers
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceManagerListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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.ServiceManagerListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceManagers
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceManager update(java.lang.String serviceManagerId, ServiceManager serviceManager)
ServiceManagers
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ServiceManagers
serviceManagerId
- (required)serviceManager
- (required)public ServiceManager update(java.lang.String serviceManagerId, ServiceManager serviceManager, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface ServiceManagers
serviceManagerId
- (required)serviceManager
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String serviceManagerId, ServiceManager serviceManager, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback)
ServiceManagers
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServiceManagers
serviceManagerId
- (required)serviceManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String serviceManagerId, ServiceManager serviceManager, com.vmware.vapi.bindings.client.AsyncCallback<ServiceManager> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceManagers
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.ServiceManager
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ServiceManagers
serviceManagerId
- (required)serviceManager
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.