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, LIST_ADMIN_STATUS_DOWN, LIST_ADMIN_STATUS_UP, LIST_SOURCE_CACHED, LIST_SOURCE_REALTIME| 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 |
|---|---|
NodeInterfacePropertiesListResult |
list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source)
Returns the number of interfaces on the node and detailed information about each
interface.
|
void |
list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfacePropertiesListResult> asyncCallback)
Returns the number of interfaces on the node and detailed information about each
interface.
|
void |
list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfacePropertiesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the number of interfaces on the node and detailed information about each
interface.
|
NodeInterfacePropertiesListResult |
list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the number of interfaces on the node and detailed information about each
interface.
|
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 NodeInterfacePropertiesListResult list(java.lang.String nodeId, java.lang.String adminStatus, java.lang.String source)
InterfacesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface InterfacesnodeId - (required)adminStatus - Admin status of the interface (optional)source - Data source type. (optional)public NodeInterfacePropertiesListResult list(java.lang.String nodeId, java.lang.String adminStatus, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InterfacesSynchronous 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 InterfacesnodeId - (required)adminStatus - Admin status of the interface (optional)source - Data source type. (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfacePropertiesListResult> asyncCallback)
InterfacesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.NodeInterfacePropertiesListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface InterfacesnodeId - (required)adminStatus - Admin status of the interface (optional)source - Data source type. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String nodeId,
java.lang.String adminStatus,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfacePropertiesListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InterfacesAsynchronous 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.NodeInterfacePropertiesListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface InterfacesnodeId - (required)adminStatus - Admin status of the interface (optional)source - Data source type. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.