public class IdentityStub extends com.vmware.vapi.internal.bindings.Stub implements Identity
Identity
API service.
WARNING: Internal class, subject to change in future versions.
IdentityTypes.Info
Constructor and Description |
---|
IdentityStub(ApiProvider apiProvider,
StubConfigurationBase config) |
IdentityStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
IdentityTypes.Info |
get(java.lang.String vm)
Return information about the guest.
|
void |
get(java.lang.String vm,
AsyncCallback<IdentityTypes.Info> asyncCallback)
Return information about the guest.
|
void |
get(java.lang.String vm,
AsyncCallback<IdentityTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Return information about the guest.
|
IdentityTypes.Info |
get(java.lang.String vm,
InvocationConfig invocationConfig)
Return information about the guest.
|
public IdentityStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public IdentityStub(ApiProvider apiProvider, StubConfigurationBase config)
public IdentityTypes.Info get(java.lang.String vm)
Identity
Synchronous method overload. Result of the invocation will be reported as a method return value.
public IdentityTypes.Info get(java.lang.String vm, InvocationConfig invocationConfig)
Identity
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String vm, AsyncCallback<IdentityTypes.Info> asyncCallback)
Identity
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
guest identification information.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
ServiceUnavailable
- if VMware Tools is not running.
ServiceUnavailable
- if VMware Tools has not provided any values.
public void get(java.lang.String vm, AsyncCallback<IdentityTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Identity
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
guest identification information.
Operation Errors:
Error
- if the system reports an error while responding to the request.
NotFound
- if the virtual machine is not found.
ServiceUnavailable
- if VMware Tools is not running.
ServiceUnavailable
- if VMware Tools has not provided any values.
get
in interface Identity
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.