public interface Networking extends Service, NetworkingTypes
Networking
interface provides methods Get Network configurations.
This interface was added in vSphere API 6.7.NetworkingTypes.DNSInfo, NetworkingTypes.Info, NetworkingTypes.UpdateSpec
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.
|
NetworkingTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic error.NetworkingTypes.Info get(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 error.void get(AsyncCallback<NetworkingTypes.Info> asyncCallback)
Asynchronous 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.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(AsyncCallback<NetworkingTypes.Info> 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:
The Map of network configuration info for all interfaces.
Operation Errors:
Error
- Generic error.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void update(NetworkingTypes.UpdateSpec spec)
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- update spec with optional boolean valueError
- Generic error.void update(NetworkingTypes.UpdateSpec spec, 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.
spec
- update spec with optional boolean valueinvocationConfig
- Configuration for the method invocation.Error
- Generic error.void update(NetworkingTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
spec
- update spec with optional boolean valueasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(NetworkingTypes.UpdateSpec spec, AsyncCallback<java.lang.Void> 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 Errors:
Error
- Generic error.
spec
- update spec with optional boolean valueasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void reset()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic error.void reset(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 error.void reset(AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- Generic error.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void reset(AsyncCallback<java.lang.Void> 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 Errors:
Error
- Generic error.
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.