Skip to content

Commit 6cba064

Browse files
jasondavis-MSmsyyc
authored andcommitted
Change batch to use package-2021-06-03-preview-only (Azure#22700)
* Change batch to use package-2021-06-03-preview-only * Readd other batch packages Also add tag block for package-2021-06-03-preview * update * Update readme.python.md --------- Co-authored-by: msyyc <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
1 parent 871261f commit 6cba064

File tree

2 files changed

+32
-5
lines changed

2 files changed

+32
-5
lines changed

specification/monitor/resource-manager/readme.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ These are the global settings for the MonitorClient API.
2828
title: MonitorClient
2929
```
3030
31-
``` yaml $(python)
32-
title: MonitorManagementClient
33-
```
34-
3531
``` yaml
3632
description: Monitor Management Client
3733
openapi-type: arm
@@ -41,6 +37,15 @@ directive:
4137
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.'
4238
```
4339
40+
### Tag: package-2023-01-only
41+
42+
These settings apply only when `--tag=package-2023-01-only` is specified on the command line
43+
44+
``` yaml $(tag) == 'package-2023-01-only'
45+
input-file:
46+
- Microsoft.Insights/stable/2023-01-01/actionGroups_API.json
47+
```
48+
4449
### Tag: package-2022-08-01-preview-only
4550

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

specification/monitor/resource-manager/readme.python.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
These settings apply only when `--track2` is specified on the command line.
44

55
``` yaml $(python)
6+
title: MonitorManagementClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
89
package-name: azure-mgmt-monitor
@@ -17,15 +18,18 @@ Generate all API versions currently shipped for this package
1718
1819
```yaml $(python)
1920
clear-output-folder: true
20-
default-api-version: "2022-10-01"
21+
default-api-version: "2023-01-01"
2122
multiapi: true
2223
batch:
24+
- tag: package-2023-01-only
2325
- tag: package-2022-08-01-preview-only
2426
- tag: package-2022-10-01-only
2527
- tag: package-2022-06-01-only
2628
- tag: package-2022-04-01-only
2729
- tag: package-2022-02-01-preview-only
2830
- tag: package-2021-09-01-only
31+
- tag: package-2021-07-01-preview-only
32+
- tag: package-2021-06-03-preview-only
2933
- tag: package-2021-05-01-preview-only
3034
- tag: package-2021-04-only
3135
- tag: package-2020-10-only
@@ -57,6 +61,16 @@ output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monit
5761
perform-load: false
5862
```
5963
64+
### Tag: package-2023-01-only and python
65+
66+
These settings apply only when `--tag=package-2023-01-only --python` is specified on the command line.
67+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
68+
69+
``` yaml $(tag) == 'package-2023-01-only'
70+
namespace: $(python-base-namespace).v2023_01_01
71+
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2023_01_01
72+
```
73+
6074
### Tag: package-2022-10-01-only and python
6175

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

144+
### Tag: package-2021-06-03-preview-only and python
145+
These settings apply only when `--tag=package-2021-06-03-preview-only --python` is specified on the command line.
146+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
147+
``` yaml $(tag) == 'package-2021-06-03-preview-only'
148+
namespace: $(python-base-namespace).v2021_06_03_preview
149+
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_06_03_preview
150+
```
151+
130152
### Tag: package-2021-05-01-preview-only and python
131153

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

0 commit comments

Comments
 (0)