Skip to content

Commit

Permalink
Java multi api (#3221)
Browse files Browse the repository at this point in the history
* Fix ASE instance metrics url

* Add java multi-api sections in select readme files

* Add java multi api to network (temporary)

* Add Java multi api to resources

* Fix readme for Java in media

* Add web app multiapi

* Add multi api for web app and network

* sync with master  (#3153)

* Use common Resource & Sku definitions in all Sql specs (#3134)

* Use common Resource & Sku definitions

* Don't use common Sku definition

* Just use common SQL definitions

* Fixed syntax error

* Fixed another syntax error

* Fixed sku ref error

* Fixed syntax error in example

* Fix Python conf of servermanager (#3140)

* Fix ServerManager Py Conf (#3141)

* Plug SwaggerToSdk to LogAnalyticsMgmt (#3142)

* [Storage] Support Management policy on new api version 2018-03-01-preview (#3137)

* [Storage] Add new API version 2018-03-01-preview

* [Storage] Update rest version 2018-03-01-preview

* [Storage] Support Management Policy

* [Storage] Update since code review comments

* Add Python conf

* [Storage] Add managment policy doc link to policy description.

* [Storage] modify as review comments

* RSA key size examples, ECC descriptions (#3136)

* RSA key size examples, ECC descriptions

* remove preview changes for now

* Added GroupType property in HybridWorkerGroup (#3132)

* Watcher resource swagger specs. For more details on the Usage of the resource: https://docs.microsoft.com/en-us/azure/automation/automation-watchers-tutorial (#3102)

* Watcher specs

* using the same model for get/put input and output.

* Fix storage Python conf (#3148)

* Fix for Azure Networking swagger 2018-04-01 version (#3146)

* Adding storage 2018-03-01-preview to java multi-api section (#3155)

* readme for resource,keyvault,web

* Fix keyvault namespace

* Fix keyvault,dns, add storage 2016-01-01

* Fix web and storage multi api config

* Add java multi api for authorization, iotcentral, keyvault, resources

* Add policyinsights and fconfig to resources

* Fix web app output path

* Multiapibatch (#3205)

* Change all existing ##Java sections

* Add java multi api sections

* Use azure-sdk-for-java repo

* Fix typo in batch readme
  • Loading branch information
jianghaolu authored and lmazuel committed Jun 12, 2018
1 parent 4ea7c06 commit 3a5b541
Show file tree
Hide file tree
Showing 105 changed files with 3,494 additions and 602 deletions.
47 changes: 41 additions & 6 deletions specification/addons/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,46 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.addons
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-addons
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-03
- tag: package-2017-05
```

### Tag: package-2018-03 and java

These settings apply only when `--tag=package-2018-03 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.addons
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-addons
namespace: com.microsoft.azure.management.addons.v2018_03_01
output-folder: $(azure-libraries-for-java-folder)/addons/resource-manager/v2018_03_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-05 and java

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

``` yaml $(tag) == 'package-2017-05' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.addons.v2017_05_15
output-folder: $(azure-libraries-for-java-folder)/addons/resource-manager/v2017_05_15
regenerate-manager: true
generate-interface: true
```


15 changes: 7 additions & 8 deletions specification/adhybridhealthservice/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
```
Expand Down Expand Up @@ -120,11 +120,10 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.adhybridhealthservice
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.adhybridhealthservice
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice
```
63 changes: 56 additions & 7 deletions specification/advisor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
```
Expand Down Expand Up @@ -159,11 +159,60 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.advisor
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-advisor
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2017-03
- tag: package-2017-04
- tag: package-2016-07-preview
```

### Tag: package-2017-03 and java

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

``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.advisor
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-advisor
namespace: com.microsoft.azure.management.advisor.v2017_03_31
output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2017_03_31
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-04 and java

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

``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.advisor.v2017_04_19
output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2017_04_19
regenerate-manager: true
generate-interface: true
```

### Tag: package-2016-07-preview and java

These settings apply only when `--tag=package-2016-07-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2016-07-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.advisor.v2016_07_12_preview
output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2016_07_12_preview
regenerate-manager: true
generate-interface: true
```


77 changes: 70 additions & 7 deletions specification/analysisservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,74 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.analysisservices
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.analysisservices
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2016-05
- tag: package-2017-07
- tag: package-2017-08
- tag: package-2017-08-beta
```

### Tag: package-2016-05 and java

These settings apply only when `--tag=package-2016-05 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.analysisservices.v2016_05_16
output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2016_05_16
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-07 and java

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

``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.analysisservices.v2017_07_14
output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_07_14
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-08 and java

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

``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.analysisservices.v2017_08_01
output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-08-beta and java

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

``` yaml $(tag) == 'package-2017-08-beta' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.analysisservices.v2017_08_01_beta
output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01_beta
regenerate-manager: true
generate-interface: true
```


77 changes: 70 additions & 7 deletions specification/apimanagement/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,74 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.apimanagement
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.apimanagement
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2016-07
- tag: package-2016-10
- tag: package-2018-01
- tag: package-2017-03
```

### Tag: package-2016-07 and java

These settings apply only when `--tag=package-2016-07 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2016-07' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.apimanagement.v2016_07_07
output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_07_07
regenerate-manager: true
generate-interface: true
```

### Tag: package-2016-10 and java

These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.apimanagement.v2016_10_10
output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_10_10
regenerate-manager: true
generate-interface: true
```

### Tag: package-2018-01 and java

These settings apply only when `--tag=package-2018-01 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.apimanagement.v2018_01_01
output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2018_01_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-03 and java

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

``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.apimanagement.v2017_03_01
output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2017_03_01
regenerate-manager: true
generate-interface: true
```


15 changes: 7 additions & 8 deletions specification/applicationinsights/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
```
Expand Down Expand Up @@ -363,13 +363,12 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.applicationinsights
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-applicationinsights
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.applicationinsights
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-applicationinsights
```

### Tag: schema-2015-05-preview
Expand Down
33 changes: 26 additions & 7 deletions specification/authorization/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
Expand Down Expand Up @@ -206,11 +206,30 @@ These settings apply only when `--java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(java)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.authorization
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2015-07
```

### Tag: package-2015-07 and java

These settings apply only when `--tag=package-2015-07 --java` is specified on he 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-2015-07' && $(java) && $(multiapi)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.authorization
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization
namespace: com.microsoft.azure.management.authorization.v2015_07_01
output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01
regenerate-manager: true
generate-interface: true
```
Loading

0 comments on commit 3a5b541

Please sign in to comment.