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.CategoryType, VersionsTypes.Info, VersionsTypes.UrgencyType
apiProvider, converter, ifaceId, 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.Info |
get(java.lang.String name,
java.lang.String version)
Returns information about a given component version in the depot.
|
void |
get(java.lang.String name,
java.lang.String version,
AsyncCallback<VersionsTypes.Info> asyncCallback)
Returns information about a given component 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 component version in the depot.
|
VersionsTypes.Info |
get(java.lang.String name,
java.lang.String version,
InvocationConfig invocationConfig)
Returns information about a given component version in the depot.
|
public VersionsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public VersionsStub(ApiProvider apiProvider, StubConfigurationBase config)
public VersionsTypes.Info get(java.lang.String name, java.lang.String version)
Versions
Synchronous method overload. Result of the invocation will be reported as a method return value.
public VersionsTypes.Info get(java.lang.String name, java.lang.String version, 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
name
- Name of the component
The parameter must be an identifier for the resource type: com.vmware.esx.settings.component
.version
- Version of the componentinvocationConfig
- Configuration for the method invocation.public void get(java.lang.String name, java.lang.String version, AsyncCallback<VersionsTypes.Info> asyncCallback)
Versions
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the given component
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- if component with given version is not found.
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. get
in interface Versions
name
- Name of the component
The parameter must be an identifier for the resource type: com.vmware.esx.settings.component
.version
- Version of the componentasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String name, java.lang.String version, AsyncCallback<VersionsTypes.Info> 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:
Information about the given component
Operation Errors:
Error
- If there is unknown internal error. The accompanying error message will give
more details about the failure.
NotFound
- if component with given version is not found.
Unauthenticated
- if the caller is not authenticated.
ServiceUnavailable
- If the service is not available.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. get
in interface Versions
name
- Name of the component
The parameter must be an identifier for the resource type: com.vmware.esx.settings.component
.version
- Version of the componentasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.