public interface Sessions extends com.vmware.vapi.bindings.Service, SessionsTypes
_VAPI_SERVICE_ID
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.
|
PacketCaptureSessionList delete()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundPacketCaptureSessionList delete(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.
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(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
Asynchronous 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
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void delete(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> 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.PacketCaptureSessionList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.PacketCaptureSessionList list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
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 FoundPacketCaptureSessionList list(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.
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 list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> asyncCallback)
Asynchronous 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
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(com.vmware.vapi.bindings.client.AsyncCallback<PacketCaptureSessionList> 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.PacketCaptureSessionList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.