[EventGrid] Support user identity and mixed mode#21648
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.
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.
This may cause unexpected CI failure in the future. We recommend removing a deprecated argument manually.
There was a problem hiding this comment.
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.