How does user specify the head/worker node instance type from CLI? I looked at the following links,
https://learn.microsoft.com/en-us/azure/hdinsight/spark/apache-spark-create-cluster-cli
https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-create-linux-clusters-azure-cli
The link specifies worker count but does not mention about type of worker.
Not sure if you can choose the VM types in Azure CLI but you can try and validate using Powershell or ARM template
ARM template
Powershell Please refer to this link-https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-create-linux-clusters-azure-powershell
https://learn.microsoft.com/en-us/azure/hdinsight/hdinsight-supported-node-configuration#all-supported-regions-except-brazil-south-and-japan-west and add