Skip to content

Commit

Permalink
Add configuration to generate AppPlatform SDK for API version 2021-06…
Browse files Browse the repository at this point in the history
…-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
  • Loading branch information
allxiao authored Jun 8, 2021
1 parent 85042dd commit 887d142
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 1 deletion.
10 changes: 10 additions & 0 deletions specification/appplatform/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-preview-2021-06
- tag: package-preview-2020-11
- tag: package-2020-07
- tag: package-2019-05-01-preview
```
### Tag: package-preview-2021-06 and go
These settings apply only when `--tag=package-preview-2021-06 --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-preview-2021-06' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-06-01-preview/$(namespace)
```

### Tag: package-preview-2020-11 and go

These settings apply only when `--tag=package-preview-2020-11 --go` is specified on the command line.
Expand Down
14 changes: 14 additions & 0 deletions specification/appplatform/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,25 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appplatform
``` yaml $(java) && $(multiapi)
batch:
- tag: package-preview-2021-06
- tag: package-preview-2020-11
- tag: package-2020-07
- tag: package-2019-05-01-preview
```
### Tag: package-preview-2021-06 and java
These settings apply only when `--tag=package-preview-2021-06 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-preview-2021-06' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.appplatform.v2021_06_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/appplatform/mgmt-v2021_06_01_preview
regenerate-manager: true
generate-interface: true
```

### Tag: package-preview-2020-11 and java

These settings apply only when `--tag=package-preview-2020-11 --java` is specified on the command line.
Expand Down
17 changes: 17 additions & 0 deletions specification/appplatform/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi) && !$(track2)
batch:
- tag: package-preview-2021-06
- tag: package-preview-2020-11
- tag: package-2020-07
- tag: package-2019-05-01-preview
Expand All @@ -37,6 +38,7 @@ batch:
```yaml $(python) && $(multiapi) && $(track2)
clear-output-folder: true
batch:
- tag: package-preview-2021-06
- tag: package-preview-2020-11
- tag: package-2020-07
- tag: package-2019-05-01-preview
Expand All @@ -49,6 +51,21 @@ clear-output-folder: false
perform-load: false
```
### Tag: package-preview-2021-06 and python
These settings apply only when `--tag=package-preview-2021-06 --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-preview-2021-06' && $(python) && !$(track2)
python:
namespace: azure.mgmt.appplatform.v2021_06_01_preview
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview
```
``` yaml $(tag) == 'package-preview-2021-06' && $(python) && $(track2)
namespace: azure.mgmt.appplatform.v2021_06_01_preview
output-folder: $(python-sdks-folder)/appplatform/azure-mgmt-appplatform/azure/mgmt/appplatform/v2021_06_01_preview
```

### Tag: package-preview-2020-11 and python

These settings apply only when `--tag=package-preview-2020-11 --python` is specified on the command line.
Expand Down
13 changes: 12 additions & 1 deletion specification/appplatform/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,22 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-preview-2021-06
- tag: package-preview-2020-11
- tag: package-2020-07
- tag: package-2019-05-01-preview
```
### Tag: package-preview-2021-06 and ruby
These settings apply only when `--tag=package-preview-2021-06 --ruby` is specified on the command line.
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.

``` yaml $(tag) == 'package-preview-2021-06' && $(ruby)
namespace: "Azure::AppPlatform::Mgmt::V2021_06_01_preview"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_appplatform/lib
```

### Tag: package-preview-2020-11 and ruby

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

0 comments on commit 887d142

Please sign in to comment.