An open API service indexing awesome lists of open source software.

https://github.com/daniellarsennz/examples

Quick examples for Azure, PowerShell, az CLI, C# and more.
https://github.com/daniellarsennz/examples

azure azure-cli powershell

Last synced: 8 months ago
JSON representation

Quick examples for Azure, PowerShell, az CLI, C# and more.

Awesome Lists containing this project

README

          

# Examples

Quick examples for Azure, PowerShell, az CLI, C# and more. The folder structure has been reorganised to be more self-explanatory. Examples include:

## docs

* [powershell-cheatsheet.md](./docs/powershell-cheatsheet.md) - A PowerShell cheatsheet.
* [Fun with App Settings in a WebJobs Host on .NET Core](./docs/fun-with-appsettings.md)
* [App-init, Health-check, Auto-heal... oh my!](./docs/app-init-health-check-oh-my.md)
* [Notes on Azure Front Door WAF](./docs/azure-front-door-waf.md)
* [Azure Private endpoint trouble-shooter](./docs/pep-troubleshooter.md)

## azure-cli

Examples for Azure CLI (az), including:

* [nginx-lb-appservices](./nginx-lb-appservices) - Load balance two (or more) **App Services** with **nginx**
running in a **Linux App Service** container
* [appserviceplan-scale-afd](./appserviceplan-scale-afd) - Achieve massive scale-out by deploying **Azure Front Door**
in front of multiple **App Service Plans**.
* [webjobs-eventhubs](https://github.com/DanielLarsenNZ/messaging) - Host **Functions** in a **WebJobs Host** for better configuration
and monitoring.
* [appservice-config](./appservice-config) - Loading **Azure Key vault** secrets into an **App Service** at
Startup using a **Managed Identity**. Also **Health checks**.

## powershell

Examples for PowerShell, including:

* [CreateServicePrincipalSecret.ps1](/Scripts/Azure/CreateServicePrincipalSecret.ps1) -
Create a secret for an Azure Active Directory (AAD) Service Principal.
* [InvokeHttpObservatoryScan.ps1](/Scripts/Test/InvokeHttpObservatoryScan.ps1) -
Invoke a Mozilla HTTP Observatory scan and wait for the scan to complete. Throw an error if grade is lower than a "B".
* [InvokeKuduNpmInstall.ps1](/Scripts/Deploy/InvokeKuduNpmInstall.ps1) - Invokes
`npm install --production` on an Azure App Service via the Kudu API.
* [RewriteConfig.ps1](/Scripts/Deploy/RewriteConfig.ps1) - Rewrite XML config
settings and save as a new file.
* [deploy-config-apim.ps1](Scripts\Azure\deploy-config-apim.ps1) - Deploy Azure API Management

## talks

> Talks have moved to

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](/LICENSE)