How does Azure handle TEMPDB on the local SSD when using WSFC to support an always on availability group?

How does Azure handle TEMPDB on the local SSD (drive D:) when using WSFC to support an always on availability group? I know that the local SSD, where it’s recommended to place TEMPDB, is erased during restart… and that a PowerShell script is used on reboot to then recreate the folders/permissions before it then starts…