Skip to content

Commit

Permalink
update monitor (#19341)
Browse files Browse the repository at this point in the history
* update monitor

* Update readme.python.md
  • Loading branch information
Wzb123456789 authored Jun 7, 2022
1 parent 99beeac commit f692770
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
9 changes: 9 additions & 0 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,15 @@ input-file:
- Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json
```

### Tag: package-2022-06-01-only

These settings apply only when `--tag=package-2022-06-01-only` is specified on the command line

``` yaml $(tag) == 'package-2022-06-01-only'
input-file:
- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json
```

### Tag: package-2022-04

These settings apply only when `--tag=package-2022-04` is specified on the command line
Expand Down
11 changes: 11 additions & 0 deletions specification/monitor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Generate all API versions currently shipped for this package
clear-output-folder: true
multiapi: true
batch:
- tag: package-2022-06-01-only
- tag: package-2022-04-01-only
- tag: package-2022-02-01-preview-only
- tag: package-2021-09-01-only
Expand Down Expand Up @@ -53,6 +54,16 @@ output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monit
perform-load: false
```
### Tag: package-2022-06-01-only and python
These settings apply only when `--tag=package-2022-06-01-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-2022-06-01-only'
namespace: $(python-base-namespace).v2022_06_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_06_01
```

### Tag: package-2022-04-01-only and python

These settings apply only when `--tag=package-2022-04-01-only --python` is specified on the command line.
Expand Down

0 comments on commit f692770

Please sign in to comment.