public interface OperationProvider extends Service, OperationTypes
OperationProvider
service provides
operations to retrieve information about the operations present in a vAPI
service.OperationTypes.DataDefinition, OperationTypes.Info
Modifier and Type | Method and Description |
---|---|
void |
get(String serviceId,
String operationId,
AsyncContext<OperationTypes.Info> asyncContext)
Returns the
OperationTypes.Info for a
given vAPI operation. |
void |
list(String serviceId,
AsyncContext<Set<String>> asyncContext)
Returns the set of operation identifiers for a given vAPI service.
|
void list(String serviceId, AsyncContext<Set<String>> asyncContext)
Operation Result:
set of operation identifiers for a given vAPI service.
The return value will contain identifiers for the resource type: com.vmware.vapi.operation
.
Operation Errors:
NotFound
- If the service identifier does not exist.
serviceId
- 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.void get(String serviceId, String operationId, AsyncContext<OperationTypes.Info> asyncContext)
OperationTypes.Info
for a
given vAPI operation.
Operation Result:
OperationTypes.Info
for a given vAPI
operation.
Operation Errors:
NotFound
- If the operation identifier does not exist.
NotFound
- If the service identifier does not exist.
serviceId
- service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service
.operationId
- operation identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.operation
.asyncContext
- Handle to report the progress, result or error of the operation invocation.Copyright © 2015. All Rights Reserved.