Microsoft.DataFactory/factories/pipelines@2018-06-01: missing properties
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 108
- Forks
- 44
- Avg merge
- 18h 53m
- Merged PRs (30d)
- 29
Description
### Resource Type
Microsoft.DataFactory/factories/pipelines@2018-06-01
### Api Version
2018-06-01
### Issue Type
Missing property(s)
### Other Notes
Warning BCP037: The property "additionalProperties" is not allowed on objects of type "AzureDataExplorerSink". Permissible properties include "disableMetricsCollection", "flushImmediately", "ingestionMappingAsJson", "maxConcurrentConnections", "sinkRetryCount", "sinkRetryWait", "writeBatchSize", "writeBatchTimeout". If this is an inaccuracy in the documentation, please report it to the Bicep Team. [https://aka.ms/bicep-type-issues]
### Bicep Repro
```bicep
@description('Azure Data Factory Name.')
param dataFactoryName string
resource dataFactory 'Microsoft.DataFactory/factories@2018-06-01' existing = {
name: dataFactoryName
}
resource KustoEgressFailureHandler 'Microsoft.DataFactory/factories/pipelines@2018-06-01' = {
parent: dataFactory
name: 'Kusto Egress Failure Handler'
properties: {
activities: [
{
name: 'Copy Entity to Kusto with drop by'
type: 'Copy'
typeProperties: {
source: {
type: 'JsonSource'
storeSettings: {
type: 'AzureBlobStorageReadSettings'
recursive: true
wildcardFileName: '*.json'
}
formatSettings: {
type: 'JsonReadSettings'
}
}
sink: {
type: 'AzureDataExplorerSink'
ingestionMappingName: ''
additionalProperties: {
value: '{"tags":"[\\"drop-by:@{pipeline().parameters.dataRetentionDate}\\"]"}'
type: 'Expression'
}
}
enableStaging: false
validateDataConsistency: true
}
inputs: [
{
referenceName: 'JsonPackDeflated'
type: 'DatasetReference'
parameters: {
container: {
value: '@pipeline().parameters.container'
type: 'Expression'
}
version: {
value: '@pipeline().parameters.version'
type: 'Expression'
}
entityType: {
value: '@pipeline().parameters.entityType'
type: 'Expression'
}
}
}
]
outputs: [
{
referenceName: 'Entity'
type: 'DatasetReference'
parameters: {
tableName: {
value: '@pipeline().parameters.entityType'
type: 'Expression'
}
databaseName: {
value: '@pipeline().parameters.container'
type: 'Expression'
}
}
}
]
}
]
parameters: {
container: {
type: 'string'
defaultValue: 'tests'
}
version: {
type: 'string'
}
entityType: {
type: 'string'
defaultValue: 'Version'
}
productionPublish: {
type: 'bool'
defaultValue: false
}
dataRetentionDate: {
type: 'string'
defaultValue: '2021-06-1'
}
}
variables: {
databaseName: {
type: 'String'
defaultValue: '@pipeline().parameters.container'
}
tableName: {
type: 'String'
defaultValue: 'tests'
}
}
}
}
```
### Confirm
- [X] I have read the troubleshooting guide and looked for duplicates.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Bicep repro for Microsoft.DataFactory/factories/pipelines@2018-06-01 and inspect the type definition for AzureDataExplorerSink. Confirm how the missing additionalProperties field is represented; done means the repro no longer reports BCP037 for that property.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, typescript
- Domain
- cloud, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100