public interface AuditLogs extends com.vmware.vapi.bindings.Service, AuditLogsTypes
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
AuditLogListResult |
create(AuditLogRequest auditLogRequest,
java.lang.Long cursor,
java.lang.String fields,
java.lang.Long pageSize)
This API is executed on a manager node to display audit logs from all nodes
inside the management plane cluster.
|
void |
create(AuditLogRequest auditLogRequest,
java.lang.Long cursor,
java.lang.String fields,
java.lang.Long pageSize,
com.vmware.vapi.bindings.client.AsyncCallback<AuditLogListResult> asyncCallback)
This API is executed on a manager node to display audit logs from all nodes
inside the management plane cluster.
|
void |
create(AuditLogRequest auditLogRequest,
java.lang.Long cursor,
java.lang.String fields,
java.lang.Long pageSize,
com.vmware.vapi.bindings.client.AsyncCallback<AuditLogListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API is executed on a manager node to display audit logs from all nodes
inside the management plane cluster.
|
AuditLogListResult |
create(AuditLogRequest auditLogRequest,
java.lang.Long cursor,
java.lang.String fields,
java.lang.Long pageSize,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API is executed on a manager node to display audit logs from all nodes
inside the management plane cluster.
|
AuditLogListResult create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize)
Synchronous method overload. Result of the invocation will be reported as a method return value.
auditLogRequest
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)fields
- Fields to include in query results (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 100)com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 Error, Bad Gatewaycom.vmware.vapi.std.errors.NotFound
- Not FoundAuditLogListResult create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize, 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.
auditLogRequest
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)fields
- Fields to include in query results (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 100)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.ConcurrentChange
- Conflictcom.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 Error, Bad Gatewaycom.vmware.vapi.std.errors.NotFound
- Not Foundvoid create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize, com.vmware.vapi.bindings.client.AsyncCallback<AuditLogListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.AuditLogListResult
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error, Bad Gateway
NotFound
- Not Found
auditLogRequest
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)fields
- Fields to include in query results (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 100)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize, com.vmware.vapi.bindings.client.AsyncCallback<AuditLogListResult> 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.AuditLogListResult
Operation Errors:
ConcurrentChange
- Conflict
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error, Bad Gateway
NotFound
- Not Found
auditLogRequest
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)fields
- Fields to include in query results (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 100)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.