Skip to content

Commit 8370bcf

Browse files
authored
[Az.Monitor] Activate resourceId in Get-AzInsightsPrivateLinkScope (#22680)
* Activate resourceId in Get-AzInsightsPrivateLinkScope * Update Changelog
1 parent 076f54a commit 8370bcf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Monitor/Monitor/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Fixed `Get-AzInsightsPrivateLinkScope` to support `ResourceId` parameter [#22568]
2223
* Fixed `New-AzMetricAlertRuleV2DimensionSelection` to have "exclude" or "include" values only [#22256]
2324
* Fixed `Add-AzMetriAlertRuleV2` and `Get-AzMetricAlertRuleV2` to support web tests criteria [#22350]
2425
* Added parameter `Dimension` for `Get-AzMetric` to easily filter metrics by dimensions [#22320]

src/Monitor/Monitor/PrivateLinkScopes/GetAzureInsightsPrivateLinkScope.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected override void ProcessRecordInternal()
8181
WriteObject(response.Body.Select(scope => PSMonitorPrivateLinkScope.ToPSMonitorPrivateLinkScope(scope)).ToList(), true);
8282
}
8383
}
84-
else if (ParameterSetName.Equals(ByResourceNameParameterSet) || ParameterSetName.Equals(ResourceId))
84+
else if (ParameterSetName.Equals(ByResourceNameParameterSet) || ParameterSetName.Equals(ByResourceIdParameterSet))
8585
{
8686
if (this.IsParameterBound(c => c.ResourceId))
8787
{

0 commit comments

Comments
 (0)