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(String interfaceName)
Get information about a particular network interface.
|
void |
get(String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback)
Get information about a particular network interface.
|
void |
get(String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback,
InvocationConfig invocationConfig)
Get information about a particular network interface.
|
InterfacesTypes.InterfaceInfo |
get(String interfaceName,
InvocationConfig invocationConfig)
Get information about a particular network interface.
|
List<InterfacesTypes.InterfaceInfo> |
list()
Get list of available network interfaces, including those that are not yet
configured.
|
void |
list(AsyncCallback<List<InterfacesTypes.InterfaceInfo>> asyncCallback)
Get list of available network interfaces, including those that are not yet
configured.
|
void |
list(AsyncCallback<List<InterfacesTypes.InterfaceInfo>> asyncCallback,
InvocationConfig invocationConfig)
Get list of available network interfaces, including those that are not yet
configured.
|
List<InterfacesTypes.InterfaceInfo> |
list(InvocationConfig invocationConfig)
Get list of available network interfaces, including those that are not yet
configured.
|
List<InterfacesTypes.InterfaceInfo> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorList<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<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<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(String interfaceName)
Synchronous method overload. Result of the invocation will be reported as a method return value.
interfaceName
- Network interface, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.Error
- Generic errorInterfacesTypes.InterfaceInfo get(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.Error
- Generic errorvoid get(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:
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(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:
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.Copyright © 2016. All Rights Reserved.