From 1f39f93e8f391a23699b01b5c957c252eeb56144 Mon Sep 17 00:00:00 2001 From: njucz Date: Thu, 25 Mar 2021 10:56:23 +0800 Subject: [PATCH] add go sdk config --- .../changeanalysis/resource-manager/readme.go.md | 11 +++++++++++ specification/compute/resource-manager/readme.go.md | 11 +++++++++++ .../extendedlocation/resource-manager/readme.go.md | 1 + 3 files changed, 23 insertions(+) diff --git a/specification/changeanalysis/resource-manager/readme.go.md b/specification/changeanalysis/resource-manager/readme.go.md index 5af9d67116a1..de0a6a9a7b94 100644 --- a/specification/changeanalysis/resource-manager/readme.go.md +++ b/specification/changeanalysis/resource-manager/readme.go.md @@ -13,9 +13,20 @@ go: ```yaml $(go) && $(multiapi) batch: + - tag: package-2021-04-01 - tag: package-2020-04-01-preview ``` + +### Tag: package-2021-04-01 and go + +These settings apply only when `--tag=package-2021-04-01 --go` is specified on the command line. +Please also specify `--go-sdks-folder=`. + +```yaml $(tag) == 'package-2021-04-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-04-01/$(namespace) +``` + ### Tag: package-2020-04-01-preview and go These settings apply only when `--tag=package-2020-04-01-preview --go` is specified on the command line. diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md index caf87f7f9240..c3fe4673f2fa 100644 --- a/specification/compute/resource-manager/readme.go.md +++ b/specification/compute/resource-manager/readme.go.md @@ -31,6 +31,7 @@ directive: ```yaml $(go) && $(multiapi) batch: + - tag: package-2021-03-01 - tag: package-2020-12-01 - tag: package-2020-10-01-preview - tag: profile-hybrid-2020-09-01 @@ -54,6 +55,16 @@ batch: - tag: package-container-service-2015-11-preview ``` +### Tag: package-2021-03-01 and go + +These settings apply only when `--tag=package-2021-03-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2021-03-01' && $(go) +namespace: compute +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-03-01/$(namespace) +``` + ### Tag: package-2020-12-01 and go These settings apply only when `--tag=package-2020-12-01 --go` is specified on the command line. diff --git a/specification/extendedlocation/resource-manager/readme.go.md b/specification/extendedlocation/resource-manager/readme.go.md index bb0d4cc88639..a3eacc3eef86 100644 --- a/specification/extendedlocation/resource-manager/readme.go.md +++ b/specification/extendedlocation/resource-manager/readme.go.md @@ -12,6 +12,7 @@ go: ```yaml $(go) && $(multiapi) batch: + - tag: package-2021-03-15-preview - tag: package-2020-07-15-privatepreview ```