I need to list current azure NSG rule before make any changes, how can i list them?
you can just use the Azure CLI for that:
az network nsg rule list -g MyResourceGroup --nsg-name MyNsg
and then show the contents of each rule
az network nsg rule show -g MyResourceGroup --nsg-name MyNsg -n MyNsgRule
… or you can use the Azure portal