[<DppIdentityDetails]: <description>
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.DataProtection/backupVaults
### Api Version
2024-04-01
### Issue Type
Inaccurate property type(s)
### Other Notes
in documentations it says that Identity should be Type string, but in API it requires type object
identity | Input Managed Identity Details | DppIdentityDetails
-- | -- | --
identity Input Managed Identity Details [DppIdentityDetails](https://learn.microsoft.com/en-us/azure/templates/microsoft.dataprotection/backupvaults?pivots=deployment-language-bicep#dppidentitydetails)
### Bicep Repro
metadata resources = {
name: 'backupVault'
displayName: 'Deployment of a backup Vault'
description: 'This bicep file deployes backup Vault'
owner: 'Platform Team'
version: '1.0.0'
}
@description('backupVault name')
param name string
@description('backupVault location')
param location string
@description('backupVault tags')
param tags object
@description('backupVault identity')
param identity object
@description('backupVault properties')
param properties object
resource backupVault 'Microsoft.DataProtection/backupVaults@2024-04-01' = {
name: name
location: location
tags: tags
identity: identity
properties: properties
}
output Id string = backupVault.id
output Name string = backupVault.name
### 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.DataProtection/backupVaults definition for API version 2024-04-01 and compare its identity property with the DppIdentityDetails documentation linked in the issue. Confirm the generated Bicep type matches the API's object shape, and verify that the documentation and type definition agree when the identity property is used in the supplied reproduction.
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