public interface Routes extends Service, RoutesTypes
Routes interface provides methods for retrieving guest operating
system network routing information. This interface was added in vSphere API
7.0.0.0.RoutesTypes.Info_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
java.util.List<RoutesTypes.Info> |
list(java.lang.String vm)
Returns information about network routing in the guest operating system.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<RoutesTypes.Info>> asyncCallback)
Returns information about network routing in the guest operating system.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<RoutesTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about network routing in the guest operating system.
|
java.util.List<RoutesTypes.Info> |
list(java.lang.String vm,
InvocationConfig invocationConfig)
Returns information about network routing in the guest operating system.
|
java.util.List<RoutesTypes.Info> list(java.lang.String vm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm - Virtual machine ID
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.List<RoutesTypes.Info> list(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 - Virtual machine ID
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 list(java.lang.String vm,
AsyncCallback<java.util.List<RoutesTypes.Info>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the network routes 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 - Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String vm,
AsyncCallback<java.util.List<RoutesTypes.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.
Invocation Result:
Information about the network routes 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 - Virtual machine ID
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.