Skip to content

Commit

Permalink
add 2021-10-01-only tag (Azure#16857)
Browse files Browse the repository at this point in the history
* add 2021-10-01-only tag

* updating go java python readmes
  • Loading branch information
tyler-lloyd authored and LeiWang3 committed Mar 31, 2022
1 parent 98764d7 commit 22a39ae
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 4 deletions.
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 @@ -20,6 +20,7 @@ azure-arm: true
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2021-10
- tag: package-2021-09
- tag: package-2021-08
- tag: package-2021-07
Expand Down Expand Up @@ -51,6 +52,16 @@ batch:
- tag: package-2017-07
```
### Tag: package-2021-10 and go
These settings apply only when `--package-2021-10 --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-2021-10' && $(go)
namespace: containerservice
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-10-01/$(namespace)
```

### Tag: package-2021-09 and go

These settings apply only when `--package-2021-09 --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 @@ -45,6 +45,20 @@ batch:
- tag: package-2021-07
- tag: package-2021-08
- tag: package-2021-09
- tag: package-2021-10
```

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

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

### Tag: package-2021-09 and java
Expand Down
13 changes: 13 additions & 0 deletions specification/containerservice/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,19 @@ input-file:
```

### Tag: package-2021-10-01-only

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

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

### Tag: package-2021-09-01-only

These settings apply only when `--tag=package-2021-09-01-only` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi) && $(track2)
batch:
- tag: package-2021-10
- tag: package-2021-10-01-only
- tag: package-2021-09-01-only
- tag: package-2021-08-01-only
- tag: package-2021-07-01-only
Expand Down Expand Up @@ -54,12 +54,12 @@ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservic
clear-output-folder: false
perform-load: false
```
### Tag: package-2021-10 and python
### Tag: package-2021-10-01-only and python
These settings apply only when `--tag=package-2021-10 --python` is specified on the command line.
These settings apply only when `--tag=package-2021-10-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-2021-10' && $(python)
``` yaml $(tag) == 'package-2021-10-01-only' && $(python)
namespace: azure.mgmt.containerservice.v2021_10_01
output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_10_01
```
Expand Down

0 comments on commit 22a39ae

Please sign in to comment.