Skip to content

Commit

Permalink
changeanalysis only track2 configure (Azure#13627)
Browse files Browse the repository at this point in the history
* changeanalysis only track2 configure

* Update readme.python.md

* path modification

* remodify

Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
3 people authored and mkarmark committed Jul 20, 2021
1 parent d152fbf commit 51dd69f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion specification/changeanalysis/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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-js
Expand Down
28 changes: 15 additions & 13 deletions specification/changeanalysis/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
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.ChangeAnalysis
package-name: changeanalysis
package-version: 2020-04-01-preview
clear-output-folder: true
```yaml $(python) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.ChangeAnalysis
package-name: azure-mgmt-changeanalysis
package-version: 1.0.0b1
clear-output-folder: true
```
```yaml $(python)
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt/changeanalysis
```yaml $(python-mode) == 'update' && $(track2)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/changeanalysis/azure-mgmt-changeanalysis/azure/mgmt/changeanalysis
```
```yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/changeanalysis/azure-mgmt-changeanalysis
```

0 comments on commit 51dd69f

Please sign in to comment.