public class AuditLogsStub extends com.vmware.vapi.internal.bindings.Stub implements AuditLogs
AuditLogs
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AuditLogsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
AuditLogsStub(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 |
---|---|
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.
|
public AuditLogsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public AuditLogsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public AuditLogListResult create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize)
AuditLogs
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface AuditLogs
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)public AuditLogListResult create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AuditLogs
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface AuditLogs
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.public void create(AuditLogRequest auditLogRequest, java.lang.Long cursor, java.lang.String fields, java.lang.Long pageSize, com.vmware.vapi.bindings.client.AsyncCallback<AuditLogListResult> asyncCallback)
AuditLogs
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
create
in interface AuditLogs
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.public 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)
AuditLogs
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
create
in interface AuditLogs
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.