public interface Interfaces extends Service, InterfacesTypes
Interfaces
interface provides methods Provides information about network
interface.InterfacesTypes.InterfaceInfo, InterfacesTypes.InterfaceStatus
Modifier and Type | Method and Description |
---|---|
InterfacesTypes.InterfaceInfo |
get(java.lang.String interfaceName)
Get information about a particular network interface.
|
void |
get(java.lang.String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback)
Get information about a particular network interface.
|
void |
get(java.lang.String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback,
InvocationConfig invocationConfig)
Get information about a particular network interface.
|
InterfacesTypes.InterfaceInfo |
get(java.lang.String interfaceName,
InvocationConfig invocationConfig)
Get information about a particular network interface.
|
java.util.List<InterfacesTypes.InterfaceInfo> |
list()
Get list of available network interfaces, including those that are not yet
configured.
|
void |
list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> asyncCallback)
Get list of available network interfaces, including those that are not yet
configured.
|
void |
list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> asyncCallback,
InvocationConfig invocationConfig)
Get list of available network interfaces, including those that are not yet
configured.
|
java.util.List<InterfacesTypes.InterfaceInfo> |
list(InvocationConfig invocationConfig)
Get list of available network interfaces, including those that are not yet
configured.
|
java.util.List<InterfacesTypes.InterfaceInfo> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorjava.util.List<InterfacesTypes.InterfaceInfo> list(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.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
List of InterfaceInfo structures.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> 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:
List of InterfaceInfo structures.
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.InterfacesTypes.InterfaceInfo get(java.lang.String interfaceName)
Synchronous method overload. Result of the invocation will be reported as a method return value.
InterfacesTypes.InterfaceInfo get(java.lang.String interfaceName, 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.
interfaceName
- Network interface, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.invocationConfig
- Configuration for the method invocation.NotFound
- if the specified interface is not found.Error
- Generic errorvoid get(java.lang.String interfaceName, AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Network interface information.
Operation Errors:
NotFound
- if the specified interface is not found.
Error
- Generic error
interfaceName
- Network interface, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String interfaceName, AsyncCallback<InterfacesTypes.InterfaceInfo> 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:
Network interface information.
Operation Errors:
NotFound
- if the specified interface is not found.
Error
- Generic error
interfaceName
- Network interface, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.