Skip to content

Commit 887d142

Browse files
authored
Add configuration to generate AppPlatform SDK for API version 2021-06-01-preview (#14301)
* Add configuration to generate AppPlatform SDK for API version 2021-03-03-preview * Update AutoRest configuration after api-version change in #14323
1 parent 85042dd commit 887d142

File tree

4 files changed

+53
-1
lines changed

4 files changed

+53
-1
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,21 @@ go:
1313
1414
``` yaml $(go) && $(multiapi)
1515
batch:
16+
- tag: package-preview-2021-06
1617
- tag: package-preview-2020-11
1718
- tag: package-2020-07
1819
- tag: package-2019-05-01-preview
1920
```
2021
22+
### Tag: package-preview-2021-06 and go
23+
24+
These settings apply only when `--tag=package-preview-2021-06 --go` is specified on the command line.
25+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
26+
27+
``` yaml $(tag) == 'package-preview-2021-06' && $(go)
28+
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-06-01-preview/$(namespace)
29+
```
30+
2131
### Tag: package-preview-2020-11 and go
2232

2333
These settings apply only when `--tag=package-preview-2020-11 --go` is specified on the command line.

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,25 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appplatform
1616
1717
``` yaml $(java) && $(multiapi)
1818
batch:
19+
- tag: package-preview-2021-06
1920
- tag: package-preview-2020-11
2021
- tag: package-2020-07
2122
- tag: package-2019-05-01-preview
2223
```
2324
25+
### Tag: package-preview-2021-06 and java
26+
27+
These settings apply only when `--tag=package-preview-2021-06 --java` is specified on the command line.
28+
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.
29+
30+
``` yaml $(tag) == 'package-preview-2021-06' && $(java) && $(multiapi)
31+
java:
32+
namespace: com.microsoft.azure.management.appplatform.v2021_06_01_preview
33+
output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2021_06_01_preview
34+
regenerate-manager: true
35+
generate-interface: true
36+
```
37+
2438
### Tag: package-preview-2020-11 and java
2539

2640
These settings apply only when `--tag=package-preview-2020-11 --java` is specified on the command line.

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Generate all API versions currently shipped for this package
2929
3030
```yaml $(python) && $(multiapi) && !$(track2)
3131
batch:
32+
- tag: package-preview-2021-06
3233
- tag: package-preview-2020-11
3334
- tag: package-2020-07
3435
- tag: package-2019-05-01-preview
@@ -37,6 +38,7 @@ batch:
3738
```yaml $(python) && $(multiapi) && $(track2)
3839
clear-output-folder: true
3940
batch:
41+
- tag: package-preview-2021-06
4042
- tag: package-preview-2020-11
4143
- tag: package-2020-07
4244
- tag: package-2019-05-01-preview
@@ -49,6 +51,21 @@ clear-output-folder: false
4951
perform-load: false
5052
```
5153
54+
### Tag: package-preview-2021-06 and python
55+
56+
These settings apply only when `--tag=package-preview-2021-06 --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-preview-2021-06' && $(python) && !$(track2)
60+
python:
61+
namespace: azure.mgmt.appplatform.v2021_06_01_preview
62+
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview
63+
```
64+
``` yaml $(tag) == 'package-preview-2021-06' && $(python) && $(track2)
65+
namespace: azure.mgmt.appplatform.v2021_06_01_preview
66+
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview
67+
```
68+
5269
### Tag: package-preview-2020-11 and python
5370

5471
These settings apply only when `--tag=package-preview-2020-11 --python` is specified on the command line.

specification/appplatform/resource-manager/readme.ruby.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,22 @@ azure-arm: true
1212
1313
``` yaml $(ruby) && $(multiapi)
1414
batch:
15+
- tag: package-preview-2021-06
1516
- tag: package-preview-2020-11
1617
- tag: package-2020-07
1718
- tag: package-2019-05-01-preview
1819
```
1920
21+
### Tag: package-preview-2021-06 and ruby
22+
23+
These settings apply only when `--tag=package-preview-2021-06 --ruby` is specified on the command line.
24+
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.
25+
26+
``` yaml $(tag) == 'package-preview-2021-06' && $(ruby)
27+
namespace: "Azure::AppPlatform::Mgmt::V2021_06_01_preview"
28+
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_appplatform/lib
29+
```
30+
2031
### Tag: package-preview-2020-11 and ruby
2132

2233
These settings apply only when `--tag=package-preview-2020-11 --ruby` is specified on the command line.
@@ -45,4 +56,4 @@ Please also specify `--ruby-sdks-folder=<path to the root directory of your azur
4556
``` yaml $(tag) == 'package-2019-05-01-preview' && $(ruby)
4657
namespace: "Azure::AppPlatform::Mgmt::V2019_05_01_preview"
4758
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_appplatform/lib
48-
```
59+
```

0 commit comments

Comments
 (0)