Microsoft.Web/connections@2018-07-01-preview and Microsoft.Web/connections/accessPolicies@2018-07-01-preview
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.Web/connections
### Api Version
2018-07-01-preview
### Issue Type
Type is unavailable
### Other Notes
Microsoft.Web/connections@2018-07-01-preview
Microsoft.Web/connections/accessPolicies@2018-07-01-preview
Please add these types. Also expose the Kind property along with instruction how to add managed identity access policy for the connection.
### Bicep Repro
@description('The location of the api connections.')
param location string
@description('The api connections.')
param apiConnections array
@description('The managed identity object id.')
param identityObjectID string
@description('The tags.')
param tags object
resource connections 'Microsoft.Web/connections@2018-07-01-preview' = [
for apiConnection in apiConnections: {
name: apiConnection.name
location: location
kind: 'V2'
tags: tags
properties: {
displayName: apiConnection.name
api: {
id: subscriptionResourceId('Microsoft.Web/locations/managedApis', location, apiConnection.type)
}
}
}
]
resource connectionsAccessPolicy 'Microsoft.Web/connections/accessPolicies@2018-07-01-preview' = [
for apiConnection in apiConnections: {
name: '${apiConnection.name}/${identityObjectID}'
location: location
properties: {
principal: {
type: 'ActiveDirectory'
identity: {
tenantId: subscription().tenantId
objectId: identityObjectID
}
}
}
dependsOn: [
connections
]
}
]
### 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 Bicep repro and locate how Microsoft.Web/connections and Microsoft.Web/connections/accessPolicies resource types are represented in this repository. Confirm the definitions cover the 2018-07-01-preview types, expose Kind, and document the managed identity access policy configuration; add or update focused validation if the repository provides it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100