From fedde42351b119e141dedcfdd65dd5c234137e33 Mon Sep 17 00:00:00 2001 From: Jeffrey Cline <20408400+WodansSon@users.noreply.github.com> Date: Mon, 8 Feb 2021 23:03:02 -0800 Subject: [PATCH 1/2] Add packagest to readme.go.md files --- specification/compute/resource-manager/readme.go.md | 11 +++++++++++ specification/cosmos-db/resource-manager/readme.go.md | 10 ++++++++++ specification/sql/resource-manager/readme.go.md | 10 ++++++++++ specification/synapse/data-plane/readme.go.md | 1 + 4 files changed, 32 insertions(+) diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md index cfd74e7e6646..caf87f7f9240 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-2020-12-01 - tag: package-2020-10-01-preview - tag: profile-hybrid-2020-09-01 - tag: package-2020-06-30 @@ -53,6 +54,16 @@ batch: - tag: package-container-service-2015-11-preview ``` +### Tag: package-2020-12-01 and go + +These settings apply only when `--tag=package-2020-12-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +```yaml $(tag)=='package-2020-12-01' && $(go) +namespace: compute +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-12-01/$(namespace) +``` + ### Tag: package-2020-10-01-preview and go These settings apply only when `--tag=package-2020-10-01-preview --go` is specified on the command line. diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md index 278055715921..c07c0e4261f7 100644 --- a/specification/cosmos-db/resource-manager/readme.go.md +++ b/specification/cosmos-db/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2020-09 - tag: package-2020-06-preview - tag: package-2020-04 - tag: package-2020-03 @@ -21,6 +22,15 @@ batch: - tag: package-2019-08-preview - tag: package-2015-04 ``` +### Tag: package-2020-09 and go + +These settings apply only when `--tag=package-2020-09 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-09' && $(go) +output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2020-09/$(namespace) +``` + ### Tag: package-2020-06-preview and go These settings apply only when `--tag=package-2020-06-preview --go` is specified on the command line. diff --git a/specification/sql/resource-manager/readme.go.md b/specification/sql/resource-manager/readme.go.md index c70f8a85f328..8aa27cf5a2c4 100644 --- a/specification/sql/resource-manager/readme.go.md +++ b/specification/sql/resource-manager/readme.go.md @@ -15,6 +15,7 @@ From api-version 2017-10 and onwards, only pure package versions should be used. ``` yaml $(go) && $(multiapi) batch: + - tag: package-composite-v4 - tag: package-composite-v3 - tag: package-pure-2018-06-preview - tag: package-pure-2017-10-preview @@ -23,6 +24,15 @@ batch: - tag: package-pure-2014-04 ``` +#### Tag: package-composite-v4 and go + +These settings apply only when `--tag=package-composite-v4 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-composite-v4' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/v4.0/$(namespace) +``` + #### Tag: package-composite-v3 and go These settings apply only when `--tag=package-composite-v3 --go` is specified on the command line. diff --git a/specification/synapse/data-plane/readme.go.md b/specification/synapse/data-plane/readme.go.md index cf6f6ce6df71..676c0c4e0734 100644 --- a/specification/synapse/data-plane/readme.go.md +++ b/specification/synapse/data-plane/readme.go.md @@ -12,6 +12,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-access-control-2020-08-01-preview - tag: package-spark-2019-11-01-preview - tag: package-artifacts-2019-06-01-preview - tag: package-access-control-2020-02-01-preview From ce20b5c1776f3ede0ae72c68c8893c4d464e7dd5 Mon Sep 17 00:00:00 2001 From: Jeffrey Cline <20408400+WodansSon@users.noreply.github.com> Date: Mon, 8 Feb 2021 23:34:57 -0800 Subject: [PATCH 2/2] Move cosmos-db output folder to preview location --- specification/cosmos-db/resource-manager/readme.go.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/cosmos-db/resource-manager/readme.go.md b/specification/cosmos-db/resource-manager/readme.go.md index c07c0e4261f7..469f02a9be00 100644 --- a/specification/cosmos-db/resource-manager/readme.go.md +++ b/specification/cosmos-db/resource-manager/readme.go.md @@ -28,7 +28,7 @@ These settings apply only when `--tag=package-2020-09 --go` is specified on the Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2020-09' && $(go) -output-folder: $(go-sdk-folder)/services/cosmos-db/mgmt/2020-09/$(namespace) +output-folder: $(go-sdk-folder)/services/preview/cosmos-db/mgmt/2020-09/$(namespace) ``` ### Tag: package-2020-06-preview and go