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

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

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

            List <WafMetric> metric = new List <WafMetric>()
            {
                WafMetric.ClientRequestCount
            };
            DateTimeOffset        dateTimeBegin = new DateTimeOffset(2021, 9, 23, 0, 0, 0, TimeSpan.Zero);
            DateTimeOffset        dateTimeEnd   = new DateTimeOffset(2021, 9, 25, 0, 0, 0, TimeSpan.Zero);
            int                   maxRankings   = 5;
            List <WafRankingType> rankings      = new List <WafRankingType>()
            {
                WafRankingType.UserAgent
            };
            WafRankingsResponse wafRankingsResponse = await afdProfile.GetWafLogAnalyticsRankingsAsync(metric, dateTimeBegin, dateTimeEnd, maxRankings, rankings);

            Assert.AreEqual(wafRankingsResponse.Groups.Count, 1);
            Assert.AreEqual(wafRankingsResponse.Groups[0], WafRankingType.UserAgent.ToString());
            Assert.AreEqual(wafRankingsResponse.Data.Count, 0);
        }