Skip to content

Commit 4bab0bf

Browse files
authored
Microsoft.Insights - Fix .NET SDK generation (#14998)
* Microsoft.Insights - Fix .Net SDK generation * adding directive to tag package-2021-04
1 parent 86408a8 commit 4bab0bf

File tree

1 file changed

+9
-1
lines changed
  • specification/monitor/resource-manager

1 file changed

+9
-1
lines changed

specification/monitor/resource-manager/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,15 @@ directive:
735735
- from: activityLogAlerts_API.json
736736
where: $.definitions
737737
transform: delete $["Resource"]
738-
reason: Missing kind, etag; Generation will take the definition from scheduledQueryRule_API.json which includes kind & etag
738+
reason: Missing kind, etag
739+
```
740+
741+
``` yaml !$(python) && !$(go) && !$(java) && $(tag) == 'package-2021-04'
742+
directive:
743+
- from: scheduledQueryRule_API.json
744+
where: $.parameters
745+
transform: delete $["ResourceGroupNameParameter"]
746+
reason: ResourceGroupNameParameter is taken from v2/types.json
739747
```
740748

741749
``` yaml !$(python) && !$(go) && !$(java)

0 commit comments

Comments
 (0)