Skip to content
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

Closed
2 of 6 tasks
nturinski opened this issue Mar 8, 2022 · 6 comments
Closed
2 of 6 tasks
Assignees
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.

Comments

@nturinski
Copy link

  • @azure/arm-appserviceName:
  • *11.0.0:
  • Windows 11:
  • nodejs
    • v16.13.2:
  • browser
    • name/version:
  • typescript
    • 4.3.5:
  • Is the bug related to documentation in

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')

image

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.

image

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 8, 2022
@azure-sdk azure-sdk added App Services Mgmt This issue is related to a management-plane library. needs-team-triage Workflow: This issue needs the team to triage. labels Mar 8, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 8, 2022
@lirenhe lirenhe added customer-reported Issues that are reported by GitHub users external to the Azure organization. and removed needs-team-triage Workflow: This issue needs the team to triage. labels Mar 9, 2022
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Mar 9, 2022
@qiaozha
Copy link
Member

qiaozha commented Mar 9, 2022

@colawwj Can you take a look at this issue ? Thanks

@qiaozha
Copy link
Member

qiaozha commented Mar 17, 2022

@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.

@qiaozha
Copy link
Member

qiaozha commented Mar 30, 2022

@colawwj Can you help refresh the SDK with latest code generator ? Thanks

@colawwj
Copy link
Contributor

colawwj commented Apr 27, 2022

@qiaozha qiaozha added the needs-author-feedback Workflow: More information is needed from author to address the issue. label Apr 27, 2022
@ghost ghost removed the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Apr 27, 2022
@qiaozha
Copy link
Member

qiaozha commented Apr 27, 2022

@nturinski please try the latest SDK of @azure/arm-appservice and see if the problem has been resolved. Thanks

@ghost ghost added the no-recent-activity There has been no recent activity on this issue. label May 4, 2022
@ghost
Copy link

ghost commented May 4, 2022

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!

@ghost ghost closed this as completed May 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-author-feedback Workflow: More information is needed from author to address the issue. no-recent-activity There has been no recent activity on this issue.
Projects
None yet
Development

No branches or pull requests

5 participants