-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[EventGrid] Support user identity and mixed mode #21648
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
Conversation
|
EventGrid |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
The design doesn't seem to follow https://github.com/Azure/azure-cli/blob/dev/doc/managed_identity_command_guideline.md Add @zhoxing-ms for review |
|
For Please note that the |
|
Please note that the parameter
|
Additionally, |
| elif identity_type_name is None and user_identity_properties is not None and mi_system_assigned is not None: | ||
| result = IDENTITY_MIXED_MODE | ||
| elif identity_type_name is not None and (user_identity_properties is not None or mi_system_assigned is not None): | ||
| raise CLIError('usage error: cannot use --identity together with --mi-system-assigned or --mi-user-assigned') |
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.
Please use the specific error type MutuallyExclusiveArgumentError instead of CLIError
|
Please deprecate the Please note that adding |
|
Please refer to doc submitting-pull-requests to write the current changes in detail in the PR title and PR description, these contents will be written into the history notes |
| c.argument('inbound_ip_rules', action=AddInboundIpRule, nargs='+') | ||
| c.argument('sku', arg_type=sku_type) | ||
| c.argument('identity', arg_type=identity_type) | ||
| c.argument('identity', arg_type=identity_type, deprecate_info=c.deprecate(expiration='2.46.0')) |
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.
This may cause unexpected CI failure in the future. We recommend removing a deprecated argument manually.
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.
Well. Another deprecation indeed caused problem today after upgrading Azure CLI version to 2.35.0: #20682 (comment)
Description
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 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.