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._VAPI_OPERATIONS, NetworkingTypes.ChangeSpec, NetworkingTypes.DNSInfo, NetworkingTypes.Info, NetworkingTypes.UpdateSpecapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| 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 |
|---|---|
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.
|
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.
Invocation 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.
Invocation 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.public java.lang.String change_Task(NetworkingTypes.ChangeSpec spec)
NetworkingSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
change_Task in interface Networkingspec - Information required to change the hostname.public java.lang.String change_Task(NetworkingTypes.ChangeSpec spec, InvocationConfig invocationConfig)
NetworkingSynchronous 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.
change_Task in interface Networkingspec - Information required to change the hostname.invocationConfig - Configuration for the method invocation.public void change_Task(NetworkingTypes.ChangeSpec spec, AsyncCallback<java.lang.String> asyncCallback)
NetworkingAsynchronous 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
change_Task in interface Networkingspec - Information required to change the hostname.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void change_Task(NetworkingTypes.ChangeSpec spec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
NetworkingAsynchronous 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
change_Task in interface Networkingspec - Information required to change the hostname.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.