public async Task GetLogAnalyticsRankings()
        {
            SubscriptionResource subscription = await Client.GetDefaultSubscriptionAsync();

            ResourceGroupResource rg = await subscription.GetResourceGroups().GetAsync("CdnTest");

            ProfileResource afdProfile = await rg.GetProfiles().GetAsync("testAFDProfile");

            List <LogRanking> rankings = new List <LogRanking>()
            {
                LogRanking.Url
            };
            List <LogRankingMetric> metric = new List <LogRankingMetric>()
            {
                LogRankingMetric.ClientRequestCount
            };
            int              maxRankings      = 5;
            DateTimeOffset   dateTimeBegin    = new DateTimeOffset(2021, 9, 23, 0, 0, 0, TimeSpan.Zero);
            DateTimeOffset   dateTimeEnd      = new DateTimeOffset(2021, 9, 25, 0, 0, 0, TimeSpan.Zero);
            RankingsResponse rankingsResponse = await afdProfile.GetLogAnalyticsRankingsAsync(rankings, metric, maxRankings, dateTimeBegin, dateTimeEnd);

            Assert.AreEqual(rankingsResponse.Tables.Count, 1);
            Assert.AreEqual(rankingsResponse.Tables[0].Ranking, LogRanking.Url.ToString());
            Assert.AreEqual(rankingsResponse.Tables[0].Data.Count, 0);
        }