Language

AttestationClient.AttestTdxVmAsync Method

Definition

Attest an Intel TDX confidential virtual machine.

public virtual System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>> AttestTdxVmAsync(Azure.Security.Attestation.AttestationRequest request, System.Threading.CancellationToken cancellationToken = default);
abstract member AttestTdxVmAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
override this.AttestTdxVmAsync : Azure.Security.Attestation.AttestationRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Security.Attestation.AttestationResponse<Azure.Security.Attestation.AttestationResult>>
Public Overridable Function AttestTdxVmAsync (request As AttestationRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AttestationResponse(Of AttestationResult))

Parameters

request
AttestationRequest

Aggregate type containing the information needed to perform an attestation operation.

cancellationToken
CancellationToken

Cancellation token used to cancel the request.

Returns

An AttestationResponse<T> which contains the validated claims for the supplied request.

Exceptions

The client targets a service version that does not support TDX attestation; see CanAttestTdxVm.

Remarks

The Evidence must be a TDX quote. TDX attestation requires V2025_06_01 or later, and does not support DraftPolicyForAttestation.

Applies to