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

Set service version query param for polling strategies #34216

Merged
merged 6 commits into from
Mar 29, 2023

Conversation

srnagar
Copy link
Member

@srnagar srnagar commented Mar 27, 2023

Fixes #32483

This PR adds a new constructor overload to polling strategies to support setting the service version. Client libraries can now create polling strategies using the service version used to build the client. When a service version is set, all polling requests and getting the final result of a polling operation will use this service version. If the service response has an operation location URL that includes the service version, this version will be replaced by the version set by the client.

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-core

@srnagar srnagar requested a review from alzimmermsft March 28, 2023 20:06
@srnagar srnagar enabled auto-merge (squash) March 29, 2023 18:09
@srnagar srnagar merged commit ffdee7e into Azure:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core azure-core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQ] Support set/replace api-version in PollingStrategy classes
3 participants