Skip to content

Commit

Permalink
Update readme to include package-2020-04-01
Browse files Browse the repository at this point in the history
  • Loading branch information
Praneeth Sanapathi committed May 7, 2020
1 parent 58dfa85 commit 374e117
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
15 changes: 15 additions & 0 deletions specification/peering/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ go:
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-04-01
```
or
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-01-01-preview
Expand All @@ -26,6 +31,16 @@ or
batch:
- tag: package-2019-08-01-preview
```
### Tag: package-2020-04-01 and go
These settings apply only when `--tag=package-2020-04-01 --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-2020-04-01' && $(go)
output-folder: $(go-sdk-folder)/services/stable/$(namespace)/mgmt/2020-04-01/$(namespace)
```

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

These settings apply only when `--tag=package-2020-01-01-preview --go` is specified on the command line.
Expand Down
19 changes: 19 additions & 0 deletions specification/peering/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-peering
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2020-04-01
```
or
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2020-01-01-preview
Expand All @@ -29,6 +35,19 @@ batch:
- tag: package-2019-08-01-preview
```
### Tag: package-2020-04-01 and java
These settings apply only when `--tag=package-2020-04-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-2020-04-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.peering.v2020_04_01
output-folder: $(azure-libraries-for-java-folder)/sdk/peering/mgmt-v2020_04_01
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2020-01-01-preview --java` is specified on the command line.
Expand Down
18 changes: 18 additions & 0 deletions specification/peering/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ To see additional help and options, run:

### Basic Information
These are the global settings for the Peering API.

``` yaml
title: PeeringManagementClient
description: Peering Client
openapi-type: arm
tag: package-2020-04-01
```
or
``` yaml
title: PeeringManagementClient
description: Peering Client
Expand All @@ -42,6 +50,15 @@ openapi-type: arm
tag: package-2019-08-01-preview
```
### Tag: package-2020-04-01
These settings apply only when `--tag=package-2020-04-01` is specified on the command line.

``` yaml $(tag) == 'package-2020-04-01'
input-file:
- Microsoft.Peering/stable/package-2020-04-01/peering.json
```

### Tag: package-2020-01-01-preview

These settings apply only when `--tag=package-2020-01-01-preview` is specified on the command line.
Expand Down Expand Up @@ -114,6 +131,7 @@ require: $(this-folder)/../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Peering/stable/2020-04-01/peering.json
- $(this-folder)/Microsoft.Peering/preview/2020-01-01-preview/peering.json
- $(this-folder)/Microsoft.Peering/preview/2019-09-01-preview/peering.json
- $(this-folder)/Microsoft.Peering/preview/2019-08-01-preview/peering.json
Expand Down
22 changes: 22 additions & 0 deletions specification/peering/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

These settings apply only when `--ruby` is specified on the command line.

``` yaml
package-name: azure_mgmt_peering
package-version: "2020-04-01"
azure-arm: true
```
or
``` yaml
package-name: azure_mgmt_peering
package-version: "2020-01-01-preview"
Expand All @@ -21,6 +27,12 @@ azure-arm: true
```
### Ruby multi-api
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2020-04-01
```
or
``` yaml $(ruby) && $(multiapi)
batch:
- tag: package-2020-01-01-preview
Expand All @@ -36,6 +48,16 @@ batch:
- tag: package-2019-08-01-preview
```
### Tag: package-2020-04-01 and ruby
These settings apply only when `--tag=package-2020-04-01 --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-2020-04-01' && $(ruby)
namespace: "Azure::Peering::Mgmt::V2020_04_01"
output-folder: $(ruby-sdks-folder)/management/azure_mgmt_peering/lib
```

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

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

0 comments on commit 374e117

Please sign in to comment.