public class SessionsStub extends com.vmware.vapi.internal.bindings.Stub implements Sessions
Sessions
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SessionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SessionsStub(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 |
|---|---|
PacketCaptureSessionList |
delete()
Delete all the packet capture sessions.
|
void |
delete(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
Delete all the packet capture sessions.
|
void |
delete(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete all the packet capture sessions.
|
PacketCaptureSessionList |
delete(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete all the packet capture sessions.
|
PacketCaptureSessionList |
list()
Get the information of all packet capture sessions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
Get the information of all packet capture sessions.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of all packet capture sessions.
|
PacketCaptureSessionList |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the information of all packet capture sessions.
|
public SessionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public SessionsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public PacketCaptureSessionList delete()
SessionsSynchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSessionList delete(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SessionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void delete(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
SessionsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSessionList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void delete(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SessionsAsynchronous 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.PacketCaptureSessionList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public PacketCaptureSessionList list()
SessionsSynchronous method overload. Result of the invocation will be reported as a method return value.
public PacketCaptureSessionList list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SessionsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
SessionsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSessionList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SessionsAsynchronous 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.PacketCaptureSessionList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found