Ipv4Types.Config, Ipv4Types.Info, Ipv4Types.Mode
Constructor and Description |
---|
Ipv4Stub(ApiProvider apiProvider,
StubConfigurationBase config) |
Ipv4Stub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public Ipv4Stub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public Ipv4Stub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(java.lang.String interfaceName, Ipv4Types.Config config)
Ipv4
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.lang.String interfaceName, Ipv4Types.Config config, InvocationConfig invocationConfig)
Ipv4
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
set
in interface Ipv4
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.public void set(java.lang.String interfaceName, Ipv4Types.Config config, AsyncCallback<java.lang.Void> asyncCallback)
Ipv4
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.
set
in interface Ipv4
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.public void set(java.lang.String interfaceName, Ipv4Types.Config config, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Ipv4
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.
set
in interface Ipv4
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.public Ipv4Types.Info get(java.lang.String interfaceName)
Ipv4
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Ipv4Types.Info get(java.lang.String interfaceName, InvocationConfig invocationConfig)
Ipv4
Synchronous 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 Ipv4
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.public void get(java.lang.String interfaceName, AsyncCallback<Ipv4Types.Info> asyncCallback)
Ipv4
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
The IPv4 configuration for the queried NIC.
Operation Errors:
NotFound
- if the specified NIC is not found.
Error
- Generic error.
get
in interface Ipv4
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.public void get(java.lang.String interfaceName, AsyncCallback<Ipv4Types.Info> asyncCallback, InvocationConfig invocationConfig)
Ipv4
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 IPv4 configuration for the queried NIC.
Operation Errors:
NotFound
- if the specified NIC is not found.
Error
- Generic error.
get
in interface Ipv4
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.