Azure/azure-rest-api-specs

[BUG] [`Microsoft.Web`@2021-02-01]: `SiteConfig.PublicNetworkAccess` specified leads to error response

ziyeqf opened this issue · 4 comments

API Spec link

API Spec version

2021-02-01

Describe the bug

There is no Site.PublicNetworkAccess defined in this version, while when Site.SiteConfig.PublicNetworkAccess is specified, The service error out

SiteConfig.PublicNetworkAccess cannot be set by itself. Please use the Site.PublicNetworkAccess property.

Expected behavior

PublicNetworkAccess is set properly

Actual behavior

The service return an error response.

SiteConfig.PublicNetworkAccess cannot be set by itself. Please use the Site.PublicNetworkAccess property.

Reproduction Steps

send a request with SiteConfig.PublicNetworkAccess specified.

Environment

No response

@TimLovellSmith Please help have a look, thank you.

We also facing same issue with SiteConfig.PublicNetworkAccess suddenly today, Any update on this ?

Any update here?

This PR seems related, but targets a different api version.
#29092