Hello Surya,
In order to work on the AZ CLI command, do have a look at the below link, which will be helpful to you
https://learn.microsoft.com/en-us/cli/azure/keyvault/network-rule?view=azure-cli-latest
Do follow the below link for a better understanding,
Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : )