Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
AddExpiryDate
AddPurpose
CleanupExpired
logicapps
.gitignore
README.md
extensions.csproj
host.json
local.settings.json
parameterizeLogicApps.sh
profile.ps1
provision.sh
provision.yml
requirements.psd1

README.md

A set of powershell functions:

  • Add purpose is running every hour, picking all resource groups without a tag purpose and trying to apply a default tag based on resource group name.

  • AddExpiryDate is running every hour, picking all resource groups with a tag purpose set to experiment. If there's no expiry date, it's setting one to 14 days from now (can be configured in the app settings by modifying setting DEFAULT_EXPIRY_DAYS).

  • CleanupExpired is running every day at UTC+8 (PDT 1AM), and removing all resource groups with an expiry date in the past. It also create an event to warn about resources planned for deletion within DEFAULT_WARNING_DAYS (default 1)

Deployment

Run ./provision.sh in an Azure Cloud Shell, this will generate a pre-configured new function app in a resource group.

You can’t perform that action at this time.