Ipv4Types.Config, Ipv4Types.Info, Ipv4Types.Mode
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
Ipv4Types.Info |
get(java.lang.String interfaceName)
Get IPv4 network configuration for specific NIC.
|
void |
get(java.lang.String interfaceName,
AsyncCallback<Ipv4Types.Info> asyncCallback)
Get IPv4 network configuration for specific NIC.
|
void |
get(java.lang.String interfaceName,
AsyncCallback<Ipv4Types.Info> asyncCallback,
InvocationConfig invocationConfig)
Get IPv4 network configuration for specific NIC.
|
Ipv4Types.Info |
get(java.lang.String interfaceName,
InvocationConfig invocationConfig)
Get IPv4 network configuration for specific NIC.
|
void |
set(java.lang.String interfaceName,
Ipv4Types.Config config)
Set IPv4 network configuration for specific network interface.
|
void |
set(java.lang.String interfaceName,
Ipv4Types.Config config,
AsyncCallback<java.lang.Void> asyncCallback)
Set IPv4 network configuration for specific network interface.
|
void |
set(java.lang.String interfaceName,
Ipv4Types.Config config,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set IPv4 network configuration for specific network interface.
|
void |
set(java.lang.String interfaceName,
Ipv4Types.Config config,
InvocationConfig invocationConfig)
Set IPv4 network configuration for specific network interface.
|
void set(java.lang.String interfaceName, Ipv4Types.Config config)
Synchronous method overload. Result of the invocation will be reported as a method return value.
interfaceName
- Network interface to update, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.config
- The IPv4 Network configuration to set.NotFound
- if the specified NIC is not found.NotAllowedInCurrentState
- if the IP is used as PNIDResourceBusy
- if the specified NIC is busy.Error
- Generic error.void set(java.lang.String interfaceName, Ipv4Types.Config config, 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.
interfaceName
- Network interface to update, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.config
- The IPv4 Network configuration to set.invocationConfig
- Configuration for the method invocation.NotFound
- if the specified NIC is not found.NotAllowedInCurrentState
- if the IP is used as PNIDResourceBusy
- if the specified NIC is busy.Error
- Generic error.void set(java.lang.String interfaceName, Ipv4Types.Config config, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
NotFound
- if the specified NIC is not found.
NotAllowedInCurrentState
- if the IP is used as PNID
ResourceBusy
- if the specified NIC is busy.
Error
- Generic error.
interfaceName
- Network interface to update, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.config
- The IPv4 Network configuration to set.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(java.lang.String interfaceName, Ipv4Types.Config config, 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:
NotFound
- if the specified NIC is not found.
NotAllowedInCurrentState
- if the IP is used as PNID
ResourceBusy
- if the specified NIC is busy.
Error
- Generic error.
interfaceName
- Network interface to update, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.config
- The IPv4 Network configuration to set.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Ipv4Types.Info get(java.lang.String interfaceName)
Synchronous method overload. Result of the invocation will be reported as a method return value.
interfaceName
- The Network interface to query, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.NotFound
- if the specified NIC is not found.Error
- Generic error.Ipv4Types.Info get(java.lang.String interfaceName, 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.
interfaceName
- The Network interface to query, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.invocationConfig
- Configuration for the method invocation.NotFound
- if the specified NIC is not found.Error
- Generic error.void get(java.lang.String interfaceName, AsyncCallback<Ipv4Types.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The IPv4 configuration for the queried NIC.
Operation Errors:
NotFound
- if the specified NIC is not found.
Error
- Generic error.
interfaceName
- The Network interface to query, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String interfaceName, AsyncCallback<Ipv4Types.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 IPv4 configuration for the queried NIC.
Operation Errors:
NotFound
- if the specified NIC is not found.
Error
- Generic error.
interfaceName
- The Network interface to query, for example, "nic0".
The parameter must be an identifier for the resource type: com.vmware.appliance.networking.interfaces
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.