From e9e3e9464b89e5a34abd8b1da0ec48634f99ae13 Mon Sep 17 00:00:00 2001 From: xiaoxu qi Date: Thu, 21 Sep 2023 21:51:53 +0800 Subject: [PATCH] Fix serviceOperation version for 2023-06-01-preview (#25875) * fix * fix * fix * fix * Update readme.python.md --------- Co-authored-by: Yuchao Yan --- .../mysql/resource-manager/readme.md | 25 +++++++++++++++++++ .../mysql/resource-manager/readme.python.md | 18 +++---------- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index f1be52076947..139f84a70ceb 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -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. diff --git a/specification/mysql/resource-manager/readme.python.md b/specification/mysql/resource-manager/readme.python.md index ea9aa866645c..56ddb2edda06 100644 --- a/specification/mysql/resource-manager/readme.python.md +++ b/specification/mysql/resource-manager/readme.python.md @@ -23,26 +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) -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) +``` 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 ```