From d9fa4079fbe593479ef23d3d8120d2aab7f5ef6f Mon Sep 17 00:00:00 2001 From: Xia Zhu Date: Mon, 18 Apr 2022 18:46:22 +0800 Subject: [PATCH] update readme --- .../containerservice/resource-manager/readme.go.md | 11 +++++++++++ .../resource-manager/readme.java.md | 14 ++++++++++++++ .../containerservice/resource-manager/readme.md | 7 ++++++- .../resource-manager/readme.python.md | 11 +++++++++++ 4 files changed, 42 insertions(+), 1 deletion(-) diff --git a/specification/containerservice/resource-manager/readme.go.md b/specification/containerservice/resource-manager/readme.go.md index c1bf08b2ac09..9df0000f5513 100644 --- a/specification/containerservice/resource-manager/readme.go.md +++ b/specification/containerservice/resource-manager/readme.go.md @@ -20,6 +20,7 @@ azure-arm: true ``` yaml $(go) && $(multiapi) batch: + - tag: package-2022-04 - tag: package-2022-03 - tag: package-preview-2022-03 - tag: package-2022-02 @@ -58,6 +59,16 @@ batch: - tag: package-2017-07 ``` +### Tag: package-2022-04 and go + +These settings apply only when `--package-2022-04 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2022-04' && $(go) +namespace: containerservice +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2022-04-01/$(namespace) +``` + ### Tag: package-2022-03 and go These settings apply only when `--package-2022-03 --go` is specified on the command line. diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md index 8e76b538985c..0d6d676eb5a6 100644 --- a/specification/containerservice/resource-manager/readme.java.md +++ b/specification/containerservice/resource-manager/readme.java.md @@ -52,6 +52,20 @@ batch: - tag: package-2022-02 - tag: package-preview-2022-03 - tag: package-2022-03 + - tag: package-2022-04 +``` + +### Tag: package-2022-04 and java + +These settings apply only when `--tag=package-2022-04` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2022-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2022_04_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/containerservice/mgmt-v2022_04_01 +regenerate-manager: true +generate-interface: true ``` ### Tag: package-2022-03 and java diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md index 1c042da861bc..59da78bd67fe 100644 --- a/specification/containerservice/resource-manager/readme.md +++ b/specification/containerservice/resource-manager/readme.md @@ -42,10 +42,15 @@ tag: package-2022-04 These settings apply only when `--tag=package-2022-04` is specified on the command line. -```yaml $(tag) == 'package-2022-04' +``` yaml $(tag) == 'package-2022-04' input-file: - Microsoft.ContainerService/stable/2022-04-01/managedClusters.json +directive: + - suppress: DefinitionsPropertiesNamesCamelCase + where: $.definitions.ManagedClusterProperties.properties.autoScalerProfile + reason: Cluster-autoscaler settings are not camel-cased ``` + ### Tag: package-2022-03 These settings apply only when `--tag=package-2022-03` is specified on the command line. diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md index 7d3da444f239..13d88575b63f 100644 --- a/specification/containerservice/resource-manager/readme.python.md +++ b/specification/containerservice/resource-manager/readme.python.md @@ -17,6 +17,7 @@ Generate all API versions currently shipped for this package ```yaml $(python) && $(multiapi) batch: + - tag: package-2022-04 - tag: package-2022-03 - tag: package-preview-2022-03 - tag: package-2022-02 @@ -61,6 +62,16 @@ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservic perform-load: false ``` +### Tag: package-2022-04 and python + +These settings apply only when `--tag=package-2022-04 --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2022-04' && $(python) +namespace: azure.mgmt.containerservice.v2022_04_01 +output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2022_04_01 +``` + ### Tag: package-2022-03 and python These settings apply only when `--tag=package-2022-03 --python` is specified on the command line.