[APIConnection]: Support for CustomAPis and Missing Kind V2 Property
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/connections
### Api Version
2016-06-01
### Issue Type
Missing property(s)
### Other Notes
Missing Property Kind: V2 to define API Connections with Bicep.
### Bicep Repro
```
resource connections_commodityautomation_cache_v1_dev_connection_name_resource 'Microsoft.Web/connections@2016-06-01' = {
name: connections_commodityautomation_cache_v1_dev_connection_name
location: 'westeurope'
kind: 'V2'
properties: {
displayName: connections_commodityautomation_cache_v1_dev_connection_name
statuses: [
{
status: 'Connected'
}
]
customParameterValues: {}
nonSecretParameterValues: {}
createdTime: '2023-11-10T08:37:18.9873859Z'
changedTime: '2023-12-08T10:59:42.5063726Z'
api: {
name: 'commodityautomation-cache-v1-dev-connector'
displayName: 'commodityautomation-cache-v1-dev-connector'
description: 'Caching Connector V1'
id: customApis_commodityautomation_cache_v1_dev_connector_externalid
type: 'Microsoft.Web/customApis'
}
testLinks: []
}
}
```
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the type definition for Microsoft.Web/connections at API version 2016-06-01 and inspect how the resource's kind property is represented. Confirm the definition supports the reported V2 value and validate the generated Bicep type output using the repository's available checks; done means the repro is accepted without a missing-property error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100