public interface Session extends com.vmware.vapi.bindings.Service, SessionTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
PacketCaptureSession |
create(PacketCaptureRequest packetCaptureRequest)
Create an new packet capture session on given node with specified options
|
void |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Create an new packet capture session on given node with specified options
|
void |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create an new packet capture session on given node with specified options
|
PacketCaptureSession |
create(PacketCaptureRequest packetCaptureRequest,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create an new packet capture session on given node with specified options
|
PacketCaptureSession |
delete(java.lang.String sessionId)
Before calling this method, terminate any running capture session.
|
void |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Before calling this method, terminate any running capture session.
|
void |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Before calling this method, terminate any running capture session.
|
PacketCaptureSession |
delete(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Before calling this method, terminate any running capture session.
|
PacketCaptureSession |
get(java.lang.String sessionId)
Get the packet capture status information by session id.
|
void |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Get the packet capture status information by session id.
|
void |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the packet capture status information by session id.
|
PacketCaptureSession |
get(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the packet capture status information by session id.
|
PacketCaptureSession |
restart(java.lang.String sessionId)
Restart the packet capture session
|
void |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Restart the packet capture session
|
void |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart the packet capture session
|
PacketCaptureSession |
restart(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restart the packet capture session
|
PacketCaptureSession |
terminate(java.lang.String sessionId)
Terminate the packet capture session by session id.
|
void |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Terminate the packet capture session by session id.
|
void |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Terminate the packet capture session by session id.
|
PacketCaptureSession |
terminate(java.lang.String sessionId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Terminate the packet capture session by session id.
|
PacketCaptureSession create(PacketCaptureRequest packetCaptureRequest)
Synchronous method overload. Result of the invocation will be reported as a method return value.
packetCaptureRequest
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundPacketCaptureSession create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
packetCaptureRequest
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
packetCaptureRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(PacketCaptureRequest packetCaptureRequest, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
packetCaptureRequest
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PacketCaptureSession delete(java.lang.String sessionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
sessionId
- Packet capture session id (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundPacketCaptureSession delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
sessionId
- Packet capture session id (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PacketCaptureSession get(java.lang.String sessionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
sessionId
- Packet capture session id (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundPacketCaptureSession get(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
sessionId
- Packet capture session id (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PacketCaptureSession restart(java.lang.String sessionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
sessionId
- Packet capture session id (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundPacketCaptureSession restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
sessionId
- Packet capture session id (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void restart(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PacketCaptureSession terminate(java.lang.String sessionId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
sessionId
- Packet capture session id (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundPacketCaptureSession terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
sessionId
- Packet capture session id (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void terminate(java.lang.String sessionId, com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSession> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.PacketCaptureSession
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
sessionId
- Packet capture session id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.