public class EventLogStub extends com.vmware.vapi.internal.bindings.Stub implements EventLog
EventLog
API service.
WARNING: Internal class, subject to change in future versions.
EventLogTypes.Info, EventLogTypes.TypeapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
EventLogStub(ApiProvider apiProvider,
StubConfigurationBase config) |
EventLogStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public EventLogStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public EventLogStub(ApiProvider apiProvider, StubConfigurationBase config)
public EventLogTypes.Info get(java.lang.String host, java.lang.String tpm)
EventLogSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface EventLoghost - 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.public EventLogTypes.Info get(java.lang.String host, java.lang.String tpm, InvocationConfig invocationConfig)
EventLogSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface EventLoghost - 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.public void get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<EventLogTypes.Info> asyncCallback)
EventLogAsynchronous 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. get in interface EventLoghost - 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.public void get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<EventLogTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
EventLogAsynchronous 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. get in interface EventLoghost - 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.