Skip to content

Commit 2b56c8a

Browse files
BigCat20196msyyc
andauthored
config desktopvirtualization readme and readme python (#16579)
* config readme * Update readme.python.md Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
1 parent 91a3a54 commit 2b56c8a

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

specification/desktopvirtualization/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ This is not used by Autorest itself.
149149
swagger-to-sdk:
150150
- repo: azure-powershell
151151
- repo: azure-sdk-for-csharp
152-
- repo: azure-sdk-for-python
152+
- repo: azure-sdk-for-python-track2
153153
- repo: azure-sdk-for-java
154154
- repo: azure-sdk-for-go
155155
- repo: azure-sdk-for-js

specification/desktopvirtualization/resource-manager/readme.python.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,22 @@
22

33
These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
65

7-
``` yaml $(python)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.desktopvirtualization
14-
package-name: azure-mgmt-desktopvirtualization
15-
package-version: 0.2.0
16-
clear-output-folder: true
6+
``` yaml $(track2)
7+
azure-arm: true
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
package-name: azure-mgmt-desktopvirtualization
10+
no-namespace-folders: true
11+
package-version: 1.0.0b1
12+
clear-output-folder: true
1713
```
18-
``` yaml $(python) && $(python-mode) == 'update'
19-
python:
20-
no-namespace-folders: true
21-
output-folder: $(python-sdks-folder)/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization
14+
15+
``` yaml $(python-mode) == 'update' && $(track2)
16+
no-namespace-folders: true
17+
output-folder: $(python-sdks-folder)/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization
2218
```
23-
``` yaml $(python) && $(python-mode) == 'create'
24-
python:
25-
basic-setup-py: true
26-
output-folder: $(python-sdks-folder)/azure-mgmt-desktopvirtualization
19+
20+
``` yaml $(python-mode) == 'create' && $(track2)
21+
basic-setup-py: true
22+
output-folder: $(python-sdks-folder)/desktopvirtualization/azure-mgmt-desktopvirtualization
2723
```

0 commit comments

Comments
 (0)