public interface ServiceProvider extends Service, ServiceTypes
ServiceProvider
service provides
operations to retrieve information about the services exposed by a vAPI
provider. A provider is a container that exposes one or more vAPI services.ServiceTypes.Info
Modifier and Type | Method and Description |
---|---|
void |
get(String id,
AsyncContext<ServiceTypes.Info> asyncContext)
Returns the
ServiceTypes.Info for the
specified service |
void |
list(AsyncContext<Set<String>> asyncContext)
Returns the set of service identifiers.
|
void list(AsyncContext<Set<String>> asyncContext)
Operation Result:
set of service identifiers
The return value will contain identifiers for the resource type: com.vmware.vapi.service
.
asyncContext
- Handle to report the progress, result or error of the operation invocation.void get(String id, AsyncContext<ServiceTypes.Info> asyncContext)
ServiceTypes.Info
for the
specified service
Operation Result:
ServiceTypes.Info
for the specified
service
Operation Errors:
NotFound
- If the service identifier does not exist
id
- service identifier
The parameter must be an identifier for the resource type: com.vmware.vapi.service
.asyncContext
- Handle to report the progress, result or error of the operation invocation.Copyright © 2015. All Rights Reserved.