From 909b2c3f3ddcf8777b682d189f64f098e50a1cb4 Mon Sep 17 00:00:00 2001 From: Lei Ni <7233663+leni-msft@users.noreply.github.com> Date: Fri, 28 Aug 2020 11:26:23 +0800 Subject: [PATCH] Fix schemas readme (#10615) * Exclude tags which failed to generate schemas * skip beta version for schema generation * exclude private apiversions for schemas generation --- .../readme.azureresourceschema.md | 10 ------ .../readme.azureresourceschema.md | 21 ------------- .../readme.azureresourceschema.md | 11 ------- .../readme.azureresourceschema.md | 11 ------- .../readme.azureresourceschema.md | 20 ------------ .../readme.azureresourceschema.md | 31 ------------------- .../readme.azureresourceschema.md | 31 ------------------- .../readme.azureresourceschema.md | 7 ----- 8 files changed, 142 deletions(-) diff --git a/specification/analysisservices/resource-manager/readme.azureresourceschema.md b/specification/analysisservices/resource-manager/readme.azureresourceschema.md index 495ef9d66eb8..866c0bfb4849 100644 --- a/specification/analysisservices/resource-manager/readme.azureresourceschema.md +++ b/specification/analysisservices/resource-manager/readme.azureresourceschema.md @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: package-2017-08 - - tag: package-2017-08-beta - tag: package-2017-07 - tag: package-2016-05 ``` @@ -21,15 +20,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2017-08-beta' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2017-07 and azureresourceschema These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. diff --git a/specification/azure-kusto/resource-manager/readme.azureresourceschema.md b/specification/azure-kusto/resource-manager/readme.azureresourceschema.md index 0e5c3b4b63db..eb1266e3bcc4 100644 --- a/specification/azure-kusto/resource-manager/readme.azureresourceschema.md +++ b/specification/azure-kusto/resource-manager/readme.azureresourceschema.md @@ -13,12 +13,10 @@ batch: - tag: package-2019-05-15 - tag: package-2019-01-21 - tag: package-2018-09-07-preview - - tag: package-2017-09-07-privatepreview - tag: schema-2019-09-07 - tag: schema-2019-05-15 - tag: schema-2019-01-21 - tag: schema-2018-09-07-preview - - tag: schema-2017-09-07-privatepreview ``` ### Tag: package-2020-06-14 and azureresourceschema @@ -84,15 +82,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2017-09-07-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: schema-2019-09-07 and azureresourceschema These settings apply only when `--tag=schema-2019-09-07 --azureresourceschema` is specified on the command line. @@ -128,13 +117,3 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'schema-2017-09-07-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - diff --git a/specification/intune/resource-manager/readme.azureresourceschema.md b/specification/intune/resource-manager/readme.azureresourceschema.md index 6a46c8878d3f..9d0dd1747d6d 100644 --- a/specification/intune/resource-manager/readme.azureresourceschema.md +++ b/specification/intune/resource-manager/readme.azureresourceschema.md @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: package-2015-01-preview - - tag: package-2015-01-privatepreview ``` ### Tag: package-2015-01-preview and azureresourceschema @@ -18,13 +17,3 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2015-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - diff --git a/specification/iotcentral/resource-manager/readme.azureresourceschema.md b/specification/iotcentral/resource-manager/readme.azureresourceschema.md index 1f1e222e4116..4daf21c76d3e 100644 --- a/specification/iotcentral/resource-manager/readme.azureresourceschema.md +++ b/specification/iotcentral/resource-manager/readme.azureresourceschema.md @@ -7,7 +7,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - tag: package-2018-09-01 - - tag: package-2017-07-01-privatepreview ``` ### Tag: package-2018-09-01 and azureresourceschema @@ -18,13 +17,3 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2017-07-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - diff --git a/specification/mariadb/resource-manager/readme.azureresourceschema.md b/specification/mariadb/resource-manager/readme.azureresourceschema.md index 8d0972cd8819..42254a50fd4e 100644 --- a/specification/mariadb/resource-manager/readme.azureresourceschema.md +++ b/specification/mariadb/resource-manager/readme.azureresourceschema.md @@ -8,8 +8,6 @@ These settings apply only when `--azureresourceschema` is specified on the comma batch: - tag: package-2018-06-01-preview - tag: package-2018-06-01 - - tag: package-2018-06-01-privatepreview - - tag: package-2020-01-01-privatepreview - tag: package-2020-01-01 ``` @@ -31,24 +29,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - -### Tag: package-2020-01-01-privatepreview and azureresourceschema - -These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line. -Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2020-01-01 and azureresourceschema These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. diff --git a/specification/mysql/resource-manager/readme.azureresourceschema.md b/specification/mysql/resource-manager/readme.azureresourceschema.md index 6c26c598c87b..9a41392a28fe 100644 --- a/specification/mysql/resource-manager/readme.azureresourceschema.md +++ b/specification/mysql/resource-manager/readme.azureresourceschema.md @@ -8,11 +8,8 @@ These settings apply only when `--azureresourceschema` is specified on the comma batch: - tag: package-2017-12-01-preview - tag: package-2017-12-01 - - tag: package-2018-06-01-privatepreview - tag: package-2018-06-01 - - tag: package-2020-01-01-privatepreview - tag: package-2020-01-01 - - tag: package-2020-07-01-privatepreview ``` ### Tag: package-2017-12-01-preview and azureresourceschema @@ -33,15 +30,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2018-06-01 and azureresourceschema These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. @@ -51,15 +39,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2020-01-01 and azureresourceschema These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. @@ -68,13 +47,3 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2020-07-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - diff --git a/specification/postgresql/resource-manager/readme.azureresourceschema.md b/specification/postgresql/resource-manager/readme.azureresourceschema.md index 54353347dd47..b1f1431052a0 100644 --- a/specification/postgresql/resource-manager/readme.azureresourceschema.md +++ b/specification/postgresql/resource-manager/readme.azureresourceschema.md @@ -6,33 +6,12 @@ These settings apply only when `--azureresourceschema` is specified on the comma ``` yaml $(azureresourceschema) && $(multiapi) batch: - - tag: package-2020-02-14-privatepreview - - tag: package-2020-01-01-privatepreview - tag: package-2020-01-01 - - tag: package-2018-06-01-privatepreview - tag: package-2018-06-01 - tag: package-2017-12-01-preview - tag: package-2017-12-01 ``` -### Tag: package-2020-02-14-privatepreview and azureresourceschema - -These settings apply only when `--tag=package-2020-02-14-privatepreview --azureresourceschema` is specified on the command line. -Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2020-02-14-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - -### Tag: package-2020-01-01-privatepreview and azureresourceschema - -These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line. -Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2020-01-01 and azureresourceschema These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. @@ -42,15 +21,6 @@ Please also specify `--azureresourceschema-folder=`. - -``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) -output-folder: $(azureresourceschema-folder)/schemas -``` - ### Tag: package-2018-06-01 and azureresourceschema These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. @@ -77,4 +47,3 @@ Please also specify `--azureresourceschema-folder=