Skip to content

Commit

Permalink
Fix serviceOperation version for 2023-06-01-preview (#25875)
Browse files Browse the repository at this point in the history
* fix

* fix

* fix

* fix

* Update readme.python.md

---------

Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
  • Loading branch information
2 people authored and dargilco committed Sep 21, 2023
1 parent 99eddb2 commit e9e3e94
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
25 changes: 25 additions & 0 deletions specification/mysql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
18 changes: 4 additions & 14 deletions specification/mysql/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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=<path to the root directory of your azure-sdk-for-python clone>`.

``` 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
```
Expand Down

0 comments on commit e9e3e94

Please sign in to comment.