Azure / Azure/azure-cli

`az postgres flexible-server geo-restore` should allow to set tags

Open
#32,890 3 comments 0 reactions 1 assignee Claimed by @nachoalonsoportillo View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported Language PostgreSQL Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.