Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting support for azkeys and azcertificates pagers #23813

Open
duffney opened this issue Dec 2, 2024 · 2 comments
Open

Sorting support for azkeys and azcertificates pagers #23813

duffney opened this issue Dec 2, 2024 · 2 comments
Assignees
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. KeyVault needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team.

Comments

@duffney
Copy link
Contributor

duffney commented Dec 2, 2024

Feature Request

I'd like an option for specifying how the pager results should be sorted. For example, being able to sort the returned results by createdDate. Currently, the azkeys and azcertificates pagers return results slightly different. See below results:

## azcertificates sorted by createdDate
cert: 1813ac580cfa412db6e7a7354ea040d1 created: 2024-11-26 15:32:46 -0600 CST
cert: 230b4bef7a2d435e80235f04310320df created: 2024-11-26 15:45:44 -0600 CST
cert: 67ae6208331e4ab8a03229a10bce9a6e created: 2024-11-26 15:46:02 -0600 CST
cert: a81c33d7aaed4c27b1a031a929c4fd3b created: 2024-11-27 10:58:15 -0600 CST

sorted version history: [1813ac580cfa412db6e7a7354ea040d1 230b4bef7a2d435e80235f04310320df 67ae6208331e4ab8a03229a10bce9a6e a81c33d7aaed4c27b1a031a929c4fd3b]
## azkeys sorted by something other than createdDate
key: 4f74798850e242c3914545961cdf595e created: 2024-11-27 09:45:31 -0600 CST
key: 5ba6a8486015477da31e9a4b44db21bf created: 2024-11-27 09:44:27 -0600 CST
key: 7df0412c291f46fc9112dc0df2df6a22 created: 2024-11-27 09:46:58 -0600 CST
sorted version history: [5ba6a8486015477da31e9a4b44db21bf 4f74798850e242c3914545961cdf595e 7df0412c291f46fc9112dc0df2df6a22]
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 2, 2024
@gracewilcox gracewilcox self-assigned this Dec 2, 2024
@gracewilcox
Copy link
Member

Hi @duffney! The SDK just processes the results returned by the service. We don't control the order in which results are returned.

Routing your request to the service team, as they would be the ones to add the feature.

@gracewilcox gracewilcox removed their assignment Dec 2, 2024
@gracewilcox gracewilcox added Service Attention Workflow: This issue is responsible by Azure service team. feature-request This issue requires a new behavior in the product in order be resolved. KeyVault Client This issue points to a problem in the data-plane of the library. and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Dec 2, 2024
@github-actions github-actions bot added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Dec 2, 2024
@duffney
Copy link
Contributor Author

duffney commented Dec 2, 2024

Hi @duffney! The SDK just processes the results returned by the service. We don't control the order in which results are returned.

Routing your request to the service team, as they would be the ones to add the feature.

Good to know, thank you!

@jhendrixMSFT jhendrixMSFT removed the Client This issue points to a problem in the data-plane of the library. label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request This issue requires a new behavior in the product in order be resolved. KeyVault needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team Service Attention Workflow: This issue is responsible by Azure service team.
Projects
Status: Untriaged
Development

No branches or pull requests

5 participants