Skip to content

Commit

Permalink
[PostgreSQL] Update readme.typescript.md file to release SDK for Post…
Browse files Browse the repository at this point in the history
…greSQL flexible server (Azure#14532)

* multi api for typescript

* fix typo

* update multiapi

* js md file added title

* Removing multi api support for typescript

* Update specification/postgresql/resource-manager/readme.typescript.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update specification/postgresql/resource-manager/readme.typescript.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update specification/postgresql/resource-manager/readme.typescript.md

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>

* Update package name

* Change API version

* remove API change

Co-authored-by: Wei Dong <40835867+dw511214992@users.noreply.github.com>
  • Loading branch information
2 people authored and Andrew Sager committed Jun 24, 2021
1 parent 3c59541 commit 9479834
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
5 changes: 5 additions & 0 deletions specification/postgresql/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ description: The Microsoft Azure management API provides create, read, update, a
openapi-type: arm
tag: package-2020-01-01
```
### Tag: package-2021-06-01
These settings apply only when `--tag=package-2021-06-01` is specified on the command line.
Expand Down Expand Up @@ -238,6 +239,10 @@ See configuration in [readme.go.md](./readme.go.md)

See configuration in [readme.java.md](./readme.java.md)

## TypeScript

See configuration in [readme.typescript.md](./readme.typescript.md)



## Multi-API/Profile support for AutoRest v3 generators
Expand Down
23 changes: 21 additions & 2 deletions specification/postgresql/resource-manager/readme.typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,27 @@ Please also specify `--typescript-sdks-folder=<path to root folder of your azure
``` yaml $(typescript)
typescript:
azure-arm: true
package-name: "@azure/arm-postgresql"
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql"
clear-output-folder: true
generate-metadata: true
```
### Tag: package-2021-04-10-privatepreview and TypeScript
These settings apply only when `--tag=package-2021-04-10-privatepreview --typescript` is specified on the command line.
Please also specify `--typescript-sdks-folder=<path to the root directory of your azure-sdk-for-typescript clone>`.

``` yaml $(tag) == 'package-2021-04-10-privatepreview' && $(typescript)
title: PostgreSQLManagementFlexibleServerClient
package-name: "@azure/arm-postgresql-flexible"
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql-flexible/"
```

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

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

``` yaml $(tag) == 'package-2020-01-01' && $(typescript)
package-name: "@azure/arm-postgresql"
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql/"
```

0 comments on commit 9479834

Please sign in to comment.