public interface Versions extends Service, VersionsTypes
Versions
interface provides methods to get OEM add-on versions from
the sync'ed and imported depots.VersionsTypes.CategoryType, VersionsTypes.ComponentInfo, VersionsTypes.Info, VersionsTypes.RemovedComponentInfo
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
VersionsTypes.Info |
get(java.lang.String name,
java.lang.String version)
Returns information about a given OEM add-on version in the depot.
|
void |
get(java.lang.String name,
java.lang.String version,
AsyncCallback<VersionsTypes.Info> asyncCallback)
Returns information about a given OEM add-on version in the depot.
|
void |
get(java.lang.String name,
java.lang.String version,
AsyncCallback<VersionsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a given OEM add-on version in the depot.
|
VersionsTypes.Info |
get(java.lang.String name,
java.lang.String version,
InvocationConfig invocationConfig)
Returns information about a given OEM add-on version in the depot.
|
VersionsTypes.Info get(java.lang.String name, java.lang.String version)
Synchronous method overload. Result of the invocation will be reported as a method return value.
name
- Name of the OEM add-on
The parameter must be an identifier for the resource type: com.vmware.esx.settings.add_on
.version
- Version of the OEM add-onError
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- if OEM add-on with given version is not found.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. VersionsTypes.Info get(java.lang.String name, java.lang.String version, 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.
name
- Name of the OEM add-on
The parameter must be an identifier for the resource type: com.vmware.esx.settings.add_on
.version
- Version of the OEM add-oninvocationConfig
- Configuration for the method invocation.Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.NotFound
- if OEM add-on with given version is not found.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. void get(java.lang.String name, java.lang.String version, AsyncCallback<VersionsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the given OEM add-on
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- if OEM add-on with given version is not found.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. name
- Name of the OEM add-on
The parameter must be an identifier for the resource type: com.vmware.esx.settings.add_on
.version
- Version of the OEM add-onasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String name, java.lang.String version, AsyncCallback<VersionsTypes.Info> 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:
Information about the given OEM add-on
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- if OEM add-on with given version is not found.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. name
- Name of the OEM add-on
The parameter must be an identifier for the resource type: com.vmware.esx.settings.add_on
.version
- Version of the OEM add-onasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.