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