public class AuditRecordsStub extends com.vmware.vapi.internal.bindings.Stub implements AuditRecords
AuditRecords
API service.
WARNING: Internal class, subject to change in future versions.
AuditRecordsTypes.FilterSpec, AuditRecordsTypes.Info, AuditRecordsTypes.OperationDetails, AuditRecordsTypes.OperationType, AuditRecordsTypes.TimePeriod
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AuditRecordsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
AuditRecordsStub(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 |
---|---|
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.
|
public AuditRecordsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public AuditRecordsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.List<AuditRecordsTypes.Info> list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters)
AuditRecords
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface AuditRecords
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
.public java.util.List<AuditRecordsTypes.Info> list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
AuditRecords
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface AuditRecords
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
.public void list(java.lang.String cluster, AuditRecordsTypes.FilterSpec filters, com.vmware.vapi.bindings.client.AsyncCallback<java.util.List<AuditRecordsTypes.Info>> asyncCallback)
AuditRecords
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
. list
in interface AuditRecords
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.public 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)
AuditRecords
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
. list
in interface AuditRecords
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.