Azure Classroom Series – 04/Dec/2021

Azure CLI Extended

  • Azure CLI returns the data in the json format and the output for the json can be queried using JMES Path Refer Here by adding –query section
  • Ensure you go through the tutorial
  • Lets get list of the resource groups
az group list
  • Copy the output the tree viewer Preview
  • JMES Path is all about navigating this tree
  • Slicing Items Preview
  • Lets try to show name and location of the resource group Preview
  • Show the name and provisioningState of east us resources Preview

Azure Powershell

  • Azure Powershell has inbuilt Where and Select conditions Preview

Activity

  • Create an Azure SQL Database with Serverless Provisioning using CLI and Powershell
  • Refer Here for the Azure CLI script to create a database in server less
  • Lets configure the geo replication for the ‘qtecommerce02’ Preview
  • Refer Here for the changeset
  • Now lets look at how to failover Refer Here Preview
  • Clean up the resources => delete the resource group

Exercise:

  1. Create an Azure SQL for MySQL DB from azure CLI
  2. Create an Azure SQL for Postgres DB from azure powershell

Leave a Reply

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

About learningthoughtsadmin