TpmTypes.FilterSpec, TpmTypes.Info, TpmTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
TpmStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TpmStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public TpmStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TpmStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<TpmTypes.Summary> list(java.lang.String host, TpmTypes.FilterSpec filter)
Tpm
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Tpm
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
public java.util.List<TpmTypes.Summary> list(java.lang.String host, TpmTypes.FilterSpec filter, InvocationConfig invocationConfig)
Tpm
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 Tpm
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.public void list(java.lang.String host, TpmTypes.FilterSpec filter, AsyncCallback<java.util.List<TpmTypes.Summary>> asyncCallback)
Tpm
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
. list
in interface Tpm
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.public void list(java.lang.String host, TpmTypes.FilterSpec filter, AsyncCallback<java.util.List<TpmTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Tpm
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
. list
in interface Tpm
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.public TpmTypes.Info get(java.lang.String host, java.lang.String tpm)
Tpm
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Tpm
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
.public TpmTypes.Info get(java.lang.String host, java.lang.String tpm, InvocationConfig invocationConfig)
Tpm
Synchronous 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 Tpm
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.public void get(java.lang.String host, java.lang.String tpm, AsyncCallback<TpmTypes.Info> asyncCallback)
Tpm
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
. get
in interface Tpm
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.public void get(java.lang.String host, java.lang.String tpm, AsyncCallback<TpmTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Tpm
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
. get
in interface Tpm
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.