public class NetworkingStub extends com.vmware.vapi.internal.bindings.Stub implements Networking
Networking
API service.
WARNING: Internal class, subject to change in future versions.
NetworkingTypes.DNSInfo, NetworkingTypes.Info, NetworkingTypes.UpdateSpec| Constructor and Description |
|---|
NetworkingStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NetworkingStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
NetworkingTypes.Info |
get()
Get Networking information for all configured interfaces.
|
void |
get(AsyncCallback<NetworkingTypes.Info> asyncCallback)
Get Networking information for all configured interfaces.
|
void |
get(AsyncCallback<NetworkingTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get Networking information for all configured interfaces.
|
NetworkingTypes.Info |
get(InvocationConfig invocationConfig)
Get Networking information for all configured interfaces.
|
void |
reset()
Reset and restarts network configuration on all interfaces, also this will renew
the DHCP lease for DHCP IP address.
|
void |
reset(AsyncCallback<java.lang.Void> asyncCallback)
Reset and restarts network configuration on all interfaces, also this will renew
the DHCP lease for DHCP IP address.
|
void |
reset(AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Reset and restarts network configuration on all interfaces, also this will renew
the DHCP lease for DHCP IP address.
|
void |
reset(InvocationConfig invocationConfig)
Reset and restarts network configuration on all interfaces, also this will renew
the DHCP lease for DHCP IP address.
|
void |
update(NetworkingTypes.UpdateSpec spec)
Enable or Disable ipv6 on all interfaces.
|
void |
update(NetworkingTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Enable or Disable ipv6 on all interfaces.
|
void |
update(NetworkingTypes.UpdateSpec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Enable or Disable ipv6 on all interfaces.
|
void |
update(NetworkingTypes.UpdateSpec spec,
InvocationConfig invocationConfig)
Enable or Disable ipv6 on all interfaces.
|
public NetworkingStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NetworkingStub(ApiProvider apiProvider, StubConfigurationBase config)
public NetworkingTypes.Info get()
NetworkingSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Networkingpublic NetworkingTypes.Info get(InvocationConfig invocationConfig)
NetworkingSynchronous 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 NetworkinginvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<NetworkingTypes.Info> asyncCallback)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The Map of network configuration info for all interfaces.
Operation Errors:
Error - Generic error.
get in interface NetworkingasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<NetworkingTypes.Info> asyncCallback, InvocationConfig invocationConfig)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The Map of network configuration info for all interfaces.
Operation Errors:
Error - Generic error.
get in interface NetworkingasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void update(NetworkingTypes.UpdateSpec spec)
NetworkingSynchronous method overload. Result of the invocation will be reported as a method return value.
update in interface Networkingspec - update spec with optional boolean valuepublic void update(NetworkingTypes.UpdateSpec spec, InvocationConfig invocationConfig)
NetworkingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface Networkingspec - update spec with optional boolean valueinvocationConfig - Configuration for the method invocation.public void update(NetworkingTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error.
update in interface Networkingspec - update spec with optional boolean valueasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(NetworkingTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error.
update in interface Networkingspec - update spec with optional boolean valueasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void reset()
NetworkingSynchronous method overload. Result of the invocation will be reported as a method return value.
reset in interface Networkingpublic void reset(InvocationConfig invocationConfig)
NetworkingSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
reset in interface NetworkinginvocationConfig - Configuration for the method invocation.public void reset(AsyncCallback<java.lang.Void> asyncCallback)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - Generic error.
reset in interface NetworkingasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void reset(AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - Generic error.
reset in interface NetworkingasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.