public interface AuditRecords extends com.vmware.vapi.bindings.Service, AuditRecordsTypes
AuditRecords
interface provides methods to get the auditing records
of the configuration actions performed on a cluster in vCenter Server. This
interface was added in vSphere API 8.0.2.0.AuditRecordsTypes.FilterSpec, AuditRecordsTypes.Info, AuditRecordsTypes.OperationDetails, AuditRecordsTypes.OperationType, AuditRecordsTypes.TimePeriod
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
java.util.List<AuditRecordsTypes.Info> |
list(java.lang.String cluster,
AuditRecordsTypes.FilterSpec filters)
Retrieves audit information about the configuration actions performed on the
cluster.
|
void |
list(java.lang.String cluster,
AuditRecordsTypes.FilterSpec filters,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<AuditRecordsTypes.Info>> asyncCallback)
Retrieves audit information about the configuration actions performed on the
cluster.
|
void |
list(java.lang.String cluster,
AuditRecordsTypes.FilterSpec filters,
com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<AuditRecordsTypes.Info>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieves audit information about the configuration actions performed on the
cluster.
|
java.util.List<AuditRecordsTypes.Info> |
list(java.lang.String cluster,
AuditRecordsTypes.FilterSpec filters,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieves audit information about the configuration actions performed on the
cluster.
|
java.util.List<AuditRecordsTypes.Info> list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.filters
- used to filter the audit records.
If null
returns all available audit records associated with cluster
cluster
.NotFound
- if there is no cluster associated with cluster
in the system.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the session id is missing from the request or the corresponding session
object cannot be found.Unauthorized
- if the user doesn't not have the required privileges.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. java.util.List<AuditRecordsTypes.Info> list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters, 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.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.filters
- used to filter the audit records.
If null
returns all available audit records associated with cluster
invocationConfig
- Configuration for the method invocation.cluster
.NotFound
- if there is no cluster associated with cluster
in the system.ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.Unauthenticated
- if the session id is missing from the request or the corresponding session
object cannot be found.Unauthorized
- if the user doesn't not have the required privileges.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. void list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<AuditRecordsTypes.Info>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
audit Information about the cluster associated with cluster
.
Operation Errors:
NotFound
- if there is no cluster associated with cluster
in the system.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the session id is missing from the request or the corresponding session
object cannot be found.
Unauthorized
- if the user doesn't not have the required privileges.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.filters
- used to filter the audit records.
If null
returns all available audit records associated with cluster
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<AuditRecordsTypes.Info>> 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:
audit Information about the cluster associated with cluster
.
Operation Errors:
NotFound
- if there is no cluster associated with cluster
in the system.
ServiceUnavailable
- if the system is unable to communicate with a service to complete the request.
Unauthenticated
- if the session id is missing from the request or the corresponding session
object cannot be found.
Unauthorized
- if the user doesn't not have the required privileges.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.ClusterConfiguration.View
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.ClusterConfiguration.View
. cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.filters
- used to filter the audit records.
If null
returns all available audit records associated with cluster
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.