-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[ARM] Fix #26112: az deployment group create
: Fix the warning log mode is not a known attribute of class TemplateLink
#26984
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
️✔️AzureCLI-FullTest
|
Hi @detienne20, |
ghost
added
the
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
label
Jul 24, 2023
Thank you for your contribution detienne20! We will review the pull request and get back to you soon. |
️✔️AzureCLI-BreakingChangeTest
|
Thank you for your contribution detienne20! We will review the pull request and get back to you soon. |
ARM |
microsoft-github-policy-service
bot
added
the
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
label
Jul 24, 2023
zhoxing-ms
changed the title
[ARM] az deployment group create: fix warning for parameter --template-specs
[ARM] Jul 25, 2023
az deployment group create
: Fix warning mode is not a known attribute of class <class 'azure.mgmt.resource.resources.v2022_09_01.models._models_py3.TemplateLink'> and will be ignored
for parameter --template-specs
zhoxing-ms
changed the title
[ARM]
[ARM] Fix #26112: Jul 28, 2023
az deployment group create
: Fix warning mode is not a known attribute of class <class 'azure.mgmt.resource.resources.v2022_09_01.models._models_py3.TemplateLink'> and will be ignored
for parameter --template-specs
az deployment group create
: Fix the warning log mode is not a known attribute of class TemplateLink
zhoxing-ms
approved these changes
Jul 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ARM
az resource/group/lock/tag/deployment/policy/managementapp/account management-group
Auto-Assign
Auto assign by bot
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related command
az deployment group create --resource-group {} --name {} --template-spec {} --parameters {}
Description
This PR fixes issue #26798 and #26112. Issue was introduced by #14448. The mode property has never been a part of the Template Link class we see in the original SDK that introduced it. https://github.com/Azure/azure-sdk-for-python/blob/27e4203818e227ba2604ff52dcf55ce2293c4c37/sdk/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2020_06_01/models/_models_py3.py#L2540-L2543
Testing Guide
az deployment group create --resource-group {} --name {} --template-spec {} --parameters {}
should NOT issue the warning "mode is not a known attribute of class <class 'azure.mgmt.resource.resources.v2022_09_01.models._models_py3.TemplateLink'> and will be ignored"History Notes
This 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.