-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Express Route Circuit (2020-05-01): creation eventual consistent #10148
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mialdrid, @aznetsuppgithub. |
@magodo Could you please share which SDK you are using? I just added label of |
Hey @xccc-msft Essentially it doesn't matter which SDK underused, the issue exists even when using cURL to send API requests. |
@magodo Got it. I thought it might be caused by the polling scenario on SDK side. Then let's get help from service team. |
@xccc-msft Unfortunately, the polling logic is correct. It returns when the async operation finishes with "Succeeded" provision state. While a |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @exrsuppgithub. |
Reproduce
Hence, clients can not rely on the polling result of the operation URL, but have to poll via GET until GET returns 200.
The Sequence
Create a express route circuit:
REQUESTPUT https://management.azure.com/subscriptions/0-0-0-0/resourceGroups/acctestRG-200715135929363936/providers/Microsoft.Network/expressRouteCircuits/acctest-erc-200715135929363936?api-version=2020-05-01
RESPONSE
Repeatedly poll the async operation URL, until:
GET https://management.azure.com/subscriptions/0-0-0-0/providers/Microsoft.Network/locations/eastus2/operations/5bc6316f-611f-4b8f-aec0-b15298534811?api-version=2020-05-01
Invoke a GET right after:
GET https://management.azure.com/subscriptions/0-0-0-0/resourceGroups/acctestRG-200715135929363936/providers/Microsoft.Network/expressRouteCircuits/acctest-erc-200715135929363936?api-version=2020-05-01
The text was updated successfully, but these errors were encountered: