Using GitHub Actions To Run My Python Azure Command Line Tool – Part 2

The post introduces GitHub Actions and a workflow with an Azure service principal name. The workflow YAML code involves manual user trigger, Azure login, Python setup, package installation, building a command line tool, and executing it with workflow input values. The post also provides the workflow YAML file and emphasizes the use of GitHub Actions for custom command line tool creation and Azure integration.

Step-by-Step Azure SDK for Python in Windows VS Code – Part 3

In this blog post I will run Python code in VSCode and show the experience. This is a continuation of Part 2 about setting up a python local development environment and install prerequisites. I have put together a Python script that does the following Authenticate with user credentials Look up an existing resource group with …

Continue reading Step-by-Step Azure SDK for Python in Windows VS Code – Part 3

Step-by-Step Using Azure SDK for Python in Windows VS Code – Part 2

This post will share This post is continuing from Part 1. And I will be showing out how to include Azure SDK libraries/packages to install, authentication and setting up a python virtual environment in VS Code. The bare essentials for Azure Python packages are: pip install azure-identity #for authentication pip azure-mgmt-resource # resource management client …

Continue reading Step-by-Step Using Azure SDK for Python in Windows VS Code – Part 2

Step-by-Step Using Azure SDK for Python in Windows VS Code – Part 1

This is a beginners guide on starting from scratch setting up a simple development environment and run some Python code to create and manage azure resources. Install Python https://wiki.python.org/moin/BeginnersGuide/Download For windows download go to https://www.python.org/downloads/ Install VS Code to develop and run python code. For windows download go to https://www.python.org/downloads/ Install Python extension for Visual …

Continue reading Step-by-Step Using Azure SDK for Python in Windows VS Code – Part 1

Code Comparison Between Azure PowerShell and Azure SDK for Python

I like to share similarities and differences of two scripts - an Azure PowerShell script and a Python script using the Azure SDK. These two scripts achieve the same azure management result. Hope this article sheds some technical insights by comparing these scripts. The scripts connect to an Azure subscription, create a storage account into …

Continue reading Code Comparison Between Azure PowerShell and Azure SDK for Python

Azure PowerShell vs Azure SDK for Python

As an Azure engineer, I have used both Azure PowerShell and the Azure SDK for Python to manage and provision Azure resources. I like to share comparisons based on my experience and real work scenarios in the many years engineering and designing for solutions in Azure. Hope this blog post gives some perspective. Azure PowerShell: …

Continue reading Azure PowerShell vs Azure SDK for Python

How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

The Scenario I have a set of ARM templates that deploys an azure app service solution with Azure Key Vault and a secret value. The main template is calling out via the linked template resource reference to the Key Vault resource template. ... snippet ... }, "resources": [ { "apiVersion": "2018-05-01", "name": "linkedTemplate-keyvault", "type": "Microsoft.Resources/deployments", …

Continue reading How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

Linked ARM Templates for a Multi Resource Azure Solution

When deploying a set of azure resources using Azure Resource Manager (ARM) templates in a single file can leave with a large json file that can be difficult to manage and maintain. To employ modularity and reuse, you can break out azure resources into its own ARM template and have an ARM template link or …

Continue reading Linked ARM Templates for a Multi Resource Azure Solution