Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate sdk #8512

11 changes: 11 additions & 0 deletions specification/containerservice/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-03
- tag: package-2020-02
- tag: package-2020-01
- tag: package-2019-11
Expand All @@ -29,6 +30,16 @@ batch:
- tag: package-2017-07
```

### Tag: package-2020-03 and go

These settings apply only when `--package-2020-03 --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-03' && $(go)
namespace: containerservice
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-03-01/$(namespace)
```

### Tag: package-2020-02 and go

These settings apply only when `--package-2020-02 --go` is specified on the command line.
Expand Down
14 changes: 14 additions & 0 deletions specification/containerservice/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ batch:
- tag: package-2019-11
- tag: package-2020-01
- tag: package-2020-02
- tag: package-2020-03
```

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

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

### Tag: package-2020-02 and java
Expand Down
19 changes: 18 additions & 1 deletion specification/containerservice/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,14 @@ tag: package-2020-03

These settings apply only when `--tag=package-2020-03` is specified on the command line.

```yaml $(tag) == 'package-2020-03'
``` yaml $(tag) == 'package-2020-03'
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
- Microsoft.ContainerService/stable/2019-08-01/location.json
- Microsoft.ContainerService/stable/2020-03-01/managedClusters.json
```

### Tag: package-2020-02

These settings apply only when `--tag=package-2020-02` is specified on the command line.
Expand Down Expand Up @@ -219,6 +223,19 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```

### Tag: package-2020-03-01-only

These settings apply only when `--tag=package-2020-03-01-only` is specified on the command line.

``` yaml $(tag) == 'package-2020-03-01-only'
input-file:
- Microsoft.ContainerService/stable/2020-03-01/managedClusters.json
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile
reason: Cluster-autoscaler settings are not camel-cased
```

### Tag: package-2020-02-01-only

These settings apply only when `--tag=package-2020-02-01-only` is specified on the command line.
Expand Down
12 changes: 12 additions & 0 deletions specification/containerservice/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package

```yaml $(python) && $(multiapi)
batch:
- tag: pacakge-2020-03-01-only
- tag: package-2020-02-01-only
- tag: package-2020-01-01-only
- tag: package-2019-11-01-only
Expand All @@ -34,6 +35,17 @@ batch:
- tag: package-2017-07-only-extended
```

### Tag: package-2020-03-01-only and python

These settings apply only when `--tag=package-2020-03-01-only --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-2020-03-01-only' && $(python)
python:
namespace: azure.mgmt.containerservice.v2020_03_01
output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2020_03_01
```

### Tag: package-2020-02-01-only and python

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