Skip to content

Commit

Permalink
[Monitor] Fix invalid tags (#13469)
Browse files Browse the repository at this point in the history
* [Monitor] Fix invalid tags

* Update readme.md

* Update readme.python.md

* Update readme.go.md
  • Loading branch information
kairu-ms authored Mar 23, 2021
1 parent d253cf9 commit 2dd0ae5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions specification/monitor/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ batch:
- tag: package-2019-03
- tag: package-2019-06
- tag: package-2019-11
- tag: package-2020-10
- tag: package-2020-10-only
```
### Tag: package-2017-09 and go
Expand Down Expand Up @@ -86,11 +86,11 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
output-folder: $(go-sdk-folder)/services/preview/monitor/mgmt/2019-11-01-preview/$(namespace)
```

### Tag: package-2020-10 and go
### Tag: package-2020-10-only and go

These settings apply only when `--tag=package-2020-10 --go` is specified on the command line.
These settings apply only when `--tag=package-2020-10-only --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2020-10' && $(go)
``` yaml $(tag) == 'package-2020-10-only' && $(go)
output-folder: $(go-sdk-folder)/services/monitor/mgmt/2020-10-01/$(namespace)
```
20 changes: 10 additions & 10 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,32 +34,32 @@ title: MonitorManagementClient
``` yaml
description: Monitor Management Client
openapi-type: arm
tag: package-2020-10
tag: package-2020-03
```
### Tag: package-2021-02-preview
### Tag: package-2021-02-preview-only
These settings apply only when `--tag=package-2021-02-preview` is specified on the command line.
These settings apply only when `--tag=package-2021-02-preview-only` is specified on the command line.

``` yaml $(tag) == 'package-2021-02-preview'
``` yaml $(tag) == 'package-2021-02-preview-only'
input-file:
- Microsoft.Insights/preview/2021-02-01-preview/scheduledQueryRule_API.json
```

### Tag: package-2020-10
### Tag: package-2020-10-only

These settings apply only when `--tag=package-2020-10` is specified on the command line.
These settings apply only when `--tag=package-2020-10-only` is specified on the command line.

``` yaml $(tag) == 'package-2020-10'
``` yaml $(tag) == 'package-2020-10-only'
input-file:
- Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json
```

### Tag: package-2020-05-preview
### Tag: package-2020-05-preview-only

These settings apply only when `--tag=package-2020-05-preview` is specified on the command line.
These settings apply only when `--tag=package-2020-05-preview-only` is specified on the command line.

``` yaml $(tag) == 'package-2020-05-preview'
``` yaml $(tag) == 'package-2020-05-preview-only'
input-file:
- Microsoft.Insights/preview/2020-05-01-preview/scheduledQueryRule_API.json
```
Expand Down
16 changes: 8 additions & 8 deletions specification/monitor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Generate all API versions currently shipped for this package
```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-2020-10
- tag: package-2020-05-preview
- tag: package-2020-10-only
- tag: package-2020-05-preview-only
- tag: package-2020-01-01-preview-only
- tag: package-2019-11-01-preview-only
- tag: package-2019-10-17-preview-only
Expand Down Expand Up @@ -60,22 +60,22 @@ clear-output-folder: false
perform-load: false
```

### Tag: package-2020-10 and python
### Tag: package-2020-10-only and python

These settings apply only when `--tag=package-2020-10 --python` is specified on the command line.
These settings apply only when `--tag=package-2020-10-only --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2020-10'
``` yaml $(tag) == 'package-2020-10-only'
namespace: $(python-base-namespace).v2020_10_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_10_01
```

### Tag: package-2020-05-preview and python
### Tag: package-2020-05-preview-only and python

These settings apply only when `--tag=package-2020-05-preview --python` is specified on the command line.
These settings apply only when `--tag=package-2020-05-preview-only --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2020-05-preview'
``` yaml $(tag) == 'package-2020-05-preview-only'
namespace: $(python-base-namespace).v2020_05_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview
```
Expand Down

0 comments on commit 2dd0ae5

Please sign in to comment.