public interface Versions extends Service, VersionsTypes
Versions
interface provides methods to inspect a Hardware Support
Package (HSP)'s detailed information.VersionsTypes.ComponentInfo, VersionsTypes.FilterSpec, VersionsTypes.PackageInfo, VersionsTypes.RemovedComponentInfo
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
VersionsTypes.PackageInfo |
get(java.lang.String manager,
java.lang.String pkg,
java.lang.String version,
VersionsTypes.FilterSpec filter)
Returns the detailed information for a specific version of an available Hardware
Support Packages (HSPs) as specified by the Hardware Support Manager (HSM)
|
void |
get(java.lang.String manager,
java.lang.String pkg,
java.lang.String version,
VersionsTypes.FilterSpec filter,
AsyncCallback<VersionsTypes.PackageInfo> asyncCallback)
Returns the detailed information for a specific version of an available Hardware
Support Packages (HSPs) as specified by the Hardware Support Manager (HSM)
|
void |
get(java.lang.String manager,
java.lang.String pkg,
java.lang.String version,
VersionsTypes.FilterSpec filter,
AsyncCallback<VersionsTypes.PackageInfo> asyncCallback,
InvocationConfig invocationConfig)
Returns the detailed information for a specific version of an available Hardware
Support Packages (HSPs) as specified by the Hardware Support Manager (HSM)
|
VersionsTypes.PackageInfo |
get(java.lang.String manager,
java.lang.String pkg,
java.lang.String version,
VersionsTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns the detailed information for a specific version of an available Hardware
Support Packages (HSPs) as specified by the Hardware Support Manager (HSM)
|
VersionsTypes.PackageInfo get(java.lang.String manager, java.lang.String pkg, java.lang.String version, VersionsTypes.FilterSpec filter)
Synchronous method overload. Result of the invocation will be reported as a method return value.
manager
- Identifier for the Hardware Support Manager (HSM).
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager
.pkg
- The name of the Hardware Support Package (HSP)
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.package
.version
- The version of the Hardware Support Package (HSP)filter
- Specification of detailed information to be returned
If null
, the behavior is equivalent to a VersionsTypes.FilterSpec
with all properties null
, which means all releases supported are
returned but no component information for any particular release is included.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.InvalidArgument
- If any of the specified parameters are Invalid (e.g. if the release version
specified in the query parameter is not, in fact, among those supported by the
Hardware Support Package (HSP).NotFound
- If there is no Hardware Support Manager (HSM) with the specified name, or no
Hardware Support Package (HSP) with the specified name and version.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated. named manager
in the system.Unauthorized
- if the user does not have the required privilege to perform the operation.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. VersionsTypes.PackageInfo get(java.lang.String manager, java.lang.String pkg, java.lang.String version, VersionsTypes.FilterSpec filter, 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.
manager
- Identifier for the Hardware Support Manager (HSM).
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager
.pkg
- The name of the Hardware Support Package (HSP)
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.package
.version
- The version of the Hardware Support Package (HSP)filter
- Specification of detailed information to be returned
If null
, the behavior is equivalent to a VersionsTypes.FilterSpec
with all properties null
, which means all releases supported are
returned but no component information for any particular release is included.invocationConfig
- Configuration for the method invocation.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.InvalidArgument
- If any of the specified parameters are Invalid (e.g. if the release version
specified in the query parameter is not, in fact, among those supported by the
Hardware Support Package (HSP).NotFound
- If there is no Hardware Support Manager (HSM) with the specified name, or no
Hardware Support Package (HSP) with the specified name and version.ServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated. named manager
in the system.Unauthorized
- if the user does not have the required privilege to perform the operation.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. void get(java.lang.String manager, java.lang.String pkg, java.lang.String version, VersionsTypes.FilterSpec filter, AsyncCallback<VersionsTypes.PackageInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
detailed information on Hardware Support Packages (HSPs)
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
InvalidArgument
- If any of the specified parameters are Invalid (e.g. if the release version
specified in the query parameter is not, in fact, among those supported by the
Hardware Support Package (HSP).
NotFound
- If there is no Hardware Support Manager (HSM) with the specified name, or no
Hardware Support Package (HSP) with the specified name and version.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated. named manager
in the system.
Unauthorized
- if the user does not have the required privilege to perform the operation.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. manager
- Identifier for the Hardware Support Manager (HSM).
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager
.pkg
- The name of the Hardware Support Package (HSP)
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.package
.version
- The version of the Hardware Support Package (HSP)filter
- Specification of detailed information to be returned
If null
, the behavior is equivalent to a VersionsTypes.FilterSpec
with all properties null
, which means all releases supported are
returned but no component information for any particular release is included.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String manager, java.lang.String pkg, java.lang.String version, VersionsTypes.FilterSpec filter, AsyncCallback<VersionsTypes.PackageInfo> 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:
detailed information on Hardware Support Packages (HSPs)
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
InvalidArgument
- If any of the specified parameters are Invalid (e.g. if the release version
specified in the query parameter is not, in fact, among those supported by the
Hardware Support Package (HSP).
NotFound
- If there is no Hardware Support Manager (HSM) with the specified name, or no
Hardware Support Package (HSP) with the specified name and version.
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated. named manager
in the system.
Unauthorized
- if the user does not have the required privilege to perform the operation.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. manager
- Identifier for the Hardware Support Manager (HSM).
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager
.pkg
- The name of the Hardware Support Package (HSP)
The parameter must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.package
.version
- The version of the Hardware Support Package (HSP)filter
- Specification of detailed information to be returned
If null
, the behavior is equivalent to a VersionsTypes.FilterSpec
with all properties null
, which means all releases supported are
returned but no component information for any particular release is included.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.