Skip to content

Commit

Permalink
fix config in compute (Azure#9069)
Browse files Browse the repository at this point in the history
* fix config in compute

* 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 fdc2e4f commit b819889
Showing 1 changed file with 48 additions and 19 deletions.
67 changes: 48 additions & 19 deletions specification/compute/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) && !$(track2)
``` yaml !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand Down Expand Up @@ -34,7 +34,6 @@ These settings apply only when `--track2` is specified on the command line.
``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
package-name: azure-mgmt-compute
no-namespace-folders: true
```
Expand All @@ -43,7 +42,7 @@ no-namespace-folders: true

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi) && !$(track2)
```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2019-12-01-only
- tag: package-2019-11-01-only
Expand Down Expand Up @@ -84,7 +83,7 @@ batch:
```

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/$(package-top-folder)/azure-mgmt-compute/azure/mgmt/compute/
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/
clear-output-folder: false
perform-load: false
```
Expand All @@ -94,7 +93,9 @@ perform-load: false
These settings apply only when `--tag=package-2019-12-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-12-01-only' && $(python)
``` yaml $(tag) == 'package-2019-12-01-only'
namespace: azure.mgmt.compute.v2019_12_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01
python:
namespace: azure.mgmt.compute.v2019_12_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_12_01
Expand All @@ -105,7 +106,9 @@ python:
These settings apply only when `--tag=package-2019-11-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-11-01-only' && $(python)
``` yaml $(tag) == 'package-2019-11-01-only'
namespace: azure.mgmt.compute.v2019_11_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01
python:
namespace: azure.mgmt.compute.v2019_11_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_11_01
Expand All @@ -116,7 +119,9 @@ python:
These settings apply only when `--tag=package-2019-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-2019-07-01-only' && $(python)
``` yaml $(tag) == 'package-2019-07-01-only'
namespace: azure.mgmt.compute.v2019_07_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01
python:
namespace: azure.mgmt.compute.v2019_07_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_07_01
Expand All @@ -127,7 +132,9 @@ python:
These settings apply only when `--tag=package-2019-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-2019-04-01-only' && $(python)
``` yaml $(tag) == 'package-2019-04-01-only'
namespace: azure.mgmt.compute.v2019_04_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01
python:
namespace: azure.mgmt.compute.v2019_04_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_04_01
Expand All @@ -138,7 +145,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: azure.mgmt.compute.v2019_03_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01
python:
namespace: azure.mgmt.compute.v2019_03_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2019_03_01
Expand All @@ -149,7 +158,9 @@ python:
These settings apply only when `--tag=package-2018-10-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-10-01-only' && $(python)
``` yaml $(tag) == 'package-2018-10-01-only'
namespace: azure.mgmt.compute.v2018_10_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01
python:
namespace: azure.mgmt.compute.v2018_10_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_10_01
Expand All @@ -160,7 +171,9 @@ python:
These settings apply only when `--tag=package-2018-09-30-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-30-only' && $(python)
``` yaml $(tag) == 'package-2018-09-30-only'
namespace: azure.mgmt.compute.v2018_09_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30
python:
namespace: azure.mgmt.compute.v2018_09_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_09_30
Expand All @@ -171,7 +184,9 @@ python:
These settings apply only when `--tag=package-compute-only-2018-06 --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-compute-only-2018-06' && $(python)
``` yaml $(tag) == 'package-compute-only-2018-06'
namespace: azure.mgmt.compute.v2018_06_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01
python:
namespace: azure.mgmt.compute.v2018_06_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_06_01
Expand All @@ -182,7 +197,9 @@ python:
These settings apply only when `--tag=package-compute-2018-04 --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-compute-2018-04' && $(python)
``` yaml $(tag) == 'package-compute-2018-04'
namespace: azure.mgmt.compute.v2018_04_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01
python:
namespace: azure.mgmt.compute.v2018_04_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01
Expand All @@ -193,7 +210,9 @@ python:
These settings apply only when `--tag=package-compute-only-2017-12 --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-compute-only-2017-12' && $(python)
``` yaml $(tag) == 'package-compute-only-2017-12'
namespace: azure.mgmt.compute.v2017_12_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01
python:
namespace: azure.mgmt.compute.v2017_12_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_12_01
Expand All @@ -204,7 +223,9 @@ python:
These settings apply only when `--tag=package-skus-2017-09 --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-skus-2017-09' && $(python)
``` yaml $(tag) == 'package-skus-2017-09'
namespace: azure.mgmt.compute.v2017_09_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01
python:
namespace: azure.mgmt.compute.v2017_09_01
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_09_01
Expand All @@ -215,7 +236,9 @@ python:
These settings apply only when `--tag=package-compute-2017-03 --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-compute-2017-03' && $(python)
``` yaml $(tag) == 'package-compute-2017-03'
namespace: azure.mgmt.compute.v2017_03_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30
python:
namespace: azure.mgmt.compute.v2017_03_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2017_03_30
Expand All @@ -226,7 +249,9 @@ python:
These settings apply only when `--tag=package-compute-2016-04-preview --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-compute-2016-04-preview' && $(python)
``` yaml $(tag) == 'package-compute-2016-04-preview'
namespace: azure.mgmt.compute.v2016_04_30_preview
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview
python:
namespace: azure.mgmt.compute.v2016_04_30_preview
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_04_30_preview
Expand All @@ -237,7 +262,9 @@ python:
These settings apply only when `--tag=package-compute-2016-03 --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-compute-2016-03' && $(python)
``` yaml $(tag) == 'package-compute-2016-03'
namespace: azure.mgmt.compute.v2016_03_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30
python:
namespace: azure.mgmt.compute.v2016_03_30
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2016_03_30
Expand All @@ -248,7 +275,9 @@ python:
These settings apply only when `--tag=package-compute-2015-06 --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-compute-2015-06' && $(python)
``` yaml $(tag) == 'package-compute-2015-06'
namespace: azure.mgmt.compute.v2015_06_15
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15
python:
namespace: azure.mgmt.compute.v2015_06_15
output-folder: $(python-sdks-folder)/compute/azure-mgmt-compute/azure/mgmt/compute/v2015_06_15
Expand Down

0 comments on commit b819889

Please sign in to comment.