Azure / Azure/azure-rest-api-specs

Missing readonly `inboundIpAddress` property from Microsoft.Web/sites type definitions

Open
#12,974 4 comments 9 reactions 0 assignees View on GitHub
Service Attention Web Apps
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

If I perform a GET on a resource of type Microsoft.Web/sites with API version 2018-11-01, the response includes a property named `inboundIpAddress` under the resource "properties" field:

```json
{
"id": // removed,
"name": // removed,
"type": "Microsoft.Web/sites",
"kind": "app",
"location": "Central US",
"properties": {
// removed,
"inboundIpAddress": // removed,
// removed,
}
}
```

This property has not been declared anywhere in any of the Microsoft.Web specs. I assume there are other similar properties which have not been modeled, and that this issue is present in many of the different API versions supported by the service.

This was first brought to our attention here: https://github.com/Azure/bicep/issues/784#issuecomment-776486990

Contributor guide

Open the contributing guide

Research direction

Start by locating the Microsoft.Web specifications for API version 2018-11-01 and compare the reported Microsoft.Web/sites response with the declared properties. Determine which specification files and supported API versions need the readonly inboundIpAddress property, then verify that the affected type definitions represent the response consistently.

Written by the indexing model from the issue text.

Assessment

Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.