Skip to content

Commit

Permalink
updated readme files
Browse files Browse the repository at this point in the history
  • Loading branch information
Novin Changizi committed Jun 18, 2020
1 parent 831d51e commit 26e10fd
Show file tree
Hide file tree
Showing 5 changed files with 162 additions and 104 deletions.
14 changes: 14 additions & 0 deletions specification/containerinstance/resource-manager/readme.csharp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## C#

These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.ContainerInstance
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/containerinstance/Microsoft.Azure.Management.ContainerInstance/src/Generated
clear-output-folder: true
```
9 changes: 9 additions & 0 deletions specification/containerinstance/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-12
- tag: package-2018-10
- tag: package-2018-09
- tag: package-2018-06
Expand All @@ -22,6 +23,14 @@ batch:
- tag: package-2017-10-preview
- tag: package-2017-08-preview
```
### Tag: package-2019-12 and go
These settings apply only when `--tag=package-2019-12 --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-2019-12' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-12-01/$(namespace)
```

### Tag: package-2018-10 and go

Expand Down
117 changes: 117 additions & 0 deletions specification/containerinstance/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
## 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.containerinstance
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerinstance
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2019-12
- tag: package-2018-10
- tag: package-2018-04
- tag: package-2018-02-preview
- tag: package-2017-12-preview
- tag: package-2017-10-preview
- tag: package-2017-08-preview
```
### Tag: package-2019-12 and java
These settings apply only when `--tag=package-2019-12 --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-2019-12' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerinstance.v2019_12_01
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2019_12_01
regenerate-manager: true
generate-interface: true
```

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

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

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

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

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

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

### Tag: package-2017-12-preview and java

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

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

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

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

These settings apply only when `--tag=package-2017-08-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-2017-08-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerinstance.v2017_08_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2017_08_01_preview
regenerate-manager: true
generate-interface: true
```
115 changes: 11 additions & 104 deletions specification/containerinstance/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ These settings apply only when `--tag=package-2019-12` is specified on the comma
input-file:
- Microsoft.ContainerInstance/stable/2019-12-01/containerInstance.json
```

### Tag: package-2018-10

These settings apply only when `--tag=package-2018-10` is specified on the command line.
Expand Down Expand Up @@ -143,126 +144,32 @@ swagger-to-sdk:

## C#

These settings apply only when `--csharp` is specified on the command line.
Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`.

``` yaml $(csharp)
csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.ContainerInstance
payload-flattening-threshold: 1
output-folder: $(csharp-sdks-folder)/containerinstance/Microsoft.Azure.Management.ContainerInstance/src/Generated
clear-output-folder: true
```
See configuration in [readme.csharp.md](./readme.csharp.md)

## Go

See configuration in [readme.go.md](./readme.go.md)

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

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-10
- tag: package-2018-04
- tag: package-2018-02-preview
- tag: package-2017-12-preview
- tag: package-2017-10-preview
- tag: package-2017-08-preview
```

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

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

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

These settings apply only when `--tag=package-2018-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-2018-04' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerinstance.v2018_04_01
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2018_04_01
regenerate-manager: true
generate-interface: true
```
See configuration in [readme.java.md](./readme.java.md)

### Tag: package-2018-02-preview and java
## Node.js

These settings apply only when `--tag=package-2018-02-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>`.
See configuration in [readme.nodejs.md](./readme.nodejs.md)

``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerinstance.v2018_02_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2018_02_01_preview
regenerate-manager: true
generate-interface: true
```
## Python

### Tag: package-2017-12-preview and java
See configuration in [readme.python.md](./readme.python.md)

These settings apply only when `--tag=package-2017-12-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>`.
## Ruby

``` yaml $(tag) == 'package-2017-12-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerinstance.v2017_12_01_preview
output-folder: $(azure-libraries-for-java-folder)/sdk/containerinstance/mgmt-v2017_12_01_preview
regenerate-manager: true
generate-interface: true
```
See configuration in [readme.ruby.md](./readme.ruby.md)

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

These settings apply only when `--tag=package-2017-10-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>`.
See configuration in [readme.typescript.md](./readme.typescript.md)

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

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

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

## Multi-API/Profile support for AutoRest v3 generators

Expand Down
11 changes: 11 additions & 0 deletions specification/containerinstance/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2019-12
- tag: package-2018-10
- tag: package-2018-09
- tag: package-2018-06
Expand All @@ -22,6 +23,16 @@ batch:
- tag: package-2017-08-preview
```
### Tag: package-2019-12 and ruby
These settings apply only when `--tag=package-2019-12 --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-2019-12' && $(ruby)
namespace: "Azure::ContainerInstance::Mgmt::V2019_12_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_container_instance/lib
```

### Tag: package-2018-09 and ruby

These settings apply only when `--tag=package-2018-10 --ruby` is specified on the command line.
Expand Down

0 comments on commit 26e10fd

Please sign in to comment.