Azure Classroom Series – 24/Oct/2019

Choosing between UI and CLI/PowerShell

  • Frequency:
    • Occasional: Portal (UI)
    • Repetitive:
      • Azure CLI
      • Azure PowerShell
      • Templating: ARM Templates

Creating VNet

  • Create a Resource Group
  • On a Broader note we have 3 inputs
    • Network Range (Network Details etc.)
    • Location (Region)
    • Resource Group Name

Creating VNet Using Portal

Creating VNet Using Azure CLI

  • Refer
  • Setup:
    • Execute From Portal (Cloud Shell)
    • Install Locally in your machine
  • Commands
az group create -n 'fromcli' --location 'centralus'

Basic CLI

  • Syntax
<command> [<subcommands>] [--<paramname-1> <value1> .. ] [<value1> <value2>]

ping microsoft.com

kubectl apply -f test.yml
  • Azure CLI 2.0 Syntax
az <service> [sub services] <action> [arguments]

az group create --name "testing" --location "CentralUS"
az group delete --name "testing"

Basic PowerShell

  • Syntax
cmdlet [<subcommands>] [--<paramname-1> <value1> .. ] [<value1> <value2>]
  • PowerShell Syntax
<verb>-<noun>
<verb> is action
<noun> is resource

New-AzResourceGroup
Remove-AzResourceGroup

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Exit mobile version
%%footer%%