Skip to content

Commit 2a6e9b6

Browse files
authored
[databoxedge][python] Convert to singleapi (#35688)
1 parent dfd89be commit 2a6e9b6

File tree

1 file changed

+5
-41
lines changed

1 file changed

+5
-41
lines changed

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

Lines changed: 5 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,54 +2,18 @@
22

33
These settings apply only when `--python` is specified on the command line.
44
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
65

76
``` yaml $(python)
7+
title: DataBoxEdgeManagementClient
88
azure-arm: true
99
license-header: MICROSOFT_MIT_NO_VERSION
10-
namespace: azure.mgmt.databoxedge
1110
package-name: azure-mgmt-databoxedge
12-
title: DataBoxEdgeManagementClient
13-
description: The DataBoxEdge Client.
11+
namespace: azure.mgmt.databoxedge
1412
package-version: 1.0.0b1
1513
clear-output-folder: true
16-
no-namespace-folders: true
17-
```
18-
19-
### Python multi-api
20-
21-
Generate all API versions currently shipped for this package
22-
23-
```yaml $(python)
24-
multiapi: true
25-
default-api-version: "2019-08-01"
26-
batch:
27-
- tag: package-2021-02-01-preview
28-
- tag: package-2019-08
29-
- multiapiscript: true
30-
```
31-
32-
``` yaml $(multiapiscript)
33-
output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/
34-
perform-load: false
3514
```
3615
37-
### Tag: package-2021-02-01-preview and python
38-
39-
These settings apply only when `--tag=package-2021-02-01-preview --python` is specified on the command line.
40-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
41-
42-
``` yaml $(tag) == 'package-2021-02-01-preview' && $(python)
43-
namespace: azure.mgmt.databoxedge.v2021_02_01_preview
44-
output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2021_02_01_preview
45-
```
46-
47-
### Tag: package-2019-08 and python
48-
49-
These settings apply only when `--tag=package-2019-08 --python` is specified on the command line.
50-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
51-
52-
``` yaml $(tag) == 'package-2019-08' && $(python)
53-
namespace: azure.mgmt.databoxedge.v2019_08_01
54-
output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge/v2019_08_01
16+
``` yaml $(python)
17+
no-namespace-folders: true
18+
output-folder: $(python-sdks-folder)/databoxedge/azure-mgmt-databoxedge/azure/mgmt/databoxedge
5519
```

0 commit comments

Comments
 (0)