Skip to content
Closed
Show file tree
Hide file tree
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 Aug 4, 2020
26cf293
Rename Flexible Operations List operation id.
pradeepkintali Aug 5, 2020
ba16ec9
Fixed the skutier and Delete operaton
pradeepkintali Aug 5, 2020
af16004
Added swagger files for MySQL Flexible Server preview
Suna-MS Jul 16, 2020
a3df0db
Fix Spell and Prettier check failures
Suna-MS Jul 29, 2020
58558c2
Fix Prettier check failures in examples
Suna-MS Jul 29, 2020
7e640ad
Address ARM comments: ServerForCreate to Server, update operation_id …
Suna-MS Jul 31, 2020
25bb3e7
Fix LintDiff check errors
Suna-MS Jul 31, 2020
f2effc9
change storageIOps to storageIops
Suna-MS Aug 3, 2020
5ca899d
Change operations to old name
Suna-MS Aug 6, 2020
86bfa1e
Merge branch 'sunl/meru_swagger_with_old_models' of https://github.co…
mjain2 Aug 6, 2020
656bdbc
Multiple namespaces for flexible server enablement Python SDK
mjain2 Aug 6, 2020
474767a
Revert the Model name changes
pradeepkintali Aug 6, 2020
0451dc2
Undo Operation ID name changes
pradeepkintali Aug 7, 2020
8240bca
revert readme.md file.
pradeepkintali Aug 7, 2020
212eea8
Merge
mjain2 Aug 10, 2020
9865558
Merge branch 'prkint/ModelNameChanges' of https://github.com/pradeepk…
mjain2 Aug 12, 2020
aa3ce8d
mySQL udpate
mjain2 Aug 13, 2020
4e30fdf
Generate mysql & postgresql flexible servers SDKs
gechris Aug 17, 2020
49461dd
updating readme with latest api for multiapi
mjain2 Aug 19, 2020
a80f0ce
Merge with master
mjain2 Aug 19, 2020
d0f7741
Merge branch 'moljain/flexServerNamespace' of https://github.com/mjai…
mjain2 Aug 19, 2020
1cf7a29
Fix go.md files
gechris Aug 20, 2020
cbe04a2
removing unnecessary after_scripts in mysql python
mjain2 Aug 24, 2020
6f1e756
PostgreSQL Flexible Server New API Swagger Changes
pradeepkintali Aug 25, 2020
0ad6162
Fixed LintDiff errors.
pradeepkintali Aug 25, 2020
6e2e720
Added Pagination for Capabilities API
pradeepkintali Aug 25, 2020
5155652
Set Server Properties for Update as flatten.
pradeepkintali Aug 26, 2020
64129d9
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 Aug 26, 2020
e8747c6
Merge branch 'master' of https://github.com/Azure/azure-rest-api-spec…
mjain2 Aug 26, 2020
3d193d6
Adding track2 capability and removing mysql batch api not needed for …
mjain2 Aug 27, 2020
eccc7c7
Change namespace name for mysql, postgresql flexible server go packages
gechris Aug 27, 2020
c8d872d
Merge branch 'moljain/flexServerNamespace' of https://github.com/mjai…
gechris Aug 27, 2020
b3ac497
Added sku properties as required.
pradeepkintali Aug 31, 2020
eb41ddc
Updated the HA enabled property and added new property
pradeepkintali Aug 31, 2020
9228582
Added Virtual Network Subnet usage API changes
pradeepkintali Aug 31, 2020
a45c2fe
Updated the CMW API Contracts
pradeepkintali Sep 1, 2020
27d08b2
Removed CMK API changes
pradeepkintali Sep 1, 2020
27f82d3
Update MySQL flexibleServer swagger to change some APIs
Suna-MS Sep 1, 2020
ff85989
Removed Unused Entities
pradeepkintali Sep 1, 2020
c0022f2
Resolved code review comments
pradeepkintali Sep 1, 2020
68cfcf6
Fix prettier issues.
pradeepkintali Sep 1, 2020
c7bc07e
Added CMK API's
pradeepkintali Sep 1, 2020
469bbeb
Merge branch 'master' of https://github.com/Suna-MS/azure-rest-api-sp…
mjain2 Sep 1, 2020
cf4aae1
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 Sep 1, 2020
a633dbd
remove readonly property for custom window property
pradeepkintali Sep 3, 2020
a6ffeed
Fixed lint diff errors
pradeepkintali Sep 3, 2020
5f71212
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 Sep 3, 2020
e1f6013
Fixed server update for haEnabled property
pradeepkintali Sep 3, 2020
96fdc17
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 Sep 3, 2020
dae57a3
Adding minor fix to readme.md
mjain2 Sep 3, 2020
256dd06
Updated the Operation id for Location capabilities
pradeepkintali Sep 3, 2020
c071190
Merge branch 'prkint/FlexibleServerNewAPIChanges' of https://github.c…
mjain2 Sep 3, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions specification/mysql/resource-manager/readme.az.md
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
```
103 changes: 103 additions & 0 deletions specification/mysql/resource-manager/readme.csharp.md
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
```
10 changes: 10 additions & 0 deletions specification/mysql/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ go:

``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-07-01-privatepreview
- tag: package-2020-01-01
- tag: package-2017-12-01-preview
- tag: package-2017-12-01
```

### Tag: package-2020-07-01-privatepreview and go

These settings apply only when `--tag=package-2020-07-01-privatepreview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2020-07-01-privatepreview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/flexible-servers/2020-07-01-privatepreview/$(namespace)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/flexible-servers/2020-07-01-privatepreview/$(namespace)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-07-01-preview/$(namespace)

```

### Tag: package-2020-01-01 and go

These settings apply only when `--tag=package-2020-01-01 --go` is specified on the command line.
Expand Down
38 changes: 2 additions & 36 deletions specification/mysql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,45 +153,11 @@ swagger-to-sdk:

### 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
namespace: Microsoft.Azure.Management.MySQL
output-folder: $(csharp-sdks-folder)/mysql/Microsoft.Azure.Management.MySQL/src/Generated
clear-output-folder: true
```

See configuration in [readme.python.md](./readme.csharp.md)

## 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-mode: create
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.rdbms.mysql
package-name: azure-mgmt-rdbms
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mysql
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms
```
See configuration in [readme.python.md](./readme.python.md)

## Go

Expand Down
107 changes: 107 additions & 0 deletions specification/mysql/resource-manager/readme.python.md
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
```
14 changes: 14 additions & 0 deletions specification/postgresql/resource-manager/readme.az.md
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
```
Loading