Differences

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

Link to this comparison view

Next revision
Previous revision
azure:cli [2019/12/13 12:08]
admin created
azure:cli [2020/08/18 13:48] (current)
admin
Line 2: Line 2:
  
 Useful ''​az''​ commands. Useful ''​az''​ commands.
 +
 +====== Users ======
 +  * ''​az ad signed-in-user show''​ -- get details of the logged-in user
 +
 +====== Subscriptions ======
  
   * ''​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.
 +
 +====== Function Apps ======
 +
 +  * ''​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> azure cli}}
  
-{{tag> }} 
-~~DISCUSSION~~