-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WebSiteManagementClient.checkNameAvailability
in @azure/arm-appservice
#20728
Comments
@colawwj Can you take a look at this issue ? Thanks |
@nturinski I have identified the issue, it comes from the code generator, create an issue to track it Azure/autorest.typescript#1342 I will work on the fix, once the fix is ready, we will refresh the SDK. |
@colawwj Can you help refresh the SDK with latest code generator ? Thanks |
The latest sdk link,https://www.npmjs.com/package/@azure/arm-appservice/v/12.0.0 |
@nturinski please try the latest SDK of @azure/arm-appservice and see if the problem has been resolved. Thanks |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Describe the bug
The call to
WebSiteManagementClient.checkNameAvailability
does not properly add the parameters to the request body. Every time you use it, you get the error "TypeError: Cannot read property "isConstant" of undefined." Here's a screengrab of the request object when the following command is invoked. (client is a WebSiteManagementClient`)await client.checkNameAvailability(name, 'Site')
To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
The body should attach the name and kind properties like the API "Try it" page. Doing so resolves with the appropriate response.
The text was updated successfully, but these errors were encountered: