diff --git a/src/Monitor/Monitor/help/Remove-AzDataCollectionRule.md b/src/Monitor/Monitor/help/Remove-AzDataCollectionRule.md index 4884b3be83c6..0ca01ce0979f 100644 --- a/src/Monitor/Monitor/help/Remove-AzDataCollectionRule.md +++ b/src/Monitor/Monitor/help/Remove-AzDataCollectionRule.md @@ -15,8 +15,8 @@ Delete a data collection rule. ### ByName (Default) ``` Remove-AzDataCollectionRule - -ResourceGroupName - -RuleName + -ResourceGroupName + -RuleName [-PassThru] [-DefaultProfile ] [-WhatIf] @@ -49,13 +49,13 @@ Remove-AzDataCollectionRule ## DESCRIPTION The **Remove-AzDataCollectionRule** cmdlet delete a data collection rule. -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). +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). ## EXAMPLES ### Example 1: Delete data collection rule with name and resource group parameters ```powershell -Remove-AzDataCollectionRule -ResourceGroupName "testgroup" -RuleName "testDcr" +Remove-AzDataCollectionRule -ResourceGroupName "testgroup" -RuleName "testDcr" ``` ### Example 2: Delete data collection rule with name and resource group return bool diff --git a/src/Monitor/Monitor/help/Set-AzDataCollectionRule.md b/src/Monitor/Monitor/help/Set-AzDataCollectionRule.md index 72a3121dd820..200d423e4553 100644 --- a/src/Monitor/Monitor/help/Set-AzDataCollectionRule.md +++ b/src/Monitor/Monitor/help/Set-AzDataCollectionRule.md @@ -14,7 +14,7 @@ Updates (full replacement) a data collection rule. ### ByName (Default) ``` -Set-AzDataCollectionRule +Set-AzDataCollectionRule -Location -ResourceGroupName -RuleName @@ -29,7 +29,7 @@ Set-AzDataCollectionRule ### ByResourceId ``` -Set-AzDataCollectionRule +Set-AzDataCollectionRule -Location -RuleId -RuleFile @@ -43,8 +43,8 @@ Set-AzDataCollectionRule ### ByInputObject ``` -Set-AzDataCollectionRule - -InputObject +Set-AzDataCollectionRule + -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] @@ -54,7 +54,7 @@ Set-AzDataCollectionRule ## DESCRIPTION The **Set-AzDataCollectionRule** cmdlet replaces an existing data collection rule. -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). +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). To use the -RuleFile parameter, construct a json file containing three properties: dataSources, destinations, dataFlows (see Example #1). diff --git a/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md b/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md index b94c73a4efdd..1b0ee7e31a46 100644 --- a/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md +++ b/src/Monitor/Monitor/help/Update-AzDataCollectionRule.md @@ -14,32 +14,32 @@ Updates a data collection rule tags property. ### ByName (Default) ``` -Update-AzDataCollectionRule - -ResourceGroupName - -RuleName - [-Tag ] - [-DefaultProfile ] - [-WhatIf] +Update-AzDataCollectionRule + -ResourceGroupName + -RuleName + [-Tag ] + [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ByResourceId ``` -Update-AzDataCollectionRule - -RuleId - [-Tag ] - [-DefaultProfile ] - [-WhatIf] +Update-AzDataCollectionRule + -RuleId + [-Tag ] + [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ### ByInputObject ``` -Update-AzDataCollectionRule - -InputObject - [-Tag ] +Update-AzDataCollectionRule + -InputObject + [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] @@ -49,7 +49,7 @@ Update-AzDataCollectionRule ## DESCRIPTION The **Update-AzDataCollectionRule** cmdlet updates a data collection rule Tags property. -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). +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). ## EXAMPLES @@ -61,7 +61,7 @@ Update-AzDataCollectionRule -RuleName 'newDcr' ` ``` ```output -Description : +Description : DataSources : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources Destinations : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations DataFlows : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow} @@ -83,7 +83,7 @@ Update-AzDataCollectionRule -RuleId '/subscriptions/{subId}/resourceGroups/testd ``` ```output -Description : +Description : DataSources : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources Destinations : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations DataFlows : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow} @@ -105,7 +105,7 @@ $dcr | Update-AzDataCollectionRule -Tag @{"tag1"="value1"; "tag2"="value2"} ``` ```output -Description : +Description : DataSources : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDataSources Destinations : Microsoft.Azure.Commands.Insights.OutputClasses.PSDataCollectionRuleDestinations DataFlows : {Microsoft.Azure.Commands.Insights.OutputClasses.PSDataFlow}