public interface Attestation extends Service, AttestationTypes
Attestation
interface contains information necessary to connect to
the hosts running Attestation Service. This interface was added in vSphere API
7.0.0.0.AttestationTypes.FilterSpec, AttestationTypes.Info, AttestationTypes.Summary, AttestationTypes.SummaryType
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
AttestationTypes.Info |
get(java.lang.String host)
Returns the connection info about the Attestation Service running on the
specified host.
|
void |
get(java.lang.String host,
AsyncCallback<AttestationTypes.Info> asyncCallback)
Returns the connection info about the Attestation Service running on the
specified host.
|
void |
get(java.lang.String host,
AsyncCallback<AttestationTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the connection info about the Attestation Service running on the
specified host.
|
AttestationTypes.Info |
get(java.lang.String host,
InvocationConfig invocationConfig)
Returns the connection info about the Attestation Service running on the
specified host.
|
java.util.List<AttestationTypes.Summary> |
list(AttestationTypes.FilterSpec spec,
AttestationTypes.SummaryType projection)
Returns a list of the hosts running a Attestation Service matching the specified
AttestationTypes.FilterSpec . |
void |
list(AttestationTypes.FilterSpec spec,
AttestationTypes.SummaryType projection,
AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback)
Returns a list of the hosts running a Attestation Service matching the specified
AttestationTypes.FilterSpec . |
void |
list(AttestationTypes.FilterSpec spec,
AttestationTypes.SummaryType projection,
AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of the hosts running a Attestation Service matching the specified
AttestationTypes.FilterSpec . |
java.util.List<AttestationTypes.Summary> |
list(AttestationTypes.FilterSpec spec,
AttestationTypes.SummaryType projection,
InvocationConfig invocationConfig)
Returns a list of the hosts running a Attestation Service matching the specified
AttestationTypes.FilterSpec . |
AttestationTypes.Info get(java.lang.String host)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.AttestationTypes.Info
instance which contains the information necessary to connect to the Attestation
Service.Error
- if service's TLS certificate chain is not valid.NotFound
- if host
doesn't match to any Host.ResourceInaccessible
- if connection to host
failed.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. AttestationTypes.Info get(java.lang.String host, 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
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.invocationConfig
- Configuration for the method invocation.AttestationTypes.Info
instance which contains the information necessary to connect to the Attestation
Service.Error
- if service's TLS certificate chain is not valid.NotFound
- if host
doesn't match to any Host.ResourceInaccessible
- if connection to host
failed.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. void get(java.lang.String host, AsyncCallback<AttestationTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The AttestationTypes.Info
instance which contains the information necessary to connect to the Attestation
Service.
Operation Errors:
Error
- if service's TLS certificate chain is not valid.
NotFound
- if host
doesn't match to any Host.
ResourceInaccessible
- if connection to host
failed.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String host, AsyncCallback<AttestationTypes.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 AttestationTypes.Info
instance which contains the information necessary to connect to the Attestation
Service.
Operation Errors:
Error
- if service's TLS certificate chain is not valid.
NotFound
- if host
doesn't match to any Host.
ResourceInaccessible
- if connection to host
failed.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the parameter host
requires System.View
. host
- @{link com.vmware.vcenter.Host} id.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<AttestationTypes.Summary> list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection)
AttestationTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be reported as a method return value.
spec
- Return details about Attestation Services matching the filter.
If return all registered Attestation Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.AttestationTypes.Summary
of Attestation Services.Error
- if there is a generic error.InvalidArgument
- if the response data will exceed the message limit.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property AttestationTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property AttestationTypes.FilterSpec.getClusters()
requires System.View
. java.util.List<AttestationTypes.Summary> list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, InvocationConfig invocationConfig)
AttestationTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
spec
- Return details about Attestation Services matching the filter.
If return all registered Attestation Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.invocationConfig
- Configuration for the method invocation.AttestationTypes.Summary
of Attestation Services.Error
- if there is a generic error.InvalidArgument
- if the response data will exceed the message limit.Unauthenticated
- if the user can not be authenticated.Unauthorized
- if you do not have all of the privileges described as follows: TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property AttestationTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property AttestationTypes.FilterSpec.getClusters()
requires System.View
. void list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback)
AttestationTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of AttestationTypes.Summary
of Attestation Services.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the response data will exceed the message limit.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property AttestationTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property AttestationTypes.FilterSpec.getClusters()
requires System.View
. spec
- Return details about Attestation Services matching the filter.
If return all registered Attestation Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
AttestationTypes.FilterSpec
.
This method was added in vSphere API 7.0.0.0.
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:
List of AttestationTypes.Summary
of Attestation Services.
Operation Errors:
Error
- if there is a generic error.
InvalidArgument
- if the response data will exceed the message limit.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
TrustedAdmin.ReadTrustedHosts
. HostSystem
referenced by the property AttestationTypes.FilterSpec.getHosts()
requires System.View
. ClusterComputeResource
referenced by the property AttestationTypes.FilterSpec.getClusters()
requires System.View
. spec
- Return details about Attestation Services matching the filter.
If return all registered Attestation Services.projection
- The type of the returned summary - brief, normal, or full.
If a normal projection will be used.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.