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.InterfaceInfo, InterfacesTypes.InterfaceStatusapiProvider, 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 |
|---|---|
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.
|
public InterfacesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public InterfacesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<InterfacesTypes.InterfaceInfo> list()
InterfacesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Interfacespublic java.util.List<InterfacesTypes.InterfaceInfo> list(InvocationConfig invocationConfig)
InterfacesSynchronous 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 InterfacesinvocationConfig - Configuration for the method invocation.public void list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> asyncCallback)
InterfacesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of InterfaceInfo structures.
Operation Errors:
Error - Generic error
list in interface InterfacesasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<InterfacesTypes.InterfaceInfo>> asyncCallback, InvocationConfig invocationConfig)
InterfacesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
List of InterfaceInfo structures.
Operation Errors:
Error - Generic error
list in interface InterfacesasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public InterfacesTypes.InterfaceInfo get(java.lang.String interfaceName)
InterfacesSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface InterfacesinterfaceName - Network interface, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces.public InterfacesTypes.InterfaceInfo get(java.lang.String interfaceName, InvocationConfig invocationConfig)
InterfacesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface InterfacesinterfaceName - 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.public void get(java.lang.String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback)
InterfacesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Network interface information.
Operation Errors:
NotFound - if the specified interface is not found.
Error - Generic error
get in interface InterfacesinterfaceName - 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.public void get(java.lang.String interfaceName,
AsyncCallback<InterfacesTypes.InterfaceInfo> asyncCallback,
InvocationConfig invocationConfig)
InterfacesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Network interface information.
Operation Errors:
NotFound - if the specified interface is not found.
Error - Generic error
get in interface InterfacesinterfaceName - 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.