Azure / Azure/azure-powershell

Adding -Kind as Optional Parameter to New-AzDataCollectionRule

Open
#15,966 6 comments 0 reactions 0 assignees View on GitHub
act-observability-squad customer-reported feature-request Monitor
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.