This article explains how to see what vSAN storage policies are applied to all the vSAN objects on a vSAN cluster via CLI.
VMware vSAN (All Versions)
To see what storage policies are used by the vSAN objects in the cluster:
Open SSH to any host in the vSAN cluster.
Run command esxcli vsan debug object list --all |grep spbmProfileName|sed 's/.*spbmProfileName//' | sort | uniq -c to get a list of the vSAN Storage policies used, and the number of vSAN objects using each of the storage policies:
Example output:
In the above example, 580 objects are using "vSAN" storage policy and 812 objects are using "vSAN_FTT_1" storage policy.
To validate the configuration of each vSAN storage policy, navigate to vSphere Client > Menu > Policies and Profiles > VM Storage Policies > Here the storage policies seen in the output of Step 3 can be verified.