From 53f028513f1c9bcbaad825aedcdcf04b40a833fe Mon Sep 17 00:00:00 2001 From: Xiaoxu Qi Date: Wed, 20 Sep 2023 21:08:56 +0800 Subject: [PATCH 1/5] fix --- .../mysql/resource-manager/readme.md | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index f1be52076947..8539475b22dc 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -28,11 +28,11 @@ These are the global settings for the MySql API. title: MySQLManagementClient description: The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. openapi-type: arm -tag: package-flexibleserver-2023-06-01-preview +tag: package-flexibleserver-2023-06-01-preview-new ``` ``` yaml $(package-flexibleservers) -tag: package-flexibleserver-2023-06-01-preview +tag: package-flexibleserver-2023-06-01-preview-new ``` ``` yaml $(package-singleservers) @@ -207,6 +207,31 @@ suppressions: reason: This will be fixed in new versions. ``` +### Tag: package-flexibleserver-2023-06-01-preview-new + +These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new` is specified on the command line. + +``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' +input-file: +- Microsoft.DBforMySQL/AAD/preview/2023-06-01-preview/AzureADAdministrator.json +- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/Backups.json +- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/BackupAndExport.json +- Microsoft.DBforMySQL/Configurations/preview/2023-06-01-preview/Configurations.json +- Microsoft.DBforMySQL/Databases/preview/2023-06-01-preview/Databases.json +- Microsoft.DBforMySQL/Firewall/preview/2023-06-01-preview/FirewallRules.json +- Microsoft.DBforMySQL/FlexibleServers/preview/2023-06-01-preview/FlexibleServers.json +- Microsoft.DBforMySQL/LogFiles/preview/2023-06-01-preview/LogFiles.json +- Microsoft.DBforMySQL/ServiceOperations/preview/2021-12-01-preview/ServiceOperations.json +- Microsoft.DBforMySQL/common-types/v1/common-types.json +suppressions: + - code: PostOperationAsyncResponseValidation + from: FlexibleServers.json + reason: This check is optional. + - code: PropertiesTypeObjectNoDefinition + from: common-types.json + reason: This will be fixed in new versions. +``` + ### Tag: package-flexibleserver-2023-06-30-privatelink These settings apply only when `--tag=package-flexibleserver-2023-06-30-privatelink` is specified on the command line. From 3471e92e0507431530e8f0742cc1dcc5950e13d3 Mon Sep 17 00:00:00 2001 From: Xiaoxu Qi Date: Wed, 20 Sep 2023 21:16:30 +0800 Subject: [PATCH 2/5] fix --- specification/mysql/resource-manager/readme.python.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/mysql/resource-manager/readme.python.md b/specification/mysql/resource-manager/readme.python.md index ea9aa866645c..d3100a389b63 100644 --- a/specification/mysql/resource-manager/readme.python.md +++ b/specification/mysql/resource-manager/readme.python.md @@ -23,16 +23,16 @@ Generate all API versions currently shipped for this package ```yaml $(python) clear-output-folder: true batch: - - tag: package-flexibleserver-2023-06-01-preview + - tag: package-flexibleserver-2023-06-01-preview-new - tag: package-2020-01-01 ``` -### Tag: package-flexibleserver-2023-06-01-preview and python +### Tag: package-flexibleserver-2023-06-01-preview-new and python -These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview --python` is specified on the command line. +These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview' && $(python) +``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' && $(python) namespace: azure.mgmt.rdbms.mysql_flexibleservers output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers ``` From 099af443c68a46093e951328147ef75ee2eee070 Mon Sep 17 00:00:00 2001 From: Xiaoxu Qi Date: Wed, 20 Sep 2023 21:34:10 +0800 Subject: [PATCH 3/5] fix --- .../mysql/resource-manager/readme.md | 29 ++----------------- .../mysql/resource-manager/readme.python.md | 8 ++--- 2 files changed, 6 insertions(+), 31 deletions(-) diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index 8539475b22dc..e86def37529d 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -28,11 +28,11 @@ These are the global settings for the MySql API. title: MySQLManagementClient description: The Microsoft Azure management API provides create, read, update, and delete functionality for Azure MySQL resources including servers, databases, firewall rules, VNET rules, log files and configurations with new business model. openapi-type: arm -tag: package-flexibleserver-2023-06-01-preview-new +tag: package-flexibleserver-2023-06-01-preview ``` ``` yaml $(package-flexibleservers) -tag: package-flexibleserver-2023-06-01-preview-new +tag: package-flexibleserver-2023-06-01-preview ``` ``` yaml $(package-singleservers) @@ -196,31 +196,6 @@ input-file: - Microsoft.DBforMySQL/Firewall/preview/2023-06-01-preview/FirewallRules.json - Microsoft.DBforMySQL/FlexibleServers/preview/2023-06-01-preview/FlexibleServers.json - Microsoft.DBforMySQL/LogFiles/preview/2023-06-01-preview/LogFiles.json -- Microsoft.DBforMySQL/ServiceOperations/preview/2023-06-01-preview/ServiceOperations.json -- Microsoft.DBforMySQL/common-types/v1/common-types.json -suppressions: - - code: PostOperationAsyncResponseValidation - from: FlexibleServers.json - reason: This check is optional. - - code: PropertiesTypeObjectNoDefinition - from: common-types.json - reason: This will be fixed in new versions. -``` - -### Tag: package-flexibleserver-2023-06-01-preview-new - -These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new` is specified on the command line. - -``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' -input-file: -- Microsoft.DBforMySQL/AAD/preview/2023-06-01-preview/AzureADAdministrator.json -- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/Backups.json -- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/BackupAndExport.json -- Microsoft.DBforMySQL/Configurations/preview/2023-06-01-preview/Configurations.json -- Microsoft.DBforMySQL/Databases/preview/2023-06-01-preview/Databases.json -- Microsoft.DBforMySQL/Firewall/preview/2023-06-01-preview/FirewallRules.json -- Microsoft.DBforMySQL/FlexibleServers/preview/2023-06-01-preview/FlexibleServers.json -- Microsoft.DBforMySQL/LogFiles/preview/2023-06-01-preview/LogFiles.json - Microsoft.DBforMySQL/ServiceOperations/preview/2021-12-01-preview/ServiceOperations.json - Microsoft.DBforMySQL/common-types/v1/common-types.json suppressions: diff --git a/specification/mysql/resource-manager/readme.python.md b/specification/mysql/resource-manager/readme.python.md index d3100a389b63..ea9aa866645c 100644 --- a/specification/mysql/resource-manager/readme.python.md +++ b/specification/mysql/resource-manager/readme.python.md @@ -23,16 +23,16 @@ Generate all API versions currently shipped for this package ```yaml $(python) clear-output-folder: true batch: - - tag: package-flexibleserver-2023-06-01-preview-new + - tag: package-flexibleserver-2023-06-01-preview - tag: package-2020-01-01 ``` -### Tag: package-flexibleserver-2023-06-01-preview-new and python +### Tag: package-flexibleserver-2023-06-01-preview and python -These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new --python` is specified on the command line. +These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' && $(python) +``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview' && $(python) namespace: azure.mgmt.rdbms.mysql_flexibleservers output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers ``` From 0d39e4928124adcba1b5ddb74bdb964cf7c9dc06 Mon Sep 17 00:00:00 2001 From: Xiaoxu Qi Date: Wed, 20 Sep 2023 21:56:58 +0800 Subject: [PATCH 4/5] fix --- .../mysql/resource-manager/readme.md | 25 +++++++++++++++++++ .../mysql/resource-manager/readme.python.md | 8 +++--- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index e86def37529d..139f84a70ceb 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -196,6 +196,31 @@ input-file: - Microsoft.DBforMySQL/Firewall/preview/2023-06-01-preview/FirewallRules.json - Microsoft.DBforMySQL/FlexibleServers/preview/2023-06-01-preview/FlexibleServers.json - Microsoft.DBforMySQL/LogFiles/preview/2023-06-01-preview/LogFiles.json +- Microsoft.DBforMySQL/ServiceOperations/preview/2023-06-01-preview/ServiceOperations.json +- Microsoft.DBforMySQL/common-types/v1/common-types.json +suppressions: + - code: PostOperationAsyncResponseValidation + from: FlexibleServers.json + reason: This check is optional. + - code: PropertiesTypeObjectNoDefinition + from: common-types.json + reason: This will be fixed in new versions. +``` + +### Tag: package-flexibleserver-2023-06-01-preview-new + +These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new` is specified on the command line. + +``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' +input-file: +- Microsoft.DBforMySQL/AAD/preview/2023-06-01-preview/AzureADAdministrator.json +- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/Backups.json +- Microsoft.DBforMySQL/Backups/preview/2023-06-01-preview/BackupAndExport.json +- Microsoft.DBforMySQL/Configurations/preview/2023-06-01-preview/Configurations.json +- Microsoft.DBforMySQL/Databases/preview/2023-06-01-preview/Databases.json +- Microsoft.DBforMySQL/Firewall/preview/2023-06-01-preview/FirewallRules.json +- Microsoft.DBforMySQL/FlexibleServers/preview/2023-06-01-preview/FlexibleServers.json +- Microsoft.DBforMySQL/LogFiles/preview/2023-06-01-preview/LogFiles.json - Microsoft.DBforMySQL/ServiceOperations/preview/2021-12-01-preview/ServiceOperations.json - Microsoft.DBforMySQL/common-types/v1/common-types.json suppressions: diff --git a/specification/mysql/resource-manager/readme.python.md b/specification/mysql/resource-manager/readme.python.md index ea9aa866645c..d3100a389b63 100644 --- a/specification/mysql/resource-manager/readme.python.md +++ b/specification/mysql/resource-manager/readme.python.md @@ -23,16 +23,16 @@ Generate all API versions currently shipped for this package ```yaml $(python) clear-output-folder: true batch: - - tag: package-flexibleserver-2023-06-01-preview + - tag: package-flexibleserver-2023-06-01-preview-new - tag: package-2020-01-01 ``` -### Tag: package-flexibleserver-2023-06-01-preview and python +### Tag: package-flexibleserver-2023-06-01-preview-new and python -These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview --python` is specified on the command line. +These settings apply only when `--tag=package-flexibleserver-2023-06-01-preview-new --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview' && $(python) +``` yaml $(tag) == 'package-flexibleserver-2023-06-01-preview-new' && $(python) namespace: azure.mgmt.rdbms.mysql_flexibleservers output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers ``` From e0966eb64ceba97a08ff30df91c04c0bffb65f60 Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 21 Sep 2023 09:32:21 +0800 Subject: [PATCH 5/5] Update readme.python.md --- specification/mysql/resource-manager/readme.python.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/specification/mysql/resource-manager/readme.python.md b/specification/mysql/resource-manager/readme.python.md index d3100a389b63..56ddb2edda06 100644 --- a/specification/mysql/resource-manager/readme.python.md +++ b/specification/mysql/resource-manager/readme.python.md @@ -37,16 +37,6 @@ namespace: azure.mgmt.rdbms.mysql_flexibleservers output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers ``` -### Tag: package-flexibleserver-2022-09-30-preview and python - -These settings apply only when `--tag=package-flexibleserver-2022-09-30-preview --python` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-flexibleserver-2022-09-30-preview' && $(python) -namespace: azure.mgmt.rdbms.mysql_flexibleservers -output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql_flexibleservers -``` - ### Tag: package-2020-01-01 and python These settings apply only when `--tag=package-2020-01-01 --python` is specified on the command line.