Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.48k stars 4.81k forks source link

[QUERY] How to enumerate all pricing sheets / next page? #35334

Open crinuch opened 1 year ago

crinuch commented 1 year ago

Library name and version

Azure.ResourceManager.Subscription 1.0.1, Azure.ResourceManager.Consumption 1.0.1

Query/Question

We're using GetPriceSheetAsync-system-threading-cancellationtoken)) to retrieve price sheets. The result contains only 1000 items and a property called NextLink. From my understanding of reading Pagination with the Azure SDK for .NET I should be simply able to iterate the response to get all items. However the response is not (Async)Pageable and I don't know what to do with NextLink here; is there some other API I need to plug this value into?

Environment

No response

jsquire commented 1 year ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.

HarveyLink commented 8 months ago

Same issue at https://github.com/Azure/azure-rest-api-specs/issues/21139, waiting for service fix.