public class AttestationStub extends com.vmware.vapi.internal.bindings.Stub implements Attestation
Attestation
API service.
WARNING: Internal class, subject to change in future versions.
AttestationTypes.FilterSpec, AttestationTypes.Info, AttestationTypes.Summary, AttestationTypes.SummaryType
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AttestationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AttestationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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 . |
public AttestationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AttestationStub(ApiProvider apiProvider, StubConfigurationBase config)
public AttestationTypes.Info get(java.lang.String host)
Attestation
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Attestation
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.public AttestationTypes.Info get(java.lang.String host, InvocationConfig invocationConfig)
Attestation
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 Attestation
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.public void get(java.lang.String host, AsyncCallback<AttestationTypes.Info> asyncCallback)
Attestation
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
. get
in interface Attestation
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.public void get(java.lang.String host, AsyncCallback<AttestationTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Attestation
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
. get
in interface Attestation
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.public java.util.List<AttestationTypes.Summary> list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection)
Attestation
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.
list
in interface Attestation
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.public java.util.List<AttestationTypes.Summary> list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, InvocationConfig invocationConfig)
Attestation
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.
list
in interface Attestation
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.public void list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback)
Attestation
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
. list
in interface Attestation
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.public void list(AttestationTypes.FilterSpec spec, AttestationTypes.SummaryType projection, AsyncCallback<java.util.List<AttestationTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Attestation
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
. list
in interface Attestation
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.