public class InterfacesStub extends com.vmware.vapi.internal.bindings.Stub implements Interfaces
Interfaces
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
InterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
InterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
NodeNetworkInterfaceProperties |
get(java.lang.String interfaceId)
Returns detailed information about the specified interface.
|
void |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback)
Returns detailed information about the specified interface.
|
void |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed information about the specified interface.
|
NodeNetworkInterfaceProperties |
get(java.lang.String interfaceId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed information about the specified interface.
|
NodeNetworkInterfacePropertiesListResult |
list()
Returns the number of interfaces on the node appliance and detailed information
about each interface.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfacePropertiesListResult> asyncCallback)
Returns the number of interfaces on the node appliance and detailed information
about each interface.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfacePropertiesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the number of interfaces on the node appliance and detailed information
about each interface.
|
NodeNetworkInterfacePropertiesListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the number of interfaces on the node appliance and detailed information
about each interface.
|
NodeNetworkInterfaceProperties |
update(java.lang.String interfaceId,
NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties)
Updates the specified interface properties.
|
void |
update(java.lang.String interfaceId,
NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback)
Updates the specified interface properties.
|
void |
update(java.lang.String interfaceId,
NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties,
com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified interface properties.
|
NodeNetworkInterfaceProperties |
update(java.lang.String interfaceId,
NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the specified interface properties.
|
public InterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public InterfacesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NodeNetworkInterfaceProperties get(java.lang.String interfaceId)
Interfaces
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Interfaces
interfaceId
- ID of interface to read (required)public NodeNetworkInterfaceProperties get(java.lang.String interfaceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
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 Interfaces
interfaceId
- ID of interface to read (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback)
Interfaces
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeNetworkInterfaceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Interfaces
interfaceId
- ID of interface to read (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String interfaceId, com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
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:
com.vmware.nsx.model.NodeNetworkInterfaceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Interfaces
interfaceId
- ID of interface to read (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NodeNetworkInterfacePropertiesListResult list()
Interfaces
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Interfaces
public NodeNetworkInterfacePropertiesListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Interfaces
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfacePropertiesListResult> asyncCallback)
Interfaces
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeNetworkInterfacePropertiesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Interfaces
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfacePropertiesListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
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:
com.vmware.nsx.model.NodeNetworkInterfacePropertiesListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Interfaces
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NodeNetworkInterfaceProperties update(java.lang.String interfaceId, NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties)
Interfaces
ip_configuration
, ip_addresses
, or plane
.
NSX Manager must have a static IP address. You must use NSX CLI to configure a
controller or an edge node. Note: NSX manager reboot is required after
adding IPv6 address.
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface Interfaces
interfaceId
- ID of interface to update (required)nodeNetworkInterfaceProperties
- (required)public NodeNetworkInterfaceProperties update(java.lang.String interfaceId, NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
ip_configuration
, ip_addresses
, or plane
.
NSX Manager must have a static IP address. You must use NSX CLI to configure a
controller or an edge node. Note: NSX manager reboot is required after
adding IPv6 address.
Synchronous 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 Interfaces
interfaceId
- ID of interface to update (required)nodeNetworkInterfaceProperties
- (required)invocationConfig
- Configuration for the method invocation.public void update(java.lang.String interfaceId, NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback)
Interfaces
ip_configuration
, ip_addresses
, or plane
.
NSX Manager must have a static IP address. You must use NSX CLI to configure a
controller or an edge node. Note: NSX manager reboot is required after
adding IPv6 address.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeNetworkInterfaceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Interfaces
interfaceId
- ID of interface to update (required)nodeNetworkInterfaceProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String interfaceId, NodeNetworkInterfaceProperties nodeNetworkInterfaceProperties, com.vmware.vapi.bindings.client.AsyncCallback<NodeNetworkInterfaceProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Interfaces
ip_configuration
, ip_addresses
, or plane
.
NSX Manager must have a static IP address. You must use NSX CLI to configure a
controller or an edge node. Note: NSX manager reboot is required after
adding IPv6 address.
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:
com.vmware.nsx.model.NodeNetworkInterfaceProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface Interfaces
interfaceId
- ID of interface to update (required)nodeNetworkInterfaceProperties
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.