When you create a Windows Server VM with SQL Server, only the VM appears in the specified resource group. SQL Server runs as a Windows service inside the VM so it's implicitly in the same resource group.
See this quickstart page for complete instructions, including how to RDP into the VM to connect to the local SQL Server instance running in the VM or connect remotely using SQL Server Management Studio.