public class PackagesStub extends com.vmware.vapi.internal.bindings.Stub implements Packages
Packages
API service.
WARNING: Internal class, subject to change in future versions.
PackagesTypes.FilterSpec, PackagesTypes.HardwareSupportPackageInfo
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
PackagesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
PackagesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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)
|
public PackagesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public PackagesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<PackagesTypes.HardwareSupportPackageInfo> list(java.lang.String manager, PackagesTypes.FilterSpec filter)
Packages
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Packages
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.public java.util.List<PackagesTypes.HardwareSupportPackageInfo> list(java.lang.String manager, PackagesTypes.FilterSpec filter, InvocationConfig invocationConfig)
Packages
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Packages
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.public void list(java.lang.String manager, PackagesTypes.FilterSpec filter, AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> asyncCallback)
Packages
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
. list
in interface Packages
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.public void list(java.lang.String manager, PackagesTypes.FilterSpec filter, AsyncCallback<java.util.List<PackagesTypes.HardwareSupportPackageInfo>> asyncCallback, InvocationConfig invocationConfig)
Packages
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
. list
in interface Packages
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.