示例#1
0
        public async Task ListServerReferencesTest()
        {
            var results = await _compute.ListServerSummariesAsync(new ServerListOptions { PageSize = 1 });

            while (results.Any())
            {
                var result = results.First();
                Assert.NotNull(result.Name);
                results = await results.GetNextPageAsync();
            }
            Assert.NotNull(results);
        }