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