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.InfoapiProvider, 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 |
|---|---|
NetworkingTypes.Info |
get(java.lang.String vm)
Returns information about the network configuration in the guest operating
system.
|
void |
get(java.lang.String vm,
AsyncCallback<NetworkingTypes.Info> asyncCallback)
Returns information about the network configuration in the guest operating
system.
|
void |
get(java.lang.String vm,
AsyncCallback<NetworkingTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about the network configuration in the guest operating
system.
|
NetworkingTypes.Info |
get(java.lang.String vm,
InvocationConfig invocationConfig)
Returns information about the network configuration in the guest operating
system.
|
public NetworkingStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NetworkingStub(ApiProvider apiProvider, StubConfigurationBase config)
public NetworkingTypes.Info get(java.lang.String vm)
NetworkingSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Networkingvm - Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine.public NetworkingTypes.Info get(java.lang.String vm, 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 Networkingvm - Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine.invocationConfig - Configuration for the method invocation.public void get(java.lang.String vm,
AsyncCallback<NetworkingTypes.Info> asyncCallback)
NetworkingAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the networking configuration in the guest operating system.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if the virtual machine is not found.
ServiceUnavailable - if VMware Tools is not running.
get in interface Networkingvm - Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String vm,
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:
Information about the networking configuration in the guest operating system.
Operation Errors:
Error - if the system reports an error while responding to the request.
NotFound - if the virtual machine is not found.
ServiceUnavailable - if VMware Tools is not running.
get in interface Networkingvm - Virtual machine ID
The parameter must be an identifier for the resource type: VirtualMachine.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.