TPM stands for Trusted Platform Module. When a VM has TPM enabled, it can use the TPM to generate and store encryption keys. In such cases, failure to properly back up and restore the TPM-related files may result in the VM's services not operating normally. To determine whether a VM has TPM enabled, you can query the VM snapshot details using the corresponding OpenAPI. If the return value for the vmconf.advanced_option.tpm_enabled field is true, TPM is enabled for the VM.
REST APIs for querying VM snapshot details:
SCP: GET /janus/20240725/servers/{server_id}/snapshots/{id}