Skip to content

Commit 5e94c9b

Browse files
authored
[eventhub][python] Convert to singleapi package (Azure#35686)
1 parent 2257cad commit 5e94c9b

File tree

1 file changed

+9
-127
lines changed

1 file changed

+9
-127
lines changed
Lines changed: 9 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,24 @@
11
## Python
22

3-
43
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
55

66
``` yaml $(python)
7+
title: EventHubManagementClient
78
azure-arm: true
89
license-header: MICROSOFT_MIT_NO_VERSION
910
package-name: azure-mgmt-eventhub
11+
namespace: azure.mgmt.eventhub
1012
package-version: 1.0.0b1
11-
no-namespace-folders: true
12-
modelerfour:
13-
lenient-model-deduplication: true
14-
```
15-
16-
### Python multi-api
17-
18-
Generate all API versions currently shipped for this package
19-
20-
```yaml $(python)
21-
multiapi: true
22-
default-api-version: "2024-01-01"
2313
clear-output-folder: true
24-
batch:
25-
- tag: package-2024-05-preview
26-
- tag: package-2024-01
27-
- tag: package-2021-11
28-
- tag: package-2022-01-preview
29-
- tag: package-2022-10-preview
30-
- tag: package-2021-06-preview
31-
- tag: package-2021-01-preview
32-
- tag: package-2018-01-preview
33-
- tag: package-2017-04
34-
- tag: package-2015-08
35-
- multiapiscript: true
36-
```
37-
38-
``` yaml $(multiapiscript)
39-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/
40-
perform-load: false
41-
clear-output-folder: false
42-
```
43-
44-
### Tag: package-2024-05-preview and python
45-
46-
These settings apply only when `--tag=package-2024-05-preview --python` is specified on the command line.
47-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
48-
49-
``` yaml $(tag) == 'package-2024-05-preview'
50-
namespace: azure.mgmt.eventhub.v2024_05_01_preview
51-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2024_05_01_preview
52-
```
53-
54-
### Tag: package-2024-01 and python
55-
56-
These settings apply only when `--tag=package-2024-01 --python` is specified on the command line.
57-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
58-
59-
``` yaml $(tag) == 'package-2024-01'
60-
namespace: azure.mgmt.eventhub.v2024_01_01
61-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2024_01_01
62-
```
63-
64-
### Tag: package-2021-11 and python
65-
66-
These settings apply only when `--tag=package-2021-11 --python` is specified on the command line.
67-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
68-
69-
``` yaml $(tag) == 'package-2021-11'
70-
namespace: azure.mgmt.eventhub.v2021_11_01
71-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_11_01
72-
```
73-
74-
### Tag: package-2022-01-preview and python
75-
76-
These settings apply only when `--tag=package-2022-01-preview --python` is specified on the command line.
77-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
78-
79-
``` yaml $(tag) == 'package-2022-01-preview'
80-
namespace: azure.mgmt.eventhub.v2022_01_01_preview
81-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_01_01_preview
8214
```
8315
84-
### Tag: package-2022-10-preview and python
85-
86-
These settings apply only when `--tag=package-2022-10-preview --python` is specified on the command line.
87-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
88-
89-
``` yaml $(tag) == 'package-2022-10-preview'
90-
namespace: azure.mgmt.eventhub.v2022_10_01_preview
91-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2022_10_01_preview
92-
```
93-
94-
### Tag: package-2021-06-preview and python
95-
96-
These settings apply only when `--tag=package-2021-06-preview --python` is specified on the command line.
97-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
98-
99-
``` yaml $(tag) == 'package-2021-06-preview'
100-
namespace: azure.mgmt.eventhub.v2021_06_01_preview
101-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_06_01_preview
102-
```
103-
104-
### Tag: package-2021-01-preview and python
105-
106-
These settings apply only when `--tag=package-2021-01-preview --python` is specified on the command line.
107-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
108-
109-
``` yaml $(tag) == 'package-2021-01-preview'
110-
namespace: azure.mgmt.eventhub.v2021_01_01_preview
111-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2021_01_01_preview
112-
```
113-
114-
### Tag: package-2018-01-preview and python
115-
116-
These settings apply only when `--tag=package-2018-01-preview --python` is specified on the command line.
117-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
118-
119-
``` yaml $(tag) == 'package-2018-01-preview'
120-
namespace: azure.mgmt.eventhub.v2018_01_01_preview
121-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2018_01_01_preview
122-
```
123-
124-
### Tag: package-2017-04 and python
125-
126-
These settings apply only when `--tag=package-2017-04 --python` is specified on the command line.
127-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
128-
129-
``` yaml $(tag) == 'package-2017-04'
130-
namespace: azure.mgmt.eventhub.v2017_04_01
131-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2017_04_01
16+
``` yaml $(python)
17+
no-namespace-folders: true
18+
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub
13219
```
13320
134-
### Tag: package-2015-08 and python
135-
136-
These settings apply only when `--tag=package-2015-08 --python` is specified on the command line.
137-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
138-
139-
``` yaml $(tag) == 'package-2015-08'
140-
namespace: azure.mgmt.eventhub.v2015_08_01
141-
output-folder: $(python-sdks-folder)/eventhub/azure-mgmt-eventhub/azure/mgmt/eventhub/v2015_08_01
21+
``` yaml $(python)
22+
modelerfour:
23+
lenient-model-deduplication: true
14224
```

0 commit comments

Comments
 (0)