public interface LocalFilesystem extends Service, LocalFilesystemTypes
LocalFilesystem
interface provides methods for retrieving
information about the guest operating system local file systems. This interface
was added in vSphere API 6.7.LocalFilesystemTypes.Info
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.
|
java.util.Map<java.lang.String,LocalFilesystemTypes.Info> get(java.lang.String vm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.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.java.util.Map<java.lang.String,LocalFilesystemTypes.Info> get(java.lang.String vm, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.invocationConfig
- Configuration for the method invocation.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.void get(java.lang.String vm, AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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.
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.void get(java.lang.String vm, AsyncCallback<java.util.Map<java.lang.String,LocalFilesystemTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
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:
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.
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.