Microsoft.Web/sites/basicPublishingCredentialsPolicies: Missing `location` property
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/sites/basicPublishingCredentialsPolicies
### Api Version
2022-03-01
### Issue Type
Missing property(s)
### Other Notes
Linter shows this warning:
`: Warning BCP187: The property "location" does not exist in the resource or type definition, although it might still be valid. If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]`
### Bicep Repro
Documented Usage:
```bicep
resource ftpPublishBasicAuth 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-03-01' = {
name: 'ftp'
parent: functionApp
properties: {
allow: false
}
}
```
Correct Usage:
```bicep
resource ftpPublishBasicAuth 'Microsoft.Web/sites/basicPublishingCredentialsPolicies@2022-03-01' = {
name: 'ftp'
location: location
parent: functionApp
properties: {
allow: false
}
}
```
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Microsoft.Web/sites/basicPublishingCredentialsPolicies resource definition for API version 2022-03-01 and compare it with the documented and corrected Bicep reproductions in the issue. Verify the resulting type definition against the linter so the valid location property is recognized without BCP187.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100