Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Monitor] Fix invalid tags #13469

Merged
merged 4 commits into from
Mar 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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