Skip to content

Commit 34095f1

Browse files
committed
fix comments
1 parent 402976f commit 34095f1

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
get_three_state_flag, get_enum_type, tags_type)
1313
from azure.cli.core.local_context import LocalContextAttribute, LocalContextAction
1414
from azure.cli.command_modules.appservice._appservice_utils import MSI_LOCAL_ID
15-
from azure.mgmt.web.models import DatabaseType, ConnectionStringType, BuiltInAuthenticationProvider, AzureStorageType
15+
from azure.mgmt.web.models import DatabaseType, ConnectionStringType, BuiltInAuthenticationProvider, AzureStorageType, AutoGeneratedDomainNameLabelScope
1616

1717
from ._completers import get_hostname_completion_list
1818
from ._constants import (FUNCTIONS_VERSIONS, LOGICAPPS_NODE_RUNTIME_VERSIONS, WINDOWS_OS_NAME, LINUX_OS_NAME,
@@ -166,7 +166,7 @@ def load_arguments(self, _):
166166
c.argument('acr_identity', help='Accept system or user assigned identity which will be set for acr image pull. '
167167
'Use \'[system]\' to refer system assigned identity, or a resource id to refer user assigned identity.')
168168
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))
169-
c.argument('auto_generated_domain_name_label_scope', options_list=['--domain-name-scope'], help="Specify the scope of uniqueness for the default hostname during resource creation.", choices=['TenantReuse', 'SubscriptionReuse', 'ResourceGroupReuse', 'NoReuse'])
169+
c.argument('auto_generated_domain_name_label_scope', options_list=['--domain-name-scope'], help="Specify the scope of uniqueness for the default hostname during resource creation.", arg_type=get_enum_type(AutoGeneratedDomainNameLabelScope))
170170
c.ignore('language')
171171
c.ignore('using_webapp_up')
172172

0 commit comments

Comments
 (0)