-
Notifications
You must be signed in to change notification settings - Fork 37
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
EventHubNamespace validation: API docs mismatched with actual API enforcement #1057
Comments
I opened a PR upstream - let's see if it gets accepted: Azure/azure-rest-api-specs#15619 |
If your upstream PR gets accepted, would its just start working with the current version of Azure-Native, or would it require you to release a new version? |
It would require a new release. We use those API specs as the source to generate our code and validation, we don't use them at runtime. |
By the way, as a crude workaround - I think you could provision a resource with 20, then change it to 40 in the portal, and then add |
@mikhailshilkov -- I tried the
|
Why does it try updating the resource? What is the diff? My hope was you'd avoid any updates to it (that was the goal of |
I think the original problem got fixed upstream in Azure/azure-rest-api-specs#15233. There's no max value set in the spec anymore, so I'll close the issue. |
I'm trying to enable auto-inflate on a "standard" SKU event hubs namespace. The actual limit on maximum TUs is 40 (and the API / UI will allow you to select up to 40): https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-quotas#basic-vs-standard-vs-premium-vs-dedicated-tiers but the API docs state that the limit is 20 https://github.com/Azure/azure-rest-api-specs/blob/main/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2017-04-01/namespaces.json#L473
Steps to reproduce
Expected: success
Actual:
The text was updated successfully, but these errors were encountered: