From 4bab0bfdf7b1e2e3a50eeda420c2891d087d1d85 Mon Sep 17 00:00:00 2001 From: Jorge Herrera <69991673+herreraj-ms@users.noreply.github.com> Date: Mon, 28 Jun 2021 18:20:57 -0700 Subject: [PATCH] Microsoft.Insights - Fix .NET SDK generation (#14998) * Microsoft.Insights - Fix .Net SDK generation * adding directive to tag package-2021-04 --- specification/monitor/resource-manager/readme.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index b5ea727ff8f6..1e3d826c055d 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -735,7 +735,15 @@ directive: - from: activityLogAlerts_API.json where: $.definitions transform: delete $["Resource"] - reason: Missing kind, etag; Generation will take the definition from scheduledQueryRule_API.json which includes kind & etag + reason: Missing kind, etag +``` + +``` yaml !$(python) && !$(go) && !$(java) && $(tag) == 'package-2021-04' +directive: +- from: scheduledQueryRule_API.json + where: $.parameters + transform: delete $["ResourceGroupNameParameter"] + reason: ResourceGroupNameParameter is taken from v2/types.json ``` ``` yaml !$(python) && !$(go) && !$(java)