Skip to content

Commit

Permalink
Plug disks 2018-04-01 for multi api versionning (Azure#2648)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmazuel authored Mar 14, 2018
1 parent 07c032f commit bf2c12f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions specification/compute/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@ input-file:
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
```

### Tag: package-disks-2018-04

These settings apply only when `--tag=package-disks-2018-04` is specified on the command line.

``` yaml $(tag) == 'package-disks-2018-04'
input-file:
- Microsoft.Compute/stable/2018-04-01/disk.json
```

### Tag: package-2017-12

These settings apply only when `--tag=package-2017-12` is specified on the command line.
Expand Down Expand Up @@ -333,6 +342,7 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-disks-2018-04
- tag: package-2017-12
- tag: package-compute-2017-03
- tag: package-container-service-2017-01
Expand All @@ -344,6 +354,16 @@ batch:
- tag: package-compute-2015-06
```

### Tag: package-disks-2018-04 and go

These settings apply only when `--tag=package-disks-2018-04 --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-disks-2018-04' && $(go)
namespace: compute
output-folder: $(go-sdk-folder)/services/compute/mgmt/2018-04-01/compute
```

### Tag: package-2017-12 and go

These settings apply only when `--tag=package-2017-12 --go` is specified on the command line.
Expand Down Expand Up @@ -455,6 +475,7 @@ Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi)
batch:
- tag: package-disks-2018-04
- tag: package-compute-only-2017-12
- tag: package-skus-2017-09
- tag: package-compute-2017-03
Expand All @@ -463,6 +484,17 @@ batch:
- tag: package-compute-2015-06
```

### Tag: package-disks-2018-04 and python

These settings apply only when `--tag=package-disks-2018-04 --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-disks-2018-04' && $(python)
python:
namespace: azure.mgmt.compute.v2018_04_01
output-folder: $(python-sdks-folder)/azure-mgmt-compute/azure/mgmt/compute/v2018_04_01
```

### Tag: package-compute-only-2017-12 and python

These settings apply only when `--tag=package-compute-only-2017-12 --python` is specified on the command line.
Expand Down

0 comments on commit bf2c12f

Please sign in to comment.