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] config readme and python #18794

Merged
merged 1 commit into from
Apr 24, 2022
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
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-04-01-only

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

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

### Tag: package-2016-03-preview-monitorlegacy

These settings apply only when `--tag=package-2016-03-preview-monitorlegacy` 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 @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(multiapi) && $(python)
clear-output-folder: true
batch:
- tag: package-2022-04-01-only
- tag: package-2022-02-01-preview-only
- tag: package-2021-09-01-only
- tag: package-2021-05-01-preview-only
Expand Down Expand Up @@ -51,6 +52,16 @@ output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monit
perform-load: false
```

### 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.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-2022-04-01-only'
namespace: $(python-base-namespace).v2022_04_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_04_01
```

### Tag: package-2022-02-01-preview-only and python

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