List Attestation Services
Returns detailed information about all registered Attestation Service instances in this vCenter. if you do not have all of the privileges described as follows: - Operation execution requires TrustedAdmin.ReadTrustedHosts.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Return only services matching the specified filters. If {@term.unset} return all services.
{
"address": [
{
"hostname": "string",
"port": 0
}
],
"group": [
"string"
],
"services": [
"string"
],
"trust_authority_cluster": [
"string"
]
}
A set of address by which to filter. If unset, the services will not be filtered by address.
The group specifies the Key Provider Service instances that can accept reports issued by this Attestation Service instance. If unset, the services will not be filtered by group.
A set of IDs by which to filter the services. If unset, the services will not be filtered by ID. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.
The cluster specifies the Trust Authority Cluster this Attestation Service belongs to. If unset, the services will not be filtered by trustAuthorityCluster.
Authentication
Response
Response BodyResponse Body
array
of
TrustedInfrastructureAttestationServicesSummary
of type application/json
Detailed information about all registered Attestation Service instances in this vCenter.
[
{
"address": {
"hostname": "string",
"port": 0
},
"group": "string",
"service": "string",
"trust_authority_cluster": "string"
}
]
The group specifies the Key Provider Service instances that can accept reports issued by this Attestation Service instance.
The service’s unique identifier. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.
The cluster specifies the Trust Authority Cluster this Attestation Service instance belongs to.
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: list