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