Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/monitor-control-service/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Release History
===============

0.3.1
++++++
* `az monitor data-collection rule create`: Add json file example for parameter --rule-file.

0.3.0
++++++
* `az monitor data-collection rule create`: Add parameter --rule-file.
Expand Down
22 changes: 22 additions & 0 deletions src/monitor-control-service/azext_amcs/manual/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,28 @@
parameters:
- name: --rule-file
short-summary: "The json file for rule parameters."
long-summary: |
Usage: --rule-file sample.json
rule json file should be rule parameters organized as json format, like below:
{
"properties": {
"destinations": {
"azureMonitorMetrics": {
"name": "azureMonitorMetrics-default"
}
},
"dataFlows": [
{
"streams": [
"Microsoft-InsightsMetrics"
],
"destinations": [
"azureMonitorMetrics-default"
]
}
]
}
}
examples:
- name: Create data collection rule
text: |-
Expand Down
Loading