Hello @Handian Sudianto
No, the virtual machine created on Azure Stack HCI will not automatically appear in the Azure portal. There are couple of ways you can manage your Stack HCI VMs in azure. One approach is to Manage VMs with Windows Admin Center(WAC). WAC can be used to create and manage your virtual machines (VMs) on Azure Stack HCI. For details, refer to https://learn.microsoft.com/en-us/azure-stack/hci/manage/vm
Another approach which is mostly used for large deployment is Azure Arc. Azure Arc VM management lets you provision and manage Windows and Linux VMs hosted in an on-premises Azure Stack HCI environment.
To know more about Azure Arc: https://learn.microsoft.com/en-us/azure-stack/hci/manage/azure-arc-vm-management-overview
You will register your server with azure arc to appear in Azure portal through Connected Machine onboarding
To configure this set up, you can follow the instructions provided in the Azure documentation at Register your servers and assign permissions for Azure Stack HCI, version 23H2 deployment
(Via Console): https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-arc-register-server-permissions?tabs=powershell
or
(Via the UI): https://learn.microsoft.com/en-us/azure-stack/hci/deploy/deployment-arc-register-local-ui
After setting up the first server in your cluster, you're ready to deploy using Azure portal: Deploy using Azure portal.
If I have answered your question, please accept this as answer as a token of appreciation and don't forget to thumbs up for "Was it helpful"!