question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WebApp:CLI: Documentation and behaviour for "--slot-setting" in "storage-account" for webapp is unclear

See original GitHub issue

The documentation for the CLI for adding or updating storage-account just states that there is a parameter --slot-setting for a command like this:

az webapp config storage-account [...]

The full documentation for the parameter is as follows:

--slot-setting

Slot setting.

It looks like providing this parameter enables the “slot setting” (of which I’m not certain what it does),
while omitting the parameter does not disable the “slot setting”.

So the documentation should provide the following pieces of information:

  • How exactly do I use the parameter --slot-setting? It doesn’t appear to take additional values like all the other parameters.
  • What does “slot setting” do exactly in this context?
  • Once enabled, how do I disable the “slot setting” again?

Also of interest would be:

  • Is there a corresponding setting in the portal? (This is less relevant here since the issue is with the CLI - but this setting doesn’t seem to be in the portal.)

Since in the case I tested it in, it looks to break slot swaps, I’d be particularly interested in how I disable this setting again now that I’ve enabled it.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yonzhancommented, Feb 8, 2021

webapp

0reactions
haslocommented, Nov 12, 2021

Thanks @StrawnSC for the explanation. That will solve how to remove the setting once it’s set.

I do believe that the documentation should have some content similar to your explanation about what slot settings actually are as well though. It still only says “Slot setting.” now, which doesn’t explain anything.

Read more comments on GitHub >

github_iconTop Results From Across the Web

az webapp config storage-account - Microsoft Learn
Examples. Add a connection to the Azure Files file share called MyShare in the storage account named MyStorageAccount. Azure CLI
Read more >
azure-cli-appservice 0.2.21 - PyPI
webapp : Fixed an issue where for Linux Free SKU ASP creation use Free as SKU value was not working. Upgrade azure-mgmt-storage from...
Read more >
Need I clone an Azure storage account for staging slot?
I have an Azure Web Application myapp that uses (via myappConnectionString ) a Table Storage Account mytables .
Read more >
From the New blade find the Search the Marketplace text box ...
NET web application to Web AppsOn the taskbar, select the Visual Studio Code icon.From the File menu, select Open Folder.In the File Explorer...
Read more >
Use Azure App Service Deployment Slots with Azure CLI
Create and deploy your web app: az webapp up -n APPNAME -g RESOURCEGROUP --sku s1. Update your App and Upload to a Staging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found