public class LocalFilesystemStub extends com.vmware.vapi.internal.bindings.Stub implements LocalFilesystem
LocalFilesystem
API service.
WARNING: Internal class, subject to change in future versions.
LocalFilesystemTypes.Info, LocalFilesystemTypes.VirtualDiskMapping
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
LocalFilesystemStub(ApiProvider apiProvider,
StubConfigurationBase config) |
LocalFilesystemStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,LocalFilesystemTypes.Info> |
get(java.lang.String vm)
Returns details of the local file systems in the guest operating system.
|
void |
get(java.lang.String vm,
AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback)
Returns details of the local file systems in the guest operating system.
|
void |
get(java.lang.String vm,
AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns details of the local file systems in the guest operating system.
|
java.util.Map<java.lang.String,LocalFilesystemTypes.Info> |
get(java.lang.String vm,
InvocationConfig invocationConfig)
Returns details of the local file systems in the guest operating system.
|
public LocalFilesystemStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public LocalFilesystemStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.Map<java.lang.String,LocalFilesystemTypes.Info> get(java.lang.String vm)
LocalFilesystem
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface LocalFilesystem
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.public java.util.Map<java.lang.String,LocalFilesystemTypes.Info> get(java.lang.String vm, InvocationConfig invocationConfig)
LocalFilesystem
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 LocalFilesystem
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String vm, AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback)
LocalFilesystem
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the local file systems configured in the guest operating
system.
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 data.
get
in interface LocalFilesystem
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.public void get(java.lang.String vm, AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
LocalFilesystem
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 local file systems configured in the guest operating
system.
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 data.
get
in interface LocalFilesystem
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.