public interface Events extends com.vmware.vapi.bindings.Service, EventsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
MonitoringEvent |
get(java.lang.String eventId)
Returns event associated with event-id.
|
void |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Returns event associated with event-id.
|
void |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns event associated with event-id.
|
MonitoringEvent |
get(java.lang.String eventId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns event associated with event-id.
|
EventListResult |
list()
Returns a list of all Events defined in NSX.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback)
Returns a list of all Events defined in NSX.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<EventListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all Events defined in NSX.
|
EventListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of all Events defined in NSX.
|
MonitoringEvent |
setdefault(java.lang.String eventId)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
void |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
void |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
MonitoringEvent |
setdefault(java.lang.String eventId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Reset all user configurable values for event identified by event-id to factory
defaults.
|
MonitoringEvent |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent)
Update event identified by event-id.
|
void |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Update event identified by event-id.
|
void |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update event identified by event-id.
|
MonitoringEvent |
update(java.lang.String eventId,
MonitoringEvent monitoringEvent,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update event identified by event-id.
|
MonitoringEvent get(java.lang.String eventId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
eventId
- (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 FoundMonitoringEvent get(java.lang.String eventId, 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.
eventId
- (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 eventId, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String eventId, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> 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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.EventListResult 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 FoundEventListResult 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<EventListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.EventListResult
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<EventListResult> 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.EventListResult
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.MonitoringEvent setdefault(java.lang.String eventId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
eventId
- (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 FoundMonitoringEvent setdefault(java.lang.String eventId, 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.
eventId
- (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 setdefault(java.lang.String eventId, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void setdefault(java.lang.String eventId, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> 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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.MonitoringEvent update(java.lang.String eventId, MonitoringEvent monitoringEvent)
Synchronous method overload. Result of the invocation will be reported as a method return value.
eventId
- (required)monitoringEvent
- (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 FoundMonitoringEvent update(java.lang.String eventId, MonitoringEvent monitoringEvent, 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.
eventId
- (required)monitoringEvent
- (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 update(java.lang.String eventId, MonitoringEvent monitoringEvent, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)monitoringEvent
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(java.lang.String eventId, MonitoringEvent monitoringEvent, com.vmware.vapi.bindings.client.AsyncCallback<MonitoringEvent> 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.MonitoringEvent
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
eventId
- (required)monitoringEvent
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.