Azure / Azure/azure-rest-api-specs

regex issue

Open
#27,334 0 comments 0 reactions 0 assignees View on GitHub
customer-reported PostgreSQL question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

https://github.com/Azure/azure-rest-api-specs/blob/ee05b0049a20adc0e010bbbf17c50a0fdbf72a47/specification/postgresql/resource-manager/types/common-types.json#L189C19-L189C60

The above regex allows only the following format
```
privateEndpointName = myprivateendpoint.1
```
while `myprivateendpoint1` is also valid in portal.

Contributor guide

Open the contributing guide

Research direction

Open specification/postgresql/resource-manager/types/common-types.json at line 189 and inspect the private endpoint name regex. Compare its current behavior with the two valid portal formats, then verify that the specification accepts both names.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
api, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.