Skip to content

Commit

Permalink
update readme (#18263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wzb123456789 authored Mar 16, 2022
1 parent c09cdeb commit 4daa1db
Showing 1 changed file with 3 additions and 35 deletions.
38 changes: 3 additions & 35 deletions specification/elastic/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,46 +4,14 @@ 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-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.elastic
package-name: azure-mgmt-elastic
package-version: 2020-07-01-preview
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt-elastic/azure/mgmt/elastic
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-elastic
```
These settings apply only when `--track2` is specified on the command line.

``` yaml $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.elastic
package-name: azure-mgmt-elastic
no-namespace-folders: true
package-version: 2020-07-01-preview
clear-output-folder: true
```

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

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

0 comments on commit 4daa1db

Please sign in to comment.