You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The -SubscriptionsLimit parameter of New-AzApiManagementProduct is described with "The default value is 1" and then "Default value: None". In testing it seems that none is correct. Please remove or change the document referring to default value of 1.
-SubscriptionsLimit
Specifies the maximum number of simultaneous subscriptions. The default value is 1.
Type: System.Nullable`1[System.Int32]
Parameter Sets: (All)
Aliases:
I don't know where to file this but the API subscription for the same parameter also needs an edit to remove the extraneous "Whether" at the beginning.
Whether the number of subscriptions a user can have to this product at the same time. Set to null or omit to allow unlimited per user subscriptions. Can be present only if subscriptionRequired property is present and has a value of false.
The text was updated successfully, but these errors were encountered:
Further feedback here.
For New-AzApiManagementProduct, if you specify NEITHER -SubscriptionRequired NOR -SubscriptionsLimit, the default values leave you with required=true and limit=null. However, if you do specify only -SubscriptionRequired (as $True), but don't specify -SubscriptionsLimit, the limit value becomes 1. I guess that's how the -SubscriptionsLimit section of the doc says both "The default value is 1" and "Default value: None" but this is confusing and needs to be updated.
Further feedback here.
For New-AzApiManagementProduct, if you specify NEITHER -SubscriptionRequired NOR -SubscriptionsLimit, the default values leave you with required=true and limit=null. However, with this even -ApprovalRequired set to $True .. value set for Approval is False and its unchecked in the portal.. Is it a bug ?
The -SubscriptionsLimit parameter of New-AzApiManagementProduct is described with "The default value is 1" and then "Default value: None". In testing it seems that none is correct. Please remove or change the document referring to default value of 1.
I don't know where to file this but the API subscription for the same parameter also needs an edit to remove the extraneous "Whether" at the beginning.
https://docs.microsoft.com/en-us/rest/api/apimanagement/2019-01-01/product/get#productcontract
The text was updated successfully, but these errors were encountered: