Azure CLI (Command-line Interface) is a command-line tool for Manager azure services. It's like Angular CLI, it provides various commands to manage Azure services in an Account. Before we can start using Azure CLI we need to install it, the latest version of Azure CLI can be installed from the following site.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latestOnce Azure CLI is installed run the az --version command to make sure that the installation was done successfully.
Now we can use the az find <group> command to get help commands
for specific groups. For example, the command az find container command
provides a list of useful options to deal with containers in Azure.
C:\>az find container
Finding examples...
Starts all containers in a container group. (autogenerated)
az container start --name
mycontainergroup --resource-group myresourcegroup
Create a container group. (autogenerated)
az container create --file
containerGroup.yaml --resource-group MyResourceGroup
Restarts all containers in a container group. (autogenerated)
az container restart --name
mycontainergroup --resource-group myresourcegroup
No comments:
Post a Comment