public async Task RefreshComputeResourceSKUs() { using (var arm = ArmClient.Connect()) { var subscriptionId = await arm.GetFirstSubscriptionId(); var json = await arm.GetComputeResourcesSkus(subscriptionId); json = json.ToPrettyJson(); File.WriteAllText("../../../RAW/ComputeResourcesSkus.json", json); } }
public async Task RefreshRateCard() { using (var arm = ArmClient.Connect()) { var subscriptionId = await arm.GetFirstSubscriptionId(); var json = await arm.GetRateCardJsonAsync(subscriptionId); json = json.ToPrettyJson(); File.WriteAllText("../../../RAW/RateCard.json", json); } }