-
-
Save justinyoo/e81cde1e11af31d1f52346574135a4e2 to your computer and use it in GitHub Desktop.
Know Your Cloud Resource Costs on Azure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
// Defines all dependencies to be injected. | |
... | |
// Aggregates all usage data. | |
var aggregator = new CostAggregationService(...); | |
var result1 = aggregator.ProcessAsync(dateStart, dateEnd).Result; | |
// Sends alerts/warnings to applied users. | |
var reminder = new CostReminderService(...); | |
var result2 = reminder.ProcessAsync(dateStart, dateEnd, ...).Result; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment