Skip to content

Commit

Permalink
update monitor python.md for track2 (Azure#9073)
Browse files Browse the repository at this point in the history
* update monitor python.md for track2

* keep python:

* Update readme.python.md

Co-authored-by: Zim Kalinowski <zikalino@microsoft.com>
  • Loading branch information
00Kai0 and Zim Kalinowski committed Oct 12, 2020
1 parent b6c4aff commit e3ff536
Showing 1 changed file with 91 additions and 21 deletions.
112 changes: 91 additions & 21 deletions specification/monitor/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

These settings apply only when `--python` is specified on the command line.

``` yaml $(python)
``` yaml !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand All @@ -14,11 +14,21 @@ python:
python-base-namespace: azure.mgmt.monitor
```
These settings apply only when `--track2` is specified on the command line.

``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-eventhub
no-namespace-folders: true
python-base-folder: monitor/azure-mgmt-monitor/azure/mgmt/monitor
```

### Python multi-api

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi)
```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2019-10-17-preview-only
- tag: package-2019-06-01-only
Expand All @@ -38,14 +48,40 @@ batch:
- tag: package-2016-03-01-only
- tag: package-2015-07-01-only
- tag: package-2015-04-01-only
```

```yaml $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-2019-10-17-preview-only
- tag: package-2019-06-01-only
- tag: package-2019-03-01-only
- tag: package-2018-11-27-preview-only
- tag: package-2018-09-01-only
- tag: package-2018-06-01-preview-only
- tag: package-2018-04-16-only
- tag: package-2018-03-01-only
- tag: package-2018-01-01-only
- tag: package-2017-12-01-preview-only
- tag: package-2017-11-01-preview-only
- tag: package-2017-05-01-preview-only
- tag: package-2017-04-01-only
- tag: package-2017-03-01-preview-only
- tag: package-2016-09-01-only
- tag: package-2016-03-01-only
- tag: package-2015-07-01-only
- tag: package-2015-04-01-only
- multiapiscript: true
```

### Tag: package-2019-10-17-preview-only and python

These settings apply only when `--tag=package-2019-10-17-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-2019-10-17-preview-only' && $(python)
``` yaml $(tag) == 'package-2019-10-17-preview-only'
namespace: $(python-base-namespace).v2019_10_17
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_10_17
python:
namespace: $(python-base-namespace).v2019_10_17
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_10_17
Expand All @@ -56,7 +92,9 @@ python:
These settings apply only when `--tag=package-2019-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-2019-06-01-only' && $(python)
``` yaml $(tag) == 'package-2019-06-01-only'
namespace: $(python-base-namespace).v2019_06_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_06_01
python:
namespace: $(python-base-namespace).v2019_06_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_06_01
Expand All @@ -67,7 +105,9 @@ python:
These settings apply only when `--tag=package-2019-03-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-2019-03-01-only' && $(python)
``` yaml $(tag) == 'package-2019-03-01-only'
namespace: $(python-base-namespace).v2019_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_03_01
python:
namespace: $(python-base-namespace).v2019_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_03_01
Expand All @@ -78,7 +118,9 @@ python:
These settings apply only when `--tag=package-2018-11-27-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-2018-11-27-preview-only' && $(python)
``` yaml $(tag) == 'package-2018-11-27-preview-only'
namespace: $(python-base-namespace).v2018_11_27_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_11_27_preview
python:
namespace: $(python-base-namespace).v2018_11_27_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_11_27_preview
Expand All @@ -89,7 +131,9 @@ python:
These settings apply only when `--tag=package-2018-09-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-2018-09-01-only' && $(python)
``` yaml $(tag) == 'package-2018-09-01-only'
namespace: $(python-base-namespace).v2018_09_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_09_01
python:
namespace: $(python-base-namespace).v2018_09_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_09_01
Expand All @@ -100,7 +144,9 @@ python:
These settings apply only when `--tag=package-2018-06-01-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-2018-06-01-preview-only' && $(python)
``` yaml $(tag) == 'package-2018-06-01-preview-only'
namespace: $(python-base-namespace).v2018_06_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_06_01_preview
python:
namespace: $(python-base-namespace).v2018_06_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_06_01_preview
Expand All @@ -111,7 +157,9 @@ python:
These settings apply only when `--tag=package-2018-04-16-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-2018-04-16-only' && $(python)
``` yaml $(tag) == 'package-2018-04-16-only'
namespace: $(python-base-namespace).v2018_04_16
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_04_16
python:
namespace: $(python-base-namespace).v2018_04_16
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_04_16
Expand All @@ -122,7 +170,9 @@ python:
These settings apply only when `--tag=package-2018-03-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-2018-03-01-only' && $(python)
``` yaml $(tag) == 'package-2018-03-01-only'
namespace: $(python-base-namespace).v2018_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_03_01
python:
namespace: $(python-base-namespace).v2018_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_03_01
Expand All @@ -133,7 +183,9 @@ python:
These settings apply only when `--tag=package-2018-01-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-2018-01-01-only' && $(python)
``` yaml $(tag) == 'package-2018-01-01-only'
namespace: $(python-base-namespace).v2018_01_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_01_01
python:
namespace: $(python-base-namespace).v2018_01_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_01_01
Expand All @@ -144,7 +196,9 @@ python:
These settings apply only when `--tag=package-2017-12-01-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-2017-12-01-preview-only' && $(python)
``` yaml $(tag) == 'package-2017-12-01-preview-only'
namespace: $(python-base-namespace).v2017_12_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_12_01_preview
python:
namespace: $(python-base-namespace).v2017_12_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_12_01_preview
Expand All @@ -155,7 +209,9 @@ python:
These settings apply only when `--tag=package-2017-11-01-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-2017-11-01-preview-only' && $(python)
``` yaml $(tag) == 'package-2017-11-01-preview-only'
namespace: $(python-base-namespace).v2017_11_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_11_01_preview
python:
namespace: $(python-base-namespace).v2017_11_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_11_01_preview
Expand All @@ -166,7 +222,9 @@ python:
These settings apply only when `--tag=package-2017-05-01-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-2017-05-01-preview-only' && $(python)
``` yaml $(tag) == 'package-2017-05-01-preview-only'
namespace: $(python-base-namespace).v2017_05_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_05_01_preview
python:
namespace: $(python-base-namespace).v2017_05_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_05_01_preview
Expand All @@ -177,7 +235,9 @@ python:
These settings apply only when `--tag=package-2017-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-2017-04-01-only' && $(python)
``` yaml $(tag) == 'package-2017-04-01-only'
namespace: $(python-base-namespace).v2017_04_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_04_01
python:
namespace: $(python-base-namespace).v2017_04_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_04_01
Expand All @@ -188,7 +248,9 @@ python:
These settings apply only when `--tag=package-2017-03-01-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-2017-03-01-preview-only' && $(python)
``` yaml $(tag) == 'package-2017-03-01-preview-only'
namespace: $(python-base-namespace).v2017_03_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_03_01_preview
python:
namespace: $(python-base-namespace).v2017_03_01_preview
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_03_01_preview
Expand All @@ -199,7 +261,9 @@ python:
These settings apply only when `--tag=package-2016-09-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-2016-09-01-only' && $(python)
``` yaml $(tag) == 'package-2016-09-01-only'
namespace: $(python-base-namespace).v2016_09_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_09_01
python:
namespace: $(python-base-namespace).v2016_09_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_09_01
Expand All @@ -210,7 +274,9 @@ python:
These settings apply only when `--tag=package-2016-03-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-2016-03-01-only' && $(python)
``` yaml $(tag) == 'package-2016-03-01-only'
namespace: $(python-base-namespace).v2016_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_03_01
python:
namespace: $(python-base-namespace).v2016_03_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_03_01
Expand All @@ -221,7 +287,9 @@ python:
These settings apply only when `--tag=package-2015-07-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-2015-07-01-only' && $(python)
``` yaml $(tag) == 'package-2015-07-01-only'
namespace: $(python-base-namespace).v2015_07_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_07_01
python:
namespace: $(python-base-namespace).v2015_07_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_07_01
Expand All @@ -232,8 +300,10 @@ python:
These settings apply only when `--tag=package-2015-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-2015-04-01-only' && $(python)
``` yaml $(tag) == 'package-2015-04-01-only'
namespace: $(python-base-namespace).v2015_04_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_04_01
python:
namespace: $(python-base-namespace).v2015_04_01
output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_04_01
```
```

0 comments on commit e3ff536

Please sign in to comment.