Skip to content

Commit 0052ebf

Browse files
authored
[App Service] Fix #29493: az webapp create: Update basic-auth parameter description (#30734)
1 parent 5fc3ec1 commit 0052ebf

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/azure-cli/azure/cli/command_modules/appservice/_help.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,12 +1652,15 @@
16521652
- name: Create a web app with the default configuration.
16531653
text: >
16541654
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName
1655-
- name: Create a web app with a Java 11 runtime.
1655+
- name: Create a web app with a Java 21 runtime.
16561656
text: >
1657-
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --runtime "java:11:Java SE:11"
1658-
- name: Create a web app with a NodeJS 10.14 runtime and deployed from a local git repository.
1657+
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --runtime "JAVA:21-java21"
1658+
- name: Create a web app with a NodeJS 20 runtime and deployed from a local git repository.
16591659
text: >
1660-
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --runtime "node:12LTS" --deployment-local-git
1660+
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --runtime "node:20LTS" --deployment-local-git
1661+
- name: Create a web app with both SCM and FTP Basic Auth Publishing Credentials disabled.
1662+
text: >
1663+
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --basic-auth Disabled
16611664
- name: Create a web app which supports sitecontainers.
16621665
text: >
16631666
az webapp create -g MyResourceGroup -p MyPlan -n MyUniqueAppName --sitecontainers-app

src/azure-cli/azure/cli/command_modules/appservice/_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def load_arguments(self, _):
169169
c.argument('acr_use_identity', action='store_true', help="Enable or disable pull image from acr use managed identity")
170170
c.argument('acr_identity', help='Accept system or user assigned identity which will be set for acr image pull. '
171171
'Use \'[system]\' to refer system assigned identity, or a resource id to refer user assigned identity.')
172-
c.argument('basic_auth', help='Enable or disable basic auth.', arg_type=get_enum_type(BASIC_AUTH_TYPES))
172+
c.argument('basic_auth', help='Enable or disable basic auth for both SCM and FTP Basic Auth Publishing Credentials. Defaults to Enabled if not specified. See https://aka.ms/app-service-basic-auth to learn more.', arg_type=get_enum_type(BASIC_AUTH_TYPES))
173173
c.ignore('language')
174174
c.ignore('using_webapp_up')
175175

0 commit comments

Comments
 (0)