Skip to content

Instantly share code, notes, and snippets.

Created May 3, 2017
What would you like to do?
Know Your Cloud Resource Costs on Azure
public async Task TakeActionAsync(ResourceGroupOwner owner, bool runEntirePeriod, decimal threshold)
var owners = owner.Owners.Split(new[] { ";" }, StringSplitOptions.RemoveEmptyEntries);
// Use SendGrid or Twillio or whatever to send alerts/warnings.
var sb = new StringBuilder();
sb.AppendLine($"An alert has been sent to {string.Join(" & ", owners)}");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment