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
2 changes: 1 addition & 1 deletion specification/managednetwork/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This is not used by Autorest itself.

``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-net
Expand Down
24 changes: 9 additions & 15 deletions specification/managednetwork/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@
These settings apply only when `--python` is specified on the command line.

``` yaml $(python)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
package-name: azure-mgmt-managednetwork
clear-output-folder: true
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-managednetwork
namespace: azure.mgmt.managednetwork
package-version: 2019-06-01
clear-output-folder: true
```

``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork/azure/mgmt/managednetwork
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork/azure/mgmt/managednetwork
```
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

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.loganalytics
Expand All @@ -13,15 +12,12 @@ package-version: 7.0.0b1
clear-output-folder: true
```

``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/loganalytics/azure-mgmt-loganalytics
```
``` yaml $(python) && $(track2)

``` yaml $(python)
modelerfour:
lenient-model-deduplication: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml $(python)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.powerbiprivatelinks
Expand All @@ -14,12 +13,7 @@ package-version: 1.0.0b1
clear-output-folder: true
```

``` yaml $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/powerbiprivatelinks/azure-mgmt-powerbiprivatelinks/azure/mgmt/powerbiprivatelinks
```

``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/powerbiprivatelinks/azure-mgmt-powerbiprivatelinks
```
2 changes: 1 addition & 1 deletion specification/providerhub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This is not used by AutoRest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
Expand Down
28 changes: 12 additions & 16 deletions specification/providerhub/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,20 @@ 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>`.

```yaml $(python)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: Microsoft.ProviderHub
package-name: providerhub
package-version: 2020-11-20
clear-output-folder: true
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.providerhub
package-name: azure-mgmt-providerhub
package-version: 2020-11-20
clear-output-folder: true
```

```yaml $(python)
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt/providerhub
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/providerhub/azure-mgmt-providerhub/azure/mgmt/providerhub
```

``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt/providerhub/azure/mgmt/providerhub
``` yaml $(python)
modelerfour:
lenient-model-deduplication: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@
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>`.

``` yaml $(track2)
``` yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-recommendationsservice
no-namespace-folders: true
namespace: azure.mgmt.recommendationsservice
package-version: 1.0.0b1
clear-output-folder: true
```

``` yaml $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/recommendationsservice/azure-mgmt-recommendationsservice/azure/mgmt/recommendationsservice
```

``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/recommendationsservice/azure-mgmt-recommendationsservice
```