charlehsin / azure-cloud-tutorial

Tutorial and sample codes for several Azure features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tutorial and sample codes for Azure Cloud

Overview

GitHub Actions included

  • CodeQL

General PowerShell Commands

Install Azure Powershell module

  • $PSVersionTable.PSVersion
  • Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  • Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
  • Update-Module -Name Az

Sign in to Azure

  • Connect-AzAccount
  • Set-AzContext -SubscriptionId 00000000-0000-0000-0000-000000000000

Create a resource group

  • New-AzResourceGroup -Name azureTutorialResourceGroup -Location westus2
  • Get-AzResourceGroup

Remove a resource group

  • Remove-AzResourceGroup -Name azureTutorialResourceGroup

Installed SDKs and Tools for sample codes

Useful Visual Studio Code extensions

Useful references

About

Tutorial and sample codes for several Azure features

License:MIT License


Languages

Language:C# 100.0%