Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add submodule for mcs #526

Merged
merged 1 commit into from
Jul 17, 2024
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
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule data-flow add_

Add a data flow.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataFlows[] -->

#### examples

- Add a data flow
```bash
monitor data-collection rule data-flow add --rule-name myCollectionRule --resource-group myResourceGroup --destinations XX3 XX4 --streams Microsoft-Perf Microsoft-WindowsEvent
```
9 changes: 9 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _monitor data-collection rule data-flow delete_

monitor data-collection rule data-flow delete

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataFlows[] -->
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule data-flow list_

List data flows.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataFlows -->

#### examples

- List data flows
```bash
monitor data-collection rule data-flow list --rule-name myCollectionRule --resource-group myResourceGroup
```
9 changes: 9 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _monitor data-collection rule data-flow show_

monitor data-collection rule data-flow show

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataFlows[] -->
9 changes: 9 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _monitor data-collection rule data-flow update_

monitor data-collection rule data-flow update

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataFlows[] -->
20 changes: 20 additions & 0 deletions Commands/monitor/data-collection/rule/data-flow/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _monitor data-collection rule data-flow_

Manage data flows.

## Commands

- [add](/Commands/monitor/data-collection/rule/data-flow/_add.md)
: Add a data flow.

- [delete](/Commands/monitor/data-collection/rule/data-flow/_delete.md)
: monitor data-collection rule data-flow delete

- [list](/Commands/monitor/data-collection/rule/data-flow/_list.md)
: List data flows.

- [show](/Commands/monitor/data-collection/rule/data-flow/_show.md)
: monitor data-collection rule data-flow show

- [update](/Commands/monitor/data-collection/rule/data-flow/_update.md)
: monitor data-collection rule data-flow update
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule log-analytics add_

Add Log Analytics destinations of a data collection rule.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.destinations.logAnalytics[] -->

#### examples

- Add Log Analytics destinations of a data collection rule
```bash
monitor data-collection rule log-analytics add --rule-name myCollectionRule --resource-group myResourceGroup --name workspace2 --resource-id /subscriptions/703362b3-f2784e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/workspace2
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule log-analytics delete_

Delete a Log Analytics destinations of a data collection rule.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.destinations.logAnalytics[] -->

#### examples

- Delete a Log Analytics destinations of a data collection rule
```bash
monitor data-collection rule log-analytics delete --rule-name myCollectionRule --resource-group myResourceGroup --name workspace2
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule log-analytics list_

List Log Analytics destinations of a data collection rule.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.destinations.logAnalytics -->

#### examples

- List Log Analytics destinations of a data collection rule
```bash
monitor data-collection rule log-analytics list --rule-name myCollectionRule --resource-group myResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule log-analytics show_

Show a Log Analytics destination of a data collection rule.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.destinations.logAnalytics[] -->

#### examples

- Show a Log Analytics destination of a data collection rule
```bash
monitor data-collection rule log-analytics show --rule-name myCollectionRule --resource-group myResourceGroup --name centralWorkspace
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule log-analytics update_

Update a Log Analytics destination of a data collection rule.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.destinations.logAnalytics[] -->

#### examples

- Update a Log Analytics destination of a data collection rule
```bash
monitor data-collection rule log-analytics update --rule-name myCollectionRule --resource-group myResourceGroup --name workspace2 --resource-id "/subscriptions/703362b3-f278-4e4b-9179-c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspaces/anotherWorkspace"
```
20 changes: 20 additions & 0 deletions Commands/monitor/data-collection/rule/log-analytics/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _monitor data-collection rule log-analytics_

Manage Log Analytics destinations.

## Commands

- [add](/Commands/monitor/data-collection/rule/log-analytics/_add.md)
: Add Log Analytics destinations of a data collection rule.

- [delete](/Commands/monitor/data-collection/rule/log-analytics/_delete.md)
: Delete a Log Analytics destinations of a data collection rule.

- [list](/Commands/monitor/data-collection/rule/log-analytics/_list.md)
: List Log Analytics destinations of a data collection rule.

- [show](/Commands/monitor/data-collection/rule/log-analytics/_show.md)
: Show a Log Analytics destination of a data collection rule.

- [update](/Commands/monitor/data-collection/rule/log-analytics/_update.md)
: Update a Log Analytics destination of a data collection rule.
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/performance-counter/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule performance-counter add_

Add a Log performance counter data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.performanceCounters[] -->

#### examples

- Add a Log performance counter data source
```bash
monitor data-collection rule performance-counter add --rule-name myCollectionRule --resource-group myResourceGroup --name team2ExtraCounters --streams Microsoft-Perf --counter-specifiers "\\Process(_Total)\\Thread Count" "\\LogicalDisk(_Total)\\FreeMegabytes" --sampling-frequency 30
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule performance-counter delete_

Delete a Log performance counter data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.performanceCounters[] -->

#### examples

- Delete a Log performance counter data source
```bash
monitor data-collection rule performance-counter delete --rule-name myCollectionRule --resource-group myResourceGroup --name team2ExtraCounters
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/performance-counter/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule performance-counter list_

List Log performance counter data sources.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.performanceCounters -->

#### examples

- List Log performance counter data sources
```bash
monitor data-collection rule performance-counter list --rule-name myCollectionRule --resource-group myResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/performance-counter/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule performance-counter show_

Show a Log performance counter data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.performanceCounters[] -->

#### examples

- Show a Log performance counter data source
```bash
monitor data-collection rule performance-counter show --rule-name myCollectionRule --resource-group myResourceGroup --name appTeamExtraCounters
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule performance-counter update_

Update a Log performance counter data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.performanceCounters[] -->

#### examples

- Update a Log performance counter data source
```bash
monitor data-collection rule performance-counter update --rule-name myCollectionRule --resource-group myResourceGroup --name team2ExtraCounters
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _monitor data-collection rule performance-counter_

Manage Log performance counter data source.

## Commands

- [add](/Commands/monitor/data-collection/rule/performance-counter/_add.md)
: Add a Log performance counter data source.

- [delete](/Commands/monitor/data-collection/rule/performance-counter/_delete.md)
: Delete a Log performance counter data source.

- [list](/Commands/monitor/data-collection/rule/performance-counter/_list.md)
: List Log performance counter data sources.

- [show](/Commands/monitor/data-collection/rule/performance-counter/_show.md)
: Show a Log performance counter data source.

- [update](/Commands/monitor/data-collection/rule/performance-counter/_update.md)
: Update a Log performance counter data source.
15 changes: 15 additions & 0 deletions Commands/monitor/data-collection/rule/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ Manage data collection rule for monitor control service.
- [association](/Commands/monitor/data-collection/rule/association/readme.md)
: Manage data collection rule association for monitor control service.

- [data-flow](/Commands/monitor/data-collection/rule/data-flow/readme.md)
: Manage data flows.

- [log-analytics](/Commands/monitor/data-collection/rule/log-analytics/readme.md)
: Manage Log Analytics destinations.

- [performance-counter](/Commands/monitor/data-collection/rule/performance-counter/readme.md)
: Manage Log performance counter data source.

- [syslog](/Commands/monitor/data-collection/rule/syslog/readme.md)
: Manage Syslog data source.

- [windows-event-log](/Commands/monitor/data-collection/rule/windows-event-log/readme.md)
: Manage Windows Event Log data source.

## Commands

- [create](/Commands/monitor/data-collection/rule/_create.md)
Expand Down
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/syslog/_add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule syslog add_

Add a Syslog data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.syslog[] -->

#### examples

- Add a Syslog data source
```bash
monitor data-collection rule syslog add --rule-name myCollectionRule --resource-group myResourceGroup --name syslogBase --facility-names syslog --log-levels Alert Critical --streams Microsoft-Syslog
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/syslog/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule syslog delete_

Delete a Syslog data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.syslog[] -->

#### examples

- Delete a Syslog data source
```bash
monitor data-collection rule syslog delete --rule-name myCollectionRule --resource-group myResourceGroup --name syslogBase
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/syslog/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule syslog list_

List Syslog data sources.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.syslog -->

#### examples

- List Syslog data sources
```bash
monitor data-collection rule syslog list --rule-name myCollectionRule --resource-group myResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/monitor/data-collection/rule/syslog/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _monitor data-collection rule syslog show_

Show a Syslog data source.

## Versions

### [2023-03-11](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2023-03-11.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{} 2023-03-11 properties.dataSources.syslog[] -->

#### examples

- Show a Syslog data source
```bash
monitor data-collection rule syslog show --rule-name myCollectionRule --resource-group myResourceGroup --name syslogBase
```
Loading
Loading