Skip to content

Commit

Permalink
Storage: Added Java ReadMe (#5868)
Browse files Browse the repository at this point in the history
* added java readme for storage

* added back in generation for previous api versions
  • Loading branch information
iscai-msft authored and kpajdzik committed May 6, 2019
1 parent f6111e0 commit 5b962e1
Show file tree
Hide file tree
Showing 2 changed files with 114 additions and 97 deletions.
113 changes: 113 additions & 0 deletions specification/storage/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
## Java

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.storage
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 2
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storage
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2019-04
- tag: package-2018-07
- tag: package-2018-03
- tag: package-2018-02
- tag: package-2017-10
- tag: package-2016-01
```
### Tag: package-2019-04 and java
These settings apply only when `--tag=package-2019-04 --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-2019-04' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2019_04_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2019_04_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2018-07 --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-2018-07' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2018_07_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_07_01
regenerate-manager: true
generate-interface: true
```

### 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-folder=<path to the root directory of your azure-sdk-for-java clone>`.

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

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

These settings apply only when `--tag=package-2018-02 --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-2018-02' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2018_02_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_02_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2017-10 --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-2017-10' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2017_10_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2017_10_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2016-01 --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-2016-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2016_01_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2016_01_01
regenerate-manager: true
generate-interface: true
```

### Tag: profile-hybrid-2019-03-01

These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.

``` yaml $(tag) == 'profile-hybrid-2019-03-01'
input-file:
- Microsoft.Storage/stable/2017-10-01/storage.json
```
98 changes: 1 addition & 97 deletions specification/storage/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,100 +250,4 @@ swagger-to-sdk:

## Java

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.storage
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 2
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storage
```

### Java multi-api

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

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

These settings apply only when `--tag=package-2018-07 --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-2018-07' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2018_07_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_07_01
regenerate-manager: true
generate-interface: true
```

### 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-folder=<path to the root directory of your azure-sdk-for-java clone>`.

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

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

These settings apply only when `--tag=package-2018-02 --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-2018-02' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2018_02_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_02_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2017-10 --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-2017-10' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2017_10_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2017_10_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2016-01 --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-2016-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.storage.v2016_01_01
output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2016_01_01
regenerate-manager: true
generate-interface: true
```

### Tag: profile-hybrid-2019-03-01

These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.

``` yaml $(tag) == 'profile-hybrid-2019-03-01'
input-file:
- Microsoft.Storage/stable/2017-10-01/storage.json
```
See configuration in [readme.java.md](./readme.java.md)

0 comments on commit 5b962e1

Please sign in to comment.