Azure CLI
Featured snippet from the web
The Azure CLI is a command-line tool
providing a great experience for managing Azure resources. The CLI is designed to make scripting easy, query data, support long-running operations, and more.
The current version of the Azure CLI is 2.0.70
Install Azure CLI on Windows
https://aka.ms/installazurecliwindows
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'
STEP 1 : Install the Azure CLI
OR You can also install the Azure CLI using
PowerShell. Start PowerShell as administrator and run the following command
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows
-OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I
AzureCLI.msi /quiet'
Restart the Powershell
Note : To use below command, you must
use Azure CLI version 2.0.21 or later. To see what Azure CLI version you are
using, use the
az --version
command.
STEP
2: - Download your function
app files
Login in chrome browser to portal.azure.com
And then copy paste below Url by replacing function_app
name.
Step 3: -
In the following command, replace the
<zip_file_path>
placeholder with the path to the location of your .zip
file. Also, replace <app_name>
with
the unique name of your function app.
az functionapp deployment source config-zip -g
myResourceGroup -n \ <app_name> --src <zip_file_path>
To get all commands of Azure
CLI
Visit https://aka.ms/cli
No comments:
Post a Comment