From cb227d444825c454eeed8f62ac02eeaa3b5bf2d4 Mon Sep 17 00:00:00 2001 From: Todd King <58755170+ToddKingMSFT@users.noreply.github.com> Date: Wed, 9 Jun 2021 18:33:06 -0700 Subject: [PATCH 1/2] Update DataCollectionRulesTests.cs commenting out the DataCollectionRulesTests because DataCollectionRules have a different error response format from everything else in AzureMonitor and so they can't be built with this SDK. --- .../tests/BasicTests/DataCollectionRulesTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs b/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs index 9f64b8588105e..b761246d902d4 100644 --- a/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs +++ b/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/BasicTests/DataCollectionRulesTests.cs @@ -19,6 +19,7 @@ namespace Monitor.Tests.BasicTests { + /** commenting this out because DataCollectionRules have a different error response format from everything else in AzureMonitor and so they can't be built with this SDK. public class DataCollectionRulesTests : TestBase { #region DCR Tests @@ -547,4 +548,5 @@ private static void AreEqual(List Date: Wed, 9 Jun 2021 18:34:19 -0700 Subject: [PATCH 2/2] Update DataCollectionRulesTests.cs Commenting this the DataCollectionRulesTests because DataCollectionRules have a different error response format from everything else in AzureMonitor and so they can't be built with this SDK. --- .../tests/Scenarios/DataCollectionRulesTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/Scenarios/DataCollectionRulesTests.cs b/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/Scenarios/DataCollectionRulesTests.cs index e3a5ecd3037e8..923018fce6577 100644 --- a/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/Scenarios/DataCollectionRulesTests.cs +++ b/sdk/monitor/Microsoft.Azure.Management.Monitor/tests/Scenarios/DataCollectionRulesTests.cs @@ -12,6 +12,7 @@ namespace Monitor.Tests.Scenarios { + /** commenting this out because DataCollectionRules have a different error response format from everything else in AzureMonitor and so they can't be built with this SDK. public class DataCollectionRulesTests : TestBase { private const string ResourceGroupName = "netSdkTestRecord"; @@ -377,4 +378,5 @@ private static void AreEqual(DataCollectionRuleAssociationProxyOnlyResource exp, } #endregion } -} \ No newline at end of file + */ +}