Skip to content

Commit

Permalink
move the directive that meant to work for go track 1 to readme.go.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang committed Dec 13, 2021
1 parent 14877dd commit bc9c13f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 20 deletions.
21 changes: 21 additions & 0 deletions specification/monitor/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,27 @@ batch:
- tag: package-2021-07
```
``` yaml ($(go) && !$(track2) && $(tag) == 'package-2021-07')
directive:
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["Resource"]
reason: Missing kind, etag
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["ErrorResponse"]
reason: Incompatible values (2020-10-01)
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["AzureResource"]
reason: Incompatible values (2020-10-01)
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["ActionGroup"]
reason: Incompatible values (2020-10-01)
```
### Tag: package-2017-09 and go
These settings apply only when `--tag=package-2017-09 --go` is specified on the command line.
Expand Down
20 changes: 0 additions & 20 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -898,26 +898,6 @@ directive:
reason: 'Operations API is defined in a separate swagger spec for Microsoft.Insights namespace (https://github.com/Azure/azure-rest-api-specs/blob/master/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/operations_API.json)'
```

``` yaml ($(go) && !$(track2) && $(tag) == 'package-2021-07') || $(csharp) || $(validation) || $(typescript)
directive:
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["Resource"]
reason: Missing kind, etag
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["ErrorResponse"]
reason: Incompatible values (2020-10-01)
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["AzureResource"]
reason: Incompatible values (2020-10-01)
- from: activityLogAlerts_API.json
where: $.definitions
transform: delete $["ActionGroup"]
reason: Incompatible values (2020-10-01)
```

### Tag: profile-hybrid-2019-03-01

These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
Expand Down

0 comments on commit bc9c13f

Please sign in to comment.