Create Trusted Clusters Attestation Services Task
Released in v7.0.0Configures the cluster to use a the given registered Attestation Service.
Request
URLURL
Parameters
Parameters
Header Parameters
Header Parameters
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Request Body
TrustedInfrastructureTrustedClustersAttestationServicesCreateSpec of type application/json (required){
"type": "enum"
}
Source of truth for the configuration of the Attestation Service.
Possible values are:
The service’s unique ID. This field is optional and it is only relevant when the value of Services.CreateSpec.type is SERVICE. 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 attestation cluster’s unique ID. This field is optional and it is only relevant when the value of Services.CreateSpec.type is CLUSTER.
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists. ID of the configured Attestation Service instance. The result will be an identifier for the resource type: com.vmware.vcenter.trusted_infrastructure.attestation.Service.