Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
13 changes: 9 additions & 4 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ These are the global settings for the MonitorClient API.
title: MonitorClient
```

``` yaml $(python)
title: MonitorManagementClient
```

``` yaml
description: Monitor Management Client
openapi-type: arm
Expand All @@ -41,6 +37,15 @@ directive:
reason: 'There are open issues (bugs) in the validator affecting some of the examples and since there is no way to selectively disable the validation for a particular example or paths, all of the example validation is being turned off.'
```

### Tag: package-2023-01-only

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

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

### Tag: package-2022-08-01-preview-only

These settings apply only when `--tag=package-2022-08-01-preview-only` is specified on the command line
Expand Down
22 changes: 22 additions & 0 deletions specification/monitor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
These settings apply only when `--track2` is specified on the command line.

``` yaml $(python)
title: MonitorManagementClient
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-monitor
Expand All @@ -20,12 +21,15 @@ clear-output-folder: true
default-api-version: "2022-10-01"
multiapi: true
batch:
- tag: package-2023-01-only
- tag: package-2022-08-01-preview-only
- tag: package-2022-10-01-only
- 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
- tag: package-2021-07-01-preview-only
- tag: package-2021-06-03-preview-only
- tag: package-2021-05-01-preview-only
- tag: package-2021-04-only
- tag: package-2020-10-only
Expand Down Expand Up @@ -57,6 +61,16 @@ output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monit
perform-load: false
```

### Tag: package-2023-01-only and python

These settings apply only when `--tag=package-2023-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-2023-01-only'
namespace: $(python-base-namespace).v2023_01_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2023_01_01
```

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

These settings apply only when `--tag=package-2022-10-01-only --python` is specified on the command line.
Expand Down Expand Up @@ -127,6 +141,14 @@ namespace: $(python-base-namespace).v2021_07_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_07_01_preview
```

### Tag: package-2021-06-03-preview-only and python
These settings apply only when `--tag=package-2021-06-03-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-2021-06-03-preview-only'
namespace: $(python-base-namespace).v2021_06_03_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_06_03_preview
```

### Tag: package-2021-05-01-preview-only and python

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