Skip to content
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

{Compute} az sig share: Migrate command group to aaz based #30606

Merged
merged 7 commits into from
Jan 14, 2025

Conversation

cxznmhdcxz
Copy link
Member

@cxznmhdcxz cxznmhdcxz commented Jan 3, 2025

Related command

az sig share add/reset/remove/enable-community/wait

Description

Migrate command group to aaz based code
aaz pr Azure/aaz#667

Testing Guide

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 feature


This checklist is used to make sure that common guidelines for a pull request are followed.

Copy link

azure-client-tools-bot-prd bot commented Jan 3, 2025

️✔️AzureCLI-FullTest
️✔️acr
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️acs
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.9
️✔️ams
️✔️latest
️✔️3.12
️✔️3.9
️✔️apim
️✔️latest
️✔️3.12
️✔️3.9
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.9
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️aro
️✔️latest
️✔️3.12
️✔️3.9
️✔️backup
️✔️latest
️✔️3.12
️✔️3.9
️✔️batch
️✔️latest
️✔️3.12
️✔️3.9
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.9
️✔️billing
️✔️latest
️✔️3.12
️✔️3.9
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.9
️✔️cdn
️✔️latest
️✔️3.12
️✔️3.9
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.9
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.9
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.9
️✔️config
️✔️latest
️✔️3.12
️✔️3.9
️✔️configure
️✔️latest
️✔️3.12
️✔️3.9
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.9
️✔️container
️✔️latest
️✔️3.12
️✔️3.9
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.9
️✔️core
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.9
️✔️databoxedge
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️dls
️✔️latest
️✔️3.12
️✔️3.9
️✔️dms
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.9
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.9
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.9
️✔️find
️✔️latest
️✔️3.12
️✔️3.9
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.9
️✔️identity
️✔️latest
️✔️3.12
️✔️3.9
️✔️iot
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️keyvault
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️lab
️✔️latest
️✔️3.12
️✔️3.9
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.9
️✔️maps
️✔️latest
️✔️3.12
️✔️3.9
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.9
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.9
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.9
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.9
️✔️network
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.9
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.9
️✔️profile
️✔️latest
️✔️3.12
️✔️3.9
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.9
️✔️redis
️✔️latest
️✔️3.12
️✔️3.9
️✔️relay
️✔️latest
️✔️3.12
️✔️3.9
️✔️resource
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️role
️✔️latest
️✔️3.12
️✔️3.9
️✔️search
️✔️latest
️✔️3.12
️✔️3.9
️✔️security
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.9
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.9
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.9
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.9
️✔️sql
️✔️latest
️✔️3.12
️✔️3.9
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.9
️✔️storage
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.9
️✔️telemetry
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9
️✔️util
️✔️latest
️✔️3.12
️✔️3.9
️✔️vm
️✔️2018-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2019-03-01-hybrid
️✔️3.12
️✔️3.9
️✔️2020-09-01-hybrid
️✔️3.12
️✔️3.9
️✔️latest
️✔️3.12
️✔️3.9

Copy link

Hi @cxznmhdcxz,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

Copy link

azure-client-tools-bot-prd bot commented Jan 3, 2025

❌AzureCLI-BreakingChangeTest
❌vm
rule cmd_name rule_message suggest_message
1007 - ParaRemove sig share add cmd sig share add removed parameter op_type please add back parameter op_type for cmd sig share add
1007 - ParaRemove sig share enable-community cmd sig share enable-community removed parameter op_type please add back parameter op_type for cmd sig share enable-community
1007 - ParaRemove sig share remove cmd sig share remove removed parameter op_type please add back parameter op_type for cmd sig share remove
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter gallery_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter no_wait: added property aaz_type=bool
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter no_wait: added property choices=['0', '1', 'f', 'false', 'n', 'no', 't', 'true', 'y', 'yes']
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter no_wait: added property nargs=?
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter no_wait: added property type=bool
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter resource_group_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter resource_group_name: added property type=string
⚠️ 1010 - ParaPropUpdate sig share add cmd sig share add update parameter resource_group_name: updated property name from resource_group_name to resource_group
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter subscription_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter subscription_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter tenant_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share add cmd sig share add update parameter tenant_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter gallery_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter no_wait: added property aaz_type=bool
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter no_wait: added property choices=['0', '1', 'f', 'false', 'n', 'no', 't', 'true', 'y', 'yes']
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter no_wait: added property nargs=?
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter no_wait: added property type=bool
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter resource_group_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter resource_group_name: added property type=string
⚠️ 1010 - ParaPropUpdate sig share enable-community cmd sig share enable-community update parameter resource_group_name: updated property name from resource_group_name to resource_group
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter subscription_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter subscription_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter tenant_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share enable-community cmd sig share enable-community update parameter tenant_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter gallery_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter no_wait: added property aaz_type=bool
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter no_wait: added property choices=['0', '1', 'f', 'false', 'n', 'no', 't', 'true', 'y', 'yes']
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter no_wait: added property nargs=?
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter no_wait: added property type=bool
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter resource_group_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter resource_group_name: added property type=string
⚠️ 1010 - ParaPropUpdate sig share remove cmd sig share remove update parameter resource_group_name: updated property name from resource_group_name to resource_group
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter subscription_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter subscription_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter tenant_ids: added property aaz_type=AAZListArg
⚠️ 1008 - ParaPropAdd sig share remove cmd sig share remove update parameter tenant_ids: added property type=List<String>
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter gallery_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter no_wait: added property aaz_type=bool
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter no_wait: added property choices=['0', '1', 'f', 'false', 'n', 'no', 't', 'true', 'y', 'yes']
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter no_wait: added property nargs=?
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter no_wait: added property type=bool
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter resource_group_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share reset cmd sig share reset update parameter resource_group_name: added property type=string
⚠️ 1010 - ParaPropUpdate sig share reset cmd sig share reset update parameter resource_group_name: updated property name from resource_group_name to resource_group
⚠️ 1006 - ParaAdd sig share wait cmd sig share wait added parameter expand
⚠️ 1006 - ParaAdd sig share wait cmd sig share wait added parameter select
⚠️ 1008 - ParaPropAdd sig share wait cmd sig share wait update parameter gallery_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share wait cmd sig share wait update parameter gallery_name: added property id_part=name
⚠️ 1008 - ParaPropAdd sig share wait cmd sig share wait update parameter gallery_name: added property type=string
⚠️ 1008 - ParaPropAdd sig share wait cmd sig share wait update parameter resource_group_name: added property aaz_type=string
⚠️ 1008 - ParaPropAdd sig share wait cmd sig share wait update parameter resource_group_name: added property type=string
⚠️ 1010 - ParaPropUpdate sig share wait cmd sig share wait update parameter resource_group_name: updated property name from resource_group_name to resource_group

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 3, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

Copy link

github-actions bot commented Jan 3, 2025

⚠️Your changes in this PR will be released on Jan 14, 2025 due to CCOA (extend to Jan 6, 2025)

@cxznmhdcxz cxznmhdcxz marked this pull request as ready for review January 3, 2025 08:58
@yanzhudd yanzhudd changed the title {Compute } az sig share: Migrate command group to aaz based {Compute} az sig share: Migrate command group to aaz based Jan 6, 2025
@yanzhudd
Copy link
Contributor

yanzhudd commented Jan 6, 2025

Please remove the unused codes from custom.py.
Also, if this command group isn't supported in other profiles, please remove the related codes from the azure_stack folder as well.

@yanzhudd
Copy link
Contributor

yanzhudd commented Jan 6, 2025

Please check if the detected breaking changes would actually break customers' usage or not:
image

@cxznmhdcxz
Copy link
Member Author

cxznmhdcxz commented Jan 6, 2025

Please check if the detected breaking changes would actually break customers' usage or not: image

op_type is not visible to users in current released CLI, I handle it in pre_operation of aaz code, and there's no change to the usage.

@yanzhudd
Copy link
Contributor

yanzhudd commented Jan 6, 2025

Please resolve the CI issue.

@yanzhudd
Copy link
Contributor

yanzhudd commented Jan 6, 2025

Please rerun some related tests in live mode to verify the changes.

@yanzhudd
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@yanzhudd yanzhudd merged commit cc56708 into Azure:dev Jan 14, 2025
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Compute az vm/vmss/image/disk/snapshot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants