Skip to content
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
5 changes: 2 additions & 3 deletions specification/commerce/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 `--track2` is specified on the command line.

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-commerce
Expand All @@ -23,7 +23,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/
clear-output-folder: false
perform-load: false
```

Expand All @@ -37,7 +36,7 @@ namespace: azure.mgmt.commerce.v2015_06_01_preview
output-folder: $(python-sdks-folder)/commerce/azure-mgmt-commerce/azure/mgmt/commerce/v2015_06_01_preview
```

``` yaml $(python) && $(track2)
``` yaml $(python)
modelerfour:
lenient-model-deduplication: true
directive:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,4 +383,4 @@ directive:
- from: swagger-document
where: $.definitions.ManagedClusterLoadBalancerProfile.properties.managedOutboundIPs.properties["countIPv6"]
transform: $["x-ms-client-name"] = "count_ipv6"
```
```
21 changes: 10 additions & 11 deletions specification/databox/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ These settings apply only when `--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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python) && $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.databox
Expand All @@ -20,7 +20,7 @@ no-namespace-folders: true

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi) && $(track2)
```yaml $(python) && $(multiapi)
batch:
- tag: package-2021-12
- tag: package-2021-08-preview
Expand All @@ -35,7 +35,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/
clear-output-folder: false
perform-load: false
```

Expand All @@ -44,7 +43,7 @@ perform-load: false
These settings apply only when `--tag=package-2021-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-2021-12' && $(python) && $(track2)
``` yaml $(tag) == 'package-2021-12' && $(python)
namespace: azure.mgmt.databox.v2021_12_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_12_01
```
Expand All @@ -54,7 +53,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2021-08-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-2021-08-preview' && $(python) && $(track2)
``` yaml $(tag) == 'package-2021-08-preview' && $(python)
namespace: azure.mgmt.databox.v2021_08_01_preview
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_08_01_preview
```
Expand All @@ -64,7 +63,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2021-05 --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-05' && $(python) && $(track2)
``` yaml $(tag) == 'package-2021-05' && $(python)
namespace: azure.mgmt.databox.v2021_05_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_05_01
```
Expand All @@ -74,7 +73,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2021-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-2021-03' && $(python) && $(track2)
``` yaml $(tag) == 'package-2021-03' && $(python)
namespace: azure.mgmt.databox.v2021_03_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2021_03_01
```
Expand All @@ -84,7 +83,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2020-11 --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-2020-11' && $(python) && $(track2)
``` yaml $(tag) == 'package-2020-11' && $(python)
namespace: azure.mgmt.databox.v2020_11_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_11_01
```
Expand All @@ -94,7 +93,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2020-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-2020-04' && $(python) && $(track2)
``` yaml $(tag) == 'package-2020-04' && $(python)
namespace: azure.mgmt.databox.v2020_04_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2020_04_01
```
Expand All @@ -104,7 +103,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2019-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-2019-09' && $(python) && $(track2)
``` yaml $(tag) == 'package-2019-09' && $(python)
namespace: azure.mgmt.databox.v2019_09_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2019_09_01
```
Expand All @@ -114,7 +113,7 @@ output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/datab
These settings apply only when `--tag=package-2018-01 --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' && $(python) && $(track2)
``` yaml $(tag) == 'package-2018-01' && $(python)
namespace: azure.mgmt.databox.v2018_01_01
output-folder: $(python-sdks-folder)/databox/azure-mgmt-databox/azure/mgmt/databox/v2018_01_01
```
13 changes: 6 additions & 7 deletions specification/dns/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 $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-dns
Expand All @@ -14,7 +14,7 @@ package-version: 1.0.0b1

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi) && $(track2)
```yaml $(python) && $(multiapi)
clear-output-folder: true
batch:
- tag: package-2018-05
Expand All @@ -25,7 +25,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/
clear-output-folder: false
perform-load: false
```

Expand All @@ -34,7 +33,7 @@ perform-load: false
These settings apply only when `--tag=package-2018-05 --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-05' && $(python) && $(track2)
``` yaml $(tag) == 'package-2018-05' && $(python)
namespace: azure.mgmt.dns.v2018_05_01
output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/v2018_05_01
```
Expand All @@ -44,7 +43,7 @@ output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/v2018
These settings apply only when `--tag=package-2018-03-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-2018-03-preview' && $(python) && $(track2)
``` yaml $(tag) == 'package-2018-03-preview' && $(python)
namespace: azure.mgmt.dns.v2018_03_01_preview
output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/v2018_03_01_preview
```
Expand All @@ -54,12 +53,12 @@ output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/v2018
These settings apply only when `--tag=package-2016-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-2016-04' && $(python) && $(track2)
``` yaml $(tag) == 'package-2016-04' && $(python)
namespace: azure.mgmt.dns.v2016_04_01
output-folder: $(python-sdks-folder)/network/azure-mgmt-dns/azure/mgmt/dns/v2016_04_01
```

```yaml $(python) && $(track2)
```yaml $(python)
modelerfour:
lenient-model-deduplication: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

```yaml $(python) && $(track2)
```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-extendedlocation
Expand All @@ -12,7 +12,7 @@ no-namespace-folders: true

### Python multi-api

``` yaml $(python) && $(multiapi) && $(track2)
``` yaml $(python) && $(multiapi)
clear-output-folder: true
batch:
- tag: package-2021-03-15-preview
Expand All @@ -23,7 +23,6 @@ batch:

```yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/extendedlocation/azure-mgmt-extendedlocation/azure/mgmt/extendedlocation/
clear-output-folder: false
perform-load: false
```

Expand Down
20 changes: 4 additions & 16 deletions specification/redhatopenshift/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 $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-redhatopenshift
Expand All @@ -15,13 +15,8 @@ no-namespace-folders: true

Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-2020-04-30
- tag: package-2021-09-01-preview
```

```yaml $(python) && $(multiapi) && $(track2)
```yaml $(python) && $(multiapi)
batch:
- tag: package-2020-04-30
- tag: package-2021-09-01-preview
Expand All @@ -30,7 +25,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/
clear-output-folder: false
perform-load: false
```

Expand All @@ -39,7 +33,7 @@ perform-load: false
These settings apply only when `--tag=package-2020-04-30 --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-2020-04-30' && $(python) && $(track2)
``` yaml $(tag) == 'package-2020-04-30' && $(python)
namespace: azure.mgmt.redhatopenshift.v2020_04_30
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2020_04_30
```
Expand All @@ -49,13 +43,7 @@ output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/
These settings apply only when `--tag=package-2021-09-01-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-2021-09-01-preview' && $(python) && !$(track2)
python:
namespace: azure.mgmt.redhatopenshift.v2021_09_01_preview
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview
```

``` yaml $(tag) == 'package-2021-09-01-preview' && $(python) && $(track2)
``` yaml $(tag) == 'package-2021-09-01-preview' && $(python)
namespace: azure.mgmt.redhatopenshift.v2021_09_01_preview
output-folder: $(python-sdks-folder)/redhatopenshift/azure-mgmt-redhatopenshift/azure/mgmt/redhatopenshift/v2021_09_01_preview
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-resourcehealth
Expand All @@ -23,7 +23,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/
clear-output-folder: false
perform-load: false
```
### Tag: package-2015-01 and python
Expand Down
7 changes: 3 additions & 4 deletions specification/servicebus/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

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

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-servicebus
Expand All @@ -16,7 +16,7 @@ no-namespace-folders: true
Generate all API versions currently shipped for this package


```yaml $(multiapi) && $(track2)
```yaml $(multiapi) && $(python)
clear-output-folder: true
batch:
- tag: package-2021-06-preview
Expand All @@ -29,7 +29,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/
clear-output-folder: false
perform-load: false
```

Expand Down Expand Up @@ -83,7 +82,7 @@ namespace: azure.mgmt.servicebus.v2015_08_01
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/v2015_08_01
```

``` yaml $(track2)
``` yaml $(python)
modelerfour:
lenient-model-deduplication: true
```