Azure / Azure/azure-powershell
Adding -Kind as Optional Parameter to New-AzDataCollectionRule
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
## Description of the new feature
Currently is is not possible to set the Platform Type of a Data Collection Rule. I tried to find what impact this has on rule itself, but could not find it. Looking into the REST API version (https://docs.microsoft.com/en-us/rest/api/monitor/data-collection-rules/create), it would make sense to add the parameter -Kind.
## Proposed implementation details (optional)
Add named (optional) Parameter -Kind to New-AzDataCollectionRule. Possible values: 'Windows' or 'Linux' (https://docs.microsoft.com/en-us/rest/api/monitor/data-collection-rules/create#knowndatacollectionruleresourcekind)
Not adding the -Kind parameter will result in a 'Custom' Platform Type. This is the current behaviour
Contributor guide
Assessment
This issue has not been assessed yet.