I'm starting to dig into Azure Batch.
I am trying to create a Pool from PowerShell and I've noticed that on the Microsoft documentation page of the command New-AzureBatchPool they tell us that in parameter "-VirtualMachineSize" we have to specify the size of the virtual machine.
Ok, but if I send "Standard_A1" as -VirtualMachineSize parameter, the request fails, but if I send "Small" (as I saw in the examples of the command) it works!
Is there is a documentation page that contains a table that relates the kind of values expected by this command ("Small") with the normal values ("Standard_A0", "Standard_L16s_v2" , etc.)?
It seems like you are working with a previous generation. According to Previous generations of virtual machine sizes:
Standard A0 - A4 using CLI and PowerShell In the classic deployment model, some VM size names are slightly different in CLI and PowerShell:
Standard_A0 is ExtraSmall
Standard_A1 is Small
Standard_A2 is Medium
Standard_A3 is Large
Standard_A4 is ExtraLarge