[App Service] az webapp create: Add --domain-name-scope parameter to support DNL scopes during site creation#30997
[App Service] az webapp create: Add --domain-name-scope parameter to support DNL scopes during site creation#30997
az webapp create: Add --domain-name-scope parameter to support DNL scopes during site creation#30997Conversation
❌AzureCLI-FullTest
|
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| webapp create | cmd webapp create added parameter auto_generated_domain_name_label_scope |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
az webapp create: Add --domain-name-scope parameter to support DNL scopes during site creation
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
please note that Azure CLI will have a code freeze on 03/25/2025 07:00 UTC for the upcoming release. If you want to catch this release train, please address the commands ASAP, otherwise it has to be postponed to next sprint (05-06). |
|
please fix the CI issues |
| c.argument('acr_identity', help='Accept system or user assigned identity which will be set for acr image pull. ' | ||
| 'Use \'[system]\' to refer system assigned identity, or a resource id to refer user assigned identity.') | ||
| 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)) | ||
| c.argument('auto_generated_domain_name_label_scope', options_list=['--domain-name-scope'], help="Specifies the scope of uniqueness for the default hostname during resource creation. ", choices=['TenantReuse', 'SubscriptionReuse', 'ResourceGroupReuse', 'NoReuse']) |
There was a problem hiding this comment.
Could we obtain these valid values from Python SDK?
Co-authored-by: Yan Zhu <105691024+yanzhudd@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
az webapp create: Add --domain-name-scope parameter to support DNL scopes during site creationaz webapp create: Add --domain-name-scope parameter to support DNL scopes during site creation
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@nineela Could you please resolve these CI issues? |
|
please note that Azure CLI will have a code freeze on 05/27/2025 07:00 UTC for the upcoming release. Please address these CI issues ASAP, otherwise it has to be postponed to next sprint (07-01). |
|
@nineela Any update? |
|
please note that Azure CLI will have a code freeze on 06/24/2025 07:00 UTC for the upcoming release. Please address these CI issues ASAP, otherwise it has to be postponed to next sprint (08-05). |
|
/azp run |
|
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command. |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
@nineela Any update? |
|
Please note that Azure CLI will freeze the code on 07/29/2025 07:00 UTC for the upcoming release. If you want to catch this release train, please resolve these comments ASAP, otherwise this PR has to be postponed to next sprint. |
|
already merged here, #31863 |
Related command
az webapp create --domain-name-scope SubscriptionReuse
Description
Add Deterministic Naming Support during App Service Creation. This changes the default hostname format to contain a deterministic hash along with a regionalized URL
Testing Guide
az webapp create --resource-group "cli-rg-test" --plan "cli-asp-test" --name "last-test-nineela101" --runtime "python|3.8" --domain-name-scope SubscriptionReuse
This would create web app with default hostname containing the DNL hash (16 chars) along with the region name.
Example : last-test-nineela101-dmatcmdfbsd4cwhf.eastus-01.azurewebsites.net
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.