-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Updating readme.md files for SDK generation (multi-api, new api version already checked in) #10567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 24 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
fa61953
Modified the names for Flexible server.
pradeepkintali 26cf293
Rename Flexible Operations List operation id.
pradeepkintali ba16ec9
Fixed the skutier and Delete operaton
pradeepkintali af16004
Added swagger files for MySQL Flexible Server preview
Suna-MS a3df0db
Fix Spell and Prettier check failures
Suna-MS 58558c2
Fix Prettier check failures in examples
Suna-MS 7e640ad
Address ARM comments: ServerForCreate to Server, update operation_id …
Suna-MS 25bb3e7
Fix LintDiff check errors
Suna-MS f2effc9
change storageIOps to storageIops
Suna-MS 5ca899d
Change operations to old name
Suna-MS 86bfa1e
Merge branch 'sunl/meru_swagger_with_old_models' of https://github.co…
mjain2 656bdbc
Multiple namespaces for flexible server enablement Python SDK
mjain2 474767a
Revert the Model name changes
pradeepkintali 0451dc2
Undo Operation ID name changes
pradeepkintali 8240bca
revert readme.md file.
pradeepkintali 212eea8
Merge
mjain2 9865558
Merge branch 'prkint/ModelNameChanges' of https://github.com/pradeepk…
mjain2 aa3ce8d
mySQL udpate
mjain2 4e30fdf
Generate mysql & postgresql flexible servers SDKs
gechris 49461dd
updating readme with latest api for multiapi
mjain2 a80f0ce
Merge with master
mjain2 d0f7741
Merge branch 'moljain/flexServerNamespace' of https://github.com/mjai…
mjain2 1cf7a29
Fix go.md files
gechris cbe04a2
removing unnecessary after_scripts in mysql python
mjain2 6f1e756
PostgreSQL Flexible Server New API Swagger Changes
pradeepkintali 0ad6162
Fixed LintDiff errors.
pradeepkintali 6e2e720
Added Pagination for Capabilities API
pradeepkintali 5155652
Set Server Properties for Update as flatten.
pradeepkintali 64129d9
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 e8747c6
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
mjain2 3d193d6
Adding track2 capability and removing mysql batch api not needed for …
mjain2 eccc7c7
Change namespace name for mysql, postgresql flexible server go packages
gechris c8d872d
Merge branch 'moljain/flexServerNamespace' of https://github.com/mjai…
gechris b3ac497
Added sku properties as required.
pradeepkintali eb41ddc
Updated the HA enabled property and added new property
pradeepkintali 9228582
Added Virtual Network Subnet usage API changes
pradeepkintali a45c2fe
Updated the CMW API Contracts
pradeepkintali 27d08b2
Removed CMK API changes
pradeepkintali 27f82d3
Update MySQL flexibleServer swagger to change some APIs
Suna-MS ff85989
Removed Unused Entities
pradeepkintali c0022f2
Resolved code review comments
pradeepkintali 68cfcf6
Fix prettier issues.
pradeepkintali c7bc07e
Added CMK API's
pradeepkintali 469bbeb
Merge branch 'master' of https://github.com/Suna-MS/azure-rest-api-sp…
mjain2 cf4aae1
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 a633dbd
remove readonly property for custom window property
pradeepkintali a6ffeed
Fixed lint diff errors
pradeepkintali 5f71212
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 e1f6013
Fixed server update for haEnabled property
pradeepkintali 96fdc17
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 dae57a3
Adding minor fix to readme.md
mjain2 256dd06
Updated the Operation id for Location capabilities
pradeepkintali c071190
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| ## AZ | ||
|
|
||
| These settings apply only when `--az` is specified on the command line. | ||
|
|
||
| ``` yaml $(az) | ||
| az: | ||
| extensions: mysql | ||
| namespace: azure.mgmt.mysql | ||
| package-name: azure-mgmt-mysql | ||
| az-output-folder: $(azure-cli-extension-folder)/src/mysql | ||
| python-sdk-output-folder: "$(az-output-folder)/azext_mysql/vendored_sdks/mysql" | ||
| # add additinal configuration here specific for Azure CLI | ||
| # refer to the faq.md for more details | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,103 @@ | ||
| ### C# | ||
|
|
||
| These settings apply only when `--csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to "SDKs" directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(csharp) | ||
| csharp: | ||
| azure-arm: true | ||
| license-header: MICROSOFT_MIT_NO_VERSION | ||
| clear-output-folder: true | ||
| ``` | ||
|
|
||
| ### C# multi-api | ||
|
|
||
| Generate all API versions currently shipped for this package | ||
|
|
||
| ```yaml $(multiapi) | ||
| batch: | ||
| - tag: package-2020-01-01 | ||
| - tag: package-2018-06-01 | ||
| - tag: package-2017-12-01 | ||
| - tag: package-2020-07-01-privatepreview | ||
| - tag: package-2020-01-01-privatepreview | ||
| #- tag: package-2018-06-01-privatepreview # commenting this out as there is an issue with 'ProxyResources' | ||
| - tag: package-2017-12-01-preview | ||
| ``` | ||
|
|
||
| ### Tag: package-2020-01-01 and C# | ||
|
|
||
| These settings apply only when `--tag=package-2020-01-01 --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2020-01-01' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-06-01 and C# | ||
|
|
||
| These settings apply only when `--tag=package-2018-06-01 --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2018-06-01' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-12-01 and C# | ||
|
|
||
| These settings apply only when `--tag=package-2017-12-01 --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-12-01' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2020-07-01-privatepreview and C# | ||
|
|
||
| These settings apply only when `--tag=package-2020-07-01-privatepreview --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2020-07-01-privatepreview' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL.FlexibleServers | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2020-01-01-privatepreview and C# | ||
|
|
||
| These settings apply only when `--tag=package-2020-01-01-privatepreview --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-06-01-privatepreview and C# | ||
|
|
||
| These settings apply only when `--tag=package-2018-06-01-privatepreview --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-12-01-preview and C# | ||
|
|
||
| These settings apply only when `--tag=package-2017-12-01-preview --csharp` is specified on the command line. | ||
| Please also specify `--csharp-sdks-folder=<path to the root directory of your azure-sdk-for-net clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-12-01-preview' && $(csharp) | ||
| csharp: | ||
| namespace: Microsoft.Azure.Management.MySQL | ||
| output-folder: $(csharp-sdks-folder)/mysql/$(namespace)/src/Generated | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,107 @@ | ||
| ## Python | ||
|
|
||
| These settings apply only when `--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>`. | ||
| Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. | ||
|
|
||
| ``` yaml $(python) | ||
| 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 | ||
| ``` | ||
|
|
||
| ### Python multi-api | ||
|
|
||
| Generate all API versions currently shipped for this package | ||
|
|
||
| ```yaml $(multiapi) | ||
| batch: | ||
| - tag: package-2020-01-01 | ||
| - tag: package-2018-06-01 | ||
| - tag: package-2017-12-01 | ||
| - tag: package-2020-07-01-privatepreview | ||
| - tag: package-2020-01-01-privatepreview | ||
| # - tag: package-2018-06-01-privatepreview # commenting this out as there is an issue with 'ProxyResources' | ||
| - tag: package-2017-12-01-preview | ||
| ``` | ||
|
|
||
| ### Tag: package-2020-01-01 and python | ||
|
|
||
| These settings apply only when `--tag=package-2020-01-01 --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-2020-01-01' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-06-01 and python | ||
|
|
||
| These settings apply only when `--tag=package-2018-06-01 --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-2018-06-01' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-12-01 and python | ||
|
|
||
| These settings apply only when `--tag=package-2017-12-01 --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-2017-12-01' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` | ||
|
|
||
| ### Tag: package-2020-07-01-privatepreview and python | ||
|
|
||
| These settings apply only when `--tag=package-2020-07-01-privatepreview --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-2020-07-01-privatepreview' && $(python) | ||
| 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-privatepreview and python | ||
|
|
||
| These settings apply only when `--tag=package-2020-01-01-privatepreview --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-2020-01-01-privatepreview' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` | ||
|
|
||
| ### Tag: package-2018-06-01-privatepreview and python | ||
|
|
||
| These settings apply only when `--tag=package-2018-06-01-privatepreview --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-2018-06-01-privatepreview' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` | ||
|
|
||
| ### Tag: package-2017-12-01-preview and python | ||
|
|
||
| These settings apply only when `--tag=package-2017-12-01-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-2017-12-01-preview' && $(python) | ||
| python: | ||
| namespace: azure.mgmt.rdbms.mysql | ||
| output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| ## AZ | ||
|
|
||
| These settings apply only when `--az` is specified on the command line. | ||
|
|
||
| ``` yaml $(az) | ||
| az: | ||
| extensions: postgresql | ||
| namespace: azure.mgmt.postgresql | ||
| package-name: azure-mgmt-postgresql | ||
| az-output-folder: $(azure-cli-extension-folder)/src/postgresql | ||
| python-sdk-output-folder: "$(az-output-folder)/azext_postgresql/vendored_sdks/postgresql" | ||
| # add additinal configuration here specific for Azure CLI | ||
| # refer to the faq.md for more details | ||
| ``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.