Azure / azure-cli

Azure Command-Line Interface
MIT License
4.01k stars 2.98k forks source link

az cli alternate for Get-AzVirtualNetworkUsageList #22814

Open ashish-raj-wenovate opened 2 years ago

ashish-raj-wenovate commented 2 years ago

I am not able to find the az CLI alternative for Get-AzVirtualNetworkUsageList from the azure Powershell module. Can you please let me know if this alternative exists in az cli or is it only possible through the PowerShell module only.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

yonzhan commented 2 years ago

network

necusjz commented 2 years ago

@ashish-raj-wenovate, currently it can only be used in Azure PowerShell.

If you desperately need Azure CLI to support it too, please let us know. : )

ashish-raj-wenovate commented 2 years ago

@ashish-raj-wenovate, currently it can only be used in Azure PowerShell.

If you desperately need Azure CLI to support it too, please let us know. : )

Thanks for your reply. Not that urgent but it will be good to have. Most of our scripts are either az cli script or az resource graph API calls using JS. Using PowerShell will just introduce another scripting language in our stack. I will try to look if it is easy enough to get this information through the az resource graph API call.