Skip to content

Commit 2257cad

Browse files
msyycCopilot
andauthored
[Servicebus][python] convert to singleapi SDK (Azure#35902)
* Initial plan * Update ServiceBus readme.python.md to single-api package format Co-authored-by: msyyc <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
1 parent 624e2cc commit 2257cad

File tree

1 file changed

+7
-41
lines changed

1 file changed

+7
-41
lines changed

specification/servicebus/resource-manager/readme.python.md

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,21 @@
11
## Python
22

3-
4-
These settings apply only when `--track2` is specified on the command line.
3+
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: ServiceBusManagementClient
78
azure-arm: true
89
license-header: MICROSOFT_MIT_NO_VERSION
910
package-name: azure-mgmt-servicebus
11+
namespace: azure.mgmt.servicebus
1012
package-version: 1.0.0b1
11-
no-namespace-folders: true
1213
clear-output-folder: true
1314
```
1415
15-
### Python multi-api
16-
17-
Generate all API versions currently shipped for this package
18-
19-
20-
```yaml $(python)
21-
multiapi: true
22-
default-api-version: "2021-11-01"
23-
clear-output-folder: true
24-
batch:
25-
- tag: package-2022-10-preview
26-
- tag: package-2021-11
27-
- multiapiscript: true
28-
```
29-
30-
``` yaml $(multiapiscript)
31-
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/
32-
perform-load: false
33-
```
34-
35-
### Tag: package-2022-10-preview and python
36-
37-
These settings apply only when `--tag=package-2022-10-preview --python` is specified on the command line.
38-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
39-
40-
``` yaml $(tag) == 'package-2022-10-preview'
41-
namespace: azure.mgmt.servicebus.v2022_10_01_preview
42-
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/v2022_10_01_preview
43-
```
44-
45-
### Tag: package-2021-11 and python
46-
47-
These settings apply only when `--tag=package-2021-11 --python` is specified on the command line.
48-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
49-
50-
``` yaml $(tag) == 'package-2021-11'
51-
namespace: azure.mgmt.servicebus.v2021_11_01
52-
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus/v2021_11_01
16+
``` yaml $(python)
17+
no-namespace-folders: true
18+
output-folder: $(python-sdks-folder)/servicebus/azure-mgmt-servicebus/azure/mgmt/servicebus
5319
```
5420
5521
``` yaml $(python)

0 commit comments

Comments
 (0)