-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[App Service] az functionapp create: Add the --domain-name-scope support
#32110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
40d6a02
3e526e8
f0929bf
450a30a
919955f
3cafdae
8124304
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,10 @@ __pycache__/ | |
| # Virtual environment | ||
| env/ | ||
| env27/ | ||
| ienv/ | ||
| iienv/ | ||
| iiienv/ | ||
| vvenv/ | ||
| venv/ | ||
| .python-version | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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']) | ||
|
||
|
|
||
| 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) | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -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: | ||||||||
|
|
@@ -6184,7 +6185,8 @@ def create_functionapp(cmd, resource_group_name, name, storage_account, plan=Non | |||||||
|
|
||||||||
| disable_app_insights = disable_app_insights == "true" | ||||||||
|
|
||||||||
| site_config = SiteConfig(app_settings=[]) | ||||||||
| settings = [] | ||||||||
| site_config = SiteConfig(app_settings=settings) | ||||||||
|
||||||||
| settings = [] | |
| site_config = SiteConfig(app_settings=settings) | |
| site_config = SiteConfig(app_settings=[]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@khkh-ms can you provide more context on why this change was made? I don't see where we use that settings variable elsewhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed back. Don't remember but had probably changed it for testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May I ask why need to modify .gitignore file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it.