Skip to content

Commit c6de42e

Browse files
haitchhaitch
haitch
authored and
haitch
committed
update upcoming breaking changes
1 parent dfecbc0 commit c6de42e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/ResourceManager/OperationalInsights/documentation/upcoming-breaking-changes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ Default parameter set for Get-AzureRmOperationalInsightsDataSource will be depre
3232
# Old (which does nothing)
3333
Get-AzureRmOperationalInsightsDataSource
3434
35+
# New
36+
Get-AzureRmOperationalInsightsDataSource -ResourceGroupName "resourceGroupA" -WorkspaceName "LogAnalyticsWorkspace" -Kind AzureActivityLog
37+
```
38+
39+
AzureAuditLog will be removed from parameter Kind for Get-AzureRmOperationalInsightsDataSource, you should switch to AzureActivityLog.
40+
```powershell
41+
# Old
42+
Get-AzureRmOperationalInsightsDataSource -ResourceGroupName "resourceGroupA" -WorkspaceName "LogAnalyticsWorkspace" -Kind AzureAuditLog
43+
3544
# New
3645
Get-AzureRmOperationalInsightsDataSource -ResourceGroupName "resourceGroupA" -WorkspaceName "LogAnalyticsWorkspace" -Kind AzureActivityLog
3746
```

0 commit comments

Comments
 (0)