Skip to content

Commit

Permalink
Update readme.python.md (#18203)
Browse files Browse the repository at this point in the history
* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

* Update readme.python.md

Co-authored-by: ZiWei Chen (WICRESOFT NORTH AMERICA LTD) <[email protected]>
  • Loading branch information
kazrael2119 and kazrael2119 authored Mar 15, 2022
1 parent 5f211aa commit 598da7b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 28 deletions.
10 changes: 3 additions & 7 deletions specification/appconfiguration/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@

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-appconfiguration
no-namespace-folders: true
namespace: azure.mgmt.appconfiguration
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)/appconfiguration/azure-mgmt-appconfiguration/azure/mgmt/appconfiguration
```
``` yaml $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/appconfiguration/azure-mgmt-appconfiguration
```
10 changes: 3 additions & 7 deletions specification/hybridnetwork/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +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 $(python) && $(track2)
```yaml $(python)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.hybridnetwork
package-name: azure-mgmt-hybridnetwork
package-version: 1.0.0b1
clear-output-folder: true
```
```yaml $(python) && $(python-mode) == 'update' && $(track2)
```yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/hybridnetwork/azure-mgmt-hybridnetwork/azure/mgmt/hybridnetwork
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/hybridnetwork/azure-mgmt-hybridnetwork
```
13 changes: 5 additions & 8 deletions specification/servicefabric/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)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
Expand All @@ -14,16 +14,13 @@ package-version: 1.0.0b1
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/servicefabric/azure-mgmt-servicefabric
```
``` yaml $(python) && $(track2)
``` yaml $(python)
directive:
- from: application.json
where: $.paths["/providers/Microsoft.ServiceFabric/operations"].get
Expand All @@ -36,4 +33,4 @@ directive:
- from: nodetype.json
where: $.paths["/providers/Microsoft.ServiceFabric/operations"].get
transform: $['operationId'] = 'Nodetype_List'
```
```
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.timeseriesinsights
Expand All @@ -14,11 +14,7 @@ clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
``` yaml $(python)
no-namespace-folders: true
output-folder: $(python-sdks-folder)/timeseriesinsights/azure-mgmt-timeseriesinsights/azure/mgmt/timeseriesinsights
```
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
basic-setup-py: true
output-folder: $(python-sdks-folder)/timeseriesinsights/azure-mgmt-timeseriesinsights
```

0 comments on commit 598da7b

Please sign in to comment.