-
Notifications
You must be signed in to change notification settings - Fork 3.4k
{Compute} az vm identity: Migrate commands to aaz-based implementation
#32572
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
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1aa2ffe
[refractor] - Migrated 'az vm identity show' command
william051200 d1ca1d5
[Refractor] - Refractored show_vm_dentity function and migrated get_v…
william051200 161a76f
[Refractor] - Migrated assign_vm_identity function
william051200 c7e4ef1
[Refractor] - Preserve old function to avoid breaking change, updated…
william051200 3e9b52d
[Refractor] - Refractored assign_identity_helper function
william051200 ad87d37
[Refractor] - Edit so the response is same as original when identity …
william051200 d0f907c
[refractor] - Added handling to assign_vm_identity function
william051200 ee6d900
[Refractor] - Migrated remove_vm_identity function
william051200 50d505d
[Refractor] - Edited function name
william051200 22bf942
[style] - Update code styling
william051200 1c9997d
[style] - Update code styling
william051200 b314bd7
[test] - fixed test_vm_explicit_msi test case
william051200 be8b5b6
[style] - Update code styling
william051200 4082bb3
[style] - Update code styling
william051200 e420114
[style] - Update code styling
william051200 12bc6e0
[test] - Added handling to vm create and vmss create command
william051200 d99a84f
[Refractor] - Resolve copilot suggestion
william051200 31fbfa5
Add recording for test_vm_msi
ReaNAiveD 045372b
[Fix] - Fixed import show function
william051200 9d93ff8
[Test] - Re-record test case
william051200 0edb99d
[style] - Update code styling
william051200 4b36898
[Fix] - Fixed import patch function
william051200 7936f69
[Fix] - Added handling when assigning vm identities
william051200 d70670d
[Fix] - Fixed schema output issue
william051200 becdd56
[Test] - Fixed test case failure and re-record test case
william051200 f543fb2
[Test] - Re-record test case
william051200 d3c2862
Removed unused parameter in commands.py
william051200 4ff821f
Refractor assign_vm_identity in custom.py
william051200 80edfc1
Refractor code
william051200 5ebd103
Fix refractored code bug
william051200 624b244
Removed redundant lines
william051200 2d9b71c
Removed redundant import
william051200 4223871
Reset test cases and recordings
william051200 eb37208
Edit test recording
william051200 4f79ae1
reset test recording
william051200 ae7a11c
reset test recording
william051200 b1736f5
Updated test case
william051200 9118ac8
Update vm/vm_utils and core/commands/arm
william051200 fb76319
Updated test recording
william051200 4d957f5
Reset test_vm_explicit_msi test case and recording
william051200 0ec7875
Updated test_vm_explicit_msi test case
william051200 332cd85
Remove unused import
william051200 673917e
Re-record test case
william051200 29a399e
Updated test case and re-record test case
william051200 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
13,792 changes: 6,651 additions & 7,141 deletions
13,792
...azure/cli/command_modules/sqlvm/tests/latest/recordings/test_sqlvm_aad_auth_negative.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
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.
Hi @zhoxing-ms could you please help review the changes to this file?
It simply separates the logic for calling assignments_client.create() from the assign_identity() function, since we also need to invoke assignments_client.create() in the vm module
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.
Looks good to me