Differences

This shows you the differences between two versions of the page.

Link to this comparison view

azure:cli [2019/12/13 12:08]
admin created
azure:cli [2020/02/14 12:22] (current)
admin
Line 2: Line 2:
  
 Useful ''​az''​ commands. Useful ''​az''​ commands.
 +
 +====== account ======
  
   * ''​az account show''​ -- get details of the current subscription   * ''​az account show''​ -- get details of the current subscription
   * ''​az account list''​ -- get a list of subscriptions for the logged in account   * ''​az account list''​ -- get a list of subscriptions for the logged in account
 +  * ''​az account set --subscription <​subscription_name>''​ -- change the current subscription to ''<​subscription_name>''​
 +
 +Full list at https://​docs.microsoft.com/​en-us/​cli/​azure/​account.
 +
 +====== webapp ======
 +
 +  * ''​az webapp show --resource_group <​group_name>​ --name <​function_app>​ --query outboundIpAddresses''​ -- show function app's [[https://​docs.microsoft.com/​en-us/​azure/​azure-functions/​ip-addresses|outbound IP addresses]].
 +  * ''​az webapp identity show --resource-group <​group_name>​ --name <​function_app>''​ -- show function app's managed service identity
 +
  
 {{tag> }} {{tag> }}