From 63300bf24f255ac7a68c4aa8294a68ba955d3125 Mon Sep 17 00:00:00 2001 From: zhangyan133 <77086185+zhangyan133@users.noreply.github.com> Date: Wed, 17 Mar 2021 11:02:01 +0800 Subject: [PATCH] postgresql track2 configure (#13463) * postgresql track2 configure * postgre only t2 config Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) --- .../postgresql/resource-manager/readme.md | 2 +- .../resource-manager/readme.python.md | 30 +++++-------------- 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 763d593c1081..a63f46d98741 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -158,7 +158,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-net - - repo: azure-sdk-for-python + - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js diff --git a/specification/postgresql/resource-manager/readme.python.md b/specification/postgresql/resource-manager/readme.python.md index 61a53aefce6e..0d77ef39b6a1 100644 --- a/specification/postgresql/resource-manager/readme.python.md +++ b/specification/postgresql/resource-manager/readme.python.md @@ -3,17 +3,6 @@ These settings apply only when `--python` is specified on the command line. Please also specify `--python-sdks-folder=`. Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. - -``` yaml !$(track2) -python: - azure-arm: true - license-header: MICROSOFT_MIT_NO_VERSION - payload-flattening-threshold: 2 - package-name: azure-mgmt-rdbms - clear-output-folder: true - no-namespace-folders: true -``` - These settings apply only when `--track2` is specified on the command line. ``` yaml $(track2) @@ -27,17 +16,18 @@ no-namespace-folders: true Generate all API versions currently shipped for this package -```yaml !$(track2) +```yaml $(python) && $(multiapi) $(track2) +clear-output-folder: true batch: - tag: package-2020-01-01 - tag: package-2020-11-05-preview + - multiapiscript: true ``` -```yaml $(track2) -clear-output-folder: true -batch: - - tag: package-2020-01-01 - - tag: package-2020-11-05-preview +``` yaml $(multiapiscript) +output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/ +clear-output-folder: false +perform-load: false ``` ### Tag: package-2020-01-01 and python @@ -48,9 +38,6 @@ Please also specify `--python-sdks-folder=