Azure / Azure/azure-rest-api-specs
Postgresql Flexible Servers publicNetworkAccess is readonly, despite being clickable in the portal
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
I'm trying to set `publicNetworkAccess` for a flexible server, but the rest API has it marked as readonly.
For context, I'm trying to do this in Pulumi, which uses these specs as a source.
[Linked issue in the Pulumi repo](https://github.com/pulumi/pulumi-azure-native/issues/2860)
[JSON spec](https://github.com/Azure/azure-rest-api-specs/blob/14d24d17491d8c2bde24532cb8cc2d663c0ffd9f/specification/postgresql/resource-manager/Microsoft.DBforPostgreSQL/stable/2022-12-01/FlexibleServers.json#L905) for the property
[Microsoft docs](https://learn.microsoft.com/en-us/rest/api/postgresql/flexibleserver/servers/create?view=rest-postgresql-flexibleserver-2022-12-01&tabs=HTTP#network) for the object
For complete, this is the checkbox in Azure Portal :D:

Contributor guide
Research direction
Start with the publicNetworkAccess definition at the referenced FlexibleServers.json line and compare it with the Microsoft REST API documentation and the Azure Portal behavior described in the issue. Confirm the intended mutability and ensure the specification accurately represents it, then check the linked Pulumi issue for downstream expectations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, postgresql
- Domain
- api, databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100