WebApp:CLI: Documentation and behaviour for "--slot-setting" in "storage-account" for webapp is unclear
See original GitHub issueThe 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.
- ID: 4892bb1c-5cb4-91fa-325b-f5180cd05c3a
- Version Independent ID: 8c9a9a0e-5b36-4039-72c5-b28fd0bb9fd4
- Content: az webapp config storage-account
- Content Source: latest/docs-ref-autogen/webapp/config/storage-account.yml
- Service: app-service-web
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
webapp
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.