Skip to content

Commit 2003a54

Browse files
authored
Merge pull request Azure#9945 from gucalder/master
Making the Monitor PS SDK to point to the version 0.24.1-preview of the .Net SDK
2 parents 2fe955a + 0b05cae commit 2003a54

File tree

15 files changed

+298
-289
lines changed

15 files changed

+298
-289
lines changed

src/Monitor/Monitor.Test/Monitor.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<PsModuleName>Monitor</PsModuleName>
@@ -11,8 +11,8 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.22.0-preview" />
15-
<PackageReference Include="Microsoft.Azure.Management.ApplicationInsights" Version="0.2.0-preview" />
14+
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.24.1-preview" />
15+
<PackageReference Include="Microsoft.Azure.Management.ApplicationInsights" Version="0.2.0-preview" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

src/Monitor/Monitor.Test/ScheduledQueryRules/NewScheduledQueryRuleTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ public void NewScheduledQueryRuleCommandParametersProcessing()
9797
ScheduledQueryRuleAznsAction aznsAction = new ScheduledQueryRuleAznsAction(new AzNsActionGroup(new string[]{"AG1", "AG2"}, "Email Subject for Log Search Alert", "custom webhook payload"));
9898
ScheduledQueryRuleLogMetricTrigger logMetricTrigger = new ScheduledQueryRuleLogMetricTrigger(new LogMetricTrigger("GreaterThan", 15, "Total"));
9999
ScheduledQueryRuleTriggerCondition triggerCondition = new ScheduledQueryRuleTriggerCondition(new TriggerCondition("GreaterThan", 15, logMetricTrigger));
100-
ScheduledQueryRuleAlertingAction alertingAction = new ScheduledQueryRuleAlertingAction(new AlertingAction("2", aznsAction, triggerCondition, 5));
100+
ScheduledQueryRuleAlertingAction alertingAction = new ScheduledQueryRuleAlertingAction(new AlertingAction(severity: "2", aznsAction: aznsAction, trigger: triggerCondition, throttlingInMin: 5));
101101

102102
cmdlet.Action = new PSScheduledQueryRuleAlertingAction(alertingAction);
103103

104104
ScheduledQueryRuleSchedule schedule = new ScheduledQueryRuleSchedule(new Schedule(5, 5));
105105
cmdlet.Schedule = new PSScheduledQueryRuleSchedule(schedule);
106106

107-
ScheduledQueryRuleSource source= new ScheduledQueryRuleSource(new Source("union *", "dataSourceId", new string[]{"authResource1", "authResource2"}, "ResultCount"));
107+
ScheduledQueryRuleSource source= new ScheduledQueryRuleSource(new Source(query: "union *", dataSourceId: "dataSourceId", authorizedResources: new string[]{"authResource1", "authResource2"}, queryType: "ResultCount"));
108108
cmdlet.Source = new PSScheduledQueryRuleSource(source);
109109

110110
cmdlet.ExecuteCmdlet();

src/Monitor/Monitor.Test/ScheduledQueryRules/SetScheduledQueryRuleTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ public SetScheduledQueryRuleTests(Xunit.Abstractions.ITestOutputHelper output)
5151

5252
ScheduledQueryRuleAznsAction aznsAction = new ScheduledQueryRuleAznsAction(new AzNsActionGroup());
5353
ScheduledQueryRuleTriggerCondition triggerCondition = new ScheduledQueryRuleTriggerCondition(new TriggerCondition("GreaterThan", 15));
54-
ScheduledQueryRuleAlertingAction alertingAction = new ScheduledQueryRuleAlertingAction(new AlertingAction("2", aznsAction, triggerCondition));
54+
ScheduledQueryRuleAlertingAction alertingAction = new ScheduledQueryRuleAlertingAction(new AlertingAction(severity: "2", aznsAction: aznsAction, trigger: triggerCondition));
5555

5656
ScheduledQueryRuleSchedule schedule = new ScheduledQueryRuleSchedule(new Schedule(5, 5));
5757

58-
ScheduledQueryRuleSource source = new ScheduledQueryRuleSource(new Source("union *", "dataSourceId", new string[]{ "authResource1", "authResource2" }, "ResultCount"));
58+
ScheduledQueryRuleSource source = new ScheduledQueryRuleSource(new Source(query: "union *", dataSourceId: "dataSourceId", authorizedResources: new string[]{ "authResource1", "authResource2" }, queryType: "ResultCount"));
5959

6060
//testing update of "description" field
6161
cmdlet = new SetScheduledQueryRuleCommand

src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.AlertsTests/TestAddAzureRmMetricAlertRuleV2.json

Lines changed: 264 additions & 264 deletions
Large diffs are not rendered by default.

src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.AlertsTests/TestGetAzureRmMetricAlertRuleV2.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@
199199
"StatusCode": 200
200200
},
201201
{
202-
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps5146/providers/microsoft.insights/actionGroups/ps5998?api-version=2018-03-01",
203-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzNTE0Ni9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU5OTg/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
202+
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps5146/providers/microsoft.insights/actionGroups/ps5998?api-version=2019-06-01",
203+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzNTE0Ni9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU5OTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
204204
"RequestMethod": "PUT",
205205
"RequestBody": "{\r\n \"properties\": {\r\n \"groupShortName\": \"ASTG\",\r\n \"enabled\": true,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"user1\",\r\n \"emailAddress\": \"[email protected]\"\r\n }\r\n ],\r\n \"smsReceivers\": [],\r\n \"webhookReceivers\": []\r\n },\r\n \"location\": \"Global\"\r\n}",
206206
"RequestHeaders": {
@@ -478,8 +478,8 @@
478478
"StatusCode": 200
479479
},
480480
{
481-
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps5146/providers/microsoft.insights/actionGroups/ps5998?api-version=2018-03-01",
482-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzNTE0Ni9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU5OTg/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
481+
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps5146/providers/microsoft.insights/actionGroups/ps5998?api-version=2019-06-01",
482+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzNTE0Ni9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU5OTg/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
483483
"RequestMethod": "DELETE",
484484
"RequestBody": "",
485485
"RequestHeaders": {

src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.AlertsTests/TestRemoveAzureRmMetricAlertRuleV2.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@
199199
"StatusCode": 200
200200
},
201201
{
202-
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps9774/providers/microsoft.insights/actionGroups/ps5768?api-version=2018-03-01",
203-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzOTc3NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU3Njg/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
202+
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps9774/providers/microsoft.insights/actionGroups/ps5768?api-version=2019-06-01",
203+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzOTc3NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU3Njg/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
204204
"RequestMethod": "PUT",
205205
"RequestBody": "{\r\n \"properties\": {\r\n \"groupShortName\": \"ASTG\",\r\n \"enabled\": true,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"user1\",\r\n \"emailAddress\": \"[email protected]\"\r\n }\r\n ],\r\n \"smsReceivers\": [],\r\n \"webhookReceivers\": []\r\n },\r\n \"location\": \"Global\"\r\n}",
206206
"RequestHeaders": {
@@ -409,8 +409,8 @@
409409
"StatusCode": 200
410410
},
411411
{
412-
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps9774/providers/microsoft.insights/actionGroups/ps5768?api-version=2018-03-01",
413-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzOTc3NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU3Njg/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
412+
"RequestUri": "/subscriptions/80430018-24ee-4b28-a7bd-fb23b5a221d6/resourceGroups/ps9774/providers/microsoft.insights/actionGroups/ps5768?api-version=2019-06-01",
413+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvODA0MzAwMTgtMjRlZS00YjI4LWE3YmQtZmIyM2I1YTIyMWQ2L3Jlc291cmNlR3JvdXBzL3BzOTc3NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU3Njg/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
414414
"RequestMethod": "DELETE",
415415
"RequestBody": "",
416416
"RequestHeaders": {

src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.ScheduledQueryRulesTests/TestNewGetUpdateSetRemoveScheduledQueryRule.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@
205205
"StatusCode": 200
206206
},
207207
{
208-
"RequestUri": "/subscriptions/ad825170-845c-47db-8f00-11978947b089/resourceGroups/ps9194/providers/microsoft.insights/actionGroups/ps9883?api-version=2018-03-01",
209-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWQ4MjUxNzAtODQ1Yy00N2RiLThmMDAtMTE5Nzg5NDdiMDg5L3Jlc291cmNlR3JvdXBzL3BzOTE5NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczk4ODM/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
208+
"RequestUri": "/subscriptions/ad825170-845c-47db-8f00-11978947b089/resourceGroups/ps9194/providers/microsoft.insights/actionGroups/ps9883?api-version=2019-06-01",
209+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWQ4MjUxNzAtODQ1Yy00N2RiLThmMDAtMTE5Nzg5NDdiMDg5L3Jlc291cmNlR3JvdXBzL3BzOTE5NC9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczk4ODM/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
210210
"RequestMethod": "PUT",
211211
"RequestBody": "{\r\n \"properties\": {\r\n \"groupShortName\": \"ASTG\",\r\n \"enabled\": true,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"user1\",\r\n \"emailAddress\": \"[email protected]\"\r\n }\r\n ],\r\n \"smsReceivers\": [],\r\n \"webhookReceivers\": []\r\n },\r\n \"location\": \"Global\"\r\n}",
212212
"RequestHeaders": {

src/Monitor/Monitor.Test/SessionRecords/Microsoft.Azure.Commands.Insights.Test.ScenarioTests.ScheduledQueryRulesTests/TestPipingRemoveSetUpdateScheduledQueryRule.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@
205205
"StatusCode": 200
206206
},
207207
{
208-
"RequestUri": "/subscriptions/ad825170-845c-47db-8f00-11978947b089/resourceGroups/ps8442/providers/microsoft.insights/actionGroups/ps5523?api-version=2018-03-01",
209-
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWQ4MjUxNzAtODQ1Yy00N2RiLThmMDAtMTE5Nzg5NDdiMDg5L3Jlc291cmNlR3JvdXBzL3BzODQ0Mi9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU1MjM/YXBpLXZlcnNpb249MjAxOC0wMy0wMQ==",
208+
"RequestUri": "/subscriptions/ad825170-845c-47db-8f00-11978947b089/resourceGroups/ps8442/providers/microsoft.insights/actionGroups/ps5523?api-version=2019-06-01",
209+
"EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYWQ4MjUxNzAtODQ1Yy00N2RiLThmMDAtMTE5Nzg5NDdiMDg5L3Jlc291cmNlR3JvdXBzL3BzODQ0Mi9wcm92aWRlcnMvbWljcm9zb2Z0Lmluc2lnaHRzL2FjdGlvbkdyb3Vwcy9wczU1MjM/YXBpLXZlcnNpb249MjAxOS0wNi0wMQ==",
210210
"RequestMethod": "PUT",
211211
"RequestBody": "{\r\n \"properties\": {\r\n \"groupShortName\": \"ASTG\",\r\n \"enabled\": true,\r\n \"emailReceivers\": [\r\n {\r\n \"name\": \"user1\",\r\n \"emailAddress\": \"[email protected]\"\r\n }\r\n ],\r\n \"smsReceivers\": [],\r\n \"webhookReceivers\": []\r\n },\r\n \"location\": \"Global\"\r\n}",
212212
"RequestHeaders": {

src/Monitor/Monitor.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManage
1818
EndProject
1919
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}"
2020
EndProject
21-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ApplicationInsights", "..\ApplicationInsights\ApplicationInsights\ApplicationInsights.csproj", "{1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApplicationInsights", "..\ApplicationInsights\ApplicationInsights\ApplicationInsights.csproj", "{1390E45D-BF3A-4ACD-BEBC-88007B3E75E5}"
2222
EndProject
2323
Global
2424
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/Monitor/Monitor/ActionGroups/SetAzureRmActionGroupCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ protected override void ProcessRecordInternal()
140140

141141
IList<EmailReceiver> emailReceivers =
142142
this.Receiver.OfType<PSEmailReceiver>().
143-
Select(o => new EmailReceiver(name: o.Name, emailAddress: o.EmailAddress, status: TransitionHelpers.ConvertNamespace(o.Status))).ToList();
143+
Select(o => new EmailReceiver(name: o.Name, emailAddress: o.EmailAddress, status: TransitionHelpers.ConvertNamespace(o.Status), useCommonAlertSchema: false)).ToList();
144144
IList<SmsReceiver> smsReceivers =
145145
this.Receiver.OfType<PSSmsReceiver>().
146146
Select(o => new SmsReceiver(name: o.Name, countryCode: o.CountryCode, phoneNumber: o.PhoneNumber, status: TransitionHelpers.ConvertNamespace(o.Status))).ToList();
147147
IList<WebhookReceiver> webhookReceivers =
148148
this.Receiver.OfType<PSWebhookReceiver>().
149-
Select(o => new WebhookReceiver(name: o.Name, serviceUri: o.ServiceUri)).ToList();
149+
Select(o => new WebhookReceiver(name: o.Name, serviceUri: o.ServiceUri, useCommonAlertSchema: false)).ToList();
150150
ActionGroupResource actionGroup = new ActionGroupResource
151151
{
152152
Location = "Global",

src/Monitor/Monitor/ChangeLog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,20 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Pointing to the most recent Monitor SDK, i.e. 0.24.1-preview
22+
- Adds non-braking changes to the Metrics cmdlets, i.e. the Unit enumeration supports several new values. These are read-only cmdlets, so there would be no change in the input of the cmdlets.
23+
- The api-version of the **ActionGroups** requests is now **2019-06-01**, before it was **2018-03-01**. The scenario tests have been updated to accommodate for this change.
24+
- The constructors for the classes **EmailReceiver** and **WebhookReceiver** added one new mandatory argument, i.e. a Boolean value called **useCommonAlertSchema**. Currently, the value is fixed to **false** to hide this breaking change from the cmdlets. **NOTE**: this is a temporary change that must be validated by the Alerts team.
25+
- The order of the arguments for the constructor of the class **Source** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
26+
- The order of the arguments for the constructor of the class **AlertingAction** (related to the **ScheduledQueryRuleSource** class) changed from the previous SDK. This change required two unit tests to the be fixed: they compiled, but failed to pass the tests.
2127
* Improvements in Scheduled Query Rule cmdlets (SQR)
2228
- Cmdlets will accept `Location` paramater in both formats, either the location (e.g. eastus) or the location display name (e.g. East US)
2329
- Illustrated `Enabled` parameter in help files properly
2430
- Added examples for `ActionGroup` optional parameter
2531
- Overall improved help files
2632
* Fix bug in determining scope type for `Set-AzActionRule`
2733

34+
2835
## Version 1.2.2
2936
* Fixed miscellaneous typos across module
3037
* Fixed incorrect parameter name in help documentation

src/Monitor/Monitor/Monitor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.22.0-preview" />
14+
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.24.1-preview" />
1515
</ItemGroup>
1616

1717
</Project>

src/Sql/Sql.Test/Sql.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.22.0-preview" />
14+
<PackageReference Include="Microsoft.Azure.Management.Monitor" Version="0.24.1-preview" />
1515
<PackageReference Include="Microsoft.Azure.Management.EventHub" Version="2.5.0" />
1616
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.14.0-preview" />
1717
<PackageReference Include="Microsoft.Azure.Graph.RBAC" Version="3.2.0-preview" />
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"AssemblyFileName","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.Metrics.GetAzureRmMetricCommand","Get-AzMetric","0","3030","The generic type for 'property Count' has been changed from 'System.Nullable1[System.Int64]' to 'System.Nullable1[System.Double]'. ","Change the generic type for 'property Count' back to 'System.Nullable`1[System.Int64]'."

tools/StaticAnalysis/Exceptions/Az.Monitor/SignatureIssues.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.ScheduledQueryRules.NewScheduledQueryRuleLogMetricTriggerCommand","New-AzScheduledQueryRuleLogMetricTrigger","1","8100","New-AzScheduledQueryRuleLogMetricTrigger Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
77
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.ScheduledQueryRules.NewScheduledQueryRuleScheduleCommand","New-AzScheduledQueryRuleSchedule","1","8100","New-AzScheduledQueryRuleSchedule Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
88
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.ScheduledQueryRules.NewScheduledQueryRuleSourceCommand","New-AzScheduledQueryRuleSource","1","8100","New-AzScheduledQueryRuleSource Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
9-
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.ScheduledQueryRules.NewScheduledQueryRuleTriggerConditionCommand","New-AzScheduledQueryRuleTriggerCondition","1","8100","New-AzScheduledQueryRuleTriggerCondition Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"
9+
"Microsoft.Azure.PowerShell.Cmdlets.Monitor.dll","Microsoft.Azure.Commands.Insights.ScheduledQueryRules.NewScheduledQueryRuleTriggerConditionCommand","New-AzScheduledQueryRuleTriggerCondition","1","8100","New-AzScheduledQueryRuleTriggerCondition Does not support ShouldProcess but the cmdlet verb New indicates that it should.","Determine if the cmdlet should implement ShouldProcess and if so determine if it should implement Force / ShouldContinue"

0 commit comments

Comments
 (0)