public class InterfacesStub extends com.vmware.vapi.internal.bindings.Stub implements Interfaces
Interfaces
API service.
WARNING: Internal class, subject to change in future versions.
InterfacesTypes.Info, InterfacesTypes.IpAddressInfo, InterfacesTypes.IpAddressOrigin, InterfacesTypes.IpAddressStatus, InterfacesTypes.IpConfigInfo
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
InterfacesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
InterfacesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<InterfacesTypes.Info> |
list(java.lang.String vm)
Returns information about the networking interfaces in the guest operating
system.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<InterfacesTypes.Info>> asyncCallback)
Returns information about the networking interfaces in the guest operating
system.
|
void |
list(java.lang.String vm,
AsyncCallback<java.util.List<InterfacesTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the networking interfaces in the guest operating
system.
|
java.util.List<InterfacesTypes.Info> |
list(java.lang.String vm,
InvocationConfig invocationConfig)
Returns information about the networking interfaces in the guest operating
system.
|
public InterfacesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public InterfacesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<InterfacesTypes.Info> list(java.lang.String vm)
Interfaces
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Interfaces
vm
- Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine
.public java.util.List<InterfacesTypes.Info> list(java.lang.String vm, InvocationConfig invocationConfig)
Interfaces
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Interfaces
vm
- Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine
.invocationConfig
- Configuration for the method invocation.public void list(java.lang.String vm, AsyncCallback<java.util.List<InterfacesTypes.Info>> asyncCallback)
Interfaces
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the interfaces configured in the guest operating system.
Interfaces are ordered in a guest operating system specific determined order.
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.
list
in interface Interfaces
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.public void list(java.lang.String vm, AsyncCallback<java.util.List<InterfacesTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
Interfaces
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 interfaces configured in the guest operating system.
Interfaces are ordered in a guest operating system specific determined order.
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.
list
in interface Interfaces
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.