Azure / Azure/azure-rest-api-specs

Missing scheduledTransferPeriod parameter in spec of dataCollectionRules API : DataSourcesSpec.PerfCounterDataSource

Open
#26,554 1 comment 1 reaction 0 assignees View on GitHub
customer-reported Monitor - Operational Insights question Service Attention
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:

![image](https://github.com/Azure/azure-rest-api-specs/assets/2911492/972fae70-2ed0-411d-82fb-8b2ac600f97e)

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

![image](https://github.com/Azure/azure-rest-api-specs/assets/2911492/e0435e21-1b5e-458a-b0f9-cb8c93b71fd1)

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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.