-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Related command
az postgres flexible-server geo-restore
Is your feature request related to a problem? Please describe.
Currently the command does not allow to set tags for the target resource, ending in an error.
unrecognized arguments: --tags key1=value1 key2=value2
The same command for MySQL Flexible Server does allow for tags to be specified. Looks like a bit of inconsistency there.
Describe the solution you'd like
For the az postgres flexible-server geo-restore command to support --tags parameter, and for those tags to be set on the restored PostgreSQL Flexible Server resource.
Describe alternatives you've considered
I've considered using PowerShell for that, but while it does support geo-restore and setting tags, it's missing other parameters, like specifying source server by id, or specifying target subnet for private connectivity scenarios.
Additional context
For environments that enforce specific tags to be present during resource creation, the lack of support for tags with geo-restore operation blocks the functionality completely.