Skip to content

Commit c7616be

Browse files
authored
[PostgreSQL] Flexible Server GA API change tag name (Azure#14859)
* [PostgreSQL] Flexible Server GA API change tag name and file name * remove python multi api
1 parent a7d5868 commit c7616be

File tree

5 files changed

+44
-37
lines changed

5 files changed

+44
-37
lines changed

specification/postgresql/resource-manager/readme.go.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,32 @@ go:
1212
1313
``` yaml $(go) && $(multiapi)
1414
batch:
15-
- tag: package-2021-06-01
16-
- tag: package-2021-06-01-preview
15+
- tag: package-flexibleserver-2021-06
16+
- tag: package-flexibleserver-2021-06-preview
1717
- tag: package-2020-11-05-preview
1818
- tag: package-2020-02-14-preview
1919
- tag: package-2020-01-01
2020
- tag: package-2017-12-01-preview
2121
- tag: package-2017-12-01
2222
```
2323
24-
### Tag: package-2021-06-01 and go
24+
### Tag: package-flexibleserver-2021-06 and go
2525
26-
These settings apply only when `--tag=package-2021-06-01 --go` is specified on the command line.
26+
These settings apply only when `--tag=package-flexibleserver-2021-06 --go` is specified on the command line.
2727
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
2828

29-
``` yaml $(tag) == 'package-2021-06-01' && $(go)
29+
``` yaml $(tag) == 'package-flexibleserver-2021-06' && $(go)
3030
rpname: postgresql
3131
namespace: postgresqlflexibleservers
3232
output-folder: $(go-sdk-folder)/services/$(rpname)/mgmt/2021-06-01/$(namespace)
3333
```
3434

35-
### Tag: package-2021-06-01-preview and go
35+
### Tag: package-flexibleserver-2021-06-preview and go
3636

37-
These settings apply only when `--tag=package-2021-06-01-preview --go` is specified on the command line.
37+
These settings apply only when `--tag=package-flexibleserver-2021-06-preview --go` is specified on the command line.
3838
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
3939

40-
``` yaml $(tag) == 'package-2021-06-01-preview' && $(go)
40+
``` yaml $(tag) == 'package-flexibleserver-2021-06-preview' && $(go)
4141
rpname: postgresql
4242
namespace: postgresqlflexibleservers
4343
output-folder: $(go-sdk-folder)/services/preview/$(rpname)/mgmt/2021-06-01-preview/$(namespace)

specification/postgresql/resource-manager/readme.java.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ fluent: true
99
namespace: com.microsoft.azure.management.postgresql
1010
license-header: MICROSOFT_MIT_NO_CODEGEN
1111
payload-flattening-threshold: 1
12+
tag: package-2020-01-01
1213
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresql
1314
```
1415

specification/postgresql/resource-manager/readme.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,25 +28,25 @@ These are the global settings for the PostgreSQL API.
2828
title: PostgreSQLManagementClient
2929
description: The Microsoft Azure management API provides create, read, update, and delete functionality for Azure PostgreSQL resources including servers, databases, firewall rules, VNET rules, security alert policies, log files and configurations with new business model.
3030
openapi-type: arm
31-
tag: package-2020-01-01
31+
tag: package-flexibleserver-2021-06
3232
```
3333
34-
### Tag: package-2021-06-01
34+
### Tag: package-flexibleserver-2021-06
3535
36-
These settings apply only when `--tag=package-2021-06-01` is specified on the command line.
36+
These settings apply only when `--tag=package-flexibleserver-2021-06` is specified on the command line.
3737

38-
``` yaml $(tag) == 'package-2021-06-01'
38+
``` yaml $(tag) == 'package-flexibleserver-2021-06'
3939
input-file:
4040
- Microsoft.DBforPostgreSQL/stable/2021-06-01/postgresql.json
4141
- Microsoft.DBforPostgreSQL/stable/2021-06-01/Databases.json
4242
- Microsoft.DBforPostgreSQL/stable/2021-06-01/PrivateDnsZone.json
4343
```
4444

45-
### Tag: package-2021-06-01-preview
45+
### Tag: package-flexibleserver-2021-06-preview
4646

47-
These settings apply only when `--tag=package-2021-06-01-preview` is specified on the command line.
47+
These settings apply only when `--tag=package-flexibleserver-2021-06-preview` is specified on the command line.
4848

49-
``` yaml $(tag) == 'package-2021-06-01-preview'
49+
``` yaml $(tag) == 'package-flexibleserver-2021-06-preview'
5050
input-file:
5151
- Microsoft.DBforPostgreSQL/preview/2021-06-01-preview/postgresql.json
5252
- Microsoft.DBforPostgreSQL/preview/2020-11-05-preview/Databases.json
@@ -206,12 +206,10 @@ This is not used by Autorest itself.
206206

207207
``` yaml $(swagger-to-sdk)
208208
swagger-to-sdk:
209-
- repo: azure-sdk-for-net
210209
- repo: azure-sdk-for-python-track2
211210
- repo: azure-sdk-for-java
212211
- repo: azure-sdk-for-go
213212
- repo: azure-sdk-for-js
214-
- repo: azure-sdk-for-node
215213
- repo: azure-resource-manager-schemas
216214
```
217215

specification/postgresql/resource-manager/readme.python.md

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,22 @@ package-version: 1.0.0b1
1313
no-namespace-folders: true
1414
```
1515
16-
### Python multi-api
17-
18-
Generate all API versions currently shipped for this package
19-
20-
```yaml $(track2)
21-
clear-output-folder: true
22-
batch:
23-
- tag: package-2021-06-01
24-
- tag: package-2021-06-01-preview
25-
- tag: package-2020-01-01
26-
- tag: package-2020-11-05-preview
27-
- tag: package-2021-03-31-privatepreview
28-
```
29-
30-
### Tag: package-2021-06-01 and python
16+
### Tag: package-flexibleserver-2021-06 and python
3117
32-
These settings apply only when `--tag=package-2021-06-01 --python` is specified on the command line.
18+
These settings apply only when `--tag=package-flexibleserver-2021-06 --python` is specified on the command line.
3319
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
3420

35-
``` yaml $(tag) == 'package-2021-06-01' && $(python)
21+
``` yaml $(tag) == 'package-flexibleserver-2021-06' && $(python)
3622
namespace: azure.mgmt.rdbms.postgresql_flexibleservers
3723
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql_flexibleservers
3824
```
3925

40-
### Tag: package-2021-06-01-preview and python
26+
### Tag: package-flexibleserver-2021-06-preview and python
4127

42-
These settings apply only when `--tag=package-2021-06-01-preview --python` is specified on the command line.
28+
These settings apply only when `--tag=package-flexibleserver-2021-06 --python` is specified on the command line.
4329
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
4430

45-
``` yaml $(tag) == 'package-2021-06-01-preview' && $(python)
31+
``` yaml $(tag) == 'package-flexibleserver-2021-06-preview' && $(python)
4632
namespace: azure.mgmt.rdbms.postgresql_flexibleservers
4733
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql_flexibleservers
4834
```

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@ typescript:
1010
generate-metadata: true
1111
```
1212
13+
### Tag: package-flexibleserver-2021-06 and TypeScript
14+
15+
These settings apply only when `--tag=package-flexibleserver-2021-06 --typescript` is specified on the command line.
16+
Please also specify `--typescript-sdks-folder=<path to the root directory of your azure-sdk-for-typescript clone>`.
17+
18+
``` yaml $(tag) == 'package-flexibleserver-2021-06' && $(typescript)
19+
title: PostgreSQLManagementFlexibleServerClient
20+
package-name: "@azure/arm-postgresql-flexible"
21+
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql-flexible/"
22+
```
23+
24+
### Tag: package-flexibleserver-2021-06-preview and TypeScript
25+
26+
These settings apply only when `--tag=package-flexibleserver-2021-06-preview --typescript` is specified on the command line.
27+
Please also specify `--typescript-sdks-folder=<path to the root directory of your azure-sdk-for-typescript clone>`.
28+
29+
``` yaml $(tag) == 'package-flexibleserver-2021-06-preview' && $(typescript)
30+
title: PostgreSQLManagementFlexibleServerClient
31+
package-name: "@azure/arm-postgresql-flexible"
32+
output-folder: "$(typescript-sdks-folder)/sdk/postgresql/arm-postgresql-flexible/"
33+
```
34+
1335
### Tag: package-2021-04-10-privatepreview and TypeScript
1436

1537
These settings apply only when `--tag=package-2021-04-10-privatepreview --typescript` is specified on the command line.

0 commit comments

Comments
 (0)