Azure / Azure/azure-rest-api-specs
Missing scheduledTransferPeriod parameter in spec of dataCollectionRules API : DataSourcesSpec.PerfCounterDataSource
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
According to
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json#L380-L418
there is no parameter named "scheduledTransferPeriod". When enabling VM Insights through Azure portal:

the parameter is set in the deployment, so is obviously usable:

Please add the parameter to the specs, so anyone working against the spec would also pick it up, as leaving away that param makes certain things not work...
This relates to https://github.com/hashicorp/terraform-provider-azurerm/issues/22772
Contributor guide
Research direction
Read specification/monitor/resource-manager/Microsoft.Insights/stable/2022-06-01/dataCollectionRules_API.json around lines 380-418, focusing on DataSourcesSpec.PerfCounterDataSource. Compare the portal deployment examples in the issue to determine the parameter’s representation, then update the specification so scheduledTransferPeriod is included and usable by consumers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, openapi
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100