Skip to content

Commit ac49080

Browse files
leigharubinmsyyc
authored andcommitted
Update readmes for SDK Auto-gen (Azure#17328)
* Update readme.python.md * Update readme.python.md * Update readme.python.md * Update readme.md * Update readme.java.md * Update readme.go.md * Update readme.md * Remove multiapi * Update readme.md * Update readme.python.md Co-authored-by: Yuchao Yan <[email protected]>
1 parent ede697f commit ac49080

File tree

4 files changed

+73
-36
lines changed

4 files changed

+73
-36
lines changed

specification/deviceprovisioningservices/resource-manager/readme.go.md

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,50 @@ azure-arm: true
2121
2222
``` yaml $(go) && $(multiapi)
2323
batch:
24-
- tag: package-2017-11
25-
- tag: package-2017-08
24+
- tag: package-2021-10
25+
- tag: package-preview-2020-09
26+
- tag: package-2020-03
27+
- tag: package-2020-01
2628
- tag: package-2018-01
29+
- tag: package-2017-11
30+
- tag: package-preview-2017-08
2731
```
2832
33+
### Tag: package-2021-10 and go
34+
35+
These settings apply only when `--tag=package-2021-10 --go` is specified on the command line.
36+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
37+
38+
``` yaml $(tag)=='package-2021-10' && $(go)
39+
output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2021-10-15/$(namespace)
40+
```
41+
42+
### Tag: package-preview-2020-09 and go
43+
44+
These settings apply only when `--tag=package-preview-2020-09 --go` is specified on the command line.
45+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
46+
47+
``` yaml $(tag)=='package-preview-2020-09' && $(go)
48+
output-folder: $(go-sdk-folder)/services/preview/provisioningservices/mgmt/2020-09-01-preview/$(namespace)
49+
```
50+
51+
### Tag: package-2020-03 and go
52+
53+
These settings apply only when `--tag=package-2020-03 --go` is specified on the command line.
54+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
55+
56+
``` yaml $(tag)=='package-2020-03' && $(go)
57+
output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2020-03-01/$(namespace)
58+
```
59+
60+
### Tag: package-2020-01 and go
61+
62+
These settings apply only when `--tag=package-2020-01 --go` is specified on the command line.
63+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
64+
65+
``` yaml $(tag)=='package-2020-01' && $(go)
66+
output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2020-01-01/$(namespace)
67+
```
2968

3069
### Tag: package-2018-01 and go
3170

@@ -45,11 +84,11 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
4584
output-folder: $(go-sdk-folder)/services/provisioningservices/mgmt/2017-11-15/$(namespace)
4685
```
4786

48-
### Tag: package-2017-08 and go
87+
### Tag: package-preview-2017-08 and go
4988

50-
These settings apply only when `--tag=package-2017-08 --go` is specified on the command line.
89+
These settings apply only when `--tag=package-preview-2017-08 --go` is specified on the command line.
5190
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
5291

53-
``` yaml $(tag)=='package-2017-08' && $(go)
92+
``` yaml $(tag)=='package-preview-2017-08' && $(go)
5493
output-folder: $(go-sdk-folder)/services/preview/provisioningservices/mgmt/2017-08-21-preview/$(namespace)
5594
```

specification/deviceprovisioningservices/resource-manager/readme.java.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,28 @@ directive:
2626
to: SharedAccessSignatureAuthorizationRule
2727
```
2828
29+
## Tag: package-2021-10 and java
30+
31+
These settings apply only when `--tag=package-2021-10 --java` is specified on the command line.
32+
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
33+
34+
``` yaml $(tag) == 'package-2021-10' && $(java) && $(multiapi)
35+
java:
36+
namespace: com.microsoft.azure.management.deviceprovisioningservices.v2021_10_15
37+
output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2021_10_15
38+
```
39+
40+
## Tag: package-preview-2020-09 and java
41+
42+
These settings apply only when `--tag=package-preview-2020-09 --java` is specified on the command line.
43+
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
44+
45+
``` yaml $(tag) == 'package-preview-2020-09' && $(java) && $(multiapi)
46+
java:
47+
namespace: com.microsoft.azure.management.deviceprovisioningservices.v2020_09_01_preview
48+
output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2020_09_01_preview
49+
```
50+
2951
## Tag: package-2020-03 and java
3052

3153
These settings apply only when `--tag=package-2020-03 --java` is specified on the command line.
@@ -59,12 +81,12 @@ java:
5981
output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2017_11_15
6082
```
6183

62-
## Tag: package-2017-08 and java
84+
## Tag: package-preview-2017-08 and java
6385

64-
These settings apply only when `--tag=package-2017-08 --java` is specified on the command line.
86+
These settings apply only when `--tag=package-preview-2017-08 --java` is specified on the command line.
6587
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.
6688

67-
``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi)
89+
``` yaml $(tag) == 'package-preview-2017-08' && $(java) && $(multiapi)
6890
java:
6991
namespace: com.microsoft.azure.management.deviceprovisioningservices.v2017_08_21_preview
7092
output-folder: $(azure-libraries-for-java-folder)/sdk/deviceprovisioningservices/mgmt-v2017_08_21_preview

specification/deviceprovisioningservices/resource-manager/readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ These are the global settings for the API.
2626

2727
``` yaml
2828
openapi-type: arm
29-
tag: package-2020-03
29+
tag: package-2021-10
3030
```
3131
3232
### Tag: package-preview-2020-09
@@ -47,11 +47,11 @@ input-file:
4747
- Microsoft.Devices/stable/2020-03-01/iotdps.json
4848
```
4949

50-
### Tag: package-2017-08
50+
### Tag: package-preview-2017-08
5151

52-
These settings apply only when `--tag=package-2017-08` is specified on the command line.
52+
These settings apply only when `--tag=package-preview-2017-08` is specified on the command line.
5353

54-
``` yaml $(tag) == 'package-2017-08'
54+
``` yaml $(tag) == 'package-preview-2017-08'
5555
input-file:
5656
- Microsoft.Devices/preview/2017-08-21-preview/iotdps.json
5757
```
@@ -106,7 +106,6 @@ This is not used by Autorest itself.
106106
``` yaml $(swagger-to-sdk)
107107
swagger-to-sdk:
108108
- repo: azure-sdk-for-net
109-
- repo: azure-sdk-for-python
110109
- repo: azure-sdk-for-python-track2
111110
- repo: azure-sdk-for-java
112111
- repo: azure-sdk-for-go

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,6 @@ 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>`.
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

7-
``` yaml $(python) && !$(track2)
8-
python-mode: create
9-
python:
10-
azure-arm: true
11-
license-header: MICROSOFT_MIT_NO_VERSION
12-
payload-flattening-threshold: 2
13-
namespace: azure.mgmt.iothubprovisioningservices
14-
package-name: azure-mgmt-iothubprovisioningservices
15-
package-version: 0.1.0
16-
clear-output-folder: true
17-
```
187

198
``` yaml $(python) && $(track2)
209
python-mode: create
@@ -26,18 +15,6 @@ package-version: 1.0.0b1
2615
clear-output-folder: true
2716
```
2817
29-
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
30-
python:
31-
no-namespace-folders: true
32-
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices
33-
```
34-
35-
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
36-
python:
37-
basic-setup-py: true
38-
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothubprovisioningservices
39-
```
40-
4118
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
4219
no-namespace-folders: true
4320
output-folder: $(python-sdks-folder)/iothub/azure-mgmt-iothubprovisioningservices/azure/mgmt/iothubprovisioningservices

0 commit comments

Comments
 (0)