Skip to content

Commit

Permalink
imagebuilder wave4 (#14165)
Browse files Browse the repository at this point in the history
* imagebuilder wave4

* only track2

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
  • Loading branch information
zhangyan133 and Yan Zhang (WICRESOFT NORTH AMERICA LTD) authored May 7, 2021
1 parent 5e5a121 commit 07645fe
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 28 deletions.
30 changes: 2 additions & 28 deletions specification/imagebuilder/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-powershell
- 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-js
Expand All @@ -88,33 +88,7 @@ swagger-to-sdk:

## Python

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)
python-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.imagebuilder
package-name: azure-mgmt-imagebuilder
clear-output-folder: true
package-version: 0.3.0
```

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

``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder
```
See configuration in [readme.python.md](./readme.python.md)

## Go

Expand Down
23 changes: 23 additions & 0 deletions specification/imagebuilder/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
## Python

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)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.imagebuilder
package-name: azure-mgmt-imagebuilder
clear-output-folder: true
package-version: 1.0.0b1
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder/azure/mgmt/imagebuilder
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/compute/azure-mgmt-imagebuilder
```

0 comments on commit 07645fe

Please sign in to comment.