public interface EventLog extends Service, EventLogTypes
EventLog
interface provides methods to get the Trusted Platform
Module (TPM) event log on a host. This interface was added in vSphere API
8.0.0.1.EventLogTypes.Info, EventLogTypes.Type
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
EventLogTypes.Info |
get(java.lang.String host,
java.lang.String tpm)
Retrieves the event log associated with the TPM device.
|
void |
get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<EventLogTypes.Info> asyncCallback)
Retrieves the event log associated with the TPM device.
|
void |
get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<EventLogTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the event log associated with the TPM device.
|
EventLogTypes.Info |
get(java.lang.String host,
java.lang.String tpm,
InvocationConfig invocationConfig)
Retrieves the event log associated with the TPM device.
|
EventLogTypes.Info get(java.lang.String host, java.lang.String tpm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem
.tpm
- the TPM identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.hosts.hardware.Tpm
.Error
- if there is a generic error.InvalidArgument
- if the argument is invalid.NotFound
- if event log is not found, or tpm is not found or host is not found.ServiceUnavailable
- if too many requests are in progress.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: HostSystem
referenced by the parameter host
requires
Host.Tpm.Read
. EventLogTypes.Info get(java.lang.String host, java.lang.String tpm, 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.
host
- Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem
.tpm
- the TPM identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.hosts.hardware.Tpm
.invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if the argument is invalid.NotFound
- if event log is not found, or tpm is not found or host is not found.ServiceUnavailable
- if too many requests are in progress.Unauthenticated
- if the caller is not authenticated.Unauthorized
- if the caller is not authorized.Unauthorized
- if you do not have all of the privileges described as follows: HostSystem
referenced by the parameter host
requires
Host.Tpm.Read
. void get(java.lang.String host, java.lang.String tpm, AsyncCallback<EventLogTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The event information.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the argument is invalid.
NotFound
- if event log is not found, or tpm is not found or host is not found.
ServiceUnavailable
- if too many requests are in progress.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
HostSystem
referenced by the parameter host
requires
Host.Tpm.Read
. host
- Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem
.tpm
- the TPM identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.hosts.hardware.Tpm
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String host, java.lang.String tpm, AsyncCallback<EventLogTypes.Info> asyncCallback, 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:
The event information.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the argument is invalid.
NotFound
- if event log is not found, or tpm is not found or host is not found.
ServiceUnavailable
- if too many requests are in progress.
Unauthenticated
- if the caller is not authenticated.
Unauthorized
- if the caller is not authorized.
Unauthorized
- if you do not have all of the privileges described as follows:
HostSystem
referenced by the parameter host
requires
Host.Tpm.Read
. host
- Identifier of the host.
The parameter must be an identifier for the resource type: HostSystem
.tpm
- the TPM identifier.
The parameter must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.hosts.hardware.Tpm
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.