@azure/arm-postgresql-flexible 8.0.0-beta.2 → 8.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/CHANGELOG.md +540 -1
  2. package/dist/index.js +6111 -3678
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/administratorsCreateSample.js +1 -1
  7. package/dist-esm/samples-dev/administratorsDeleteSample.js +1 -1
  8. package/dist-esm/samples-dev/administratorsGetSample.js +1 -1
  9. package/dist-esm/samples-dev/administratorsListByServerSample.js +4 -9
  10. package/dist-esm/samples-dev/administratorsListByServerSample.js.map +1 -1
  11. package/dist-esm/samples-dev/backupsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/backupsListByServerSample.js +4 -9
  13. package/dist-esm/samples-dev/backupsListByServerSample.js.map +1 -1
  14. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js +3 -4
  15. package/dist-esm/samples-dev/checkMigrationNameAvailabilitySample.js.map +1 -1
  16. package/dist-esm/samples-dev/checkNameAvailabilityExecuteSample.js +1 -1
  17. package/dist-esm/samples-dev/checkNameAvailabilityWithLocationExecuteSample.js +1 -1
  18. package/dist-esm/samples-dev/configurationsGetSample.js +1 -1
  19. package/dist-esm/samples-dev/configurationsListByServerSample.js +4 -9
  20. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +1 -1
  21. package/dist-esm/samples-dev/configurationsPutSample.js +1 -1
  22. package/dist-esm/samples-dev/configurationsUpdateSample.js +1 -1
  23. package/dist-esm/samples-dev/databasesCreateSample.js +1 -1
  24. package/dist-esm/samples-dev/databasesDeleteSample.js +1 -1
  25. package/dist-esm/samples-dev/databasesGetSample.js +1 -1
  26. package/dist-esm/samples-dev/databasesListByServerSample.js +4 -9
  27. package/dist-esm/samples-dev/databasesListByServerSample.js.map +1 -1
  28. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +1 -1
  29. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +1 -1
  30. package/dist-esm/samples-dev/firewallRulesGetSample.js +1 -1
  31. package/dist-esm/samples-dev/firewallRulesListByServerSample.js +4 -9
  32. package/dist-esm/samples-dev/firewallRulesListByServerSample.js.map +1 -1
  33. package/dist-esm/samples-dev/flexibleServerStartLtrBackupSample.js +1 -1
  34. package/dist-esm/samples-dev/flexibleServerTriggerLtrPreBackupSample.js +1 -1
  35. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js +2 -4
  36. package/dist-esm/samples-dev/getPrivateDnsZoneSuffixExecuteSample.js.map +1 -1
  37. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js +4 -9
  38. package/dist-esm/samples-dev/locationBasedCapabilitiesExecuteSample.js.map +1 -1
  39. package/dist-esm/samples-dev/logFilesListByServerSample.js +4 -9
  40. package/dist-esm/samples-dev/logFilesListByServerSample.js.map +1 -1
  41. package/dist-esm/samples-dev/ltrBackupOperationsGetSample.js +1 -1
  42. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js +4 -9
  43. package/dist-esm/samples-dev/ltrBackupOperationsListByServerSample.js.map +1 -1
  44. package/dist-esm/samples-dev/migrationsCreateSample.js +74 -8
  45. package/dist-esm/samples-dev/migrationsCreateSample.js.map +1 -1
  46. package/dist-esm/samples-dev/migrationsDeleteSample.js +3 -4
  47. package/dist-esm/samples-dev/migrationsDeleteSample.js.map +1 -1
  48. package/dist-esm/samples-dev/migrationsGetSample.js +79 -4
  49. package/dist-esm/samples-dev/migrationsGetSample.js.map +1 -1
  50. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js +6 -12
  51. package/dist-esm/samples-dev/migrationsListByTargetServerSample.js.map +1 -1
  52. package/dist-esm/samples-dev/migrationsUpdateSample.js +6 -8
  53. package/dist-esm/samples-dev/migrationsUpdateSample.js.map +1 -1
  54. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  55. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js +40 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionDeleteSample.js.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js +46 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionUpdateSample.js.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +40 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +1 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js +55 -0
  70. package/dist-esm/samples-dev/privateEndpointConnectionsListByServerSample.js.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +40 -0
  74. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +1 -0
  75. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js +55 -0
  78. package/dist-esm/samples-dev/privateLinkResourcesListByServerSample.js.map +1 -0
  79. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/quotaUsagesListSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/quotaUsagesListSample.js +54 -0
  82. package/dist-esm/samples-dev/quotaUsagesListSample.js.map +1 -0
  83. package/dist-esm/samples-dev/replicasListByServerSample.js +4 -9
  84. package/dist-esm/samples-dev/replicasListByServerSample.js.map +1 -1
  85. package/dist-esm/samples-dev/serverCapabilitiesListSample.js +4 -9
  86. package/dist-esm/samples-dev/serverCapabilitiesListSample.js.map +1 -1
  87. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js +41 -0
  90. package/dist-esm/samples-dev/serverThreatProtectionSettingsCreateOrUpdateSample.js.map +1 -0
  91. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js +40 -0
  94. package/dist-esm/samples-dev/serverThreatProtectionSettingsGetSample.js.map +1 -0
  95. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js +55 -0
  98. package/dist-esm/samples-dev/serverThreatProtectionSettingsListByServerSample.js.map +1 -0
  99. package/dist-esm/samples-dev/serversCreateSample.js +9 -9
  100. package/dist-esm/samples-dev/serversCreateSample.js.map +1 -1
  101. package/dist-esm/samples-dev/serversDeleteSample.js +1 -1
  102. package/dist-esm/samples-dev/serversGetSample.js +21 -2
  103. package/dist-esm/samples-dev/serversGetSample.js.map +1 -1
  104. package/dist-esm/samples-dev/serversListByResourceGroupSample.js +4 -9
  105. package/dist-esm/samples-dev/serversListByResourceGroupSample.js.map +1 -1
  106. package/dist-esm/samples-dev/serversListSample.js +4 -9
  107. package/dist-esm/samples-dev/serversListSample.js.map +1 -1
  108. package/dist-esm/samples-dev/serversRestartSample.js +2 -2
  109. package/dist-esm/samples-dev/serversStartSample.js +1 -1
  110. package/dist-esm/samples-dev/serversStopSample.js +1 -1
  111. package/dist-esm/samples-dev/serversUpdateSample.js +95 -7
  112. package/dist-esm/samples-dev/serversUpdateSample.js.map +1 -1
  113. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts +2 -0
  114. package/dist-esm/samples-dev/virtualEndpointsCreateSample.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js +44 -0
  116. package/dist-esm/samples-dev/virtualEndpointsCreateSample.js.map +1 -0
  117. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts +2 -0
  118. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js +40 -0
  120. package/dist-esm/samples-dev/virtualEndpointsDeleteSample.js.map +1 -0
  121. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts +2 -0
  122. package/dist-esm/samples-dev/virtualEndpointsGetSample.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/virtualEndpointsGetSample.js +40 -0
  124. package/dist-esm/samples-dev/virtualEndpointsGetSample.js.map +1 -0
  125. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts +2 -0
  126. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.d.ts.map +1 -0
  127. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js +55 -0
  128. package/dist-esm/samples-dev/virtualEndpointsListByServerSample.js.map +1 -0
  129. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts +2 -0
  130. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js +44 -0
  132. package/dist-esm/samples-dev/virtualEndpointsUpdateSample.js.map +1 -0
  133. package/dist-esm/samples-dev/virtualNetworkSubnetUsageExecuteSample.js +1 -1
  134. package/dist-esm/src/models/index.d.ts +822 -119
  135. package/dist-esm/src/models/index.d.ts.map +1 -1
  136. package/dist-esm/src/models/index.js +158 -12
  137. package/dist-esm/src/models/index.js.map +1 -1
  138. package/dist-esm/src/models/mappers.d.ts +32 -7
  139. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  140. package/dist-esm/src/models/mappers.js +972 -160
  141. package/dist-esm/src/models/mappers.js.map +1 -1
  142. package/dist-esm/src/models/parameters.d.ts +12 -4
  143. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  144. package/dist-esm/src/models/parameters.js +82 -18
  145. package/dist-esm/src/models/parameters.js.map +1 -1
  146. package/dist-esm/src/operations/administrators.js +3 -8
  147. package/dist-esm/src/operations/administrators.js.map +1 -1
  148. package/dist-esm/src/operations/backups.js +3 -8
  149. package/dist-esm/src/operations/backups.js.map +1 -1
  150. package/dist-esm/src/operations/configurations.js +3 -8
  151. package/dist-esm/src/operations/configurations.js.map +1 -1
  152. package/dist-esm/src/operations/databases.js +3 -8
  153. package/dist-esm/src/operations/databases.js.map +1 -1
  154. package/dist-esm/src/operations/firewallRules.js +3 -8
  155. package/dist-esm/src/operations/firewallRules.js.map +1 -1
  156. package/dist-esm/src/operations/flexibleServer.js +2 -2
  157. package/dist-esm/src/operations/flexibleServer.js.map +1 -1
  158. package/dist-esm/src/operations/index.d.ts +8 -2
  159. package/dist-esm/src/operations/index.d.ts.map +1 -1
  160. package/dist-esm/src/operations/index.js +8 -2
  161. package/dist-esm/src/operations/index.js.map +1 -1
  162. package/dist-esm/src/operations/locationBasedCapabilities.js +3 -8
  163. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -1
  164. package/dist-esm/src/operations/logFiles.js +3 -8
  165. package/dist-esm/src/operations/logFiles.js.map +1 -1
  166. package/dist-esm/src/operations/ltrBackupOperations.js +3 -8
  167. package/dist-esm/src/operations/ltrBackupOperations.js.map +1 -1
  168. package/dist-esm/src/operations/migrations.js +5 -10
  169. package/dist-esm/src/operations/migrations.js.map +1 -1
  170. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +48 -0
  171. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  172. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +218 -0
  173. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  174. package/dist-esm/src/operations/privateEndpointConnections.d.ts +46 -0
  175. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  176. package/dist-esm/src/operations/privateEndpointConnections.js +182 -0
  177. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  178. package/dist-esm/src/operations/privateLinkResources.d.ts +46 -0
  179. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  180. package/dist-esm/src/operations/privateLinkResources.js +182 -0
  181. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  182. package/dist-esm/src/operations/quotaUsages.d.ts +35 -0
  183. package/dist-esm/src/operations/quotaUsages.d.ts.map +1 -0
  184. package/dist-esm/src/operations/quotaUsages.js +145 -0
  185. package/dist-esm/src/operations/quotaUsages.js.map +1 -0
  186. package/dist-esm/src/operations/replicas.js +3 -8
  187. package/dist-esm/src/operations/replicas.js.map +1 -1
  188. package/dist-esm/src/operations/serverCapabilities.js +3 -8
  189. package/dist-esm/src/operations/serverCapabilities.js.map +1 -1
  190. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts +65 -0
  191. package/dist-esm/src/operations/serverThreatProtectionSettings.d.ts.map +1 -0
  192. package/dist-esm/src/operations/serverThreatProtectionSettings.js +283 -0
  193. package/dist-esm/src/operations/serverThreatProtectionSettings.js.map +1 -0
  194. package/dist-esm/src/operations/servers.js +6 -16
  195. package/dist-esm/src/operations/servers.js.map +1 -1
  196. package/dist-esm/src/operations/virtualEndpoints.d.ts +101 -0
  197. package/dist-esm/src/operations/virtualEndpoints.d.ts.map +1 -0
  198. package/dist-esm/src/operations/virtualEndpoints.js +473 -0
  199. package/dist-esm/src/operations/virtualEndpoints.js.map +1 -0
  200. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +1 -1
  201. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -2
  202. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  203. package/dist-esm/src/operationsInterfaces/index.js +8 -2
  204. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  205. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +40 -0
  206. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  207. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  208. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  209. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +21 -0
  210. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  211. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  212. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  213. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +21 -0
  214. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  215. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  216. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  217. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts +12 -0
  218. package/dist-esm/src/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  219. package/dist-esm/src/operationsInterfaces/quotaUsages.js +9 -0
  220. package/dist-esm/src/operationsInterfaces/quotaUsages.js.map +1 -0
  221. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts +40 -0
  222. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -0
  223. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js +9 -0
  224. package/dist-esm/src/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -0
  225. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts +76 -0
  226. package/dist-esm/src/operationsInterfaces/virtualEndpoints.d.ts.map +1 -0
  227. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js +9 -0
  228. package/dist-esm/src/operationsInterfaces/virtualEndpoints.js.map +1 -0
  229. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts +12 -5
  230. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  231. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js +19 -15
  232. package/dist-esm/src/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  233. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts +4 -0
  234. package/dist-esm/test/postgresql_flexible_operations_test.spec.d.ts.map +1 -0
  235. package/dist-esm/test/postgresql_flexible_operations_test.spec.js +55 -0
  236. package/dist-esm/test/postgresql_flexible_operations_test.spec.js.map +1 -0
  237. package/package.json +15 -19
  238. package/review/arm-postgresql-flexible.api.md +551 -6
  239. package/src/models/index.ts +934 -135
  240. package/src/models/mappers.ts +1189 -325
  241. package/src/models/parameters.ts +96 -20
  242. package/src/operations/flexibleServer.ts +2 -2
  243. package/src/operations/index.ts +8 -2
  244. package/src/operations/migrations.ts +2 -2
  245. package/src/operations/privateEndpointConnectionOperations.ts +316 -0
  246. package/src/operations/privateEndpointConnections.ts +243 -0
  247. package/src/operations/privateLinkResources.ts +242 -0
  248. package/src/operations/quotaUsages.ts +170 -0
  249. package/src/operations/serverThreatProtectionSettings.ts +393 -0
  250. package/src/operations/virtualEndpoints.ts +667 -0
  251. package/src/operations/virtualNetworkSubnetUsage.ts +1 -1
  252. package/src/operationsInterfaces/index.ts +8 -2
  253. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +86 -0
  254. package/src/operationsInterfaces/privateEndpointConnections.ts +44 -0
  255. package/src/operationsInterfaces/privateLinkResources.ts +44 -0
  256. package/src/operationsInterfaces/quotaUsages.ts +24 -0
  257. package/src/operationsInterfaces/serverThreatProtectionSettings.ts +83 -0
  258. package/src/operationsInterfaces/virtualEndpoints.ts +155 -0
  259. package/src/postgreSQLManagementFlexibleServerClient.ts +61 -17
  260. package/types/arm-postgresql-flexible.d.ts +1025 -27
  261. package/types/tsdoc-metadata.json +1 -1
  262. package/dist-esm/test/sampleTest.d.ts +0 -2
  263. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  264. package/dist-esm/test/sampleTest.js +0 -38
  265. package/dist-esm/test/sampleTest.js.map +0 -1
  266. package/rollup.config.js +0 -122
@@ -0,0 +1,86 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
10
+ import {
11
+ PrivateEndpointConnection,
12
+ PrivateEndpointConnectionUpdateOptionalParams,
13
+ PrivateEndpointConnectionUpdateResponse,
14
+ PrivateEndpointConnectionDeleteOptionalParams,
15
+ PrivateEndpointConnectionDeleteResponse
16
+ } from "../models";
17
+
18
+ /** Interface representing a PrivateEndpointConnectionOperations. */
19
+ export interface PrivateEndpointConnectionOperations {
20
+ /**
21
+ * Approve or reject a private endpoint connection with a given name.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param serverName The name of the server.
24
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
25
+ * @param parameters The required parameters for updating private endpoint connection.
26
+ * @param options The options parameters.
27
+ */
28
+ beginUpdate(
29
+ resourceGroupName: string,
30
+ serverName: string,
31
+ privateEndpointConnectionName: string,
32
+ parameters: PrivateEndpointConnection,
33
+ options?: PrivateEndpointConnectionUpdateOptionalParams
34
+ ): Promise<
35
+ SimplePollerLike<
36
+ OperationState<PrivateEndpointConnectionUpdateResponse>,
37
+ PrivateEndpointConnectionUpdateResponse
38
+ >
39
+ >;
40
+ /**
41
+ * Approve or reject a private endpoint connection with a given name.
42
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
43
+ * @param serverName The name of the server.
44
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
45
+ * @param parameters The required parameters for updating private endpoint connection.
46
+ * @param options The options parameters.
47
+ */
48
+ beginUpdateAndWait(
49
+ resourceGroupName: string,
50
+ serverName: string,
51
+ privateEndpointConnectionName: string,
52
+ parameters: PrivateEndpointConnection,
53
+ options?: PrivateEndpointConnectionUpdateOptionalParams
54
+ ): Promise<PrivateEndpointConnectionUpdateResponse>;
55
+ /**
56
+ * Deletes a private endpoint connection with a given name.
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param serverName The name of the server.
59
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
60
+ * @param options The options parameters.
61
+ */
62
+ beginDelete(
63
+ resourceGroupName: string,
64
+ serverName: string,
65
+ privateEndpointConnectionName: string,
66
+ options?: PrivateEndpointConnectionDeleteOptionalParams
67
+ ): Promise<
68
+ SimplePollerLike<
69
+ OperationState<PrivateEndpointConnectionDeleteResponse>,
70
+ PrivateEndpointConnectionDeleteResponse
71
+ >
72
+ >;
73
+ /**
74
+ * Deletes a private endpoint connection with a given name.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param serverName The name of the server.
77
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
78
+ * @param options The options parameters.
79
+ */
80
+ beginDeleteAndWait(
81
+ resourceGroupName: string,
82
+ serverName: string,
83
+ privateEndpointConnectionName: string,
84
+ options?: PrivateEndpointConnectionDeleteOptionalParams
85
+ ): Promise<PrivateEndpointConnectionDeleteResponse>;
86
+ }
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ PrivateEndpointConnection,
12
+ PrivateEndpointConnectionsListByServerOptionalParams,
13
+ PrivateEndpointConnectionsGetOptionalParams,
14
+ PrivateEndpointConnectionsGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a PrivateEndpointConnections. */
19
+ export interface PrivateEndpointConnections {
20
+ /**
21
+ * Gets all private endpoint connections on a server.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param serverName The name of the server.
24
+ * @param options The options parameters.
25
+ */
26
+ listByServer(
27
+ resourceGroupName: string,
28
+ serverName: string,
29
+ options?: PrivateEndpointConnectionsListByServerOptionalParams
30
+ ): PagedAsyncIterableIterator<PrivateEndpointConnection>;
31
+ /**
32
+ * Gets a private endpoint connection.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param serverName The name of the server.
35
+ * @param privateEndpointConnectionName The name of the private endpoint connection.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ resourceGroupName: string,
40
+ serverName: string,
41
+ privateEndpointConnectionName: string,
42
+ options?: PrivateEndpointConnectionsGetOptionalParams
43
+ ): Promise<PrivateEndpointConnectionsGetResponse>;
44
+ }
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ PrivateLinkResource,
12
+ PrivateLinkResourcesListByServerOptionalParams,
13
+ PrivateLinkResourcesGetOptionalParams,
14
+ PrivateLinkResourcesGetResponse
15
+ } from "../models";
16
+
17
+ /// <reference lib="esnext.asynciterable" />
18
+ /** Interface representing a PrivateLinkResources. */
19
+ export interface PrivateLinkResources {
20
+ /**
21
+ * Gets the private link resources for PostgreSQL server.
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param serverName The name of the server.
24
+ * @param options The options parameters.
25
+ */
26
+ listByServer(
27
+ resourceGroupName: string,
28
+ serverName: string,
29
+ options?: PrivateLinkResourcesListByServerOptionalParams
30
+ ): PagedAsyncIterableIterator<PrivateLinkResource>;
31
+ /**
32
+ * Gets a private link resource for PostgreSQL server.
33
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
34
+ * @param serverName The name of the server.
35
+ * @param groupName The name of the private link resource.
36
+ * @param options The options parameters.
37
+ */
38
+ get(
39
+ resourceGroupName: string,
40
+ serverName: string,
41
+ groupName: string,
42
+ options?: PrivateLinkResourcesGetOptionalParams
43
+ ): Promise<PrivateLinkResourcesGetResponse>;
44
+ }
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { QuotaUsage, QuotaUsagesListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a QuotaUsages. */
14
+ export interface QuotaUsages {
15
+ /**
16
+ * Get quota usages at specified location in a given subscription.
17
+ * @param locationName The name of the location.
18
+ * @param options The options parameters.
19
+ */
20
+ list(
21
+ locationName: string,
22
+ options?: QuotaUsagesListOptionalParams
23
+ ): PagedAsyncIterableIterator<QuotaUsage>;
24
+ }
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ ServerThreatProtectionSettingsModel,
13
+ ServerThreatProtectionSettingsListByServerOptionalParams,
14
+ ThreatProtectionName,
15
+ ServerThreatProtectionSettingsGetOptionalParams,
16
+ ServerThreatProtectionSettingsGetResponse,
17
+ ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,
18
+ ServerThreatProtectionSettingsCreateOrUpdateResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a ServerThreatProtectionSettings. */
23
+ export interface ServerThreatProtectionSettings {
24
+ /**
25
+ * Get a list of server's Threat Protection state.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param serverName The name of the server.
28
+ * @param options The options parameters.
29
+ */
30
+ listByServer(
31
+ resourceGroupName: string,
32
+ serverName: string,
33
+ options?: ServerThreatProtectionSettingsListByServerOptionalParams
34
+ ): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel>;
35
+ /**
36
+ * Get a server's Advanced Threat Protection settings.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param serverName The name of the server.
39
+ * @param threatProtectionName The name of the Threat Protection state.
40
+ * @param options The options parameters.
41
+ */
42
+ get(
43
+ resourceGroupName: string,
44
+ serverName: string,
45
+ threatProtectionName: ThreatProtectionName,
46
+ options?: ServerThreatProtectionSettingsGetOptionalParams
47
+ ): Promise<ServerThreatProtectionSettingsGetResponse>;
48
+ /**
49
+ * Creates or updates a server's Advanced Threat Protection settings.
50
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
51
+ * @param serverName The name of the server.
52
+ * @param threatProtectionName The name of the Threat Protection state.
53
+ * @param parameters The Advanced Threat Protection state for the flexible server.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ serverName: string,
59
+ threatProtectionName: ThreatProtectionName,
60
+ parameters: ServerThreatProtectionSettingsModel,
61
+ options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
62
+ ): Promise<
63
+ SimplePollerLike<
64
+ OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>,
65
+ ServerThreatProtectionSettingsCreateOrUpdateResponse
66
+ >
67
+ >;
68
+ /**
69
+ * Creates or updates a server's Advanced Threat Protection settings.
70
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
71
+ * @param serverName The name of the server.
72
+ * @param threatProtectionName The name of the Threat Protection state.
73
+ * @param parameters The Advanced Threat Protection state for the flexible server.
74
+ * @param options The options parameters.
75
+ */
76
+ beginCreateOrUpdateAndWait(
77
+ resourceGroupName: string,
78
+ serverName: string,
79
+ threatProtectionName: ThreatProtectionName,
80
+ parameters: ServerThreatProtectionSettingsModel,
81
+ options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams
82
+ ): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse>;
83
+ }
@@ -0,0 +1,155 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
+ import {
12
+ VirtualEndpointResource,
13
+ VirtualEndpointsListByServerOptionalParams,
14
+ VirtualEndpointsCreateOptionalParams,
15
+ VirtualEndpointsCreateResponse,
16
+ VirtualEndpointResourceForPatch,
17
+ VirtualEndpointsUpdateOptionalParams,
18
+ VirtualEndpointsUpdateResponse,
19
+ VirtualEndpointsDeleteOptionalParams,
20
+ VirtualEndpointsDeleteResponse,
21
+ VirtualEndpointsGetOptionalParams,
22
+ VirtualEndpointsGetResponse
23
+ } from "../models";
24
+
25
+ /// <reference lib="esnext.asynciterable" />
26
+ /** Interface representing a VirtualEndpoints. */
27
+ export interface VirtualEndpoints {
28
+ /**
29
+ * List all the servers in a given resource group.
30
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
31
+ * @param serverName The name of the server.
32
+ * @param options The options parameters.
33
+ */
34
+ listByServer(
35
+ resourceGroupName: string,
36
+ serverName: string,
37
+ options?: VirtualEndpointsListByServerOptionalParams
38
+ ): PagedAsyncIterableIterator<VirtualEndpointResource>;
39
+ /**
40
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
41
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
42
+ * @param serverName The name of the server.
43
+ * @param virtualEndpointName The name of the virtual endpoint.
44
+ * @param parameters The required parameters for creating or updating virtual endpoints.
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreate(
48
+ resourceGroupName: string,
49
+ serverName: string,
50
+ virtualEndpointName: string,
51
+ parameters: VirtualEndpointResource,
52
+ options?: VirtualEndpointsCreateOptionalParams
53
+ ): Promise<
54
+ SimplePollerLike<
55
+ OperationState<VirtualEndpointsCreateResponse>,
56
+ VirtualEndpointsCreateResponse
57
+ >
58
+ >;
59
+ /**
60
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
61
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
62
+ * @param serverName The name of the server.
63
+ * @param virtualEndpointName The name of the virtual endpoint.
64
+ * @param parameters The required parameters for creating or updating virtual endpoints.
65
+ * @param options The options parameters.
66
+ */
67
+ beginCreateAndWait(
68
+ resourceGroupName: string,
69
+ serverName: string,
70
+ virtualEndpointName: string,
71
+ parameters: VirtualEndpointResource,
72
+ options?: VirtualEndpointsCreateOptionalParams
73
+ ): Promise<VirtualEndpointsCreateResponse>;
74
+ /**
75
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
76
+ * present in the normal virtual endpoint definition.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param serverName The name of the server.
79
+ * @param virtualEndpointName The name of the virtual endpoint.
80
+ * @param parameters The required parameters for updating a server.
81
+ * @param options The options parameters.
82
+ */
83
+ beginUpdate(
84
+ resourceGroupName: string,
85
+ serverName: string,
86
+ virtualEndpointName: string,
87
+ parameters: VirtualEndpointResourceForPatch,
88
+ options?: VirtualEndpointsUpdateOptionalParams
89
+ ): Promise<
90
+ SimplePollerLike<
91
+ OperationState<VirtualEndpointsUpdateResponse>,
92
+ VirtualEndpointsUpdateResponse
93
+ >
94
+ >;
95
+ /**
96
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
97
+ * present in the normal virtual endpoint definition.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param serverName The name of the server.
100
+ * @param virtualEndpointName The name of the virtual endpoint.
101
+ * @param parameters The required parameters for updating a server.
102
+ * @param options The options parameters.
103
+ */
104
+ beginUpdateAndWait(
105
+ resourceGroupName: string,
106
+ serverName: string,
107
+ virtualEndpointName: string,
108
+ parameters: VirtualEndpointResourceForPatch,
109
+ options?: VirtualEndpointsUpdateOptionalParams
110
+ ): Promise<VirtualEndpointsUpdateResponse>;
111
+ /**
112
+ * Deletes a virtual endpoint.
113
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
114
+ * @param serverName The name of the server.
115
+ * @param virtualEndpointName The name of the virtual endpoint.
116
+ * @param options The options parameters.
117
+ */
118
+ beginDelete(
119
+ resourceGroupName: string,
120
+ serverName: string,
121
+ virtualEndpointName: string,
122
+ options?: VirtualEndpointsDeleteOptionalParams
123
+ ): Promise<
124
+ SimplePollerLike<
125
+ OperationState<VirtualEndpointsDeleteResponse>,
126
+ VirtualEndpointsDeleteResponse
127
+ >
128
+ >;
129
+ /**
130
+ * Deletes a virtual endpoint.
131
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
132
+ * @param serverName The name of the server.
133
+ * @param virtualEndpointName The name of the virtual endpoint.
134
+ * @param options The options parameters.
135
+ */
136
+ beginDeleteAndWait(
137
+ resourceGroupName: string,
138
+ serverName: string,
139
+ virtualEndpointName: string,
140
+ options?: VirtualEndpointsDeleteOptionalParams
141
+ ): Promise<VirtualEndpointsDeleteResponse>;
142
+ /**
143
+ * Gets information about a virtual endpoint.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param serverName The name of the server.
146
+ * @param virtualEndpointName The name of the virtual endpoint.
147
+ * @param options The options parameters.
148
+ */
149
+ get(
150
+ resourceGroupName: string,
151
+ serverName: string,
152
+ virtualEndpointName: string,
153
+ options?: VirtualEndpointsGetOptionalParams
154
+ ): Promise<VirtualEndpointsGetResponse>;
155
+ }
@@ -25,14 +25,20 @@ import {
25
25
  DatabasesImpl,
26
26
  FirewallRulesImpl,
27
27
  ServersImpl,
28
+ FlexibleServerImpl,
29
+ LtrBackupOperationsImpl,
28
30
  MigrationsImpl,
29
31
  OperationsImpl,
30
32
  GetPrivateDnsZoneSuffixImpl,
33
+ PrivateEndpointConnectionsImpl,
34
+ PrivateEndpointConnectionOperationsImpl,
35
+ PrivateLinkResourcesImpl,
36
+ QuotaUsagesImpl,
31
37
  ReplicasImpl,
32
38
  LogFilesImpl,
33
- VirtualNetworkSubnetUsageImpl,
34
- FlexibleServerImpl,
35
- LtrBackupOperationsImpl
39
+ ServerThreatProtectionSettingsImpl,
40
+ VirtualEndpointsImpl,
41
+ VirtualNetworkSubnetUsageImpl
36
42
  } from "./operations";
37
43
  import {
38
44
  Administrators,
@@ -45,14 +51,20 @@ import {
45
51
  Databases,
46
52
  FirewallRules,
47
53
  Servers,
54
+ FlexibleServer,
55
+ LtrBackupOperations,
48
56
  Migrations,
49
57
  Operations,
50
58
  GetPrivateDnsZoneSuffix,
59
+ PrivateEndpointConnections,
60
+ PrivateEndpointConnectionOperations,
61
+ PrivateLinkResources,
62
+ QuotaUsages,
51
63
  Replicas,
52
64
  LogFiles,
53
- VirtualNetworkSubnetUsage,
54
- FlexibleServer,
55
- LtrBackupOperations
65
+ ServerThreatProtectionSettings,
66
+ VirtualEndpoints,
67
+ VirtualNetworkSubnetUsage
56
68
  } from "./operationsInterfaces";
57
69
  import * as Parameters from "./models/parameters";
58
70
  import * as Mappers from "./models/mappers";
@@ -65,25 +77,41 @@ import {
65
77
 
66
78
  export class PostgreSQLManagementFlexibleServerClient extends coreClient.ServiceClient {
67
79
  $host: string;
68
- subscriptionId: string;
80
+ subscriptionId?: string;
69
81
  apiVersion: string;
70
82
 
71
83
  /**
72
84
  * Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
73
85
  * @param credentials Subscription credentials which uniquely identify client subscription.
74
- * @param subscriptionId The ID of the target subscription.
86
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
75
87
  * @param options The parameter options
76
88
  */
77
89
  constructor(
78
90
  credentials: coreAuth.TokenCredential,
79
91
  subscriptionId: string,
80
92
  options?: PostgreSQLManagementFlexibleServerClientOptionalParams
93
+ );
94
+ constructor(
95
+ credentials: coreAuth.TokenCredential,
96
+ options?: PostgreSQLManagementFlexibleServerClientOptionalParams
97
+ );
98
+ constructor(
99
+ credentials: coreAuth.TokenCredential,
100
+ subscriptionIdOrOptions?:
101
+ | PostgreSQLManagementFlexibleServerClientOptionalParams
102
+ | string,
103
+ options?: PostgreSQLManagementFlexibleServerClientOptionalParams
81
104
  ) {
82
105
  if (credentials === undefined) {
83
106
  throw new Error("'credentials' cannot be null");
84
107
  }
85
- if (subscriptionId === undefined) {
86
- throw new Error("'subscriptionId' cannot be null");
108
+
109
+ let subscriptionId: string | undefined;
110
+
111
+ if (typeof subscriptionIdOrOptions === "string") {
112
+ subscriptionId = subscriptionIdOrOptions;
113
+ } else if (typeof subscriptionIdOrOptions === "object") {
114
+ options = subscriptionIdOrOptions;
87
115
  }
88
116
 
89
117
  // Initializing default values for options
@@ -95,7 +123,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
95
123
  credential: credentials
96
124
  };
97
125
 
98
- const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.2`;
126
+ const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.4`;
99
127
  const userAgentPrefix =
100
128
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
101
129
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
@@ -148,7 +176,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
148
176
 
149
177
  // Assigning values to Constant parameters
150
178
  this.$host = options.$host || "https://management.azure.com";
151
- this.apiVersion = options.apiVersion || "2023-03-01-preview";
179
+ this.apiVersion = options.apiVersion || "2023-06-01-preview";
152
180
  this.administrators = new AdministratorsImpl(this);
153
181
  this.backups = new BackupsImpl(this);
154
182
  this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);
@@ -161,14 +189,24 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
161
189
  this.databases = new DatabasesImpl(this);
162
190
  this.firewallRules = new FirewallRulesImpl(this);
163
191
  this.servers = new ServersImpl(this);
192
+ this.flexibleServer = new FlexibleServerImpl(this);
193
+ this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
164
194
  this.migrations = new MigrationsImpl(this);
165
195
  this.operations = new OperationsImpl(this);
166
196
  this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);
197
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
198
+ this.privateEndpointConnectionOperations = new PrivateEndpointConnectionOperationsImpl(
199
+ this
200
+ );
201
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
202
+ this.quotaUsages = new QuotaUsagesImpl(this);
167
203
  this.replicas = new ReplicasImpl(this);
168
204
  this.logFiles = new LogFilesImpl(this);
205
+ this.serverThreatProtectionSettings = new ServerThreatProtectionSettingsImpl(
206
+ this
207
+ );
208
+ this.virtualEndpoints = new VirtualEndpointsImpl(this);
169
209
  this.virtualNetworkSubnetUsage = new VirtualNetworkSubnetUsageImpl(this);
170
- this.flexibleServer = new FlexibleServerImpl(this);
171
- this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
172
210
  this.addCustomApiVersionPolicy(options.apiVersion);
173
211
  }
174
212
 
@@ -237,14 +275,20 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
237
275
  databases: Databases;
238
276
  firewallRules: FirewallRules;
239
277
  servers: Servers;
278
+ flexibleServer: FlexibleServer;
279
+ ltrBackupOperations: LtrBackupOperations;
240
280
  migrations: Migrations;
241
281
  operations: Operations;
242
282
  getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
283
+ privateEndpointConnections: PrivateEndpointConnections;
284
+ privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
285
+ privateLinkResources: PrivateLinkResources;
286
+ quotaUsages: QuotaUsages;
243
287
  replicas: Replicas;
244
288
  logFiles: LogFiles;
289
+ serverThreatProtectionSettings: ServerThreatProtectionSettings;
290
+ virtualEndpoints: VirtualEndpoints;
245
291
  virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
246
- flexibleServer: FlexibleServer;
247
- ltrBackupOperations: LtrBackupOperations;
248
292
  }
249
293
  // Operation Specifications
250
294
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
@@ -261,7 +305,7 @@ const checkMigrationNameAvailabilityOperationSpec: coreClient.OperationSpec = {
261
305
  bodyMapper: Mappers.ErrorResponse
262
306
  }
263
307
  },
264
- requestBody: Parameters.parameters10,
308
+ requestBody: Parameters.parameters12,
265
309
  queryParameters: [Parameters.apiVersion],
266
310
  urlParameters: [
267
311
  Parameters.$host,