-
Notifications
You must be signed in to change notification settings - Fork 4k
New-AzApiManagementProduct: Change SubscriptionsLimit parameter default value to None #13457
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
Conversation
Thank you for your contribution SteppingRazor! We will review the pull request and get back to you soon. |
Hi @SteppingRazor thanks for your contribution 👍 |
I just checked Azure portal, the default behavior when you enable "Requires subscription" is to have no limit, so I agree with the proposed changes. I will work on your pull request (if you don't mind) with:
|
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
ab64fdf
to
2d46cb2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description
You can read the whole story here
Short story: using Azure Rest Api or Azure portal it is possible to create product with
SubscriptionRequired
set to true but leaveSubscriptionsLimit
unlimited. As forNew-AzApiManagementProduct
command there is no reason to defaultSubscriptionsLimit
to 1 when user setSubscriptionRequired
totrue
Checklist
CONTRIBUTING.md
ChangeLog.md
file(s) has been updated:ChangeLog.md
file can be found atsrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
## Upcoming Release
header -- no new version header should be added