Azure / Azure/azure-rest-api-specs

[CostManagement] `x-ms-pageable` not enabled for `Query_Usage`

Open
#27,044 2 comments 5 reactions 0 assignees View on GitHub
Cost Management - Query Mgmt Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Original issue: https://github.com/Azure/azure-sdk-for-python/issues/33429

Link of schema `Query_Usage`: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json#L955

We noticed that schema `QueryResult` has the property `nextLink`, yet since the method `Query_Usage` does not enable the `x-ms-pageable`. So there's no way for us to pass this `nextLink` property to do the pagination through SDK.

Is there any possibility that to enable `x-ms-pageable` for method `Query_Usage`, so that we can call `nextLink` through SDK normally?

Contributor guide

Open the contributing guide

Research direction

Start with specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2023-11-01/costmanagement.json at the Query_Usage schema and compare it with QueryResult.nextLink. Enable x-ms-pageable for Query_Usage so the nextLink property can be used for pagination through the SDK.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.