Azure / Azure/bicep-types-az

[Microsoft.DataProtection/backupVaults/backupInstances]: PolicyParameters/BackupDatasourceParametersList property is not allowed

Open
#2,486 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

inaccuracy
Dominant language
TypeScript
Stars
108
Forks
44
Avg merge
18h 53m
Merged PRs (30d)
29

Description

Resource Type

Microsoft.DataProtection/backupVaults/backupInstances

Api Version

2022-05-01

Issue Type

Type is unavailable

Other Notes

No response

Bicep Repro

resource backupInstance 'Microsoft.DataProtection/backupVaults/backupInstances@2022-05-01' = {
parent: vault
name: storageAccountName
properties: {
objectType: 'BackupInstance'
friendlyName: storageAccountName
dataSourceInfo: {
objectType: 'Datasource'
resourceID: storageAccountResourceId
}
policyInfo: {
policyId: backupPolicy.id
policyParameters: {
backupDatasourceParametersList: [
{
objectType: 'AdlsBlobBackupDatasourceParameters'
containersList: containerList
}
]
}
}
}
dependsOn: [
roleAssignment
]
}

Confirm
  • I have read the troubleshooting guide and looked for duplicates.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Microsoft.DataProtection/backupVaults/backupInstances type definition and comparing its PolicyParameters shape with the 2022-05-01 Bicep repro. Verify whether BackupDatasourceParametersList is represented, then confirm that the shown backupInstance declaration accepts the property without a type error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.