public interface Operation extends Service, OperationTypes
Operation service provides
operations to retrieve information about the operations present in a vAPI
service.OperationTypes.DataDefinition, OperationTypes.Info_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
OperationTypes.Info |
get(String serviceId,
String operationId)
Returns the
OperationTypes.Info for a
given vAPI operation. |
void |
get(String serviceId,
String operationId,
AsyncCallback<OperationTypes.Info> asyncCallback)
Returns the
OperationTypes.Info for a
given vAPI operation. |
void |
get(String serviceId,
String operationId,
AsyncCallback<OperationTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the
OperationTypes.Info for a
given vAPI operation. |
OperationTypes.Info |
get(String serviceId,
String operationId,
InvocationConfig invocationConfig)
Returns the
OperationTypes.Info for a
given vAPI operation. |
Set<String> |
list(String serviceId)
Returns the set of operation identifiers for a given vAPI service.
|
void |
list(String serviceId,
AsyncCallback<Set<String>> asyncCallback)
Returns the set of operation identifiers for a given vAPI service.
|
void |
list(String serviceId,
AsyncCallback<Set<String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the set of operation identifiers for a given vAPI service.
|
Set<String> |
list(String serviceId,
InvocationConfig invocationConfig)
Returns the set of operation identifiers for a given vAPI service.
|
Set<String> list(String serviceId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
serviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.com.vmware.vapi.operation.NotFound - If the service identifier does not exist.Set<String> list(String serviceId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
serviceId - service identifier.
The parameter must be an identifier for the resource type: com.vmware.vapi.service.invocationConfig - Configuration for the method invocation.com.vmware.vapi.operation.NotFound - If the service identifier does not exist.void list(String serviceId, AsyncCallback<Set<String>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation 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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(String serviceId, AsyncCallback<Set<String>> asyncCallback, InvocationConfig invocationConfig)
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:
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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.OperationTypes.Info get(String serviceId, String operationId)
OperationTypes.Info for a
given vAPI operation.
Synchronous method overload. Result of the invocation will be reported as a method return value.
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.OperationTypes.Info for a given vAPI
operation.NotFound - If the operation identifier does not exist.NotFound - If the service identifier does not exist.OperationTypes.Info get(String serviceId, String operationId, InvocationConfig invocationConfig)
OperationTypes.Info for a
given vAPI operation.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
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.invocationConfig - Configuration for the method invocation.OperationTypes.Info for a given vAPI
operation.NotFound - If the operation identifier does not exist.NotFound - If the service identifier does not exist.void get(String serviceId, String operationId, AsyncCallback<OperationTypes.Info> asyncCallback)
OperationTypes.Info for a
given vAPI operation.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation 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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(String serviceId, String operationId, AsyncCallback<OperationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
OperationTypes.Info for a
given vAPI operation.
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:
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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2023. All rights reserved.