@azure/arm-postgresql-flexible 8.0.0 → 8.1.0-beta.1

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 (880) hide show
  1. package/CHANGELOG.md +98 -0
  2. package/LICENSE +3 -3
  3. package/README.md +26 -16
  4. package/dist/browser/lroImpl.d.ts +1 -1
  5. package/dist/browser/lroImpl.d.ts.map +1 -1
  6. package/dist/browser/lroImpl.js.map +1 -1
  7. package/dist/browser/models/index.d.ts +506 -35
  8. package/dist/browser/models/index.d.ts.map +1 -1
  9. package/dist/browser/models/index.js +70 -0
  10. package/dist/browser/models/index.js.map +1 -1
  11. package/dist/browser/models/mappers.d.ts +23 -1
  12. package/dist/browser/models/mappers.d.ts.map +1 -1
  13. package/dist/browser/models/mappers.js +788 -99
  14. package/dist/browser/models/mappers.js.map +1 -1
  15. package/dist/browser/models/parameters.d.ts +5 -1
  16. package/dist/browser/models/parameters.d.ts.map +1 -1
  17. package/dist/browser/models/parameters.js +36 -3
  18. package/dist/browser/models/parameters.js.map +1 -1
  19. package/dist/browser/operations/administrators.d.ts +9 -9
  20. package/dist/browser/operations/administrators.d.ts.map +1 -1
  21. package/dist/browser/operations/administrators.js +7 -7
  22. package/dist/browser/operations/administrators.js.map +1 -1
  23. package/dist/browser/operations/backups.d.ts +5 -5
  24. package/dist/browser/operations/backups.d.ts.map +1 -1
  25. package/dist/browser/operations/backups.js +3 -3
  26. package/dist/browser/operations/backups.js.map +1 -1
  27. package/dist/browser/operations/checkNameAvailability.d.ts +3 -3
  28. package/dist/browser/operations/checkNameAvailability.d.ts.map +1 -1
  29. package/dist/browser/operations/checkNameAvailability.js.map +1 -1
  30. package/dist/browser/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
  31. package/dist/browser/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  32. package/dist/browser/operations/checkNameAvailabilityWithLocation.js +1 -5
  33. package/dist/browser/operations/checkNameAvailabilityWithLocation.js.map +1 -1
  34. package/dist/browser/operations/configurations.d.ts +5 -5
  35. package/dist/browser/operations/configurations.d.ts.map +1 -1
  36. package/dist/browser/operations/configurations.js +3 -3
  37. package/dist/browser/operations/configurations.js.map +1 -1
  38. package/dist/browser/operations/databases.d.ts +5 -5
  39. package/dist/browser/operations/databases.d.ts.map +1 -1
  40. package/dist/browser/operations/databases.js +3 -3
  41. package/dist/browser/operations/databases.js.map +1 -1
  42. package/dist/browser/operations/firewallRules.d.ts +5 -5
  43. package/dist/browser/operations/firewallRules.d.ts.map +1 -1
  44. package/dist/browser/operations/firewallRules.js +3 -3
  45. package/dist/browser/operations/firewallRules.js.map +1 -1
  46. package/dist/browser/operations/flexibleServer.d.ts +4 -4
  47. package/dist/browser/operations/flexibleServer.d.ts.map +1 -1
  48. package/dist/browser/operations/flexibleServer.js +1 -1
  49. package/dist/browser/operations/flexibleServer.js.map +1 -1
  50. package/dist/browser/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
  51. package/dist/browser/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  52. package/dist/browser/operations/getPrivateDnsZoneSuffix.js.map +1 -1
  53. package/dist/browser/operations/index.d.ts +4 -0
  54. package/dist/browser/operations/index.d.ts.map +1 -1
  55. package/dist/browser/operations/index.js +4 -0
  56. package/dist/browser/operations/index.js.map +1 -1
  57. package/dist/browser/operations/locationBasedCapabilities.d.ts +4 -4
  58. package/dist/browser/operations/locationBasedCapabilities.d.ts.map +1 -1
  59. package/dist/browser/operations/locationBasedCapabilities.js +3 -7
  60. package/dist/browser/operations/locationBasedCapabilities.js.map +1 -1
  61. package/dist/browser/operations/logFiles.d.ts +4 -4
  62. package/dist/browser/operations/logFiles.d.ts.map +1 -1
  63. package/dist/browser/operations/logFiles.js +2 -2
  64. package/dist/browser/operations/logFiles.js.map +1 -1
  65. package/dist/browser/operations/ltrBackupOperations.d.ts +4 -4
  66. package/dist/browser/operations/ltrBackupOperations.d.ts.map +1 -1
  67. package/dist/browser/operations/ltrBackupOperations.js +2 -2
  68. package/dist/browser/operations/ltrBackupOperations.js.map +1 -1
  69. package/dist/browser/operations/migrations.d.ts +4 -4
  70. package/dist/browser/operations/migrations.d.ts.map +1 -1
  71. package/dist/browser/operations/migrations.js +2 -2
  72. package/dist/browser/operations/migrations.js.map +1 -1
  73. package/dist/browser/operations/operations.d.ts +18 -4
  74. package/dist/browser/operations/operations.d.ts.map +1 -1
  75. package/dist/browser/operations/operations.js +87 -0
  76. package/dist/browser/operations/operations.js.map +1 -1
  77. package/dist/browser/operations/privateEndpointConnectionOperations.d.ts +4 -4
  78. package/dist/browser/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
  79. package/dist/browser/operations/privateEndpointConnectionOperations.js +1 -1
  80. package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -1
  81. package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
  82. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  83. package/dist/browser/operations/privateEndpointConnections.js +2 -2
  84. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  85. package/dist/browser/operations/privateLinkResources.d.ts +4 -4
  86. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  87. package/dist/browser/operations/privateLinkResources.js +2 -2
  88. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  89. package/dist/browser/operations/quotaUsages.d.ts +35 -0
  90. package/dist/browser/operations/quotaUsages.d.ts.map +1 -0
  91. package/dist/browser/operations/quotaUsages.js +141 -0
  92. package/dist/browser/operations/quotaUsages.js.map +1 -0
  93. package/dist/browser/operations/replicas.d.ts +4 -4
  94. package/dist/browser/operations/replicas.d.ts.map +1 -1
  95. package/dist/browser/operations/replicas.js.map +1 -1
  96. package/dist/browser/operations/serverCapabilities.d.ts +4 -4
  97. package/dist/browser/operations/serverCapabilities.d.ts.map +1 -1
  98. package/dist/browser/operations/serverCapabilities.js +2 -2
  99. package/dist/browser/operations/serverCapabilities.js.map +1 -1
  100. package/dist/browser/operations/serverThreatProtectionSettings.d.ts +5 -5
  101. package/dist/browser/operations/serverThreatProtectionSettings.d.ts.map +1 -1
  102. package/dist/browser/operations/serverThreatProtectionSettings.js +3 -3
  103. package/dist/browser/operations/serverThreatProtectionSettings.js.map +1 -1
  104. package/dist/browser/operations/servers.d.ts +5 -5
  105. package/dist/browser/operations/servers.d.ts.map +1 -1
  106. package/dist/browser/operations/servers.js +7 -15
  107. package/dist/browser/operations/servers.js.map +1 -1
  108. package/dist/browser/operations/tuningConfiguration.d.ts +137 -0
  109. package/dist/browser/operations/tuningConfiguration.d.ts.map +1 -0
  110. package/dist/browser/operations/tuningConfiguration.js +638 -0
  111. package/dist/browser/operations/tuningConfiguration.js.map +1 -0
  112. package/dist/browser/operations/tuningIndex.d.ts +41 -0
  113. package/dist/browser/operations/tuningIndex.d.ts.map +1 -0
  114. package/dist/browser/operations/tuningIndex.js +155 -0
  115. package/dist/browser/operations/tuningIndex.js.map +1 -0
  116. package/dist/browser/operations/tuningOptions.d.ts +46 -0
  117. package/dist/browser/operations/tuningOptions.d.ts.map +1 -0
  118. package/dist/browser/operations/tuningOptions.js +182 -0
  119. package/dist/browser/operations/tuningOptions.js.map +1 -0
  120. package/dist/browser/operations/virtualEndpoints.d.ts +5 -5
  121. package/dist/browser/operations/virtualEndpoints.d.ts.map +1 -1
  122. package/dist/browser/operations/virtualEndpoints.js +3 -3
  123. package/dist/browser/operations/virtualEndpoints.js.map +1 -1
  124. package/dist/browser/operations/virtualNetworkSubnetUsage.d.ts +3 -3
  125. package/dist/browser/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
  126. package/dist/browser/operations/virtualNetworkSubnetUsage.js +1 -5
  127. package/dist/browser/operations/virtualNetworkSubnetUsage.js.map +1 -1
  128. package/dist/browser/operationsInterfaces/administrators.d.ts +7 -7
  129. package/dist/browser/operationsInterfaces/administrators.d.ts.map +1 -1
  130. package/dist/browser/operationsInterfaces/administrators.js.map +1 -1
  131. package/dist/browser/operationsInterfaces/backups.d.ts +3 -3
  132. package/dist/browser/operationsInterfaces/backups.d.ts.map +1 -1
  133. package/dist/browser/operationsInterfaces/backups.js.map +1 -1
  134. package/dist/browser/operationsInterfaces/checkNameAvailability.d.ts +1 -1
  135. package/dist/browser/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  136. package/dist/browser/operationsInterfaces/checkNameAvailability.js.map +1 -1
  137. package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
  138. package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  139. package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
  140. package/dist/browser/operationsInterfaces/configurations.d.ts +3 -3
  141. package/dist/browser/operationsInterfaces/configurations.d.ts.map +1 -1
  142. package/dist/browser/operationsInterfaces/configurations.js.map +1 -1
  143. package/dist/browser/operationsInterfaces/databases.d.ts +3 -3
  144. package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -1
  145. package/dist/browser/operationsInterfaces/databases.js.map +1 -1
  146. package/dist/browser/operationsInterfaces/firewallRules.d.ts +3 -3
  147. package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +1 -1
  148. package/dist/browser/operationsInterfaces/firewallRules.js.map +1 -1
  149. package/dist/browser/operationsInterfaces/flexibleServer.d.ts +2 -2
  150. package/dist/browser/operationsInterfaces/flexibleServer.d.ts.map +1 -1
  151. package/dist/browser/operationsInterfaces/flexibleServer.js.map +1 -1
  152. package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
  153. package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  154. package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
  155. package/dist/browser/operationsInterfaces/index.d.ts +4 -0
  156. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  157. package/dist/browser/operationsInterfaces/index.js +4 -0
  158. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  159. package/dist/browser/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  160. package/dist/browser/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  161. package/dist/browser/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
  162. package/dist/browser/operationsInterfaces/logFiles.d.ts +2 -2
  163. package/dist/browser/operationsInterfaces/logFiles.d.ts.map +1 -1
  164. package/dist/browser/operationsInterfaces/logFiles.js.map +1 -1
  165. package/dist/browser/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
  166. package/dist/browser/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
  167. package/dist/browser/operationsInterfaces/ltrBackupOperations.js.map +1 -1
  168. package/dist/browser/operationsInterfaces/migrations.d.ts +2 -2
  169. package/dist/browser/operationsInterfaces/migrations.d.ts.map +1 -1
  170. package/dist/browser/operationsInterfaces/migrations.js.map +1 -1
  171. package/dist/browser/operationsInterfaces/operations.d.ts +3 -2
  172. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  173. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  174. package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
  175. package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
  176. package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
  177. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  178. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  179. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  180. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
  181. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  182. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  183. package/dist/browser/operationsInterfaces/quotaUsages.d.ts +12 -0
  184. package/dist/browser/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  185. package/dist/browser/operationsInterfaces/quotaUsages.js +9 -0
  186. package/dist/browser/operationsInterfaces/quotaUsages.js.map +1 -0
  187. package/dist/browser/operationsInterfaces/replicas.d.ts +2 -2
  188. package/dist/browser/operationsInterfaces/replicas.d.ts.map +1 -1
  189. package/dist/browser/operationsInterfaces/replicas.js.map +1 -1
  190. package/dist/browser/operationsInterfaces/serverCapabilities.d.ts +2 -2
  191. package/dist/browser/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
  192. package/dist/browser/operationsInterfaces/serverCapabilities.js.map +1 -1
  193. package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
  194. package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
  195. package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
  196. package/dist/browser/operationsInterfaces/servers.d.ts +3 -3
  197. package/dist/browser/operationsInterfaces/servers.d.ts.map +1 -1
  198. package/dist/browser/operationsInterfaces/servers.js.map +1 -1
  199. package/dist/browser/operationsInterfaces/tuningConfiguration.d.ts +90 -0
  200. package/dist/browser/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
  201. package/dist/browser/operationsInterfaces/tuningConfiguration.js +9 -0
  202. package/dist/browser/operationsInterfaces/tuningConfiguration.js.map +1 -0
  203. package/dist/browser/operationsInterfaces/tuningIndex.d.ts +14 -0
  204. package/dist/browser/operationsInterfaces/tuningIndex.d.ts.map +1 -0
  205. package/dist/browser/operationsInterfaces/tuningIndex.js +9 -0
  206. package/dist/browser/operationsInterfaces/tuningIndex.js.map +1 -0
  207. package/dist/browser/operationsInterfaces/tuningOptions.d.ts +21 -0
  208. package/dist/browser/operationsInterfaces/tuningOptions.d.ts.map +1 -0
  209. package/dist/browser/operationsInterfaces/tuningOptions.js +9 -0
  210. package/dist/browser/operationsInterfaces/tuningOptions.js.map +1 -0
  211. package/dist/browser/operationsInterfaces/virtualEndpoints.d.ts +3 -3
  212. package/dist/browser/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
  213. package/dist/browser/operationsInterfaces/virtualEndpoints.js.map +1 -1
  214. package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
  215. package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
  216. package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
  217. package/dist/browser/pagingHelper.d.ts.map +1 -1
  218. package/dist/browser/pagingHelper.js.map +1 -1
  219. package/dist/browser/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
  220. package/dist/browser/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  221. package/dist/browser/postgreSQLManagementFlexibleServerClient.js +11 -11
  222. package/dist/browser/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  223. package/dist/commonjs/lroImpl.d.ts +1 -1
  224. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  225. package/dist/commonjs/lroImpl.js.map +1 -1
  226. package/dist/commonjs/models/index.d.ts +506 -35
  227. package/dist/commonjs/models/index.d.ts.map +1 -1
  228. package/dist/commonjs/models/index.js +72 -2
  229. package/dist/commonjs/models/index.js.map +1 -1
  230. package/dist/commonjs/models/mappers.d.ts +23 -1
  231. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  232. package/dist/commonjs/models/mappers.js +791 -102
  233. package/dist/commonjs/models/mappers.js.map +1 -1
  234. package/dist/commonjs/models/parameters.d.ts +5 -1
  235. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  236. package/dist/commonjs/models/parameters.js +36 -3
  237. package/dist/commonjs/models/parameters.js.map +1 -1
  238. package/dist/commonjs/operations/administrators.d.ts +9 -9
  239. package/dist/commonjs/operations/administrators.d.ts.map +1 -1
  240. package/dist/commonjs/operations/administrators.js +6 -6
  241. package/dist/commonjs/operations/administrators.js.map +1 -1
  242. package/dist/commonjs/operations/backups.d.ts +5 -5
  243. package/dist/commonjs/operations/backups.d.ts.map +1 -1
  244. package/dist/commonjs/operations/backups.js +2 -2
  245. package/dist/commonjs/operations/backups.js.map +1 -1
  246. package/dist/commonjs/operations/checkNameAvailability.d.ts +3 -3
  247. package/dist/commonjs/operations/checkNameAvailability.d.ts.map +1 -1
  248. package/dist/commonjs/operations/checkNameAvailability.js.map +1 -1
  249. package/dist/commonjs/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
  250. package/dist/commonjs/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  251. package/dist/commonjs/operations/checkNameAvailabilityWithLocation.js +1 -5
  252. package/dist/commonjs/operations/checkNameAvailabilityWithLocation.js.map +1 -1
  253. package/dist/commonjs/operations/configurations.d.ts +5 -5
  254. package/dist/commonjs/operations/configurations.d.ts.map +1 -1
  255. package/dist/commonjs/operations/configurations.js +2 -2
  256. package/dist/commonjs/operations/configurations.js.map +1 -1
  257. package/dist/commonjs/operations/databases.d.ts +5 -5
  258. package/dist/commonjs/operations/databases.d.ts.map +1 -1
  259. package/dist/commonjs/operations/databases.js +2 -2
  260. package/dist/commonjs/operations/databases.js.map +1 -1
  261. package/dist/commonjs/operations/firewallRules.d.ts +5 -5
  262. package/dist/commonjs/operations/firewallRules.d.ts.map +1 -1
  263. package/dist/commonjs/operations/firewallRules.js +2 -2
  264. package/dist/commonjs/operations/firewallRules.js.map +1 -1
  265. package/dist/commonjs/operations/flexibleServer.d.ts +4 -4
  266. package/dist/commonjs/operations/flexibleServer.d.ts.map +1 -1
  267. package/dist/commonjs/operations/flexibleServer.js.map +1 -1
  268. package/dist/commonjs/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
  269. package/dist/commonjs/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  270. package/dist/commonjs/operations/getPrivateDnsZoneSuffix.js.map +1 -1
  271. package/dist/commonjs/operations/index.d.ts +4 -0
  272. package/dist/commonjs/operations/index.d.ts.map +1 -1
  273. package/dist/commonjs/operations/index.js +4 -0
  274. package/dist/commonjs/operations/index.js.map +1 -1
  275. package/dist/commonjs/operations/locationBasedCapabilities.d.ts +4 -4
  276. package/dist/commonjs/operations/locationBasedCapabilities.d.ts.map +1 -1
  277. package/dist/commonjs/operations/locationBasedCapabilities.js +3 -7
  278. package/dist/commonjs/operations/locationBasedCapabilities.js.map +1 -1
  279. package/dist/commonjs/operations/logFiles.d.ts +4 -4
  280. package/dist/commonjs/operations/logFiles.d.ts.map +1 -1
  281. package/dist/commonjs/operations/logFiles.js +2 -2
  282. package/dist/commonjs/operations/logFiles.js.map +1 -1
  283. package/dist/commonjs/operations/ltrBackupOperations.d.ts +4 -4
  284. package/dist/commonjs/operations/ltrBackupOperations.d.ts.map +1 -1
  285. package/dist/commonjs/operations/ltrBackupOperations.js +2 -2
  286. package/dist/commonjs/operations/ltrBackupOperations.js.map +1 -1
  287. package/dist/commonjs/operations/migrations.d.ts +4 -4
  288. package/dist/commonjs/operations/migrations.d.ts.map +1 -1
  289. package/dist/commonjs/operations/migrations.js +2 -2
  290. package/dist/commonjs/operations/migrations.js.map +1 -1
  291. package/dist/commonjs/operations/operations.d.ts +18 -4
  292. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  293. package/dist/commonjs/operations/operations.js +86 -0
  294. package/dist/commonjs/operations/operations.js.map +1 -1
  295. package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts +4 -4
  296. package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
  297. package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -1
  298. package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
  299. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  300. package/dist/commonjs/operations/privateEndpointConnections.js +2 -2
  301. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  302. package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
  303. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  304. package/dist/commonjs/operations/privateLinkResources.js +2 -2
  305. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  306. package/dist/commonjs/operations/quotaUsages.d.ts +35 -0
  307. package/dist/commonjs/operations/quotaUsages.d.ts.map +1 -0
  308. package/dist/commonjs/operations/quotaUsages.js +145 -0
  309. package/dist/commonjs/operations/quotaUsages.js.map +1 -0
  310. package/dist/commonjs/operations/replicas.d.ts +4 -4
  311. package/dist/commonjs/operations/replicas.d.ts.map +1 -1
  312. package/dist/commonjs/operations/replicas.js.map +1 -1
  313. package/dist/commonjs/operations/serverCapabilities.d.ts +4 -4
  314. package/dist/commonjs/operations/serverCapabilities.d.ts.map +1 -1
  315. package/dist/commonjs/operations/serverCapabilities.js +2 -2
  316. package/dist/commonjs/operations/serverCapabilities.js.map +1 -1
  317. package/dist/commonjs/operations/serverThreatProtectionSettings.d.ts +5 -5
  318. package/dist/commonjs/operations/serverThreatProtectionSettings.d.ts.map +1 -1
  319. package/dist/commonjs/operations/serverThreatProtectionSettings.js +2 -2
  320. package/dist/commonjs/operations/serverThreatProtectionSettings.js.map +1 -1
  321. package/dist/commonjs/operations/servers.d.ts +5 -5
  322. package/dist/commonjs/operations/servers.d.ts.map +1 -1
  323. package/dist/commonjs/operations/servers.js +6 -14
  324. package/dist/commonjs/operations/servers.js.map +1 -1
  325. package/dist/commonjs/operations/tuningConfiguration.d.ts +137 -0
  326. package/dist/commonjs/operations/tuningConfiguration.d.ts.map +1 -0
  327. package/dist/commonjs/operations/tuningConfiguration.js +642 -0
  328. package/dist/commonjs/operations/tuningConfiguration.js.map +1 -0
  329. package/dist/commonjs/operations/tuningIndex.d.ts +41 -0
  330. package/dist/commonjs/operations/tuningIndex.d.ts.map +1 -0
  331. package/dist/commonjs/operations/tuningIndex.js +159 -0
  332. package/dist/commonjs/operations/tuningIndex.js.map +1 -0
  333. package/dist/commonjs/operations/tuningOptions.d.ts +46 -0
  334. package/dist/commonjs/operations/tuningOptions.d.ts.map +1 -0
  335. package/dist/commonjs/operations/tuningOptions.js +186 -0
  336. package/dist/commonjs/operations/tuningOptions.js.map +1 -0
  337. package/dist/commonjs/operations/virtualEndpoints.d.ts +5 -5
  338. package/dist/commonjs/operations/virtualEndpoints.d.ts.map +1 -1
  339. package/dist/commonjs/operations/virtualEndpoints.js +2 -2
  340. package/dist/commonjs/operations/virtualEndpoints.js.map +1 -1
  341. package/dist/commonjs/operations/virtualNetworkSubnetUsage.d.ts +3 -3
  342. package/dist/commonjs/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
  343. package/dist/commonjs/operations/virtualNetworkSubnetUsage.js +1 -5
  344. package/dist/commonjs/operations/virtualNetworkSubnetUsage.js.map +1 -1
  345. package/dist/commonjs/operationsInterfaces/administrators.d.ts +7 -7
  346. package/dist/commonjs/operationsInterfaces/administrators.d.ts.map +1 -1
  347. package/dist/commonjs/operationsInterfaces/administrators.js.map +1 -1
  348. package/dist/commonjs/operationsInterfaces/backups.d.ts +3 -3
  349. package/dist/commonjs/operationsInterfaces/backups.d.ts.map +1 -1
  350. package/dist/commonjs/operationsInterfaces/backups.js.map +1 -1
  351. package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts +1 -1
  352. package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  353. package/dist/commonjs/operationsInterfaces/checkNameAvailability.js.map +1 -1
  354. package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
  355. package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  356. package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
  357. package/dist/commonjs/operationsInterfaces/configurations.d.ts +3 -3
  358. package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -1
  359. package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -1
  360. package/dist/commonjs/operationsInterfaces/databases.d.ts +3 -3
  361. package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -1
  362. package/dist/commonjs/operationsInterfaces/databases.js.map +1 -1
  363. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +3 -3
  364. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +1 -1
  365. package/dist/commonjs/operationsInterfaces/firewallRules.js.map +1 -1
  366. package/dist/commonjs/operationsInterfaces/flexibleServer.d.ts +2 -2
  367. package/dist/commonjs/operationsInterfaces/flexibleServer.d.ts.map +1 -1
  368. package/dist/commonjs/operationsInterfaces/flexibleServer.js.map +1 -1
  369. package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
  370. package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  371. package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
  372. package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
  373. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  374. package/dist/commonjs/operationsInterfaces/index.js +4 -0
  375. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  376. package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  377. package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  378. package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
  379. package/dist/commonjs/operationsInterfaces/logFiles.d.ts +2 -2
  380. package/dist/commonjs/operationsInterfaces/logFiles.d.ts.map +1 -1
  381. package/dist/commonjs/operationsInterfaces/logFiles.js.map +1 -1
  382. package/dist/commonjs/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
  383. package/dist/commonjs/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
  384. package/dist/commonjs/operationsInterfaces/ltrBackupOperations.js.map +1 -1
  385. package/dist/commonjs/operationsInterfaces/migrations.d.ts +2 -2
  386. package/dist/commonjs/operationsInterfaces/migrations.d.ts.map +1 -1
  387. package/dist/commonjs/operationsInterfaces/migrations.js.map +1 -1
  388. package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -2
  389. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  390. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  391. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
  392. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
  393. package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
  394. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  395. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  396. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  397. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
  398. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  399. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  400. package/dist/commonjs/operationsInterfaces/quotaUsages.d.ts +12 -0
  401. package/dist/commonjs/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  402. package/dist/commonjs/operationsInterfaces/quotaUsages.js +10 -0
  403. package/dist/commonjs/operationsInterfaces/quotaUsages.js.map +1 -0
  404. package/dist/commonjs/operationsInterfaces/replicas.d.ts +2 -2
  405. package/dist/commonjs/operationsInterfaces/replicas.d.ts.map +1 -1
  406. package/dist/commonjs/operationsInterfaces/replicas.js.map +1 -1
  407. package/dist/commonjs/operationsInterfaces/serverCapabilities.d.ts +2 -2
  408. package/dist/commonjs/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
  409. package/dist/commonjs/operationsInterfaces/serverCapabilities.js.map +1 -1
  410. package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
  411. package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
  412. package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
  413. package/dist/commonjs/operationsInterfaces/servers.d.ts +3 -3
  414. package/dist/commonjs/operationsInterfaces/servers.d.ts.map +1 -1
  415. package/dist/commonjs/operationsInterfaces/servers.js.map +1 -1
  416. package/dist/commonjs/operationsInterfaces/tuningConfiguration.d.ts +90 -0
  417. package/dist/commonjs/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
  418. package/dist/commonjs/operationsInterfaces/tuningConfiguration.js +10 -0
  419. package/dist/commonjs/operationsInterfaces/tuningConfiguration.js.map +1 -0
  420. package/dist/commonjs/operationsInterfaces/tuningIndex.d.ts +14 -0
  421. package/dist/commonjs/operationsInterfaces/tuningIndex.d.ts.map +1 -0
  422. package/dist/commonjs/operationsInterfaces/tuningIndex.js +10 -0
  423. package/dist/commonjs/operationsInterfaces/tuningIndex.js.map +1 -0
  424. package/dist/commonjs/operationsInterfaces/tuningOptions.d.ts +21 -0
  425. package/dist/commonjs/operationsInterfaces/tuningOptions.d.ts.map +1 -0
  426. package/dist/commonjs/operationsInterfaces/tuningOptions.js +10 -0
  427. package/dist/commonjs/operationsInterfaces/tuningOptions.js.map +1 -0
  428. package/dist/commonjs/operationsInterfaces/virtualEndpoints.d.ts +3 -3
  429. package/dist/commonjs/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
  430. package/dist/commonjs/operationsInterfaces/virtualEndpoints.js.map +1 -1
  431. package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
  432. package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
  433. package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
  434. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  435. package/dist/commonjs/pagingHelper.js.map +1 -1
  436. package/dist/commonjs/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
  437. package/dist/commonjs/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  438. package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js +10 -10
  439. package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  440. package/dist/commonjs/tsdoc-metadata.json +1 -1
  441. package/dist/esm/lroImpl.d.ts +1 -1
  442. package/dist/esm/lroImpl.d.ts.map +1 -1
  443. package/dist/esm/lroImpl.js.map +1 -1
  444. package/dist/esm/models/index.d.ts +506 -35
  445. package/dist/esm/models/index.d.ts.map +1 -1
  446. package/dist/esm/models/index.js +70 -0
  447. package/dist/esm/models/index.js.map +1 -1
  448. package/dist/esm/models/mappers.d.ts +23 -1
  449. package/dist/esm/models/mappers.d.ts.map +1 -1
  450. package/dist/esm/models/mappers.js +788 -99
  451. package/dist/esm/models/mappers.js.map +1 -1
  452. package/dist/esm/models/parameters.d.ts +5 -1
  453. package/dist/esm/models/parameters.d.ts.map +1 -1
  454. package/dist/esm/models/parameters.js +36 -3
  455. package/dist/esm/models/parameters.js.map +1 -1
  456. package/dist/esm/operations/administrators.d.ts +9 -9
  457. package/dist/esm/operations/administrators.d.ts.map +1 -1
  458. package/dist/esm/operations/administrators.js +7 -7
  459. package/dist/esm/operations/administrators.js.map +1 -1
  460. package/dist/esm/operations/backups.d.ts +5 -5
  461. package/dist/esm/operations/backups.d.ts.map +1 -1
  462. package/dist/esm/operations/backups.js +3 -3
  463. package/dist/esm/operations/backups.js.map +1 -1
  464. package/dist/esm/operations/checkNameAvailability.d.ts +3 -3
  465. package/dist/esm/operations/checkNameAvailability.d.ts.map +1 -1
  466. package/dist/esm/operations/checkNameAvailability.js.map +1 -1
  467. package/dist/esm/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
  468. package/dist/esm/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  469. package/dist/esm/operations/checkNameAvailabilityWithLocation.js +1 -5
  470. package/dist/esm/operations/checkNameAvailabilityWithLocation.js.map +1 -1
  471. package/dist/esm/operations/configurations.d.ts +5 -5
  472. package/dist/esm/operations/configurations.d.ts.map +1 -1
  473. package/dist/esm/operations/configurations.js +3 -3
  474. package/dist/esm/operations/configurations.js.map +1 -1
  475. package/dist/esm/operations/databases.d.ts +5 -5
  476. package/dist/esm/operations/databases.d.ts.map +1 -1
  477. package/dist/esm/operations/databases.js +3 -3
  478. package/dist/esm/operations/databases.js.map +1 -1
  479. package/dist/esm/operations/firewallRules.d.ts +5 -5
  480. package/dist/esm/operations/firewallRules.d.ts.map +1 -1
  481. package/dist/esm/operations/firewallRules.js +3 -3
  482. package/dist/esm/operations/firewallRules.js.map +1 -1
  483. package/dist/esm/operations/flexibleServer.d.ts +4 -4
  484. package/dist/esm/operations/flexibleServer.d.ts.map +1 -1
  485. package/dist/esm/operations/flexibleServer.js +1 -1
  486. package/dist/esm/operations/flexibleServer.js.map +1 -1
  487. package/dist/esm/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
  488. package/dist/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  489. package/dist/esm/operations/getPrivateDnsZoneSuffix.js.map +1 -1
  490. package/dist/esm/operations/index.d.ts +4 -0
  491. package/dist/esm/operations/index.d.ts.map +1 -1
  492. package/dist/esm/operations/index.js +4 -0
  493. package/dist/esm/operations/index.js.map +1 -1
  494. package/dist/esm/operations/locationBasedCapabilities.d.ts +4 -4
  495. package/dist/esm/operations/locationBasedCapabilities.d.ts.map +1 -1
  496. package/dist/esm/operations/locationBasedCapabilities.js +3 -7
  497. package/dist/esm/operations/locationBasedCapabilities.js.map +1 -1
  498. package/dist/esm/operations/logFiles.d.ts +4 -4
  499. package/dist/esm/operations/logFiles.d.ts.map +1 -1
  500. package/dist/esm/operations/logFiles.js +2 -2
  501. package/dist/esm/operations/logFiles.js.map +1 -1
  502. package/dist/esm/operations/ltrBackupOperations.d.ts +4 -4
  503. package/dist/esm/operations/ltrBackupOperations.d.ts.map +1 -1
  504. package/dist/esm/operations/ltrBackupOperations.js +2 -2
  505. package/dist/esm/operations/ltrBackupOperations.js.map +1 -1
  506. package/dist/esm/operations/migrations.d.ts +4 -4
  507. package/dist/esm/operations/migrations.d.ts.map +1 -1
  508. package/dist/esm/operations/migrations.js +2 -2
  509. package/dist/esm/operations/migrations.js.map +1 -1
  510. package/dist/esm/operations/operations.d.ts +18 -4
  511. package/dist/esm/operations/operations.d.ts.map +1 -1
  512. package/dist/esm/operations/operations.js +87 -0
  513. package/dist/esm/operations/operations.js.map +1 -1
  514. package/dist/esm/operations/privateEndpointConnectionOperations.d.ts +4 -4
  515. package/dist/esm/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
  516. package/dist/esm/operations/privateEndpointConnectionOperations.js +1 -1
  517. package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -1
  518. package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
  519. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  520. package/dist/esm/operations/privateEndpointConnections.js +2 -2
  521. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  522. package/dist/esm/operations/privateLinkResources.d.ts +4 -4
  523. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  524. package/dist/esm/operations/privateLinkResources.js +2 -2
  525. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  526. package/dist/esm/operations/quotaUsages.d.ts +35 -0
  527. package/dist/esm/operations/quotaUsages.d.ts.map +1 -0
  528. package/dist/esm/operations/quotaUsages.js +141 -0
  529. package/dist/esm/operations/quotaUsages.js.map +1 -0
  530. package/dist/esm/operations/replicas.d.ts +4 -4
  531. package/dist/esm/operations/replicas.d.ts.map +1 -1
  532. package/dist/esm/operations/replicas.js.map +1 -1
  533. package/dist/esm/operations/serverCapabilities.d.ts +4 -4
  534. package/dist/esm/operations/serverCapabilities.d.ts.map +1 -1
  535. package/dist/esm/operations/serverCapabilities.js +2 -2
  536. package/dist/esm/operations/serverCapabilities.js.map +1 -1
  537. package/dist/esm/operations/serverThreatProtectionSettings.d.ts +5 -5
  538. package/dist/esm/operations/serverThreatProtectionSettings.d.ts.map +1 -1
  539. package/dist/esm/operations/serverThreatProtectionSettings.js +3 -3
  540. package/dist/esm/operations/serverThreatProtectionSettings.js.map +1 -1
  541. package/dist/esm/operations/servers.d.ts +5 -5
  542. package/dist/esm/operations/servers.d.ts.map +1 -1
  543. package/dist/esm/operations/servers.js +7 -15
  544. package/dist/esm/operations/servers.js.map +1 -1
  545. package/dist/esm/operations/tuningConfiguration.d.ts +137 -0
  546. package/dist/esm/operations/tuningConfiguration.d.ts.map +1 -0
  547. package/dist/esm/operations/tuningConfiguration.js +638 -0
  548. package/dist/esm/operations/tuningConfiguration.js.map +1 -0
  549. package/dist/esm/operations/tuningIndex.d.ts +41 -0
  550. package/dist/esm/operations/tuningIndex.d.ts.map +1 -0
  551. package/dist/esm/operations/tuningIndex.js +155 -0
  552. package/dist/esm/operations/tuningIndex.js.map +1 -0
  553. package/dist/esm/operations/tuningOptions.d.ts +46 -0
  554. package/dist/esm/operations/tuningOptions.d.ts.map +1 -0
  555. package/dist/esm/operations/tuningOptions.js +182 -0
  556. package/dist/esm/operations/tuningOptions.js.map +1 -0
  557. package/dist/esm/operations/virtualEndpoints.d.ts +5 -5
  558. package/dist/esm/operations/virtualEndpoints.d.ts.map +1 -1
  559. package/dist/esm/operations/virtualEndpoints.js +3 -3
  560. package/dist/esm/operations/virtualEndpoints.js.map +1 -1
  561. package/dist/esm/operations/virtualNetworkSubnetUsage.d.ts +3 -3
  562. package/dist/esm/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
  563. package/dist/esm/operations/virtualNetworkSubnetUsage.js +1 -5
  564. package/dist/esm/operations/virtualNetworkSubnetUsage.js.map +1 -1
  565. package/dist/esm/operationsInterfaces/administrators.d.ts +7 -7
  566. package/dist/esm/operationsInterfaces/administrators.d.ts.map +1 -1
  567. package/dist/esm/operationsInterfaces/administrators.js.map +1 -1
  568. package/dist/esm/operationsInterfaces/backups.d.ts +3 -3
  569. package/dist/esm/operationsInterfaces/backups.d.ts.map +1 -1
  570. package/dist/esm/operationsInterfaces/backups.js.map +1 -1
  571. package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts +1 -1
  572. package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  573. package/dist/esm/operationsInterfaces/checkNameAvailability.js.map +1 -1
  574. package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
  575. package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  576. package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
  577. package/dist/esm/operationsInterfaces/configurations.d.ts +3 -3
  578. package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -1
  579. package/dist/esm/operationsInterfaces/configurations.js.map +1 -1
  580. package/dist/esm/operationsInterfaces/databases.d.ts +3 -3
  581. package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -1
  582. package/dist/esm/operationsInterfaces/databases.js.map +1 -1
  583. package/dist/esm/operationsInterfaces/firewallRules.d.ts +3 -3
  584. package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +1 -1
  585. package/dist/esm/operationsInterfaces/firewallRules.js.map +1 -1
  586. package/dist/esm/operationsInterfaces/flexibleServer.d.ts +2 -2
  587. package/dist/esm/operationsInterfaces/flexibleServer.d.ts.map +1 -1
  588. package/dist/esm/operationsInterfaces/flexibleServer.js.map +1 -1
  589. package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
  590. package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  591. package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
  592. package/dist/esm/operationsInterfaces/index.d.ts +4 -0
  593. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  594. package/dist/esm/operationsInterfaces/index.js +4 -0
  595. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  596. package/dist/esm/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  597. package/dist/esm/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  598. package/dist/esm/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
  599. package/dist/esm/operationsInterfaces/logFiles.d.ts +2 -2
  600. package/dist/esm/operationsInterfaces/logFiles.d.ts.map +1 -1
  601. package/dist/esm/operationsInterfaces/logFiles.js.map +1 -1
  602. package/dist/esm/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
  603. package/dist/esm/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
  604. package/dist/esm/operationsInterfaces/ltrBackupOperations.js.map +1 -1
  605. package/dist/esm/operationsInterfaces/migrations.d.ts +2 -2
  606. package/dist/esm/operationsInterfaces/migrations.d.ts.map +1 -1
  607. package/dist/esm/operationsInterfaces/migrations.js.map +1 -1
  608. package/dist/esm/operationsInterfaces/operations.d.ts +3 -2
  609. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  610. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  611. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
  612. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
  613. package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
  614. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  615. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  616. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  617. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
  618. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  619. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  620. package/dist/esm/operationsInterfaces/quotaUsages.d.ts +12 -0
  621. package/dist/esm/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  622. package/dist/esm/operationsInterfaces/quotaUsages.js +9 -0
  623. package/dist/esm/operationsInterfaces/quotaUsages.js.map +1 -0
  624. package/dist/esm/operationsInterfaces/replicas.d.ts +2 -2
  625. package/dist/esm/operationsInterfaces/replicas.d.ts.map +1 -1
  626. package/dist/esm/operationsInterfaces/replicas.js.map +1 -1
  627. package/dist/esm/operationsInterfaces/serverCapabilities.d.ts +2 -2
  628. package/dist/esm/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
  629. package/dist/esm/operationsInterfaces/serverCapabilities.js.map +1 -1
  630. package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
  631. package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
  632. package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
  633. package/dist/esm/operationsInterfaces/servers.d.ts +3 -3
  634. package/dist/esm/operationsInterfaces/servers.d.ts.map +1 -1
  635. package/dist/esm/operationsInterfaces/servers.js.map +1 -1
  636. package/dist/esm/operationsInterfaces/tuningConfiguration.d.ts +90 -0
  637. package/dist/esm/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
  638. package/dist/esm/operationsInterfaces/tuningConfiguration.js +9 -0
  639. package/dist/esm/operationsInterfaces/tuningConfiguration.js.map +1 -0
  640. package/dist/esm/operationsInterfaces/tuningIndex.d.ts +14 -0
  641. package/dist/esm/operationsInterfaces/tuningIndex.d.ts.map +1 -0
  642. package/dist/esm/operationsInterfaces/tuningIndex.js +9 -0
  643. package/dist/esm/operationsInterfaces/tuningIndex.js.map +1 -0
  644. package/dist/esm/operationsInterfaces/tuningOptions.d.ts +21 -0
  645. package/dist/esm/operationsInterfaces/tuningOptions.d.ts.map +1 -0
  646. package/dist/esm/operationsInterfaces/tuningOptions.js +9 -0
  647. package/dist/esm/operationsInterfaces/tuningOptions.js.map +1 -0
  648. package/dist/esm/operationsInterfaces/virtualEndpoints.d.ts +3 -3
  649. package/dist/esm/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
  650. package/dist/esm/operationsInterfaces/virtualEndpoints.js.map +1 -1
  651. package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
  652. package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
  653. package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
  654. package/dist/esm/pagingHelper.d.ts.map +1 -1
  655. package/dist/esm/pagingHelper.js.map +1 -1
  656. package/dist/esm/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
  657. package/dist/esm/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  658. package/dist/esm/postgreSQLManagementFlexibleServerClient.js +11 -11
  659. package/dist/esm/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  660. package/dist/react-native/lroImpl.d.ts +1 -1
  661. package/dist/react-native/lroImpl.d.ts.map +1 -1
  662. package/dist/react-native/lroImpl.js.map +1 -1
  663. package/dist/react-native/models/index.d.ts +506 -35
  664. package/dist/react-native/models/index.d.ts.map +1 -1
  665. package/dist/react-native/models/index.js +70 -0
  666. package/dist/react-native/models/index.js.map +1 -1
  667. package/dist/react-native/models/mappers.d.ts +23 -1
  668. package/dist/react-native/models/mappers.d.ts.map +1 -1
  669. package/dist/react-native/models/mappers.js +788 -99
  670. package/dist/react-native/models/mappers.js.map +1 -1
  671. package/dist/react-native/models/parameters.d.ts +5 -1
  672. package/dist/react-native/models/parameters.d.ts.map +1 -1
  673. package/dist/react-native/models/parameters.js +36 -3
  674. package/dist/react-native/models/parameters.js.map +1 -1
  675. package/dist/react-native/operations/administrators.d.ts +9 -9
  676. package/dist/react-native/operations/administrators.d.ts.map +1 -1
  677. package/dist/react-native/operations/administrators.js +7 -7
  678. package/dist/react-native/operations/administrators.js.map +1 -1
  679. package/dist/react-native/operations/backups.d.ts +5 -5
  680. package/dist/react-native/operations/backups.d.ts.map +1 -1
  681. package/dist/react-native/operations/backups.js +3 -3
  682. package/dist/react-native/operations/backups.js.map +1 -1
  683. package/dist/react-native/operations/checkNameAvailability.d.ts +3 -3
  684. package/dist/react-native/operations/checkNameAvailability.d.ts.map +1 -1
  685. package/dist/react-native/operations/checkNameAvailability.js.map +1 -1
  686. package/dist/react-native/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
  687. package/dist/react-native/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  688. package/dist/react-native/operations/checkNameAvailabilityWithLocation.js +1 -5
  689. package/dist/react-native/operations/checkNameAvailabilityWithLocation.js.map +1 -1
  690. package/dist/react-native/operations/configurations.d.ts +5 -5
  691. package/dist/react-native/operations/configurations.d.ts.map +1 -1
  692. package/dist/react-native/operations/configurations.js +3 -3
  693. package/dist/react-native/operations/configurations.js.map +1 -1
  694. package/dist/react-native/operations/databases.d.ts +5 -5
  695. package/dist/react-native/operations/databases.d.ts.map +1 -1
  696. package/dist/react-native/operations/databases.js +3 -3
  697. package/dist/react-native/operations/databases.js.map +1 -1
  698. package/dist/react-native/operations/firewallRules.d.ts +5 -5
  699. package/dist/react-native/operations/firewallRules.d.ts.map +1 -1
  700. package/dist/react-native/operations/firewallRules.js +3 -3
  701. package/dist/react-native/operations/firewallRules.js.map +1 -1
  702. package/dist/react-native/operations/flexibleServer.d.ts +4 -4
  703. package/dist/react-native/operations/flexibleServer.d.ts.map +1 -1
  704. package/dist/react-native/operations/flexibleServer.js +1 -1
  705. package/dist/react-native/operations/flexibleServer.js.map +1 -1
  706. package/dist/react-native/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
  707. package/dist/react-native/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  708. package/dist/react-native/operations/getPrivateDnsZoneSuffix.js.map +1 -1
  709. package/dist/react-native/operations/index.d.ts +4 -0
  710. package/dist/react-native/operations/index.d.ts.map +1 -1
  711. package/dist/react-native/operations/index.js +4 -0
  712. package/dist/react-native/operations/index.js.map +1 -1
  713. package/dist/react-native/operations/locationBasedCapabilities.d.ts +4 -4
  714. package/dist/react-native/operations/locationBasedCapabilities.d.ts.map +1 -1
  715. package/dist/react-native/operations/locationBasedCapabilities.js +3 -7
  716. package/dist/react-native/operations/locationBasedCapabilities.js.map +1 -1
  717. package/dist/react-native/operations/logFiles.d.ts +4 -4
  718. package/dist/react-native/operations/logFiles.d.ts.map +1 -1
  719. package/dist/react-native/operations/logFiles.js +2 -2
  720. package/dist/react-native/operations/logFiles.js.map +1 -1
  721. package/dist/react-native/operations/ltrBackupOperations.d.ts +4 -4
  722. package/dist/react-native/operations/ltrBackupOperations.d.ts.map +1 -1
  723. package/dist/react-native/operations/ltrBackupOperations.js +2 -2
  724. package/dist/react-native/operations/ltrBackupOperations.js.map +1 -1
  725. package/dist/react-native/operations/migrations.d.ts +4 -4
  726. package/dist/react-native/operations/migrations.d.ts.map +1 -1
  727. package/dist/react-native/operations/migrations.js +2 -2
  728. package/dist/react-native/operations/migrations.js.map +1 -1
  729. package/dist/react-native/operations/operations.d.ts +18 -4
  730. package/dist/react-native/operations/operations.d.ts.map +1 -1
  731. package/dist/react-native/operations/operations.js +87 -0
  732. package/dist/react-native/operations/operations.js.map +1 -1
  733. package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts +4 -4
  734. package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
  735. package/dist/react-native/operations/privateEndpointConnectionOperations.js +1 -1
  736. package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -1
  737. package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
  738. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  739. package/dist/react-native/operations/privateEndpointConnections.js +2 -2
  740. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  741. package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
  742. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  743. package/dist/react-native/operations/privateLinkResources.js +2 -2
  744. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  745. package/dist/react-native/operations/quotaUsages.d.ts +35 -0
  746. package/dist/react-native/operations/quotaUsages.d.ts.map +1 -0
  747. package/dist/react-native/operations/quotaUsages.js +141 -0
  748. package/dist/react-native/operations/quotaUsages.js.map +1 -0
  749. package/dist/react-native/operations/replicas.d.ts +4 -4
  750. package/dist/react-native/operations/replicas.d.ts.map +1 -1
  751. package/dist/react-native/operations/replicas.js.map +1 -1
  752. package/dist/react-native/operations/serverCapabilities.d.ts +4 -4
  753. package/dist/react-native/operations/serverCapabilities.d.ts.map +1 -1
  754. package/dist/react-native/operations/serverCapabilities.js +2 -2
  755. package/dist/react-native/operations/serverCapabilities.js.map +1 -1
  756. package/dist/react-native/operations/serverThreatProtectionSettings.d.ts +5 -5
  757. package/dist/react-native/operations/serverThreatProtectionSettings.d.ts.map +1 -1
  758. package/dist/react-native/operations/serverThreatProtectionSettings.js +3 -3
  759. package/dist/react-native/operations/serverThreatProtectionSettings.js.map +1 -1
  760. package/dist/react-native/operations/servers.d.ts +5 -5
  761. package/dist/react-native/operations/servers.d.ts.map +1 -1
  762. package/dist/react-native/operations/servers.js +7 -15
  763. package/dist/react-native/operations/servers.js.map +1 -1
  764. package/dist/react-native/operations/tuningConfiguration.d.ts +137 -0
  765. package/dist/react-native/operations/tuningConfiguration.d.ts.map +1 -0
  766. package/dist/react-native/operations/tuningConfiguration.js +638 -0
  767. package/dist/react-native/operations/tuningConfiguration.js.map +1 -0
  768. package/dist/react-native/operations/tuningIndex.d.ts +41 -0
  769. package/dist/react-native/operations/tuningIndex.d.ts.map +1 -0
  770. package/dist/react-native/operations/tuningIndex.js +155 -0
  771. package/dist/react-native/operations/tuningIndex.js.map +1 -0
  772. package/dist/react-native/operations/tuningOptions.d.ts +46 -0
  773. package/dist/react-native/operations/tuningOptions.d.ts.map +1 -0
  774. package/dist/react-native/operations/tuningOptions.js +182 -0
  775. package/dist/react-native/operations/tuningOptions.js.map +1 -0
  776. package/dist/react-native/operations/virtualEndpoints.d.ts +5 -5
  777. package/dist/react-native/operations/virtualEndpoints.d.ts.map +1 -1
  778. package/dist/react-native/operations/virtualEndpoints.js +3 -3
  779. package/dist/react-native/operations/virtualEndpoints.js.map +1 -1
  780. package/dist/react-native/operations/virtualNetworkSubnetUsage.d.ts +3 -3
  781. package/dist/react-native/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
  782. package/dist/react-native/operations/virtualNetworkSubnetUsage.js +1 -5
  783. package/dist/react-native/operations/virtualNetworkSubnetUsage.js.map +1 -1
  784. package/dist/react-native/operationsInterfaces/administrators.d.ts +7 -7
  785. package/dist/react-native/operationsInterfaces/administrators.d.ts.map +1 -1
  786. package/dist/react-native/operationsInterfaces/administrators.js.map +1 -1
  787. package/dist/react-native/operationsInterfaces/backups.d.ts +3 -3
  788. package/dist/react-native/operationsInterfaces/backups.d.ts.map +1 -1
  789. package/dist/react-native/operationsInterfaces/backups.js.map +1 -1
  790. package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts +1 -1
  791. package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
  792. package/dist/react-native/operationsInterfaces/checkNameAvailability.js.map +1 -1
  793. package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
  794. package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
  795. package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
  796. package/dist/react-native/operationsInterfaces/configurations.d.ts +3 -3
  797. package/dist/react-native/operationsInterfaces/configurations.d.ts.map +1 -1
  798. package/dist/react-native/operationsInterfaces/configurations.js.map +1 -1
  799. package/dist/react-native/operationsInterfaces/databases.d.ts +3 -3
  800. package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -1
  801. package/dist/react-native/operationsInterfaces/databases.js.map +1 -1
  802. package/dist/react-native/operationsInterfaces/firewallRules.d.ts +3 -3
  803. package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +1 -1
  804. package/dist/react-native/operationsInterfaces/firewallRules.js.map +1 -1
  805. package/dist/react-native/operationsInterfaces/flexibleServer.d.ts +2 -2
  806. package/dist/react-native/operationsInterfaces/flexibleServer.d.ts.map +1 -1
  807. package/dist/react-native/operationsInterfaces/flexibleServer.js.map +1 -1
  808. package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
  809. package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
  810. package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
  811. package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
  812. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  813. package/dist/react-native/operationsInterfaces/index.js +4 -0
  814. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  815. package/dist/react-native/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
  816. package/dist/react-native/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
  817. package/dist/react-native/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
  818. package/dist/react-native/operationsInterfaces/logFiles.d.ts +2 -2
  819. package/dist/react-native/operationsInterfaces/logFiles.d.ts.map +1 -1
  820. package/dist/react-native/operationsInterfaces/logFiles.js.map +1 -1
  821. package/dist/react-native/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
  822. package/dist/react-native/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
  823. package/dist/react-native/operationsInterfaces/ltrBackupOperations.js.map +1 -1
  824. package/dist/react-native/operationsInterfaces/migrations.d.ts +2 -2
  825. package/dist/react-native/operationsInterfaces/migrations.d.ts.map +1 -1
  826. package/dist/react-native/operationsInterfaces/migrations.js.map +1 -1
  827. package/dist/react-native/operationsInterfaces/operations.d.ts +3 -2
  828. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  829. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  830. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
  831. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
  832. package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
  833. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  834. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  835. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  836. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
  837. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  838. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  839. package/dist/react-native/operationsInterfaces/quotaUsages.d.ts +12 -0
  840. package/dist/react-native/operationsInterfaces/quotaUsages.d.ts.map +1 -0
  841. package/dist/react-native/operationsInterfaces/quotaUsages.js +9 -0
  842. package/dist/react-native/operationsInterfaces/quotaUsages.js.map +1 -0
  843. package/dist/react-native/operationsInterfaces/replicas.d.ts +2 -2
  844. package/dist/react-native/operationsInterfaces/replicas.d.ts.map +1 -1
  845. package/dist/react-native/operationsInterfaces/replicas.js.map +1 -1
  846. package/dist/react-native/operationsInterfaces/serverCapabilities.d.ts +2 -2
  847. package/dist/react-native/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
  848. package/dist/react-native/operationsInterfaces/serverCapabilities.js.map +1 -1
  849. package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
  850. package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
  851. package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
  852. package/dist/react-native/operationsInterfaces/servers.d.ts +3 -3
  853. package/dist/react-native/operationsInterfaces/servers.d.ts.map +1 -1
  854. package/dist/react-native/operationsInterfaces/servers.js.map +1 -1
  855. package/dist/react-native/operationsInterfaces/tuningConfiguration.d.ts +90 -0
  856. package/dist/react-native/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
  857. package/dist/react-native/operationsInterfaces/tuningConfiguration.js +9 -0
  858. package/dist/react-native/operationsInterfaces/tuningConfiguration.js.map +1 -0
  859. package/dist/react-native/operationsInterfaces/tuningIndex.d.ts +14 -0
  860. package/dist/react-native/operationsInterfaces/tuningIndex.d.ts.map +1 -0
  861. package/dist/react-native/operationsInterfaces/tuningIndex.js +9 -0
  862. package/dist/react-native/operationsInterfaces/tuningIndex.js.map +1 -0
  863. package/dist/react-native/operationsInterfaces/tuningOptions.d.ts +21 -0
  864. package/dist/react-native/operationsInterfaces/tuningOptions.d.ts.map +1 -0
  865. package/dist/react-native/operationsInterfaces/tuningOptions.js +9 -0
  866. package/dist/react-native/operationsInterfaces/tuningOptions.js.map +1 -0
  867. package/dist/react-native/operationsInterfaces/virtualEndpoints.d.ts +3 -3
  868. package/dist/react-native/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
  869. package/dist/react-native/operationsInterfaces/virtualEndpoints.js.map +1 -1
  870. package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
  871. package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
  872. package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
  873. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  874. package/dist/react-native/pagingHelper.js.map +1 -1
  875. package/dist/react-native/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
  876. package/dist/react-native/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
  877. package/dist/react-native/postgreSQLManagementFlexibleServerClient.js +11 -11
  878. package/dist/react-native/postgreSQLManagementFlexibleServerClient.js.map +1 -1
  879. package/package.json +37 -48
  880. package/review/arm-postgresql-flexible.api.md +387 -7
@@ -1,4 +1,4 @@
1
- import { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
1
+ import type { OperationParameter, OperationURLParameter, OperationQueryParameter } from "@azure/core-client";
2
2
  export declare const contentType: OperationParameter;
3
3
  export declare const parameters: OperationParameter;
4
4
  export declare const accept: OperationParameter;
@@ -38,6 +38,10 @@ export declare const parameters13: OperationParameter;
38
38
  export declare const groupName: OperationURLParameter;
39
39
  export declare const threatProtectionName: OperationURLParameter;
40
40
  export declare const parameters14: OperationParameter;
41
+ export declare const tuningOption: OperationURLParameter;
42
+ export declare const recommendationType: OperationQueryParameter;
43
+ export declare const configTuningRequest: OperationParameter;
44
+ export declare const sessionId: OperationQueryParameter;
41
45
  export declare const parameters15: OperationParameter;
42
46
  export declare const virtualEndpointName: OperationURLParameter;
43
47
  export declare const parameters16: OperationParameter;
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAuB5B,eAAO,MAAM,WAAW,EAAE,kBAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,kBAGxB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,kBAUpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,qBAUnB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,qBAS5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAcxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAStB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,uBAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,qBAUtB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,qBAaxB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAa1B,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,kBAGrC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,qBAa/B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAa1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,qBAa9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,kB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BAYhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,qBAY3B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,uBAQjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,qBAY3C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,qBAYvB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,qBASlC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,qBAS1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,uBAQhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,kBAGjC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,uBASvB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,qBAcjC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,kBAG1B,CAAC"}
@@ -7,7 +7,7 @@
7
7
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.parameters17 = exports.parameters16 = exports.virtualEndpointName = exports.parameters15 = exports.parameters14 = exports.threatProtectionName = exports.groupName = exports.parameters13 = exports.privateEndpointConnectionName = exports.parameters12 = exports.migrationListFilter = exports.parameters11 = exports.migrationName = exports.targetDbServerName = exports.resourceGroupName1 = exports.subscriptionId1 = exports.parameters10 = exports.backupName1 = exports.parameters9 = exports.parameters8 = exports.parameters7 = exports.parameters6 = exports.parameters5 = exports.firewallRuleName = exports.parameters4 = exports.databaseName = exports.parameters3 = exports.parameters2 = exports.parameters1 = exports.configurationName = exports.nameAvailabilityRequest = exports.locationName = exports.backupName = exports.nextLink = exports.apiVersion = exports.objectId = exports.serverName = exports.resourceGroupName = exports.subscriptionId = exports.$host = exports.accept = exports.parameters = exports.contentType = void 0;
10
+ exports.parameters17 = exports.parameters16 = exports.virtualEndpointName = exports.parameters15 = exports.sessionId = exports.configTuningRequest = exports.recommendationType = exports.tuningOption = exports.parameters14 = exports.threatProtectionName = exports.groupName = exports.parameters13 = exports.privateEndpointConnectionName = exports.parameters12 = exports.migrationListFilter = exports.parameters11 = exports.migrationName = exports.targetDbServerName = exports.resourceGroupName1 = exports.subscriptionId1 = exports.parameters10 = exports.backupName1 = exports.parameters9 = exports.parameters8 = exports.parameters7 = exports.parameters6 = exports.parameters5 = exports.firewallRuleName = exports.parameters4 = exports.databaseName = exports.parameters3 = exports.parameters2 = exports.parameters1 = exports.configurationName = exports.nameAvailabilityRequest = exports.locationName = exports.backupName = exports.nextLink = exports.apiVersion = exports.objectId = exports.serverName = exports.resourceGroupName = exports.subscriptionId = exports.$host = exports.accept = exports.parameters = exports.contentType = void 0;
11
11
  const mappers_js_1 = require("../models/mappers.js");
12
12
  exports.contentType = {
13
13
  parameterPath: ["options", "contentType"],
@@ -98,7 +98,7 @@ exports.objectId = {
98
98
  exports.apiVersion = {
99
99
  parameterPath: "apiVersion",
100
100
  mapper: {
101
- defaultValue: "2024-08-01",
101
+ defaultValue: "2025-01-01-preview",
102
102
  isConstant: true,
103
103
  serializedName: "api-version",
104
104
  type: {
@@ -179,7 +179,7 @@ exports.databaseName = {
179
179
  parameterPath: "databaseName",
180
180
  mapper: {
181
181
  constraints: {
182
- Pattern: new RegExp("^[-\\w\\._]+$"),
182
+ Pattern: new RegExp("^[a-zA-Z_][a-zA-Z0-9_]{0,30}$"),
183
183
  MinLength: 1,
184
184
  },
185
185
  serializedName: "databaseName",
@@ -357,6 +357,39 @@ exports.parameters14 = {
357
357
  parameterPath: "parameters",
358
358
  mapper: mappers_js_1.ServerThreatProtectionSettingsModel,
359
359
  };
360
+ exports.tuningOption = {
361
+ parameterPath: "tuningOption",
362
+ mapper: {
363
+ serializedName: "tuningOption",
364
+ required: true,
365
+ type: {
366
+ name: "String",
367
+ },
368
+ },
369
+ };
370
+ exports.recommendationType = {
371
+ parameterPath: ["options", "recommendationType"],
372
+ mapper: {
373
+ serializedName: "recommendationType",
374
+ type: {
375
+ name: "String",
376
+ },
377
+ },
378
+ };
379
+ exports.configTuningRequest = {
380
+ parameterPath: "configTuningRequest",
381
+ mapper: mappers_js_1.ConfigTuningRequestParameter,
382
+ };
383
+ exports.sessionId = {
384
+ parameterPath: "sessionId",
385
+ mapper: {
386
+ serializedName: "sessionId",
387
+ required: true,
388
+ type: {
389
+ name: "String",
390
+ },
391
+ },
392
+ };
360
393
  exports.parameters15 = {
361
394
  parameterPath: "parameters",
362
395
  mapper: mappers_js_1.VirtualEndpointResource,
@@ -1 +1 @@
1
- {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAoB8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,4CAAqC;CAC9C,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,KAAK,GAA0B;IAC1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oBAAoB,GAA0B;IACzD,aAAa,EAAE,sBAAsB;IACrC,MAAM,EAAE;QACN,cAAc,EAAE,sBAAsB;QACtC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,gDAAyC;CAClD,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,oCAA6B;CACtC,CAAC;AAEW,QAAA,mBAAmB,GAA0B;IACxD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE;QACN,WAAW,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,uCAAuC,CAAC;YAC5D,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,4CAAqC;CAC9C,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+CAAwC;CACjD,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ActiveDirectoryAdministratorAdd as ActiveDirectoryAdministratorAddMapper,\n CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,\n ConfigurationForUpdate as ConfigurationForUpdateMapper,\n Configuration as ConfigurationMapper,\n Database as DatabaseMapper,\n FirewallRule as FirewallRuleMapper,\n Server as ServerMapper,\n ServerForUpdate as ServerForUpdateMapper,\n RestartParameter as RestartParameterMapper,\n LtrPreBackupRequest as LtrPreBackupRequestMapper,\n LtrBackupRequest as LtrBackupRequestMapper,\n MigrationResource as MigrationResourceMapper,\n MigrationResourceForPatch as MigrationResourceForPatchMapper,\n MigrationNameAvailabilityResource as MigrationNameAvailabilityResourceMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n ServerThreatProtectionSettingsModel as ServerThreatProtectionSettingsModelMapper,\n VirtualEndpointResource as VirtualEndpointResourceMapper,\n VirtualEndpointResourceForPatch as VirtualEndpointResourceForPatchMapper,\n VirtualNetworkSubnetUsageParameter as VirtualNetworkSubnetUsageParameterMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ActiveDirectoryAdministratorAddMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverName: OperationURLParameter = {\n parameterPath: \"serverName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\"),\n MaxLength: 63,\n MinLength: 3,\n },\n serializedName: \"serverName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const objectId: OperationURLParameter = {\n parameterPath: \"objectId\",\n mapper: {\n serializedName: \"objectId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2024-08-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const backupName: OperationURLParameter = {\n parameterPath: \"backupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"backupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const locationName: OperationURLParameter = {\n parameterPath: \"locationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"locationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nameAvailabilityRequest: OperationParameter = {\n parameterPath: \"nameAvailabilityRequest\",\n mapper: CheckNameAvailabilityRequestMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ConfigurationForUpdateMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ConfigurationMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DatabaseMapper,\n};\n\nexport const databaseName: OperationURLParameter = {\n parameterPath: \"databaseName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"databaseName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FirewallRuleMapper,\n};\n\nexport const firewallRuleName: OperationURLParameter = {\n parameterPath: \"firewallRuleName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"firewallRuleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerMapper,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerForUpdateMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: RestartParameterMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LtrPreBackupRequestMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LtrBackupRequestMapper,\n};\n\nexport const backupName1: OperationURLParameter = {\n parameterPath: \"backupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\"),\n },\n serializedName: \"backupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationResourceMapper,\n};\n\nexport const subscriptionId1: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"([a-z0-9]){8,8}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){12,12}\",\n ),\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-a-z0-9A-Z._()]+[^.]$\"),\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const targetDbServerName: OperationURLParameter = {\n parameterPath: \"targetDbServerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"([-a-z0-9]){3,63}\"),\n },\n serializedName: \"targetDbServerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const migrationName: OperationURLParameter = {\n parameterPath: \"migrationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]*$\"),\n },\n serializedName: \"migrationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationResourceForPatchMapper,\n};\n\nexport const migrationListFilter: OperationQueryParameter = {\n parameterPath: [\"options\", \"migrationListFilter\"],\n mapper: {\n serializedName: \"migrationListFilter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationNameAvailabilityResourceMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z][a-zA-Z0-9-]*\\\\.[a-fA-F0-9\\\\-]+$\"),\n },\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters13: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const groupName: OperationURLParameter = {\n parameterPath: \"groupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"groupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const threatProtectionName: OperationURLParameter = {\n parameterPath: \"threatProtectionName\",\n mapper: {\n serializedName: \"threatProtectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters14: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerThreatProtectionSettingsModelMapper,\n};\n\nexport const parameters15: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualEndpointResourceMapper,\n};\n\nexport const virtualEndpointName: OperationURLParameter = {\n parameterPath: \"virtualEndpointName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9][A-Za-z0-9-]{0,62}(?<!-)$\"),\n MaxLength: 63,\n MinLength: 3,\n },\n serializedName: \"virtualEndpointName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters16: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualEndpointResourceForPatchMapper,\n};\n\nexport const parameters17: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualNetworkSubnetUsageParameterMapper,\n};\n"]}
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAOH,qDAqB8B;AAEjB,QAAA,WAAW,GAAuB;IAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACzC,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,cAAc;QAC9B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,UAAU,GAAuB;IAC5C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,4CAAqC;CAC9C,CAAC;AAEW,QAAA,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAA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W,EAAE;YACX,OAAO,EAAE,IAAI,MAAM,CAAC,uCAAuC,CAAC;YAC5D,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE,qBAAqB;QACrC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,4CAAqC;CAC9C,CAAC;AAEW,QAAA,YAAY,GAAuB;IAC9C,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE,+CAAwC;CACjD,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter,\n} from \"@azure/core-client\";\nimport {\n ActiveDirectoryAdministratorAdd as ActiveDirectoryAdministratorAddMapper,\n CheckNameAvailabilityRequest as CheckNameAvailabilityRequestMapper,\n ConfigurationForUpdate as ConfigurationForUpdateMapper,\n Configuration as ConfigurationMapper,\n Database as DatabaseMapper,\n FirewallRule as FirewallRuleMapper,\n Server as ServerMapper,\n ServerForUpdate as ServerForUpdateMapper,\n RestartParameter as RestartParameterMapper,\n LtrPreBackupRequest as LtrPreBackupRequestMapper,\n LtrBackupRequest as LtrBackupRequestMapper,\n MigrationResource as MigrationResourceMapper,\n MigrationResourceForPatch as MigrationResourceForPatchMapper,\n MigrationNameAvailabilityResource as MigrationNameAvailabilityResourceMapper,\n PrivateEndpointConnection as PrivateEndpointConnectionMapper,\n ServerThreatProtectionSettingsModel as ServerThreatProtectionSettingsModelMapper,\n ConfigTuningRequestParameter as ConfigTuningRequestParameterMapper,\n VirtualEndpointResource as VirtualEndpointResourceMapper,\n VirtualEndpointResourceForPatch as VirtualEndpointResourceForPatchMapper,\n VirtualNetworkSubnetUsageParameter as VirtualNetworkSubnetUsageParameterMapper,\n} from \"../models/mappers.js\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ActiveDirectoryAdministratorAddMapper,\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"Uuid\",\n },\n },\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n MaxLength: 90,\n MinLength: 1,\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const serverName: OperationURLParameter = {\n parameterPath: \"serverName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\"),\n MaxLength: 63,\n MinLength: 3,\n },\n serializedName: \"serverName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const objectId: OperationURLParameter = {\n parameterPath: \"objectId\",\n mapper: {\n serializedName: \"objectId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2025-01-01-preview\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n skipEncoding: true,\n};\n\nexport const backupName: OperationURLParameter = {\n parameterPath: \"backupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"backupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const locationName: OperationURLParameter = {\n parameterPath: \"locationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"locationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const nameAvailabilityRequest: OperationParameter = {\n parameterPath: \"nameAvailabilityRequest\",\n mapper: CheckNameAvailabilityRequestMapper,\n};\n\nexport const configurationName: OperationURLParameter = {\n parameterPath: \"configurationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"configurationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters1: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ConfigurationForUpdateMapper,\n};\n\nexport const parameters2: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ConfigurationMapper,\n};\n\nexport const parameters3: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: DatabaseMapper,\n};\n\nexport const databaseName: OperationURLParameter = {\n parameterPath: \"databaseName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z_][a-zA-Z0-9_]{0,30}$\"),\n MinLength: 1,\n },\n serializedName: \"databaseName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters4: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: FirewallRuleMapper,\n};\n\nexport const firewallRuleName: OperationURLParameter = {\n parameterPath: \"firewallRuleName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._]+$\"),\n MinLength: 1,\n },\n serializedName: \"firewallRuleName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters5: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerMapper,\n};\n\nexport const parameters6: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerForUpdateMapper,\n};\n\nexport const parameters7: OperationParameter = {\n parameterPath: [\"options\", \"parameters\"],\n mapper: RestartParameterMapper,\n};\n\nexport const parameters8: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LtrPreBackupRequestMapper,\n};\n\nexport const parameters9: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: LtrBackupRequestMapper,\n};\n\nexport const backupName1: OperationURLParameter = {\n parameterPath: \"backupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*\"),\n },\n serializedName: \"backupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters10: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationResourceMapper,\n};\n\nexport const subscriptionId1: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\n \"([a-z0-9]){8,8}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){4,4}[-]([a-z0-9]){12,12}\",\n ),\n },\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const resourceGroupName1: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-a-z0-9A-Z._()]+[^.]$\"),\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const targetDbServerName: OperationURLParameter = {\n parameterPath: \"targetDbServerName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"([-a-z0-9]){3,63}\"),\n },\n serializedName: \"targetDbServerName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const migrationName: OperationURLParameter = {\n parameterPath: \"migrationName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-z][a-z0-9]*$\"),\n },\n serializedName: \"migrationName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters11: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationResourceForPatchMapper,\n};\n\nexport const migrationListFilter: OperationQueryParameter = {\n parameterPath: [\"options\", \"migrationListFilter\"],\n mapper: {\n serializedName: \"migrationListFilter\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters12: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: MigrationNameAvailabilityResourceMapper,\n};\n\nexport const privateEndpointConnectionName: OperationURLParameter = {\n parameterPath: \"privateEndpointConnectionName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[a-zA-Z][a-zA-Z0-9-]*\\\\.[a-fA-F0-9\\\\-]+$\"),\n },\n serializedName: \"privateEndpointConnectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters13: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: PrivateEndpointConnectionMapper,\n};\n\nexport const groupName: OperationURLParameter = {\n parameterPath: \"groupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^.*$\"),\n },\n serializedName: \"groupName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const threatProtectionName: OperationURLParameter = {\n parameterPath: \"threatProtectionName\",\n mapper: {\n serializedName: \"threatProtectionName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters14: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: ServerThreatProtectionSettingsModelMapper,\n};\n\nexport const tuningOption: OperationURLParameter = {\n parameterPath: \"tuningOption\",\n mapper: {\n serializedName: \"tuningOption\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const recommendationType: OperationQueryParameter = {\n parameterPath: [\"options\", \"recommendationType\"],\n mapper: {\n serializedName: \"recommendationType\",\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const configTuningRequest: OperationParameter = {\n parameterPath: \"configTuningRequest\",\n mapper: ConfigTuningRequestParameterMapper,\n};\n\nexport const sessionId: OperationQueryParameter = {\n parameterPath: \"sessionId\",\n mapper: {\n serializedName: \"sessionId\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters15: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualEndpointResourceMapper,\n};\n\nexport const virtualEndpointName: OperationURLParameter = {\n parameterPath: \"virtualEndpointName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[A-Za-z0-9][A-Za-z0-9-]{0,62}(?<!-)$\"),\n MaxLength: 63,\n MinLength: 3,\n },\n serializedName: \"virtualEndpointName\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n};\n\nexport const parameters16: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualEndpointResourceForPatchMapper,\n};\n\nexport const parameters17: OperationParameter = {\n parameterPath: \"parameters\",\n mapper: VirtualNetworkSubnetUsageParameterMapper,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Administrators } from "../operationsInterfaces/index.js";
3
- import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { ActiveDirectoryAdministrator, AdministratorsListByServerOptionalParams, ActiveDirectoryAdministratorAdd, AdministratorsCreateOptionalParams, AdministratorsCreateResponse, AdministratorsDeleteOptionalParams, AdministratorsGetOptionalParams, AdministratorsGetResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Administrators } from "../operationsInterfaces/index.js";
3
+ import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { ActiveDirectoryAdministrator, AdministratorsListByServerOptionalParams, ActiveDirectoryAdministratorAdd, AdministratorsCreateOptionalParams, AdministratorsCreateResponse, AdministratorsDeleteOptionalParams, AdministratorsGetOptionalParams, AdministratorsGetResponse } from "../models/index.js";
6
6
  /** Class containing Administrators operations. */
7
7
  export declare class AdministratorsImpl implements Administrators {
8
8
  private readonly client;
@@ -25,7 +25,7 @@ export declare class AdministratorsImpl implements Administrators {
25
25
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
26
26
  * @param serverName The name of the server.
27
27
  * @param objectId Guid of the objectId for the administrator.
28
- * @param parameters The required parameters for adding an active directory administrator for a server.
28
+ * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.
29
29
  * @param options The options parameters.
30
30
  */
31
31
  beginCreate(resourceGroupName: string, serverName: string, objectId: string, parameters: ActiveDirectoryAdministratorAdd, options?: AdministratorsCreateOptionalParams): Promise<SimplePollerLike<OperationState<AdministratorsCreateResponse>, AdministratorsCreateResponse>>;
@@ -34,12 +34,12 @@ export declare class AdministratorsImpl implements Administrators {
34
34
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
35
35
  * @param serverName The name of the server.
36
36
  * @param objectId Guid of the objectId for the administrator.
37
- * @param parameters The required parameters for adding an active directory administrator for a server.
37
+ * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.
38
38
  * @param options The options parameters.
39
39
  */
40
40
  beginCreateAndWait(resourceGroupName: string, serverName: string, objectId: string, parameters: ActiveDirectoryAdministratorAdd, options?: AdministratorsCreateOptionalParams): Promise<AdministratorsCreateResponse>;
41
41
  /**
42
- * Deletes an Active Directory Administrator associated with the server.
42
+ * Deletes an Microsoft Entra Administrator associated with the server.
43
43
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
44
  * @param serverName The name of the server.
45
45
  * @param objectId Guid of the objectId for the administrator.
@@ -47,7 +47,7 @@ export declare class AdministratorsImpl implements Administrators {
47
47
  */
48
48
  beginDelete(resourceGroupName: string, serverName: string, objectId: string, options?: AdministratorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
49
49
  /**
50
- * Deletes an Active Directory Administrator associated with the server.
50
+ * Deletes an Microsoft Entra Administrator associated with the server.
51
51
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
52
  * @param serverName The name of the server.
53
53
  * @param objectId Guid of the objectId for the administrator.
@@ -1 +1 @@
1
- {"version":3,"file":"administrators.d.ts","sourceRoot":"","sources":["../../../src/operations/administrators.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,4BAA4B,EAE5B,wCAAwC,EAExC,+BAA+B,EAC/B,kCAAkC,EAClC,4BAA4B,EAC5B,kCAAkC,EAClC,+BAA+B,EAC/B,yBAAyB,EAE1B,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,qBAAa,kBAAmB,YAAW,cAAc;IACvD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;OAKG;IACI,YAAY,CACjB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,4BAA4B,CAAC;YA2B5C,sBAAsB;YA6BtB,qBAAqB;IAcpC;;;;;;;OAOG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,+BAA+B,EAC3C,OAAO,CAA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;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IAOrC;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAWrB;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAW1B"}
@@ -54,7 +54,7 @@ class AdministratorsImpl {
54
54
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
55
  if (!continuationToken) {
56
56
  result = yield tslib_1.__await(this._listByServer(resourceGroupName, serverName, options));
57
- let page = result.value || [];
57
+ const page = result.value || [];
58
58
  continuationToken = result.nextLink;
59
59
  (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
60
  yield yield tslib_1.__await(page);
@@ -62,7 +62,7 @@ class AdministratorsImpl {
62
62
  while (continuationToken) {
63
63
  result = yield tslib_1.__await(this._listByServerNext(resourceGroupName, serverName, continuationToken, options));
64
64
  continuationToken = result.nextLink;
65
- let page = result.value || [];
65
+ const page = result.value || [];
66
66
  (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
67
  yield yield tslib_1.__await(page);
68
68
  }
@@ -93,7 +93,7 @@ class AdministratorsImpl {
93
93
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
94
94
  * @param serverName The name of the server.
95
95
  * @param objectId Guid of the objectId for the administrator.
96
- * @param parameters The required parameters for adding an active directory administrator for a server.
96
+ * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.
97
97
  * @param options The options parameters.
98
98
  */
99
99
  async beginCreate(resourceGroupName, serverName, objectId, parameters, options) {
@@ -137,7 +137,7 @@ class AdministratorsImpl {
137
137
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
138
138
  * @param serverName The name of the server.
139
139
  * @param objectId Guid of the objectId for the administrator.
140
- * @param parameters The required parameters for adding an active directory administrator for a server.
140
+ * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.
141
141
  * @param options The options parameters.
142
142
  */
143
143
  async beginCreateAndWait(resourceGroupName, serverName, objectId, parameters, options) {
@@ -145,7 +145,7 @@ class AdministratorsImpl {
145
145
  return poller.pollUntilDone();
146
146
  }
147
147
  /**
148
- * Deletes an Active Directory Administrator associated with the server.
148
+ * Deletes an Microsoft Entra Administrator associated with the server.
149
149
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
150
150
  * @param serverName The name of the server.
151
151
  * @param objectId Guid of the objectId for the administrator.
@@ -188,7 +188,7 @@ class AdministratorsImpl {
188
188
  return poller;
189
189
  }
190
190
  /**
191
- * Deletes an Active Directory Administrator associated with the server.
191
+ * Deletes an Microsoft Entra Administrator associated with the server.
192
192
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
193
  * @param serverName The name of the server.
194
194
  * @param objectId Guid of the objectId for the administrator.
@@ -1 +1 @@
1
- {"version":3,"file":"administrators.js","sourceRoot":"","sources":["../../../src/operations/administrators.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAe9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CACrC,iBAAiB,EACjB,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;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,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Administrators } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ActiveDirectoryAdministrator,\n AdministratorsListByServerNextOptionalParams,\n AdministratorsListByServerOptionalParams,\n AdministratorsListByServerResponse,\n ActiveDirectoryAdministratorAdd,\n AdministratorsCreateOptionalParams,\n AdministratorsCreateResponse,\n AdministratorsDeleteOptionalParams,\n AdministratorsGetOptionalParams,\n AdministratorsGetResponse,\n AdministratorsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Administrators operations. */\nexport class AdministratorsImpl implements Administrators {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class Administrators class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * List all the AAD administrators for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ActiveDirectoryAdministrator> {\n const iter = this.listByServerPagingAll(\n resourceGroupName,\n serverName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ActiveDirectoryAdministrator[]> {\n let result: AdministratorsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): AsyncIterableIterator<ActiveDirectoryAdministrator> {\n for await (const page of this.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates a new server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param parameters The required parameters for adding an active directory administrator for a server.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n parameters: ActiveDirectoryAdministratorAdd,\n options?: AdministratorsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<AdministratorsCreateResponse>,\n AdministratorsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AdministratorsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, objectId, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n AdministratorsCreateResponse,\n OperationState<AdministratorsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param parameters The required parameters for adding an active directory administrator for a server.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n parameters: ActiveDirectoryAdministratorAdd,\n options?: AdministratorsCreateOptionalParams,\n ): Promise<AdministratorsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n serverName,\n objectId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an Active Directory Administrator associated with the server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, objectId, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an Active Directory Administrator associated with the server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n serverName,\n objectId,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about a server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsGetOptionalParams,\n ): Promise<AdministratorsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, objectId, options },\n getOperationSpec,\n );\n }\n\n /**\n * List all the AAD administrators for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): Promise<AdministratorsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: AdministratorsListByServerNextOptionalParams,\n ): Promise<AdministratorsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 201: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 202: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 204: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdministratorListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdministratorListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"administrators.js","sourceRoot":"","sources":["../../../src/operations/administrators.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAe9C,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;QAChF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,UAAU,EAAE,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AAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,oJAAoJ;IAC1J,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Administrators } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n ActiveDirectoryAdministrator,\n AdministratorsListByServerNextOptionalParams,\n AdministratorsListByServerOptionalParams,\n AdministratorsListByServerResponse,\n ActiveDirectoryAdministratorAdd,\n AdministratorsCreateOptionalParams,\n AdministratorsCreateResponse,\n AdministratorsDeleteOptionalParams,\n AdministratorsGetOptionalParams,\n AdministratorsGetResponse,\n AdministratorsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Administrators operations. */\nexport class AdministratorsImpl implements Administrators {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class Administrators class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * List all the AAD administrators for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ActiveDirectoryAdministrator> {\n const iter = this.listByServerPagingAll(resourceGroupName, serverName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServerPagingPage(resourceGroupName, serverName, options, settings);\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ActiveDirectoryAdministrator[]> {\n let result: AdministratorsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): AsyncIterableIterator<ActiveDirectoryAdministrator> {\n for await (const page of this.listByServerPagingPage(resourceGroupName, serverName, options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a new server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n parameters: ActiveDirectoryAdministratorAdd,\n options?: AdministratorsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<AdministratorsCreateResponse>, AdministratorsCreateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<AdministratorsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, objectId, parameters, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n AdministratorsCreateResponse,\n OperationState<AdministratorsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a new server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param parameters The required parameters for adding an Microsoft Entra Administrator for a server.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n parameters: ActiveDirectoryAdministratorAdd,\n options?: AdministratorsCreateOptionalParams,\n ): Promise<AdministratorsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n serverName,\n objectId,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes an Microsoft Entra Administrator associated with the server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, objectId, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an Microsoft Entra Administrator associated with the server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, serverName, objectId, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Gets information about a server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param objectId Guid of the objectId for the administrator.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n objectId: string,\n options?: AdministratorsGetOptionalParams,\n ): Promise<AdministratorsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, objectId, options },\n getOperationSpec,\n );\n }\n\n /**\n * List all the AAD administrators for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: AdministratorsListByServerOptionalParams,\n ): Promise<AdministratorsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: AdministratorsListByServerNextOptionalParams,\n ): Promise<AdministratorsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 201: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 202: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n 204: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators/{objectId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ActiveDirectoryAdministrator,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.objectId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/administrators\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdministratorListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdministratorListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Backups } from "../operationsInterfaces/index.js";
3
- import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
4
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import { ServerBackup, BackupsListByServerOptionalParams, BackupsCreateOptionalParams, BackupsCreateResponse, BackupsDeleteOptionalParams, BackupsDeleteResponse, BackupsGetOptionalParams, BackupsGetResponse } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Backups } from "../operationsInterfaces/index.js";
3
+ import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
4
+ import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import type { ServerBackup, BackupsListByServerOptionalParams, BackupsCreateOptionalParams, BackupsCreateResponse, BackupsDeleteOptionalParams, BackupsDeleteResponse, BackupsGetOptionalParams, BackupsGetResponse } from "../models/index.js";
6
6
  /** Class containing Backups operations. */
7
7
  export declare class BackupsImpl implements Backups {
8
8
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"backups.d.ts","sourceRoot":"","sources":["../../../src/operations/backups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,YAAY,EAEZ,iCAAiC,EAEjC,2BAA2B,EAC3B,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,kBAAkB,EAEnB,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IA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;;;;OAMG;IACG,WAAW,CACf,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,CAAC,CAAC;IAuD1F;;;;;;OAMG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,qBAAqB,CAAC;IAKjC;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,kBAAkB,CAAC;IAO9B;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAWrB;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAW1B"}
@@ -54,7 +54,7 @@ class BackupsImpl {
54
54
  let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
55
  if (!continuationToken) {
56
56
  result = yield tslib_1.__await(this._listByServer(resourceGroupName, serverName, options));
57
- let page = result.value || [];
57
+ const page = result.value || [];
58
58
  continuationToken = result.nextLink;
59
59
  (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
60
  yield yield tslib_1.__await(page);
@@ -62,7 +62,7 @@ class BackupsImpl {
62
62
  while (continuationToken) {
63
63
  result = yield tslib_1.__await(this._listByServerNext(resourceGroupName, serverName, continuationToken, options));
64
64
  continuationToken = result.nextLink;
65
- let page = result.value || [];
65
+ const page = result.value || [];
66
66
  (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
67
  yield yield tslib_1.__await(page);
68
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"backups.js","sourceRoot":"","sources":["../../../src/operations/backups.ts"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AU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Backups } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ServerBackup,\n BackupsListByServerNextOptionalParams,\n BackupsListByServerOptionalParams,\n BackupsListByServerResponse,\n BackupsCreateOptionalParams,\n BackupsCreateResponse,\n BackupsDeleteOptionalParams,\n BackupsDeleteResponse,\n BackupsGetOptionalParams,\n BackupsGetResponse,\n BackupsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Backups operations. */\nexport class BackupsImpl implements Backups {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class Backups class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * List all the backups for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ServerBackup> {\n const iter = this.listByServerPagingAll(\n resourceGroupName,\n serverName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ServerBackup[]> {\n let result: BackupsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): AsyncIterableIterator<ServerBackup> {\n for await (const page of this.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a specific backup for PostgreSQL flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BackupsCreateResponse>,\n BackupsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BackupsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, backupName, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n BackupsCreateResponse,\n OperationState<BackupsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a specific backup for PostgreSQL flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsCreateOptionalParams,\n ): Promise<BackupsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n serverName,\n backupName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specific backup.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<BackupsDeleteResponse>,\n BackupsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BackupsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, backupName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n BackupsDeleteResponse,\n OperationState<BackupsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specific backup.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsDeleteOptionalParams,\n ): Promise<BackupsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n serverName,\n backupName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get specific backup for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsGetOptionalParams,\n ): Promise<BackupsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, backupName, options },\n getOperationSpec,\n );\n }\n\n /**\n * List all the backups for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): Promise<BackupsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: BackupsListByServerNextOptionalParams,\n ): Promise<BackupsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackup,\n },\n 201: {\n bodyMapper: Mappers.ServerBackup,\n },\n 202: {\n bodyMapper: Mappers.ServerBackup,\n },\n 204: {\n bodyMapper: Mappers.ServerBackup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"backups.js","sourceRoot":"","sources":["../../../src/operations/backups.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAe9C,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAa,WAAW;IAGtB;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAA2C;QAE3C,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;QAChF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,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,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Backups } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n ServerBackup,\n BackupsListByServerNextOptionalParams,\n BackupsListByServerOptionalParams,\n BackupsListByServerResponse,\n BackupsCreateOptionalParams,\n BackupsCreateResponse,\n BackupsDeleteOptionalParams,\n BackupsDeleteResponse,\n BackupsGetOptionalParams,\n BackupsGetResponse,\n BackupsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Backups operations. */\nexport class BackupsImpl implements Backups {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class Backups class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * List all the backups for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ServerBackup> {\n const iter = this.listByServerPagingAll(resourceGroupName, serverName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServerPagingPage(resourceGroupName, serverName, options, settings);\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ServerBackup[]> {\n let result: BackupsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): AsyncIterableIterator<ServerBackup> {\n for await (const page of this.listByServerPagingPage(resourceGroupName, serverName, options)) {\n yield* page;\n }\n }\n\n /**\n * Create a specific backup for PostgreSQL flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsCreateOptionalParams,\n ): Promise<SimplePollerLike<OperationState<BackupsCreateResponse>, BackupsCreateResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BackupsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, backupName, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n BackupsCreateResponse,\n OperationState<BackupsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a specific backup for PostgreSQL flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsCreateOptionalParams,\n ): Promise<BackupsCreateResponse> {\n const poller = await this.beginCreate(resourceGroupName, serverName, backupName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a specific backup.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<BackupsDeleteResponse>, BackupsDeleteResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<BackupsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, serverName, backupName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n BackupsDeleteResponse,\n OperationState<BackupsDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a specific backup.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsDeleteOptionalParams,\n ): Promise<BackupsDeleteResponse> {\n const poller = await this.beginDelete(resourceGroupName, serverName, backupName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Get specific backup for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param backupName The name of the backup.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n backupName: string,\n options?: BackupsGetOptionalParams,\n ): Promise<BackupsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, backupName, options },\n getOperationSpec,\n );\n }\n\n /**\n * List all the backups for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: BackupsListByServerOptionalParams,\n ): Promise<BackupsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: BackupsListByServerNextOptionalParams,\n ): Promise<BackupsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackup,\n },\n 201: {\n bodyMapper: Mappers.ServerBackup,\n },\n 202: {\n bodyMapper: Mappers.ServerBackup,\n },\n 204: {\n bodyMapper: Mappers.ServerBackup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.BackupsDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups/{backupName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackup,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.backupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/backups\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerBackupListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,6 +1,6 @@
1
- import { CheckNameAvailability } from "../operationsInterfaces/index.js";
2
- import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
3
- import { CheckNameAvailabilityRequest, CheckNameAvailabilityExecuteOptionalParams, CheckNameAvailabilityExecuteResponse } from "../models/index.js";
1
+ import type { CheckNameAvailability } from "../operationsInterfaces/index.js";
2
+ import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
3
+ import type { CheckNameAvailabilityRequest, CheckNameAvailabilityExecuteOptionalParams, CheckNameAvailabilityExecuteResponse } from "../models/index.js";
4
4
  /** Class containing CheckNameAvailability operations. */
5
5
  export declare class CheckNameAvailabilityImpl implements CheckNameAvailability {
6
6
  private readonly client;