TpmTypes.FilterSpec, TpmTypes.Info, TpmTypes.Summary
_VAPI_SERVICE_ID, RESOURCE_TYPE
Modifier and Type | Method and Description |
---|---|
TpmTypes.Info |
get(java.lang.String host,
java.lang.String tpm)
Get the TPM details on a host.
|
void |
get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<TpmTypes.Info> asyncCallback)
Get the TPM details on a host.
|
void |
get(java.lang.String host,
java.lang.String tpm,
AsyncCallback<TpmTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get the TPM details on a host.
|
TpmTypes.Info |
get(java.lang.String host,
java.lang.String tpm,
InvocationConfig invocationConfig)
Get the TPM details on a host.
|
java.util.List<TpmTypes.Summary> |
list(java.lang.String host,
TpmTypes.FilterSpec filter)
Return a list of configured TPMs on a host.
|
void |
list(java.lang.String host,
TpmTypes.FilterSpec filter,
AsyncCallback<java.util.List<TpmTypes.Summary>> asyncCallback)
Return a list of configured TPMs on a host.
|
void |
list(java.lang.String host,
TpmTypes.FilterSpec filter,
AsyncCallback<java.util.List<TpmTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Return a list of configured TPMs on a host.
|
java.util.List<TpmTypes.Summary> |
list(java.lang.String host,
TpmTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Return a list of configured TPMs on a host.
|
java.util.List<TpmTypes.Summary> list(java.lang.String host, TpmTypes.FilterSpec filter)
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
.filter
- a filter for the returned list.
if @term.unset}, the behavior is equivalent to a TpmTypes.FilterSpec
with properties null
Error
- if there is a generic error.InvalidArgument
- if any argument is invalid.NotFound
- if the 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
. java.util.List<TpmTypes.Summary> list(java.lang.String host, TpmTypes.FilterSpec filter, 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
.filter
- a filter for the returned list.
if @term.unset}, the behavior is equivalent to a TpmTypes.FilterSpec
with properties null
invocationConfig
- Configuration for the method invocation.Error
- if there is a generic error.InvalidArgument
- if any argument is invalid.NotFound
- if the 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 list(java.lang.String host, TpmTypes.FilterSpec filter, AsyncCallback<java.util.List<TpmTypes.Summary>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A list of configured TPMs.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if any argument is invalid.
NotFound
- if the 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
.filter
- a filter for the returned list.
if @term.unset}, the behavior is equivalent to a TpmTypes.FilterSpec
with properties null
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String host, TpmTypes.FilterSpec filter, AsyncCallback<java.util.List<TpmTypes.Summary>> 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:
A list of configured TPMs.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if any argument is invalid.
NotFound
- if the 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
.filter
- a filter for the returned list.
if @term.unset}, the behavior is equivalent to a TpmTypes.FilterSpec
with properties null
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.TpmTypes.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 any argument is invalid.NotFound
- if the 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
. TpmTypes.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 any argument is invalid.NotFound
- if the 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<TpmTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The TPM info.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if any argument is invalid.
NotFound
- if the 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<TpmTypes.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 TPM info.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if any argument is invalid.
NotFound
- if the 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.