Create a gist now

Instantly share code, notes, and snippets.

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