Azure Classroom Series – 02/Dec/2021

Azure CLI

  • Azure CLI is an Command line interface to work with Azure Preview
  • Azure CLI is an easy to use Azure Commands developed in python language
  • The azure cli commands are easy to use and properly documented
  • The Syntax of azure cli
az <service> [<sub services>] <command> [--arg1 value ... --arg2 value2]
  • Once you install Azure CLI on your system
    • use az --version to verify if the installation is successful Preview
    • To login into azure from cli use az login
    • If you want to use azure cli/azure powershell the other option is cloud shell, where there is no need to login Preview Preview Preview Preview
  • Visual Studio Setup
    • Ensure Azure CLI Tools Extension is installed Preview
    • Ensure Powershell Extension is installed to help us with Azure Powershell Preview
  • Documentation:
    • Refer Here
    • Navigate to the references section Preview
    • NOw find the relevant section from reference
  • Now lets create a new azure cli from a script in visual studio code
  • Steps:
    • Create a Resource group Refer Here for group documentation
    • to create a resource Refer Here
    • Lets create a sql server Refer Here
    • Lets create a sql single database
    • Refer Here for the commands used in the class

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube