Azure / Azure/azure-rest-api-specs

[VirtualNetwork/subnet]The possible values for the privateEndpointNetworkPolicies should be `Disabled`, `NetworkSecurityGroupEnabled`, `RouteTableEnabled` and `Enabled`?

Open
#23,256 10 comments 10 reactions 0 assignees View on GitHub
customer-reported needs-team-attention Network - Virtual Network question Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

Per the[ latest Azure API ](https://github.com/Azure/azure-rest-api-specs/blob/09119c0cca116b1d8b69552bb63d697628f0e5f6/specification/network/resource-manager/Microsoft.Network/stable/2022-09-01/virtualNetwork.json#L1606), privateEndpointNetworkPolicies only supports Enabled and Disabled . However, per the [doc](https://learn.microsoft.com/en-us/azure/private-link/disable-private-endpoint-network-policy?tabs=network-policy-json#enable-network-policy), ` The possible values for the privateEndpointNetworkPolicies are Disabled, NetworkSecurityGroupEnabled, RouteTableEnabled, and Enabled.` . If `NetworkSecurityGroupEnabled` and `RouteTableEnabled` are indeed supported, could you please add them into the Azure rest API?

Contributor guide

Open the contributing guide

Research direction

Compare the Azure API definition at specification/network/resource-manager/Microsoft.Network/stable/2022-09-01/virtualNetwork.json around line 1606 with the linked private endpoint network policy documentation. Confirm whether NetworkSecurityGroupEnabled and RouteTableEnabled are supported, then update the API specification if they are and verify the resulting definition.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.