You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Monitor/Monitor/help/Remove-AzDataCollectionRule.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ Delete a data collection rule.
15
15
### ByName (Default)
16
16
```
17
17
Remove-AzDataCollectionRule
18
-
-ResourceGroupName <string>
19
-
-RuleName <string>
18
+
-ResourceGroupName <string>
19
+
-RuleName <string>
20
20
[-PassThru]
21
21
[-DefaultProfile <IAzureContextContainer>]
22
22
[-WhatIf]
@@ -49,13 +49,13 @@ Remove-AzDataCollectionRule
49
49
## DESCRIPTION
50
50
The **Remove-AzDataCollectionRule** cmdlet delete a data collection rule.
51
51
52
-
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/platform/data-collection-rule-overview).
52
+
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/essentials/data-collection-rule-overview).
53
53
54
54
## EXAMPLES
55
55
56
56
### Example 1: Delete data collection rule with name and resource group parameters
Copy file name to clipboardExpand all lines: src/Monitor/Monitor/help/Set-AzDataCollectionRule.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ Updates (full replacement) a data collection rule.
14
14
15
15
### ByName (Default)
16
16
```
17
-
Set-AzDataCollectionRule
17
+
Set-AzDataCollectionRule
18
18
-Location <string>
19
19
-ResourceGroupName <string>
20
20
-RuleName <string>
@@ -29,7 +29,7 @@ Set-AzDataCollectionRule
29
29
30
30
### ByResourceId
31
31
```
32
-
Set-AzDataCollectionRule
32
+
Set-AzDataCollectionRule
33
33
-Location <string>
34
34
-RuleId <string>
35
35
-RuleFile <string>
@@ -43,8 +43,8 @@ Set-AzDataCollectionRule
43
43
44
44
### ByInputObject
45
45
```
46
-
Set-AzDataCollectionRule
47
-
-InputObject <PSDataCollectionRuleResource>
46
+
Set-AzDataCollectionRule
47
+
-InputObject <PSDataCollectionRuleResource>
48
48
[-DefaultProfile <IAzureContextContainer>]
49
49
[-WhatIf]
50
50
[-Confirm]
@@ -54,7 +54,7 @@ Set-AzDataCollectionRule
54
54
## DESCRIPTION
55
55
The **Set-AzDataCollectionRule** cmdlet replaces an existing data collection rule.
56
56
57
-
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/platform/data-collection-rule-overview).
57
+
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/essentials/data-collection-rule-overview).
58
58
59
59
To use the -RuleFile parameter, construct a json file containing three properties: dataSources, destinations, dataFlows (see Example #1).
Copy file name to clipboardExpand all lines: src/Monitor/Monitor/help/Update-AzDataCollectionRule.md
+18-18
Original file line number
Diff line number
Diff line change
@@ -14,32 +14,32 @@ Updates a data collection rule tags property.
14
14
15
15
### ByName (Default)
16
16
```
17
-
Update-AzDataCollectionRule
18
-
-ResourceGroupName <string>
19
-
-RuleName <string>
20
-
[-Tag <hashtable>]
21
-
[-DefaultProfile <IAzureContextContainer>]
22
-
[-WhatIf]
17
+
Update-AzDataCollectionRule
18
+
-ResourceGroupName <string>
19
+
-RuleName <string>
20
+
[-Tag <hashtable>]
21
+
[-DefaultProfile <IAzureContextContainer>]
22
+
[-WhatIf]
23
23
[-Confirm]
24
24
[<CommonParameters>]
25
25
```
26
26
27
27
### ByResourceId
28
28
```
29
-
Update-AzDataCollectionRule
30
-
-RuleId <string>
31
-
[-Tag <hashtable>]
32
-
[-DefaultProfile <IAzureContextContainer>]
33
-
[-WhatIf]
29
+
Update-AzDataCollectionRule
30
+
-RuleId <string>
31
+
[-Tag <hashtable>]
32
+
[-DefaultProfile <IAzureContextContainer>]
33
+
[-WhatIf]
34
34
[-Confirm]
35
35
[<CommonParameters>]
36
36
```
37
37
38
38
### ByInputObject
39
39
```
40
-
Update-AzDataCollectionRule
41
-
-InputObject <PSDataCollectionRuleResource>
42
-
[-Tag <hashtable>]
40
+
Update-AzDataCollectionRule
41
+
-InputObject <PSDataCollectionRuleResource>
42
+
[-Tag <hashtable>]
43
43
[-DefaultProfile <IAzureContextContainer>]
44
44
[-WhatIf]
45
45
[-Confirm]
@@ -49,7 +49,7 @@ Update-AzDataCollectionRule
49
49
## DESCRIPTION
50
50
The **Update-AzDataCollectionRule** cmdlet updates a data collection rule Tags property.
51
51
52
-
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/platform/data-collection-rule-overview).
52
+
Data Collection Rules (DCR) define data coming into Azure Monitor and specify where that data should be sent or stored. Here is the complete [DCR overview article](https://docs.microsoft.com/azure/azure-monitor/essentials/data-collection-rule-overview).
0 commit comments