@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 @@
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,21 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListByServerOptionalParams, PrivateLinkResourcesGetOptionalParams, PrivateLinkResourcesGetResponse } from "../models";
3
+ /** Interface representing a PrivateLinkResources. */
4
+ export interface PrivateLinkResources {
5
+ /**
6
+ * Gets the private link resources for PostgreSQL server.
7
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
8
+ * @param serverName The name of the server.
9
+ * @param options The options parameters.
10
+ */
11
+ listByServer(resourceGroupName: string, serverName: string, options?: PrivateLinkResourcesListByServerOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
12
+ /**
13
+ * Gets a private link resource for PostgreSQL server.
14
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
+ * @param serverName The name of the server.
16
+ * @param groupName The name of the private link resource.
17
+ * @param options The options parameters.
18
+ */
19
+ get(resourceGroupName: string, serverName: string, groupName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
20
+ }
21
+ //# sourceMappingURL=privateLinkResources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,8CAA8C,EAC9C,qCAAqC,EACrC,+BAA+B,EAChC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,8CAA8C,GACvD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;IACnD;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=privateLinkResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,12 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { QuotaUsage, QuotaUsagesListOptionalParams } from "../models";
3
+ /** Interface representing a QuotaUsages. */
4
+ export interface QuotaUsages {
5
+ /**
6
+ * Get quota usages at specified location in a given subscription.
7
+ * @param locationName The name of the location.
8
+ * @param options The options parameters.
9
+ */
10
+ list(locationName: string, options?: QuotaUsagesListOptionalParams): PagedAsyncIterableIterator<QuotaUsage>;
11
+ }
12
+ //# sourceMappingURL=quotaUsages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotaUsages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/quotaUsages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAC;AAGtE,4CAA4C;AAC5C,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,IAAI,CACF,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC,CAAC;CAC3C"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=quotaUsages.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quotaUsages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/quotaUsages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,40 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsListByServerOptionalParams, ThreatProtectionName, ServerThreatProtectionSettingsGetOptionalParams, ServerThreatProtectionSettingsGetResponse, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams, ServerThreatProtectionSettingsCreateOrUpdateResponse } from "../models";
4
+ /** Interface representing a ServerThreatProtectionSettings. */
5
+ export interface ServerThreatProtectionSettings {
6
+ /**
7
+ * Get a list of server's Threat Protection state.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param serverName The name of the server.
10
+ * @param options The options parameters.
11
+ */
12
+ listByServer(resourceGroupName: string, serverName: string, options?: ServerThreatProtectionSettingsListByServerOptionalParams): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel>;
13
+ /**
14
+ * Get a server's Advanced Threat Protection settings.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param serverName The name of the server.
17
+ * @param threatProtectionName The name of the Threat Protection state.
18
+ * @param options The options parameters.
19
+ */
20
+ get(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, options?: ServerThreatProtectionSettingsGetOptionalParams): Promise<ServerThreatProtectionSettingsGetResponse>;
21
+ /**
22
+ * Creates or updates a server's Advanced Threat Protection settings.
23
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
24
+ * @param serverName The name of the server.
25
+ * @param threatProtectionName The name of the Threat Protection state.
26
+ * @param parameters The Advanced Threat Protection state for the flexible server.
27
+ * @param options The options parameters.
28
+ */
29
+ beginCreateOrUpdate(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>, ServerThreatProtectionSettingsCreateOrUpdateResponse>>;
30
+ /**
31
+ * Creates or updates a server's Advanced Threat Protection settings.
32
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
33
+ * @param serverName The name of the server.
34
+ * @param threatProtectionName The name of the Threat Protection state.
35
+ * @param parameters The Advanced Threat Protection state for the flexible server.
36
+ * @param options The options parameters.
37
+ */
38
+ beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, threatProtectionName: ThreatProtectionName, parameters: ServerThreatProtectionSettingsModel, options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse>;
39
+ }
40
+ //# sourceMappingURL=serverThreatProtectionSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverThreatProtectionSettings.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/serverThreatProtectionSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,mCAAmC,EACnC,wDAAwD,EACxD,oBAAoB,EACpB,+CAA+C,EAC/C,yCAAyC,EACzC,0DAA0D,EAC1D,oDAAoD,EACrD,MAAM,WAAW,CAAC;AAGnB,+DAA+D;AAC/D,MAAM,WAAW,8BAA8B;IAC7C;;;;;OAKG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,mCAAmC,CAAC,CAAC;IACnE;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACtD;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,mCAAmC,EAC/C,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oDAAoD,CAAC,EACpE,oDAAoD,CACrD,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,mCAAmC,EAC/C,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC,CAAC;CAClE"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=serverThreatProtectionSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverThreatProtectionSettings.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/serverThreatProtectionSettings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -0,0 +1,76 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { VirtualEndpointResource, VirtualEndpointsListByServerOptionalParams, VirtualEndpointsCreateOptionalParams, VirtualEndpointsCreateResponse, VirtualEndpointResourceForPatch, VirtualEndpointsUpdateOptionalParams, VirtualEndpointsUpdateResponse, VirtualEndpointsDeleteOptionalParams, VirtualEndpointsDeleteResponse, VirtualEndpointsGetOptionalParams, VirtualEndpointsGetResponse } from "../models";
4
+ /** Interface representing a VirtualEndpoints. */
5
+ export interface VirtualEndpoints {
6
+ /**
7
+ * List all the servers in a given resource group.
8
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
9
+ * @param serverName The name of the server.
10
+ * @param options The options parameters.
11
+ */
12
+ listByServer(resourceGroupName: string, serverName: string, options?: VirtualEndpointsListByServerOptionalParams): PagedAsyncIterableIterator<VirtualEndpointResource>;
13
+ /**
14
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
15
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
16
+ * @param serverName The name of the server.
17
+ * @param virtualEndpointName The name of the virtual endpoint.
18
+ * @param parameters The required parameters for creating or updating virtual endpoints.
19
+ * @param options The options parameters.
20
+ */
21
+ beginCreate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsCreateResponse>, VirtualEndpointsCreateResponse>>;
22
+ /**
23
+ * Creates a new virtual endpoint for PostgreSQL flexible server.
24
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
25
+ * @param serverName The name of the server.
26
+ * @param virtualEndpointName The name of the virtual endpoint.
27
+ * @param parameters The required parameters for creating or updating virtual endpoints.
28
+ * @param options The options parameters.
29
+ */
30
+ beginCreateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResource, options?: VirtualEndpointsCreateOptionalParams): Promise<VirtualEndpointsCreateResponse>;
31
+ /**
32
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
33
+ * present in the normal virtual endpoint definition.
34
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
+ * @param serverName The name of the server.
36
+ * @param virtualEndpointName The name of the virtual endpoint.
37
+ * @param parameters The required parameters for updating a server.
38
+ * @param options The options parameters.
39
+ */
40
+ beginUpdate(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsUpdateResponse>, VirtualEndpointsUpdateResponse>>;
41
+ /**
42
+ * Updates an existing virtual endpoint. The request body can contain one to many of the properties
43
+ * present in the normal virtual endpoint definition.
44
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
+ * @param serverName The name of the server.
46
+ * @param virtualEndpointName The name of the virtual endpoint.
47
+ * @param parameters The required parameters for updating a server.
48
+ * @param options The options parameters.
49
+ */
50
+ beginUpdateAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, parameters: VirtualEndpointResourceForPatch, options?: VirtualEndpointsUpdateOptionalParams): Promise<VirtualEndpointsUpdateResponse>;
51
+ /**
52
+ * Deletes a virtual endpoint.
53
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
54
+ * @param serverName The name of the server.
55
+ * @param virtualEndpointName The name of the virtual endpoint.
56
+ * @param options The options parameters.
57
+ */
58
+ beginDelete(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VirtualEndpointsDeleteResponse>, VirtualEndpointsDeleteResponse>>;
59
+ /**
60
+ * Deletes a virtual endpoint.
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 options The options parameters.
65
+ */
66
+ beginDeleteAndWait(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsDeleteOptionalParams): Promise<VirtualEndpointsDeleteResponse>;
67
+ /**
68
+ * Gets information about a virtual endpoint.
69
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
70
+ * @param serverName The name of the server.
71
+ * @param virtualEndpointName The name of the virtual endpoint.
72
+ * @param options The options parameters.
73
+ */
74
+ get(resourceGroupName: string, serverName: string, virtualEndpointName: string, options?: VirtualEndpointsGetOptionalParams): Promise<VirtualEndpointsGetResponse>;
75
+ }
76
+ //# sourceMappingURL=virtualEndpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualEndpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualEndpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,uBAAuB,EACvB,0CAA0C,EAC1C,oCAAoC,EACpC,8BAA8B,EAC9B,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,EAC9B,oCAAoC,EACpC,8BAA8B,EAC9B,iCAAiC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,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,8BAA8B,CAAC,EAC9C,8BAA8B,CAC/B,CACF,CAAC;IACF;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=virtualEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"virtualEndpoints.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/virtualEndpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
@@ -1,18 +1,19 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { Administrators, Backups, LocationBasedCapabilities, ServerCapabilities, CheckNameAvailability, CheckNameAvailabilityWithLocation, Configurations, Databases, FirewallRules, Servers, Migrations, Operations, GetPrivateDnsZoneSuffix, Replicas, LogFiles, VirtualNetworkSubnetUsage, FlexibleServer, LtrBackupOperations } from "./operationsInterfaces";
3
+ import { Administrators, Backups, LocationBasedCapabilities, ServerCapabilities, CheckNameAvailability, CheckNameAvailabilityWithLocation, Configurations, Databases, FirewallRules, Servers, FlexibleServer, LtrBackupOperations, Migrations, Operations, GetPrivateDnsZoneSuffix, PrivateEndpointConnections, PrivateEndpointConnectionOperations, PrivateLinkResources, QuotaUsages, Replicas, LogFiles, ServerThreatProtectionSettings, VirtualEndpoints, VirtualNetworkSubnetUsage } from "./operationsInterfaces";
4
4
  import { PostgreSQLManagementFlexibleServerClientOptionalParams, MigrationNameAvailabilityResource, CheckMigrationNameAvailabilityOptionalParams, CheckMigrationNameAvailabilityResponse } from "./models";
5
5
  export declare class PostgreSQLManagementFlexibleServerClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
- subscriptionId: string;
7
+ subscriptionId?: string;
8
8
  apiVersion: string;
9
9
  /**
10
10
  * Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
11
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId The ID of the target subscription.
12
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
16
+ constructor(credentials: coreAuth.TokenCredential, options?: PostgreSQLManagementFlexibleServerClientOptionalParams);
16
17
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
18
  private addCustomApiVersionPolicy;
18
19
  /**
@@ -34,13 +35,19 @@ export declare class PostgreSQLManagementFlexibleServerClient extends coreClient
34
35
  databases: Databases;
35
36
  firewallRules: FirewallRules;
36
37
  servers: Servers;
38
+ flexibleServer: FlexibleServer;
39
+ ltrBackupOperations: LtrBackupOperations;
37
40
  migrations: Migrations;
38
41
  operations: Operations;
39
42
  getPrivateDnsZoneSuffix: GetPrivateDnsZoneSuffix;
43
+ privateEndpointConnections: PrivateEndpointConnections;
44
+ privateEndpointConnectionOperations: PrivateEndpointConnectionOperations;
45
+ privateLinkResources: PrivateLinkResources;
46
+ quotaUsages: QuotaUsages;
40
47
  replicas: Replicas;
41
48
  logFiles: LogFiles;
49
+ serverThreatProtectionSettings: ServerThreatProtectionSettings;
50
+ virtualEndpoints: VirtualEndpoints;
42
51
  virtualNetworkSubnetUsage: VirtualNetworkSubnetUsage;
43
- flexibleServer: FlexibleServer;
44
- ltrBackupOperations: LtrBackupOperations;
45
52
  }
46
53
  //# sourceMappingURL=postgreSQLManagementFlexibleServerClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagementFlexibleServerClient.d.ts","sourceRoot":"","sources":["../../src/postgreSQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,EACL,cAAc,EACd,OAAO,EACP,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iCAAiC,EACjC,cAAc,EACd,SAAS,EACT,aAAa,EACb,OAAO,EACP,UAAU,EACV,UAAU,EACV,uBAAuB,EACvB,QAAQ,EACR,QAAQ,EACR,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,sDAAsD,EACtD,iCAAiC,EACjC,4CAA4C,EAC5C,sCAAsC,EACvC,MAAM,UAAU,CAAC;AAElB,qBAAa,wCAAyC,SAAQ,UAAU,CAAC,aAAa;IACpF,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sDAAsD;IA+FlE,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;;;;OAOG;IACH,8BAA8B,CAC5B,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,UAAU,EAAE,iCAAiC,EAC7C,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC;IAalD,cAAc,EAAE,cAAc,CAAC;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,iCAAiC,EAAE,iCAAiC,CAAC;IACrE,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,UAAU,CAAC;IACvB,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,cAAc,EAAE,cAAc,CAAC;IAC/B,mBAAmB,EAAE,mBAAmB,CAAC;CAC1C"}
1
+ {"version":3,"file":"postgreSQLManagementFlexibleServerClient.d.ts","sourceRoot":"","sources":["../../src/postgreSQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AA2B7C,OAAO,EACL,cAAc,EACd,OAAO,EACP,yBAAyB,EACzB,kBAAkB,EAClB,qBAAqB,EACrB,iCAAiC,EACjC,cAAc,EACd,SAAS,EACT,aAAa,EACb,OAAO,EACP,cAAc,EACd,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,uBAAuB,EACvB,0BAA0B,EAC1B,mCAAmC,EACnC,oBAAoB,EACpB,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,8BAA8B,EAC9B,gBAAgB,EAChB,yBAAyB,EAC1B,MAAM,wBAAwB,CAAC;AAG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BAAoB,EAAE,oBAAoB,CAAC;IAC3C,WAAW,EAAE,WAAW,CAAC;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,yBAAyB,EAAE,yBAAyB,CAAC;CACtD"}
@@ -8,23 +8,21 @@
8
8
  import { __awaiter } from "tslib";
9
9
  import * as coreClient from "@azure/core-client";
10
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { AdministratorsImpl, BackupsImpl, LocationBasedCapabilitiesImpl, ServerCapabilitiesImpl, CheckNameAvailabilityImpl, CheckNameAvailabilityWithLocationImpl, ConfigurationsImpl, DatabasesImpl, FirewallRulesImpl, ServersImpl, MigrationsImpl, OperationsImpl, GetPrivateDnsZoneSuffixImpl, ReplicasImpl, LogFilesImpl, VirtualNetworkSubnetUsageImpl, FlexibleServerImpl, LtrBackupOperationsImpl } from "./operations";
11
+ import { AdministratorsImpl, BackupsImpl, LocationBasedCapabilitiesImpl, ServerCapabilitiesImpl, CheckNameAvailabilityImpl, CheckNameAvailabilityWithLocationImpl, ConfigurationsImpl, DatabasesImpl, FirewallRulesImpl, ServersImpl, FlexibleServerImpl, LtrBackupOperationsImpl, MigrationsImpl, OperationsImpl, GetPrivateDnsZoneSuffixImpl, PrivateEndpointConnectionsImpl, PrivateEndpointConnectionOperationsImpl, PrivateLinkResourcesImpl, QuotaUsagesImpl, ReplicasImpl, LogFilesImpl, ServerThreatProtectionSettingsImpl, VirtualEndpointsImpl, VirtualNetworkSubnetUsageImpl } from "./operations";
12
12
  import * as Parameters from "./models/parameters";
13
13
  import * as Mappers from "./models/mappers";
14
14
  export class PostgreSQLManagementFlexibleServerClient extends coreClient.ServiceClient {
15
- /**
16
- * Initializes a new instance of the PostgreSQLManagementFlexibleServerClient class.
17
- * @param credentials Subscription credentials which uniquely identify client subscription.
18
- * @param subscriptionId The ID of the target subscription.
19
- * @param options The parameter options
20
- */
21
- constructor(credentials, subscriptionId, options) {
15
+ constructor(credentials, subscriptionIdOrOptions, options) {
22
16
  var _a, _b, _c;
23
17
  if (credentials === undefined) {
24
18
  throw new Error("'credentials' cannot be null");
25
19
  }
26
- if (subscriptionId === undefined) {
27
- throw new Error("'subscriptionId' cannot be null");
20
+ let subscriptionId;
21
+ if (typeof subscriptionIdOrOptions === "string") {
22
+ subscriptionId = subscriptionIdOrOptions;
23
+ }
24
+ else if (typeof subscriptionIdOrOptions === "object") {
25
+ options = subscriptionIdOrOptions;
28
26
  }
29
27
  // Initializing default values for options
30
28
  if (!options) {
@@ -34,7 +32,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
34
32
  requestContentType: "application/json; charset=utf-8",
35
33
  credential: credentials
36
34
  };
37
- const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.2`;
35
+ const packageDetails = `azsdk-js-arm-postgresql-flexible/8.0.0-beta.4`;
38
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
39
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
40
38
  : `${packageDetails}`;
@@ -67,7 +65,7 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
67
65
  this.subscriptionId = subscriptionId;
68
66
  // Assigning values to Constant parameters
69
67
  this.$host = options.$host || "https://management.azure.com";
70
- this.apiVersion = options.apiVersion || "2023-03-01-preview";
68
+ this.apiVersion = options.apiVersion || "2023-06-01-preview";
71
69
  this.administrators = new AdministratorsImpl(this);
72
70
  this.backups = new BackupsImpl(this);
73
71
  this.locationBasedCapabilities = new LocationBasedCapabilitiesImpl(this);
@@ -78,14 +76,20 @@ export class PostgreSQLManagementFlexibleServerClient extends coreClient.Service
78
76
  this.databases = new DatabasesImpl(this);
79
77
  this.firewallRules = new FirewallRulesImpl(this);
80
78
  this.servers = new ServersImpl(this);
79
+ this.flexibleServer = new FlexibleServerImpl(this);
80
+ this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
81
81
  this.migrations = new MigrationsImpl(this);
82
82
  this.operations = new OperationsImpl(this);
83
83
  this.getPrivateDnsZoneSuffix = new GetPrivateDnsZoneSuffixImpl(this);
84
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
85
+ this.privateEndpointConnectionOperations = new PrivateEndpointConnectionOperationsImpl(this);
86
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
87
+ this.quotaUsages = new QuotaUsagesImpl(this);
84
88
  this.replicas = new ReplicasImpl(this);
85
89
  this.logFiles = new LogFilesImpl(this);
90
+ this.serverThreatProtectionSettings = new ServerThreatProtectionSettingsImpl(this);
91
+ this.virtualEndpoints = new VirtualEndpointsImpl(this);
86
92
  this.virtualNetworkSubnetUsage = new VirtualNetworkSubnetUsageImpl(this);
87
- this.flexibleServer = new FlexibleServerImpl(this);
88
- this.ltrBackupOperations = new LtrBackupOperationsImpl(this);
89
93
  this.addCustomApiVersionPolicy(options.apiVersion);
90
94
  }
91
95
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
@@ -146,7 +150,7 @@ const checkMigrationNameAvailabilityOperationSpec = {
146
150
  bodyMapper: Mappers.ErrorResponse
147
151
  }
148
152
  },
149
- requestBody: Parameters.parameters10,
153
+ requestBody: Parameters.parameters12,
150
154
  queryParameters: [Parameters.apiVersion],
151
155
  urlParameters: [
152
156
  Parameters.$host,
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,qCAAqC,EACrC,kBAAkB,EAClB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EACF,4KAA4K;IAC9K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"postgreSQLManagementFlexibleServerClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementFlexibleServerClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,kBAAkB,EAClB,WAAW,EACX,6BAA6B,EAC7B,sBAAsB,EACtB,yBAAyB,EACzB,qCAAqC,EACrC,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,2BAA2B,EAC3B,8BAA8B,EAC9B,uCAAuC,EACvC,wBAAwB,EACxB,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,kCAAkC,EAClC,oBAAoB,EACpB,6BAA6B,EAC9B,MAAM,cAAc,CAAC;AA2BtB,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAQ5C,MAAM,OAAO,wCAAyC,SAAQ,UAAU,CAAC,aAA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OAAO;SACR,EACD,2CAA2C,CAC5C,CAAC;IACJ,CAAC;CA0BF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,2CAA2C,GAA6B;IAC5E,IAAI,EACF,4KAA4K;IAC9K,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iCAAiC;SACtD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,eAAe;QAC1B,UAAU,CAAC,kBAAkB;QAC7B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const testPollingOptions: {
2
+ updateIntervalInMs: number | undefined;
3
+ };
4
+ //# sourceMappingURL=postgresql_flexible_operations_test.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql_flexible_operations_test.spec.d.ts","sourceRoot":"","sources":["../../test/postgresql_flexible_operations_test.spec.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,kBAAkB;;CAE9B,CAAC"}
@@ -0,0 +1,55 @@
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
+ import { __awaiter } from "tslib";
9
+ import { env, Recorder, isPlaybackMode, } from "@azure-tools/test-recorder";
10
+ import { createTestCredential } from "@azure-tools/test-credential";
11
+ import { PostgreSQLManagementFlexibleServerClient } from "../src/postgreSQLManagementFlexibleServerClient";
12
+ const replaceableVariables = {
13
+ AZURE_CLIENT_ID: "azure_client_id",
14
+ AZURE_CLIENT_SECRET: "azure_client_secret",
15
+ AZURE_TENANT_ID: "88888888-8888-8888-8888-888888888888",
16
+ SUBSCRIPTION_ID: "azure_subscription_id"
17
+ };
18
+ const recorderOptions = {
19
+ envSetupForPlayback: replaceableVariables
20
+ };
21
+ export const testPollingOptions = {
22
+ updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
23
+ };
24
+ describe("PostgreSQLFlexible test", () => {
25
+ let recorder;
26
+ let subscriptionId;
27
+ let client;
28
+ let location;
29
+ let resourceGroup;
30
+ let resourcename;
31
+ beforeEach(function () {
32
+ return __awaiter(this, void 0, void 0, function* () {
33
+ recorder = new Recorder(this.currentTest);
34
+ yield recorder.start(recorderOptions);
35
+ subscriptionId = env.SUBSCRIPTION_ID || '';
36
+ // This is an example of how the environment variables are used
37
+ const credential = createTestCredential();
38
+ client = new PostgreSQLManagementFlexibleServerClient(credential, subscriptionId, recorder.configureClientOptions({}));
39
+ location = "eastus";
40
+ resourceGroup = "myjstest";
41
+ resourcename = "resourcetest";
42
+ });
43
+ });
44
+ afterEach(function () {
45
+ return __awaiter(this, void 0, void 0, function* () {
46
+ yield recorder.stop();
47
+ });
48
+ });
49
+ it("operation list test", function () {
50
+ return __awaiter(this, void 0, void 0, function* () {
51
+ const result = yield client.operations.list();
52
+ });
53
+ });
54
+ });
55
+ //# sourceMappingURL=postgresql_flexible_operations_test.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgresql_flexible_operations_test.spec.js","sourceRoot":"","sources":["../../test/postgresql_flexible_operations_test.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACp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,CAAC,CAAC;IAEH,EAAE,CAAC,qBAAqB,EAAE;;YACxB,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;QAChD,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
package/package.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for PostgreSQLManagementFlexibleServerClient.",
6
- "version": "8.0.0-beta.2",
6
+ "version": "8.0.0-beta.4",
7
7
  "engines": {
8
- "node": ">=14.0.0"
8
+ "node": ">=18.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/core-lro": "^2.5.3",
11
+ "@azure/core-lro": "^2.5.4",
12
12
  "@azure/abort-controller": "^1.0.0",
13
13
  "@azure/core-paging": "^1.2.0",
14
14
  "@azure/core-client": "^1.7.0",
15
15
  "@azure/core-auth": "^1.3.0",
16
- "@azure/core-rest-pipeline": "^1.8.0",
16
+ "@azure/core-rest-pipeline": "^1.12.0",
17
17
  "tslib": "^2.2.0"
18
18
  },
19
19
  "keywords": [
@@ -29,26 +29,23 @@
29
29
  "types": "./types/arm-postgresql-flexible.d.ts",
30
30
  "devDependencies": {
31
31
  "@microsoft/api-extractor": "^7.31.1",
32
- "@rollup/plugin-commonjs": "^24.0.0",
33
- "@rollup/plugin-json": "^6.0.0",
34
- "@rollup/plugin-multi-entry": "^6.0.0",
35
- "@rollup/plugin-node-resolve": "^13.1.3",
36
32
  "mkdirp": "^2.1.2",
37
- "rollup": "^2.66.1",
38
- "rollup-plugin-sourcemaps": "^0.6.3",
39
- "typescript": "~5.0.0",
33
+ "typescript": "~5.2.0",
40
34
  "uglify-js": "^3.4.9",
41
- "rimraf": "^3.0.0",
35
+ "rimraf": "^5.0.0",
42
36
  "dotenv": "^16.0.0",
43
- "@azure/identity": "^2.0.1",
37
+ "@azure/dev-tool": "^1.0.0",
38
+ "@azure/identity": "^3.3.0",
44
39
  "@azure-tools/test-recorder": "^3.0.0",
45
40
  "@azure-tools/test-credential": "^1.0.0",
46
- "mocha": "^7.1.1",
41
+ "mocha": "^10.0.0",
42
+ "@types/mocha": "^10.0.0",
43
+ "esm": "^3.2.18",
47
44
  "@types/chai": "^4.2.8",
48
45
  "chai": "^4.2.0",
49
46
  "cross-env": "^7.0.2",
50
- "@types/node": "^14.0.0",
51
- "@azure/dev-tool": "^1.0.0"
47
+ "@types/node": "^18.0.0",
48
+ "ts-node": "^10.0.0"
52
49
  },
53
50
  "repository": {
54
51
  "type": "git",
@@ -69,21 +66,20 @@
69
66
  "src/**/*.ts",
70
67
  "README.md",
71
68
  "LICENSE",
72
- "rollup.config.js",
73
69
  "tsconfig.json",
74
70
  "review/*",
75
71
  "CHANGELOG.md",
76
72
  "types/*"
77
73
  ],
78
74
  "scripts": {
79
- "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
75
+ "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
80
76
  "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
81
77
  "prepack": "npm run build",
82
78
  "pack": "npm pack 2>&1",
83
79
  "extract-api": "api-extractor run --local",
84
80
  "lint": "echo skipped",
85
81
  "audit": "echo skipped",
86
- "clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
82
+ "clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
87
83
  "build:node": "echo skipped",
88
84
  "build:browser": "echo skipped",
89
85
  "build:test": "echo skipped",