Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -890,6 +890,7 @@ def load_arguments(self, _):
help='Enable zone redundancy for high availability. Applies to Flex Consumption SKU only.', is_preview=True)
c.argument('configure_networking_later', options_list=['--configure-networking-later', '--cnl'], arg_type=get_three_state_flag(),
help='Use this option if you want to configure networking later for an app using network-restricted storage.')
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'])
Copy link

Copilot AI Sep 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The help message should start with an active voice verb instead of "Specify". Consider changing to "Set the scope of uniqueness for the default hostname during resource creation."

Copilot uses AI. Check for mistakes.

with self.argument_context('functionapp deployment config set') as c:
c.argument('deployment_storage_name', options_list=['--deployment-storage-name', '--dsn'], help="The deployment storage account name.", is_preview=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6092,7 +6092,8 @@ def create_functionapp(cmd, resource_group_name, name, storage_account, plan=Non
always_ready_instances=None, maximum_instance_count=None, instance_memory=None,
flexconsumption_location=None, deployment_storage_name=None,
deployment_storage_container_name=None, deployment_storage_auth_type=None,
deployment_storage_auth_value=None, zone_redundant=False, configure_networking_later=None):
deployment_storage_auth_value=None, zone_redundant=False, configure_networking_later=None,
auto_generated_domain_name_label_scope=None):
# pylint: disable=too-many-statements, too-many-branches

if functions_version is None and flexconsumption_location is None:
Expand Down Expand Up @@ -6224,7 +6225,8 @@ def create_functionapp(cmd, resource_group_name, name, storage_account, plan=Non
site_config.http20_proxy_flag = None

functionapp_def = Site(location=None, site_config=site_config, tags=tags,
virtual_network_subnet_id=subnet_resource_id, https_only=https_only)
virtual_network_subnet_id=subnet_resource_id, https_only=https_only,
auto_generated_domain_name_label_scope=auto_generated_domain_name_label_scope)

plan_info = None
if runtime is not None:
Expand Down
Loading