public interface Networking extends Service, NetworkingTypes
Networking
interface provides methods Get Network configurations.
This interface was added in vSphere API 6.7.NetworkingTypes._VAPI_OPERATIONS, NetworkingTypes.ChangeSpec, NetworkingTypes.DNSInfo, NetworkingTypes.Info, NetworkingTypes.UpdateSpec
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.lang.String |
change_Task(NetworkingTypes.ChangeSpec spec)
Changes the Hostname/IP of the management network of vCenter appliance.
|
void |
change_Task(NetworkingTypes.ChangeSpec spec,
AsyncCallback<java.lang.String> asyncCallback)
Changes the Hostname/IP of the management network of vCenter appliance.
|
void |
change_Task(NetworkingTypes.ChangeSpec spec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Changes the Hostname/IP of the management network of vCenter appliance.
|
java.lang.String |
change_Task(NetworkingTypes.ChangeSpec spec,
InvocationConfig invocationConfig)
Changes the Hostname/IP of the management network of vCenter appliance.
|
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
.
Invocation 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.
Invocation 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.java.lang.String change_Task(NetworkingTypes.ChangeSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
spec
- Information required to change the hostname.Unsupported
- if it's not embedded nodeInvalidArgument
- if passed arguments are invalid.Unauthenticated
- if the user is not authenticated.NotAllowedInCurrentState
- if another change task is in progressjava.lang.String change_Task(NetworkingTypes.ChangeSpec spec, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- Information required to change the hostname.invocationConfig
- Configuration for the method invocation.Unsupported
- if it's not embedded nodeInvalidArgument
- if passed arguments are invalid.Unauthenticated
- if the user is not authenticated.NotAllowedInCurrentState
- if another change task is in progressvoid change_Task(NetworkingTypes.ChangeSpec spec, AsyncCallback<java.lang.String> asyncCallback)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unsupported
- if it's not embedded node
InvalidArgument
- if passed arguments are invalid.
Unauthenticated
- if the user is not authenticated.
NotAllowedInCurrentState
- if another change task is in progress
spec
- Information required to change the hostname.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void change_Task(NetworkingTypes.ChangeSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Unsupported
- if it's not embedded node
InvalidArgument
- if passed arguments are invalid.
Unauthenticated
- if the user is not authenticated.
NotAllowedInCurrentState
- if another change task is in progress
spec
- Information required to change the hostname.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.