public interface Packages extends Service, PackagesTypes
Packages
interface provides methods to manage a host's Hardware
Support Package (HSP) configuration.PackagesTypes.FilterSpec, PackagesTypes.HardwareSupportPackageInfo
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.util.List<PackagesTypes.HardwareSupportPackageInfo> |
list(java.lang.String manager,
PackagesTypes.FilterSpec filter)
Returns the list of available Hardware Support Packages (HSPs) for a particular
host, as specified by its Hardware Support Manager (HSM)
|
void |
list(java.lang.String manager,
PackagesTypes.FilterSpec filter,
AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> asyncCallback)
Returns the list of available Hardware Support Packages (HSPs) for a particular
host, as specified by its Hardware Support Manager (HSM)
|
void |
list(java.lang.String manager,
PackagesTypes.FilterSpec filter,
AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> asyncCallback,
InvocationConfig invocationConfig)
Returns the list of available Hardware Support Packages (HSPs) for a particular
host, as specified by its Hardware Support Manager (HSM)
|
java.util.List<PackagesTypes.HardwareSupportPackageInfo> |
list(java.lang.String manager,
PackagesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns the list of available Hardware Support Packages (HSPs) for a particular
host, as specified by its Hardware Support Manager (HSM)
|
java.util.List<PackagesTypes.HardwareSupportPackageInfo> list(java.lang.String manager, PackagesTypes.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
.filter
- Specification of Hardware Support Packages (HSPs) to be returned
If null
, the behavior is equivalent to a PackagesTypes.FilterSpec
with
all properties null
, which means all HSPs match the filter.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.NotFound
- If there is no Hardware Support Manager (HSM) with the specified nameServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated. named manager
in the system.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. java.util.List<PackagesTypes.HardwareSupportPackageInfo> list(java.lang.String manager, PackagesTypes.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
.filter
- Specification of Hardware Support Packages (HSPs) to be returned
If null
, the behavior is equivalent to a PackagesTypes.FilterSpec
with
all properties null
, which means all HSPs match the filter.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.NotFound
- If there is no Hardware Support Manager (HSM) with the specified nameServiceUnavailable
- If the service is not available.Unauthenticated
- if the caller is not authenticated. named manager
in the system.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. void list(java.lang.String manager, PackagesTypes.FilterSpec filter, AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of available Hardware Support Packages (HSPs) for given manager
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
NotFound
- If there is no Hardware Support Manager (HSM) with the specified name
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated. named manager
in the system.
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
.filter
- Specification of Hardware Support Packages (HSPs) to be returned
If null
, the behavior is equivalent to a PackagesTypes.FilterSpec
with
all properties null
, which means all HSPs match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String manager, PackagesTypes.FilterSpec filter, AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> 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:
List of available Hardware Support Packages (HSPs) for given manager
Operation Errors:
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
NotFound
- If there is no Hardware Support Manager (HSM) with the specified name
ServiceUnavailable
- If the service is not available.
Unauthenticated
- if the caller is not authenticated. named manager
in the system.
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
.filter
- Specification of Hardware Support Packages (HSPs) to be returned
If null
, the behavior is equivalent to a PackagesTypes.FilterSpec
with
all properties null
, which means all HSPs match the filter.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.