Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EventHub] Update readme.python #18313

Merged
merged 2 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions specification/eventhub/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,6 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
Expand Down
28 changes: 2 additions & 26 deletions specification/eventhub/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,7 @@

These settings apply only when `--python` is specified on the command line.

``` yaml !$(track2)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
package-name: azure-mgmt-eventhub
package-version: 0.1.0
clear-output-folder: true
no-namespace-folders: true
```

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-eventhub
Expand All @@ -29,17 +16,7 @@ modelerfour:

Generate all API versions currently shipped for this package

```yaml $(multiapi) && !$(track2)
batch:
- tag: package-2021-11
- tag: package-2021-06-preview
- tag: package-2021-01-preview
- tag: package-2018-01-preview
- tag: package-2017-04
- tag: package-2015-08
```

```yaml $(multiapi) && $(track2)
```yaml $(multiapi) && $(python)
clear-output-folder: true
batch:
- tag: package-2021-11
Expand All @@ -53,7 +30,6 @@ batch:

``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/
clear-output-folder: false
perform-load: false
```

Expand Down