Skip to content

Commit

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

* Update readme.python.md

* update

---------

Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
  • Loading branch information
2 people authored and zaowang-ms committed Jul 22, 2024
1 parent 1f98418 commit 9c0ee0f
Showing 1 changed file with 13 additions and 25 deletions.
38 changes: 13 additions & 25 deletions specification/eventhub/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ Generate all API versions currently shipped for this package
```yaml $(python)
multiapi: true
default-api-version: "2021-11-01"
default-api-version: "2024-01-01"
clear-output-folder: true
batch:
- tag: package-2024-01
- tag: package-2021-11
- tag: package-2022-01-preview
- tag: package-2022-10-preview
Expand All @@ -36,6 +37,17 @@ batch:
``` yaml $(multiapiscript)
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/
perform-load: false
clear-output-folder: false
```
### Tag: package-2024-01 and python
These settings apply only when `--tag=package-2024-01 --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 $(tag) == 'package-2024-01'
namespace: azure.mgmt.eventhub.v2024_01_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2024_01_01
```

### Tag: package-2021-11 and python
Expand All @@ -46,9 +58,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2021-11'
namespace: azure.mgmt.eventhub.v2021_11_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_11_01
python:
namespace: azure.mgmt.eventhub.v2021_11_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_11_01
```

### Tag: package-2022-01-preview and python
Expand All @@ -59,9 +68,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2022-01-preview'
namespace: azure.mgmt.eventhub.v2022_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_01_01_preview
python:
namespace: azure.mgmt.eventhub.v2022_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_01_01_preview
```

### Tag: package-2022-10-preview and python
Expand All @@ -72,9 +78,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2022-10-preview'
namespace: azure.mgmt.eventhub.v2022_10_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_10_01_preview
python:
namespace: azure.mgmt.eventhub.v2022_10_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_10_01_preview
```

### Tag: package-2021-06-preview and python
Expand All @@ -85,9 +88,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2021-06-preview'
namespace: azure.mgmt.eventhub.v2021_06_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_06_01_preview
python:
namespace: azure.mgmt.eventhub.v2021_06_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_06_01_preview
```

### Tag: package-2021-01-preview and python
Expand All @@ -98,9 +98,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2021-01-preview'
namespace: azure.mgmt.eventhub.v2021_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_01_01_preview
python:
namespace: azure.mgmt.eventhub.v2021_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_01_01_preview
```

### Tag: package-2018-01-preview and python
Expand All @@ -111,9 +108,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2018-01-preview'
namespace: azure.mgmt.eventhub.v2018_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview
python:
namespace: azure.mgmt.eventhub.v2018_01_01_preview
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview
```

### Tag: package-2017-04 and python
Expand All @@ -124,9 +118,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2017-04'
namespace: azure.mgmt.eventhub.v2017_04_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01
python:
namespace: azure.mgmt.eventhub.v2017_04_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01
```

### Tag: package-2015-08 and python
Expand All @@ -137,7 +128,4 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
``` yaml $(tag) == 'package-2015-08'
namespace: azure.mgmt.eventhub.v2015_08_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01
python:
namespace: azure.mgmt.eventhub.v2015_08_01
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01
```

0 comments on commit 9c0ee0f

Please sign in to comment.