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

{RDBMS} az postgres flexible-server identity remove/update: modify the logic for flexible_server_identity_remove, edit the error text for flexible_server_identity_update #30685

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -929,7 +929,7 @@ def flexible_server_identity_update(cmd, client, resource_group_name, server_nam
else:
if server.data_encryption.type == 'AzureKeyVault':
# if data encryption is enabled, then system-assigned identity cannot be disabled
raise CLIError("Cannot disable system-assigned identity because it's used for data encryption.")
raise CLIError("Disabling system-assigned identity isn't supported on servers configured to use customer managed keys for data encryption.")
if identity_type == 'SystemAssigned,UserAssigned':
# if both system-assigned and user-assigned identity is enabled, then disable system-assigned identity
identity_type = 'UserAssigned'
Expand Down
Loading