-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
az staticwebapp disconnect is broken #21364
Comments
Hi @Alec13355, thank you for opening an issue! I'll tag some folks who may be able to help so we can take a look at this as soon as possible. I see that this is using the Azure CLI, and the stack trace suggests that the issue might be isolated to the CLI even though the |
@mccoyp thank you looks like it was opened here and is being addressed I just had the wrong open source package maybe? Azure/azure-cli#19891 |
@Alec13355 Got it, thank you for linking the issue! Since this is being addressed there, I can close this duplicate issue. |
Release cost management microsoft.cost management 2022 10 01 (Azure#21380) * Adds base for updating Microsoft.CostManagement from version stable/2022-05-01 to version 2022-10-01 * Updates readme * Updates API version in new specs and examples * Upgrading Scheduled Actions API to GA (Azure#20964) * Upgrading Scheduled Actions API to GA * First commit:- upgrading existing API to GA version * Upgraded api-version * Adding Operations API in common-types * upgrading api-version in Operations example * referencing common operation def * removing reference to common Operation as it caused multiple validation errors * renaming Operation to CostManagementOperation and referencing Operation from V3 types * fixing csv * SavingsPlan GA changes (Azure#20776) * SavingsPlan GA changes Fix validation errors Rebase with shared branch Correct version in the common-types file Review comments Review comments Refer grain enum in parameter Correct enum type Review comments More improvements * Fix duplicated model lint diff error * Use common types v2 * Move to v2 types.json * Corrected examples * Sri/release cost management microsoft.cost management 2022 10 01 (Azure#21036) * First commit - copying cost management and exports API from 2021-10-01 * Upgrading version * Adding costmanagement.generatedetailedcostreport.json * fixing validation errors * fixing validation errors * fixing validation errors * reverting parameter order update * Reverting CostManagementProxyResource and CostManagementResource changes after breaking changes office hours discussion * ddressing review comments * Resolving code review comments * Qualifying Resource and ProxyResource with CostManagement prefix Please enter the commit message for your changes. Lines starting * Addressing review comments * fixing example file names * fixing linter error * updated operationResults description * Reverting breaking changes in exports API * fixing validation error * Rebasing with latest * fixing billingAccountIdParameter definition conflict * fixing billing profile id parameter conflict * Addressing code review comment * fixing model validation errors * Jatehr/cost management pricesheets (Azure#20958) * Create costmanagement.pricesheets.json * Create PricesheetDownload.json * Create PricesheetDownloadByBillingProfile.json * Create OperationList.json * Update readme.md * Update readme.md * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update PricesheetDownload.json * Update PricesheetDownloadByBillingProfile.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Delete OperationList.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update PricesheetDownload.json * Update PricesheetDownloadByBillingProfile.json * Update PricesheetDownload.json * Update PricesheetDownloadByBillingProfile.json * Update PricesheetDownloadByBillingProfile.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * resolve Go SDK stuttering issue * Update costmanagement.pricesheets.json * Update readme.md * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update PricesheetDownload.json * Update PricesheetDownloadByBillingProfile.json * Delete BenefitRecommendationsByRecommendationId.json * Update costmanagement.benefits.json * Update costmanagement.pricesheets.json * Update costmanagement.pricesheets.json * Update common-types.json * Update costmanagement.pricesheets.json * Update costmanagement.generatedetailedcostreport.json * Update common-types.json * Update common-types.json * Update common-types.json * Update common-types.json * Update common-types.json * resolve Go SDK naming collision Co-authored-by: Chenjie Shi <[email protected]> * Update descriptions (Azure#21364) * Update descriptions * Fix lint errors Co-authored-by: srilatha inavolu <[email protected]> Co-authored-by: Jayati Tehri <[email protected]> Co-authored-by: Chenjie Shi <[email protected]>
Describe the bug
Running
az staticwebapp disconnect -n <your app name>
no longer worksThe command failed with an unexpected error. Here is the traceback:
'StaticSitesOperations' object has no attribute 'detach_static_site'
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 231, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 657, in execute
raise ex
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 720, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 691, in _run_job
result = cmd_copy(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 328, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/appservice/static_sites.py", line 38, in disconnect_staticsite
return sdk_no_wait(no_wait, client.detach_static_site,
AttributeError: 'StaticSitesOperations' object has no attribute 'detach_static_site'
To open an issue, please run: 'az feedback'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should run command successfully
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: