public interface Depots extends Service, DepotsTypes
Depots
interface provides methods to manage Software Depots used
during ESX lifecycle management.DepotsTypes._VAPI_OPERATIONS
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
sync_Task()
Syncs the metadata from the currently configured online or umds depots.
|
void |
sync_Task(AsyncCallback<java.lang.String> asyncCallback)
Syncs the metadata from the currently configured online or umds depots.
|
void |
sync_Task(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Syncs the metadata from the currently configured online or umds depots.
|
java.lang.String |
sync_Task(InvocationConfig invocationConfig)
Syncs the metadata from the currently configured online or umds depots.
|
java.lang.String sync_Task()
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
Unauthenticated
- if the caller is not authenticated.ServiceUnavailable
- if the service is not available.TimedOut
- if the service is timed out.Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.java.lang.String sync_Task(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.ServiceUnavailable
- if the service is not available.TimedOut
- if the service is timed out.Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.void sync_Task(AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- if the service is not available.
TimedOut
- if the service is timed out.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void sync_Task(AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- if the service is not available.
TimedOut
- if the service is timed out.
Error
- if there is some unknown internal error. The accompanying error message will
give more details about the failure.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.