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.
- Host: GitHub
- URL: https://github.com/daniellarsennz/examples
- Owner: DanielLarsenNZ
- License: mit
- Created: 2017-03-22T00:56:39.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T23:30:44.000Z (over 1 year ago)
- Last Synced: 2024-05-08T00:39:06.519Z (over 1 year ago)
- Topics: azure, azure-cli, powershell
- Language: PowerShell
- Homepage:
- Size: 1.69 MB
- Stars: 10
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)