Skip to content

Commit c19bdc3

Browse files
authored
add go config to mitigate postgresqlflexibleservers breaking (Azure#40835)
* add go config * update config * update * add alternateType config * add go scope * add go scope * update
1 parent 1d4e4a8 commit c19bdc3

File tree

1 file changed

+13
-4
lines changed
  • specification/postgresql/DBforPostgreSQL.Management

1 file changed

+13
-4
lines changed

specification/postgresql/DBforPostgreSQL.Management/client.tsp

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,26 @@ using Azure.ClientGenerator.Core;
3030
"geoBackupKeyUri",
3131
"java"
3232
);
33-
@@clientName(RequestIdResponseHeader.requestId, "xMsRequestId", "java");
33+
@@clientName(RequestIdResponseHeader.requestId, "xMsRequestId", "java,go");
3434

3535
@@clientName(Microsoft.DBforPostgreSQL.PostgreSqlFlexibleServerHighAvailabilityMode,
3636
"HighAvailabilityMode",
37-
"java"
37+
"java,go"
3838
);
3939
@@clientName(Microsoft.DBforPostgreSQL.HighAvailabilityMode,
4040
"SupportedHighAvailabilityMode",
41-
"java"
41+
"java,go"
4242
);
4343
@@alternateType(Microsoft.DBforPostgreSQL.ServerSkuCapability.supportedHaMode,
4444
PostgreSqlFlexibleServerHighAvailabilityMode[],
45-
"java"
45+
"java,go"
4646
);
47+
48+
@@clientName(PostgresMajorVersion.`11`, "Eleven", "go");
49+
@@clientName(PostgresMajorVersion.`12`, "Twelve", "go");
50+
@@clientName(PostgresMajorVersion.`13`, "Thirteen", "go");
51+
@@clientName(PostgresMajorVersion.`14`, "Fourteen", "go");
52+
@@clientName(PostgresMajorVersion.`15`, "Fifteen", "go");
53+
@@clientName(PostgresMajorVersion.`16`, "Sixteen", "go");
54+
@@clientName(PostgresMajorVersion.`17`, "Seventeen", "go");
55+
@@clientName(PostgresMajorVersion.`18`, "Eighteen", "go");

0 commit comments

Comments
 (0)