@azure/arm-postgresql-flexible 2.0.0 → 5.0.0

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 (359) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -82
  4. package/dist/index.js +3801 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/capabilitiesList.d.ts +2 -0
  9. package/dist-esm/samples-dev/capabilitiesList.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/capabilitiesList.js +44 -0
  11. package/dist-esm/samples-dev/capabilitiesList.js.map +1 -0
  12. package/dist-esm/samples-dev/configurationGet.d.ts +2 -0
  13. package/dist-esm/samples-dev/configurationGet.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/configurationGet.js +32 -0
  15. package/dist-esm/samples-dev/configurationGet.js.map +1 -0
  16. package/dist-esm/samples-dev/configurationList.d.ts +2 -0
  17. package/dist-esm/samples-dev/configurationList.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/configurationList.js +45 -0
  19. package/dist-esm/samples-dev/configurationList.js.map +1 -0
  20. package/dist-esm/samples-dev/createADatabase.d.ts +2 -0
  21. package/dist-esm/samples-dev/createADatabase.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/createADatabase.js +33 -0
  23. package/dist-esm/samples-dev/createADatabase.js.map +1 -0
  24. package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.d.ts +2 -0
  25. package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.js +37 -0
  27. package/dist-esm/samples-dev/createADatabaseAsAPointInTimeRestore.js.map +1 -0
  28. package/dist-esm/samples-dev/createANewServer.d.ts +2 -0
  29. package/dist-esm/samples-dev/createANewServer.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/createANewServer.js +48 -0
  31. package/dist-esm/samples-dev/createANewServer.js.map +1 -0
  32. package/dist-esm/samples-dev/deleteADatabase.d.ts +2 -0
  33. package/dist-esm/samples-dev/deleteADatabase.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/deleteADatabase.js +32 -0
  35. package/dist-esm/samples-dev/deleteADatabase.js.map +1 -0
  36. package/dist-esm/samples-dev/firewallRuleCreate.d.ts +2 -0
  37. package/dist-esm/samples-dev/firewallRuleCreate.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/firewallRuleCreate.js +36 -0
  39. package/dist-esm/samples-dev/firewallRuleCreate.js.map +1 -0
  40. package/dist-esm/samples-dev/firewallRuleDelete.d.ts +2 -0
  41. package/dist-esm/samples-dev/firewallRuleDelete.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/firewallRuleDelete.js +32 -0
  43. package/dist-esm/samples-dev/firewallRuleDelete.js.map +1 -0
  44. package/dist-esm/samples-dev/firewallRuleList.d.ts +2 -0
  45. package/dist-esm/samples-dev/firewallRuleList.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/firewallRuleList.js +45 -0
  47. package/dist-esm/samples-dev/firewallRuleList.js.map +1 -0
  48. package/dist-esm/samples-dev/getADatabase.d.ts +2 -0
  49. package/dist-esm/samples-dev/getADatabase.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/getADatabase.js +32 -0
  51. package/dist-esm/samples-dev/getADatabase.js.map +1 -0
  52. package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.d.ts +2 -0
  53. package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.js +29 -0
  55. package/dist-esm/samples-dev/getPrivateDnsZoneSuffix.js.map +1 -0
  56. package/dist-esm/samples-dev/listDatabasesInAServer.d.ts +2 -0
  57. package/dist-esm/samples-dev/listDatabasesInAServer.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/listDatabasesInAServer.js +45 -0
  59. package/dist-esm/samples-dev/listDatabasesInAServer.js.map +1 -0
  60. package/dist-esm/samples-dev/nameAvailability.d.ts +2 -0
  61. package/dist-esm/samples-dev/nameAvailability.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/nameAvailability.js +33 -0
  63. package/dist-esm/samples-dev/nameAvailability.js.map +1 -0
  64. package/dist-esm/samples-dev/operationList.d.ts +2 -0
  65. package/dist-esm/samples-dev/operationList.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/operationList.js +29 -0
  67. package/dist-esm/samples-dev/operationList.js.map +1 -0
  68. package/dist-esm/samples-dev/serverDelete.d.ts +2 -0
  69. package/dist-esm/samples-dev/serverDelete.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/serverDelete.js +31 -0
  71. package/dist-esm/samples-dev/serverDelete.js.map +1 -0
  72. package/dist-esm/samples-dev/serverGet.d.ts +2 -0
  73. package/dist-esm/samples-dev/serverGet.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/serverGet.js +31 -0
  75. package/dist-esm/samples-dev/serverGet.js.map +1 -0
  76. package/dist-esm/samples-dev/serverGetWithVnet.d.ts +2 -0
  77. package/dist-esm/samples-dev/serverGetWithVnet.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/serverGetWithVnet.js +31 -0
  79. package/dist-esm/samples-dev/serverGetWithVnet.js.map +1 -0
  80. package/dist-esm/samples-dev/serverList.d.ts +2 -0
  81. package/dist-esm/samples-dev/serverList.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/serverList.js +43 -0
  83. package/dist-esm/samples-dev/serverList.js.map +1 -0
  84. package/dist-esm/samples-dev/serverListByResourceGroup.d.ts +2 -0
  85. package/dist-esm/samples-dev/serverListByResourceGroup.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/serverListByResourceGroup.js +44 -0
  87. package/dist-esm/samples-dev/serverListByResourceGroup.js.map +1 -0
  88. package/dist-esm/samples-dev/serverRestart.d.ts +2 -0
  89. package/dist-esm/samples-dev/serverRestart.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/serverRestart.js +31 -0
  91. package/dist-esm/samples-dev/serverRestart.js.map +1 -0
  92. package/dist-esm/samples-dev/serverRestartWithFailover.d.ts +2 -0
  93. package/dist-esm/samples-dev/serverRestartWithFailover.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/serverRestartWithFailover.js +36 -0
  95. package/dist-esm/samples-dev/serverRestartWithFailover.js.map +1 -0
  96. package/dist-esm/samples-dev/serverStart.d.ts +2 -0
  97. package/dist-esm/samples-dev/serverStart.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/serverStart.js +31 -0
  99. package/dist-esm/samples-dev/serverStart.js.map +1 -0
  100. package/dist-esm/samples-dev/serverStop.d.ts +2 -0
  101. package/dist-esm/samples-dev/serverStop.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/serverStop.js +31 -0
  103. package/dist-esm/samples-dev/serverStop.js.map +1 -0
  104. package/dist-esm/samples-dev/serverUpdate.d.ts +2 -0
  105. package/dist-esm/samples-dev/serverUpdate.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/serverUpdate.js +39 -0
  107. package/dist-esm/samples-dev/serverUpdate.js.map +1 -0
  108. package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.d.ts +2 -0
  109. package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.js +41 -0
  111. package/dist-esm/samples-dev/serverUpdateWithCustomerMaintenanceWindow.js.map +1 -0
  112. package/dist-esm/samples-dev/updateAUserConfiguration.d.ts +2 -0
  113. package/dist-esm/samples-dev/updateAUserConfiguration.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/updateAUserConfiguration.js +33 -0
  115. package/dist-esm/samples-dev/updateAUserConfiguration.js.map +1 -0
  116. package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.d.ts +2 -0
  117. package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.js +33 -0
  119. package/dist-esm/samples-dev/virtualNetworkSubnetUsageList.js.map +1 -0
  120. package/dist-esm/src/index.d.ts +5 -0
  121. package/dist-esm/src/index.d.ts.map +1 -0
  122. package/{esm/models/checkNameAvailabilityMappers.js → dist-esm/src/index.js} +5 -2
  123. package/dist-esm/src/index.js.map +1 -0
  124. package/dist-esm/src/lroImpl.d.ts +16 -0
  125. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  126. package/dist-esm/src/lroImpl.js +29 -0
  127. package/dist-esm/src/lroImpl.js.map +1 -0
  128. package/dist-esm/src/models/index.d.ts +1104 -0
  129. package/dist-esm/src/models/index.d.ts.map +1 -0
  130. package/dist-esm/src/models/index.js +112 -0
  131. package/dist-esm/src/models/index.js.map +1 -0
  132. package/dist-esm/src/models/mappers.d.ts +42 -0
  133. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  134. package/{esm → dist-esm/src}/models/mappers.js +819 -743
  135. package/dist-esm/src/models/mappers.js.map +1 -0
  136. package/dist-esm/src/models/parameters.d.ts +22 -0
  137. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  138. package/{esm → dist-esm/src}/models/parameters.js +84 -63
  139. package/dist-esm/src/models/parameters.js.map +1 -0
  140. package/dist-esm/src/operations/checkNameAvailability.d.ts +19 -0
  141. package/dist-esm/src/operations/checkNameAvailability.d.ts.map +1 -0
  142. package/dist-esm/src/operations/checkNameAvailability.js +49 -0
  143. package/dist-esm/src/operations/checkNameAvailability.js.map +1 -0
  144. package/dist-esm/src/operations/configurations.d.ts +83 -0
  145. package/dist-esm/src/operations/configurations.d.ts.map +1 -0
  146. package/dist-esm/src/operations/configurations.js +343 -0
  147. package/dist-esm/src/operations/configurations.js.map +1 -0
  148. package/dist-esm/src/operations/databases.d.ts +81 -0
  149. package/dist-esm/src/operations/databases.d.ts.map +1 -0
  150. package/dist-esm/src/operations/databases.js +331 -0
  151. package/dist-esm/src/operations/databases.js.map +1 -0
  152. package/dist-esm/src/operations/firewallRules.d.ts +81 -0
  153. package/dist-esm/src/operations/firewallRules.d.ts.map +1 -0
  154. package/dist-esm/src/operations/firewallRules.js +331 -0
  155. package/dist-esm/src/operations/firewallRules.js.map +1 -0
  156. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts +18 -0
  157. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  158. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js +46 -0
  159. package/dist-esm/src/operations/getPrivateDnsZoneSuffix.js.map +1 -0
  160. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  161. package/dist-esm/src/operations/index.d.ts.map +1 -0
  162. package/{esm → dist-esm/src}/operations/index.js +1 -2
  163. package/dist-esm/src/operations/index.js.map +1 -0
  164. package/dist-esm/src/operations/locationBasedCapabilities.d.ts +35 -0
  165. package/dist-esm/src/operations/locationBasedCapabilities.d.ts.map +1 -0
  166. package/dist-esm/src/operations/locationBasedCapabilities.js +132 -0
  167. package/dist-esm/src/operations/locationBasedCapabilities.js.map +1 -0
  168. package/dist-esm/src/operations/operations.d.ts +18 -0
  169. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  170. package/dist-esm/src/operations/operations.js +46 -0
  171. package/dist-esm/src/operations/operations.js.map +1 -0
  172. package/dist-esm/src/operations/servers.d.ts +151 -0
  173. package/dist-esm/src/operations/servers.d.ts.map +1 -0
  174. package/dist-esm/src/operations/servers.js +717 -0
  175. package/dist-esm/src/operations/servers.js.map +1 -0
  176. package/dist-esm/src/operations/virtualNetworkSubnetUsage.d.ts +20 -0
  177. package/dist-esm/src/operations/virtualNetworkSubnetUsage.d.ts.map +1 -0
  178. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js +54 -0
  179. package/dist-esm/src/operations/virtualNetworkSubnetUsage.js.map +1 -0
  180. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts +11 -0
  181. package/dist-esm/src/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
  182. package/{src/models/getPrivateDnsZoneSuffixMappers.ts → dist-esm/src/operationsInterfaces/checkNameAvailability.js} +2 -6
  183. package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/configurations.d.ts +58 -0
  185. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +1 -0
  186. package/{src/models/checkNameAvailabilityMappers.ts → dist-esm/src/operationsInterfaces/configurations.js} +2 -8
  187. package/dist-esm/src/operationsInterfaces/configurations.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/databases.d.ts +56 -0
  189. package/dist-esm/src/operationsInterfaces/databases.d.ts.map +1 -0
  190. package/{esm/models/getPrivateDnsZoneSuffixMappers.js → dist-esm/src/operationsInterfaces/databases.js} +2 -2
  191. package/dist-esm/src/operationsInterfaces/databases.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts +56 -0
  193. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/firewallRules.js +9 -0
  195. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +10 -0
  197. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  201. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  203. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts +12 -0
  205. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/locationBasedCapabilities.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/operations.d.ts +10 -0
  209. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/servers.d.ts +115 -0
  213. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +1 -0
  214. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/servers.js} +2 -1
  215. package/dist-esm/src/operationsInterfaces/servers.js.map +1 -0
  216. package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +12 -0
  217. package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -0
  218. package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.js +9 -0
  219. package/dist-esm/src/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -0
  220. package/dist-esm/src/postgreSQLManagementClient.d.ts +26 -0
  221. package/dist-esm/src/postgreSQLManagementClient.d.ts.map +1 -0
  222. package/dist-esm/src/postgreSQLManagementClient.js +59 -0
  223. package/dist-esm/src/postgreSQLManagementClient.js.map +1 -0
  224. package/dist-esm/test/sampleTest.d.ts +2 -0
  225. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  226. package/dist-esm/test/sampleTest.js +40 -0
  227. package/dist-esm/test/sampleTest.js.map +1 -0
  228. package/package.json +80 -33
  229. package/review/arm-postgresql-flexible.api.md +865 -0
  230. package/rollup.config.js +181 -30
  231. package/src/{models/operationsMappers.ts → index.ts} +4 -8
  232. package/src/lroImpl.ts +34 -0
  233. package/src/models/index.ts +908 -1203
  234. package/src/models/mappers.ts +789 -718
  235. package/src/models/parameters.ts +117 -64
  236. package/src/operations/checkNameAvailability.ts +35 -57
  237. package/src/operations/configurations.ts +374 -148
  238. package/src/operations/databases.ts +355 -212
  239. package/src/operations/firewallRules.ts +355 -212
  240. package/src/operations/getPrivateDnsZoneSuffix.ts +28 -67
  241. package/src/operations/index.ts +1 -2
  242. package/src/operations/locationBasedCapabilities.ts +109 -79
  243. package/src/operations/operations.ts +27 -41
  244. package/src/operations/servers.ts +745 -412
  245. package/src/operations/virtualNetworkSubnetUsage.ts +40 -57
  246. package/src/operationsInterfaces/checkNameAvailability.ts +26 -0
  247. package/src/operationsInterfaces/configurations.ts +119 -0
  248. package/src/operationsInterfaces/databases.ts +109 -0
  249. package/src/operationsInterfaces/firewallRules.ts +109 -0
  250. package/src/operationsInterfaces/getPrivateDnsZoneSuffix.ts +23 -0
  251. package/src/operationsInterfaces/index.ts +17 -0
  252. package/src/operationsInterfaces/locationBasedCapabilities.ts +27 -0
  253. package/src/operationsInterfaces/operations.ts +21 -0
  254. package/src/operationsInterfaces/servers.ts +202 -0
  255. package/src/operationsInterfaces/virtualNetworkSubnetUsage.ts +28 -0
  256. package/src/postgreSQLManagementClient.ts +97 -49
  257. package/tsconfig.json +5 -4
  258. package/types/arm-postgresql-flexible.d.ts +1581 -0
  259. package/types/tsdoc-metadata.json +11 -0
  260. package/dist/arm-postgresql-flexible.js +0 -3349
  261. package/dist/arm-postgresql-flexible.js.map +0 -1
  262. package/dist/arm-postgresql-flexible.min.js +0 -1
  263. package/dist/arm-postgresql-flexible.min.js.map +0 -1
  264. package/esm/models/checkNameAvailabilityMappers.d.ts +0 -2
  265. package/esm/models/checkNameAvailabilityMappers.d.ts.map +0 -1
  266. package/esm/models/checkNameAvailabilityMappers.js.map +0 -1
  267. package/esm/models/configurationsMappers.d.ts +0 -2
  268. package/esm/models/configurationsMappers.d.ts.map +0 -1
  269. package/esm/models/configurationsMappers.js +0 -9
  270. package/esm/models/configurationsMappers.js.map +0 -1
  271. package/esm/models/databasesMappers.d.ts +0 -2
  272. package/esm/models/databasesMappers.d.ts.map +0 -1
  273. package/esm/models/databasesMappers.js +0 -9
  274. package/esm/models/databasesMappers.js.map +0 -1
  275. package/esm/models/firewallRulesMappers.d.ts +0 -2
  276. package/esm/models/firewallRulesMappers.d.ts.map +0 -1
  277. package/esm/models/firewallRulesMappers.js +0 -9
  278. package/esm/models/firewallRulesMappers.js.map +0 -1
  279. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts +0 -2
  280. package/esm/models/getPrivateDnsZoneSuffixMappers.d.ts.map +0 -1
  281. package/esm/models/getPrivateDnsZoneSuffixMappers.js.map +0 -1
  282. package/esm/models/index.d.ts +0 -1426
  283. package/esm/models/index.d.ts.map +0 -1
  284. package/esm/models/index.js.map +0 -1
  285. package/esm/models/locationBasedCapabilitiesMappers.d.ts +0 -2
  286. package/esm/models/locationBasedCapabilitiesMappers.d.ts.map +0 -1
  287. package/esm/models/locationBasedCapabilitiesMappers.js +0 -9
  288. package/esm/models/locationBasedCapabilitiesMappers.js.map +0 -1
  289. package/esm/models/mappers.d.ts +0 -45
  290. package/esm/models/mappers.d.ts.map +0 -1
  291. package/esm/models/mappers.js.map +0 -1
  292. package/esm/models/operationsMappers.d.ts +0 -2
  293. package/esm/models/operationsMappers.d.ts.map +0 -1
  294. package/esm/models/operationsMappers.js +0 -9
  295. package/esm/models/operationsMappers.js.map +0 -1
  296. package/esm/models/parameters.d.ts +0 -14
  297. package/esm/models/parameters.d.ts.map +0 -1
  298. package/esm/models/parameters.js.map +0 -1
  299. package/esm/models/serversMappers.d.ts +0 -2
  300. package/esm/models/serversMappers.d.ts.map +0 -1
  301. package/esm/models/serversMappers.js +0 -9
  302. package/esm/models/serversMappers.js.map +0 -1
  303. package/esm/models/virtualNetworkSubnetUsageMappers.d.ts +0 -2
  304. package/esm/models/virtualNetworkSubnetUsageMappers.d.ts.map +0 -1
  305. package/esm/models/virtualNetworkSubnetUsageMappers.js +0 -9
  306. package/esm/models/virtualNetworkSubnetUsageMappers.js.map +0 -1
  307. package/esm/operations/checkNameAvailability.d.ts +0 -34
  308. package/esm/operations/checkNameAvailability.d.ts.map +0 -1
  309. package/esm/operations/checkNameAvailability.js +0 -59
  310. package/esm/operations/checkNameAvailability.js.map +0 -1
  311. package/esm/operations/configurations.d.ts +0 -97
  312. package/esm/operations/configurations.d.ts.map +0 -1
  313. package/esm/operations/configurations.js +0 -181
  314. package/esm/operations/configurations.js.map +0 -1
  315. package/esm/operations/databases.d.ts +0 -115
  316. package/esm/operations/databases.d.ts.map +0 -1
  317. package/esm/operations/databases.js +0 -237
  318. package/esm/operations/databases.js.map +0 -1
  319. package/esm/operations/firewallRules.d.ts +0 -115
  320. package/esm/operations/firewallRules.d.ts.map +0 -1
  321. package/esm/operations/firewallRules.js +0 -237
  322. package/esm/operations/firewallRules.js.map +0 -1
  323. package/esm/operations/getPrivateDnsZoneSuffix.d.ts +0 -34
  324. package/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +0 -1
  325. package/esm/operations/getPrivateDnsZoneSuffix.js +0 -69
  326. package/esm/operations/getPrivateDnsZoneSuffix.js.map +0 -1
  327. package/esm/operations/index.d.ts.map +0 -1
  328. package/esm/operations/index.js.map +0 -1
  329. package/esm/operations/locationBasedCapabilities.d.ts +0 -49
  330. package/esm/operations/locationBasedCapabilities.d.ts.map +0 -1
  331. package/esm/operations/locationBasedCapabilities.js +0 -84
  332. package/esm/operations/locationBasedCapabilities.js.map +0 -1
  333. package/esm/operations/operations.d.ts +0 -28
  334. package/esm/operations/operations.d.ts.map +0 -1
  335. package/esm/operations/operations.js +0 -50
  336. package/esm/operations/operations.js.map +0 -1
  337. package/esm/operations/servers.d.ts +0 -206
  338. package/esm/operations/servers.d.ts.map +0 -1
  339. package/esm/operations/servers.js +0 -484
  340. package/esm/operations/servers.js.map +0 -1
  341. package/esm/operations/virtualNetworkSubnetUsage.d.ts +0 -34
  342. package/esm/operations/virtualNetworkSubnetUsage.d.ts.map +0 -1
  343. package/esm/operations/virtualNetworkSubnetUsage.js +0 -61
  344. package/esm/operations/virtualNetworkSubnetUsage.js.map +0 -1
  345. package/esm/postgreSQLManagementClient.d.ts +0 -32
  346. package/esm/postgreSQLManagementClient.d.ts.map +0 -1
  347. package/esm/postgreSQLManagementClient.js +0 -45
  348. package/esm/postgreSQLManagementClient.js.map +0 -1
  349. package/esm/postgreSQLManagementClientContext.d.ts +0 -21
  350. package/esm/postgreSQLManagementClientContext.d.ts.map +0 -1
  351. package/esm/postgreSQLManagementClientContext.js +0 -59
  352. package/esm/postgreSQLManagementClientContext.js.map +0 -1
  353. package/src/models/configurationsMappers.ts +0 -34
  354. package/src/models/databasesMappers.ts +0 -34
  355. package/src/models/firewallRulesMappers.ts +0 -34
  356. package/src/models/locationBasedCapabilitiesMappers.ts +0 -20
  357. package/src/models/serversMappers.ts +0 -35
  358. package/src/models/virtualNetworkSubnetUsageMappers.ts +0 -16
  359. package/src/postgreSQLManagementClientContext.ts +0 -65
@@ -1,1426 +0,0 @@
1
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
2
- import * as msRest from "@azure/ms-rest-js";
3
- export { BaseResource, CloudError };
4
- /**
5
- * Virtual network subnet usage parameter
6
- */
7
- export interface VirtualNetworkSubnetUsageParameter {
8
- /**
9
- * Virtual network resource id.
10
- */
11
- virtualNetworkArmResourceId?: string;
12
- }
13
- /**
14
- * Delegated subnet usage data.
15
- */
16
- export interface DelegatedSubnetUsage {
17
- /**
18
- * name of the subnet
19
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
20
- */
21
- readonly subnetName?: string;
22
- /**
23
- * Number of used delegated subnets
24
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
25
- */
26
- readonly usage?: number;
27
- }
28
- /**
29
- * Virtual network subnet usage data.
30
- */
31
- export interface VirtualNetworkSubnetUsageResult {
32
- /**
33
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
34
- */
35
- readonly delegatedSubnetsUsage?: DelegatedSubnetUsage[];
36
- }
37
- /**
38
- * storage size in MB capability
39
- */
40
- export interface StorageMBCapability {
41
- /**
42
- * storage MB name
43
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
44
- */
45
- readonly name?: string;
46
- /**
47
- * supported IOPS
48
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
49
- */
50
- readonly supportedIops?: number;
51
- /**
52
- * storage size in MB
53
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
54
- */
55
- readonly storageSizeMB?: number;
56
- }
57
- /**
58
- * Vcores capability
59
- */
60
- export interface VcoreCapability {
61
- /**
62
- * vCore name
63
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
64
- */
65
- readonly name?: string;
66
- /**
67
- * supported vCores
68
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
69
- */
70
- readonly vCores?: number;
71
- /**
72
- * supported IOPS
73
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
74
- */
75
- readonly supportedIops?: number;
76
- /**
77
- * supported memory per vCore in MB
78
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
79
- */
80
- readonly supportedMemoryPerVcoreMB?: number;
81
- }
82
- /**
83
- * Server version capabilities.
84
- */
85
- export interface ServerVersionCapability {
86
- /**
87
- * server version
88
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
89
- */
90
- readonly name?: string;
91
- /**
92
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
93
- */
94
- readonly supportedVcores?: VcoreCapability[];
95
- }
96
- /**
97
- * storage edition capability
98
- */
99
- export interface StorageEditionCapability {
100
- /**
101
- * storage edition name
102
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
103
- */
104
- readonly name?: string;
105
- /**
106
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
107
- */
108
- readonly supportedStorageMB?: StorageMBCapability[];
109
- }
110
- /**
111
- * Server edition capabilities.
112
- */
113
- export interface ServerEditionCapability {
114
- /**
115
- * Server edition name
116
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
117
- */
118
- readonly name?: string;
119
- /**
120
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
121
- */
122
- readonly supportedStorageEditions?: StorageEditionCapability[];
123
- /**
124
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
125
- */
126
- readonly supportedServerVersions?: ServerVersionCapability[];
127
- }
128
- /**
129
- * Location capabilities.
130
- */
131
- export interface CapabilityProperties {
132
- /**
133
- * zone name
134
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
135
- */
136
- readonly zone?: string;
137
- /**
138
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
139
- */
140
- readonly supportedFlexibleServerEditions?: ServerEditionCapability[];
141
- }
142
- /**
143
- * Storage Profile properties of a server
144
- */
145
- export interface StorageProfile {
146
- /**
147
- * Backup retention days for the server.
148
- */
149
- backupRetentionDays?: number;
150
- /**
151
- * Max storage allowed for a server.
152
- */
153
- storageMB?: number;
154
- }
155
- /**
156
- * Maintenance window of a server.
157
- */
158
- export interface MaintenanceWindow {
159
- /**
160
- * indicates whether custom window is enabled or disabled
161
- */
162
- customWindow?: string;
163
- /**
164
- * start hour for maintenance window
165
- */
166
- startHour?: number;
167
- /**
168
- * start minute for maintenance window
169
- */
170
- startMinute?: number;
171
- /**
172
- * day of week for maintenance window
173
- */
174
- dayOfWeek?: number;
175
- }
176
- /**
177
- * An interface representing ServerPropertiesDelegatedSubnetArguments.
178
- */
179
- export interface ServerPropertiesDelegatedSubnetArguments {
180
- /**
181
- * delegated subnet arm resource id.
182
- */
183
- subnetArmResourceId?: string;
184
- }
185
- /**
186
- * An interface representing ServerPropertiesPrivateDnsZoneArguments.
187
- */
188
- export interface ServerPropertiesPrivateDnsZoneArguments {
189
- /**
190
- * private dns zone arm resource id.
191
- */
192
- privateDnsZoneArmResourceId?: string;
193
- }
194
- /**
195
- * Identity for the resource.
196
- */
197
- export interface Identity {
198
- /**
199
- * The principal ID of resource identity.
200
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
201
- */
202
- readonly principalId?: string;
203
- /**
204
- * The tenant ID of resource.
205
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
206
- */
207
- readonly tenantId?: string;
208
- /**
209
- * The identity type. Possible values include: 'SystemAssigned'
210
- */
211
- type?: ResourceIdentityType;
212
- }
213
- /**
214
- * Sku information related properties of a server.
215
- */
216
- export interface Sku {
217
- /**
218
- * The name of the sku, typically, tier + family + cores, e.g. Standard_D4s_v3.
219
- */
220
- name: string;
221
- /**
222
- * The tier of the particular SKU, e.g. Burstable. Possible values include: 'Burstable',
223
- * 'GeneralPurpose', 'MemoryOptimized'
224
- */
225
- tier: SkuTier;
226
- }
227
- /**
228
- * Common fields that are returned in the response for all Azure Resource Manager resources
229
- * @summary Resource
230
- */
231
- export interface Resource extends BaseResource {
232
- /**
233
- * Fully qualified resource ID for the resource. Ex -
234
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
235
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
236
- */
237
- readonly id?: string;
238
- /**
239
- * The name of the resource
240
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
241
- */
242
- readonly name?: string;
243
- /**
244
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
245
- * "Microsoft.Storage/storageAccounts"
246
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
247
- */
248
- readonly type?: string;
249
- }
250
- /**
251
- * The resource model definition for an Azure Resource Manager tracked top level resource which has
252
- * 'tags' and a 'location'
253
- * @summary Tracked Resource
254
- */
255
- export interface TrackedResource extends Resource {
256
- /**
257
- * Resource tags.
258
- */
259
- tags?: {
260
- [propertyName: string]: string;
261
- };
262
- /**
263
- * The geo-location where the resource lives
264
- */
265
- location: string;
266
- }
267
- /**
268
- * Represents a server.
269
- */
270
- export interface Server extends TrackedResource {
271
- /**
272
- * The Azure Active Directory identity of the server.
273
- */
274
- identity?: Identity;
275
- /**
276
- * The SKU (pricing tier) of the server.
277
- */
278
- sku?: Sku;
279
- /**
280
- * The administrator's login name of a server. Can only be specified when the server is being
281
- * created (and is required for creation).
282
- */
283
- administratorLogin?: string;
284
- /**
285
- * The administrator login password (required for server creation).
286
- */
287
- administratorLoginPassword?: string;
288
- /**
289
- * PostgreSQL Server version. Possible values include: '12', '11'
290
- */
291
- version?: ServerVersion;
292
- /**
293
- * A state of a server that is visible to user. Possible values include: 'Ready', 'Dropping',
294
- * 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'
295
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
296
- */
297
- readonly state?: ServerState;
298
- /**
299
- * A state of a HA server that is visible to user. Possible values include: 'NotEnabled',
300
- * 'CreatingStandby', 'ReplicatingData', 'FailingOver', 'Healthy', 'RemovingStandby'
301
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
302
- */
303
- readonly haState?: ServerHAState;
304
- /**
305
- * The fully qualified domain name of a server.
306
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
307
- */
308
- readonly fullyQualifiedDomainName?: string;
309
- /**
310
- * The display name of a server.
311
- */
312
- displayName?: string;
313
- /**
314
- * Storage profile of a server.
315
- */
316
- storageProfile?: StorageProfile;
317
- /**
318
- * public network access is enabled or not. Possible values include: 'Enabled', 'Disabled'
319
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
320
- */
321
- readonly publicNetworkAccess?: ServerPublicNetworkAccessState;
322
- /**
323
- * Maintenance window of a server.
324
- */
325
- maintenanceWindow?: MaintenanceWindow;
326
- /**
327
- * stand by count value can be either enabled or disabled. Possible values include: 'Enabled',
328
- * 'Disabled'
329
- */
330
- haEnabled?: HAEnabledEnum;
331
- /**
332
- * The source PostgreSQL server name to restore from.
333
- */
334
- sourceServerName?: string;
335
- /**
336
- * The subscription id of source serve PostgreSQL server name to restore from.
337
- */
338
- sourceSubscriptionId?: string;
339
- /**
340
- * The resource group name of source serve PostgreSQL server name to restore from.
341
- */
342
- sourceResourceGroupName?: string;
343
- /**
344
- * Restore point creation time (ISO8601 format), specifying the time to restore from.
345
- */
346
- pointInTimeUTC?: Date;
347
- /**
348
- * availability Zone information of the server.
349
- */
350
- availabilityZone?: string;
351
- /**
352
- * availability Zone information of the server.
353
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
354
- */
355
- readonly standbyAvailabilityZone?: string;
356
- /**
357
- * Status showing whether the data encryption is enabled with customer-managed keys.
358
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
359
- */
360
- readonly byokEnforcement?: string;
361
- delegatedSubnetArguments?: ServerPropertiesDelegatedSubnetArguments;
362
- privateDnsZoneArguments?: ServerPropertiesPrivateDnsZoneArguments;
363
- /**
364
- * The mode to create a new PostgreSQL server. Possible values include: 'Default',
365
- * 'PointInTimeRestore'
366
- */
367
- createMode?: CreateMode;
368
- /**
369
- * Application-specific metadata in the form of key-value pairs.
370
- */
371
- serverTags?: {
372
- [propertyName: string]: string;
373
- };
374
- }
375
- /**
376
- * Represents a server to be updated.
377
- */
378
- export interface ServerForUpdate {
379
- /**
380
- * The location the resource resides in.
381
- */
382
- location?: string;
383
- /**
384
- * The SKU (pricing tier) of the server.
385
- */
386
- sku?: Sku;
387
- /**
388
- * The password of the administrator login.
389
- */
390
- administratorLoginPassword?: string;
391
- /**
392
- * Storage profile of a server.
393
- */
394
- storageProfile?: StorageProfile;
395
- /**
396
- * stand by count value can be either enabled or disabled. Possible values include: 'Enabled',
397
- * 'Disabled'
398
- */
399
- haEnabled?: HAEnabledEnum;
400
- /**
401
- * Maintenance window of a server.
402
- */
403
- maintenanceWindow?: MaintenanceWindow;
404
- /**
405
- * Application-specific metadata in the form of key-value pairs.
406
- */
407
- tags?: {
408
- [propertyName: string]: string;
409
- };
410
- }
411
- /**
412
- * The resource model definition for a Azure Resource Manager proxy resource. It will not have tags
413
- * and a location
414
- * @summary Proxy Resource
415
- */
416
- export interface ProxyResource extends Resource {
417
- }
418
- /**
419
- * Represents a server firewall rule.
420
- */
421
- export interface FirewallRule extends ProxyResource {
422
- /**
423
- * The start IP address of the server firewall rule. Must be IPv4 format.
424
- */
425
- startIpAddress: string;
426
- /**
427
- * The end IP address of the server firewall rule. Must be IPv4 format.
428
- */
429
- endIpAddress: string;
430
- }
431
- /**
432
- * Represents a Configuration.
433
- */
434
- export interface Configuration extends ProxyResource {
435
- /**
436
- * Value of the configuration.
437
- */
438
- value?: string;
439
- /**
440
- * Description of the configuration.
441
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
442
- */
443
- readonly description?: string;
444
- /**
445
- * Default value of the configuration.
446
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
447
- */
448
- readonly defaultValue?: string;
449
- /**
450
- * Data type of the configuration. Possible values include: 'Boolean', 'Numeric', 'Integer',
451
- * 'Enumeration'
452
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
453
- */
454
- readonly dataType?: ConfigurationDataType;
455
- /**
456
- * Allowed values of the configuration.
457
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
458
- */
459
- readonly allowedValues?: string;
460
- /**
461
- * Source of the configuration.
462
- */
463
- source?: string;
464
- }
465
- /**
466
- * Display metadata associated with the operation.
467
- */
468
- export interface OperationDisplay {
469
- /**
470
- * Operation resource provider name.
471
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
472
- */
473
- readonly provider?: string;
474
- /**
475
- * Resource on which the operation is performed.
476
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
477
- */
478
- readonly resource?: string;
479
- /**
480
- * Localized friendly name for the operation.
481
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
482
- */
483
- readonly operation?: string;
484
- /**
485
- * Operation description.
486
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
487
- */
488
- readonly description?: string;
489
- }
490
- /**
491
- * REST API operation definition.
492
- */
493
- export interface Operation {
494
- /**
495
- * The name of the operation being performed on this particular object.
496
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
497
- */
498
- readonly name?: string;
499
- /**
500
- * The localized display information for this particular operation or action.
501
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
502
- */
503
- readonly display?: OperationDisplay;
504
- /**
505
- * Indicates whether the operation is a data action
506
- */
507
- isDataAction?: boolean;
508
- /**
509
- * The intended executor of the operation. Possible values include: 'NotSpecified', 'user',
510
- * 'system'
511
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
512
- */
513
- readonly origin?: OperationOrigin;
514
- /**
515
- * Additional descriptions for the operation.
516
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
517
- */
518
- readonly properties?: {
519
- [propertyName: string]: any;
520
- };
521
- }
522
- /**
523
- * A list of resource provider operations.
524
- */
525
- export interface OperationListResult {
526
- /**
527
- * Collection of available operation details
528
- */
529
- value?: Operation[];
530
- /**
531
- * URL client should use to fetch the next page (per server side paging).
532
- * It's null for now, added for future use.
533
- */
534
- nextLink?: string;
535
- }
536
- /**
537
- * Request from client to check resource name availability.
538
- */
539
- export interface NameAvailabilityRequest {
540
- /**
541
- * Resource name to verify.
542
- */
543
- name: string;
544
- /**
545
- * Resource type used for verification.
546
- */
547
- type?: string;
548
- }
549
- /**
550
- * Represents a resource name availability.
551
- */
552
- export interface NameAvailability {
553
- /**
554
- * Error Message.
555
- */
556
- message?: string;
557
- /**
558
- * Indicates whether the resource name is available.
559
- */
560
- nameAvailable?: boolean;
561
- /**
562
- * name of the PostgreSQL server.
563
- */
564
- name?: string;
565
- /**
566
- * type of the server
567
- */
568
- type?: string;
569
- }
570
- /**
571
- * The resource management error additional info.
572
- */
573
- export interface ErrorAdditionalInfo {
574
- /**
575
- * The additional info type.
576
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
577
- */
578
- readonly type?: string;
579
- /**
580
- * The additional info.
581
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
582
- */
583
- readonly info?: any;
584
- }
585
- /**
586
- * Common error response for all Azure Resource Manager APIs to return error details for failed
587
- * operations. (This also follows the OData error response format.)
588
- * @summary Error Response
589
- */
590
- export interface ErrorResponse {
591
- /**
592
- * The error code.
593
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
594
- */
595
- readonly code?: string;
596
- /**
597
- * The error message.
598
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
599
- */
600
- readonly message?: string;
601
- /**
602
- * The error target.
603
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
604
- */
605
- readonly target?: string;
606
- /**
607
- * The error details.
608
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
609
- */
610
- readonly details?: ErrorResponse[];
611
- /**
612
- * The error additional info.
613
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
614
- */
615
- readonly additionalInfo?: ErrorAdditionalInfo[];
616
- }
617
- /**
618
- * The resource model definition for an Azure Resource Manager resource with an etag.
619
- * @summary Entity Resource
620
- */
621
- export interface AzureEntityResource extends Resource {
622
- /**
623
- * Resource Etag.
624
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
625
- */
626
- readonly etag?: string;
627
- }
628
- /**
629
- * An interface representing ResourceModelWithAllowedPropertySetIdentity.
630
- */
631
- export interface ResourceModelWithAllowedPropertySetIdentity extends Identity {
632
- }
633
- /**
634
- * An interface representing ResourceModelWithAllowedPropertySetSku.
635
- */
636
- export interface ResourceModelWithAllowedPropertySetSku extends Sku {
637
- }
638
- /**
639
- * Plan for the resource.
640
- */
641
- export interface Plan {
642
- /**
643
- * A user defined name of the 3rd Party Artifact that is being procured.
644
- */
645
- name: string;
646
- /**
647
- * The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic
648
- */
649
- publisher: string;
650
- /**
651
- * The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID
652
- * specified for the artifact at the time of Data Market onboarding.
653
- */
654
- product: string;
655
- /**
656
- * A publisher provided promotion code as provisioned in Data Market for the said
657
- * product/artifact.
658
- */
659
- promotionCode?: string;
660
- /**
661
- * The version of the desired product/artifact.
662
- */
663
- version?: string;
664
- }
665
- /**
666
- * An interface representing ResourceModelWithAllowedPropertySetPlan.
667
- */
668
- export interface ResourceModelWithAllowedPropertySetPlan extends Plan {
669
- }
670
- /**
671
- * The resource model definition containing the full set of allowed properties for a resource.
672
- * Except properties bag, there cannot be a top level property outside of this set.
673
- */
674
- export interface ResourceModelWithAllowedPropertySet extends BaseResource {
675
- /**
676
- * Fully qualified resource ID for the resource. Ex -
677
- * /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
678
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
679
- */
680
- readonly id?: string;
681
- /**
682
- * The name of the resource
683
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
684
- */
685
- readonly name?: string;
686
- /**
687
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or
688
- * "Microsoft.Storage/storageAccounts"
689
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
690
- */
691
- readonly type?: string;
692
- /**
693
- * The geo-location where the resource lives
694
- */
695
- location?: string;
696
- /**
697
- * The fully qualified resource ID of the resource that manages this resource. Indicates if this
698
- * resource is managed by another Azure resource. If this is present, complete mode deployment
699
- * will not delete the resource if it is removed from the template since it is managed by another
700
- * resource.
701
- */
702
- managedBy?: string;
703
- /**
704
- * Metadata used by portal/tooling/etc to render different UX experiences for resources of the
705
- * same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource
706
- * provider must validate and persist this value.
707
- */
708
- kind?: string;
709
- /**
710
- * The etag field is *not* required. If it is provided in the response body, it must also be
711
- * provided as a header per the normal etag convention. Entity tags are used for comparing two
712
- * or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag
713
- * (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
714
- * (section 14.27) header fields.
715
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
716
- */
717
- readonly etag?: string;
718
- /**
719
- * Resource tags.
720
- */
721
- tags?: {
722
- [propertyName: string]: string;
723
- };
724
- identity?: ResourceModelWithAllowedPropertySetIdentity;
725
- sku?: ResourceModelWithAllowedPropertySetSku;
726
- plan?: ResourceModelWithAllowedPropertySetPlan;
727
- }
728
- /**
729
- * Represents a Database.
730
- */
731
- export interface Database extends ProxyResource {
732
- /**
733
- * The charset of the database.
734
- */
735
- charset?: string;
736
- /**
737
- * The collation of the database.
738
- */
739
- collation?: string;
740
- }
741
- /**
742
- * An interface representing PostgreSQLManagementClientOptions.
743
- */
744
- export interface PostgreSQLManagementClientOptions extends AzureServiceClientOptions {
745
- baseUri?: string;
746
- }
747
- /**
748
- * @interface
749
- * A list of servers.
750
- * @extends Array<Server>
751
- */
752
- export interface ServerListResult extends Array<Server> {
753
- /**
754
- * The link used to get the next page of operations.
755
- */
756
- nextLink?: string;
757
- }
758
- /**
759
- * @interface
760
- * A list of firewall rules.
761
- * @extends Array<FirewallRule>
762
- */
763
- export interface FirewallRuleListResult extends Array<FirewallRule> {
764
- /**
765
- * The link used to get the next page of operations.
766
- */
767
- nextLink?: string;
768
- }
769
- /**
770
- * @interface
771
- * A list of server configurations.
772
- * @extends Array<Configuration>
773
- */
774
- export interface ConfigurationListResult extends Array<Configuration> {
775
- /**
776
- * The link used to get the next page of operations.
777
- */
778
- nextLink?: string;
779
- }
780
- /**
781
- * @interface
782
- * location capability
783
- * @extends Array<CapabilityProperties>
784
- */
785
- export interface CapabilitiesListResult extends Array<CapabilityProperties> {
786
- /**
787
- * Link to retrieve next page of results.
788
- * **NOTE: This property will not be serialized. It can only be populated by the server.**
789
- */
790
- readonly nextLink?: string;
791
- }
792
- /**
793
- * @interface
794
- * A List of databases.
795
- * @extends Array<Database>
796
- */
797
- export interface DatabaseListResult extends Array<Database> {
798
- /**
799
- * The link used to get the next page of databases.
800
- */
801
- nextLink?: string;
802
- }
803
- /**
804
- * Defines values for ServerVersion.
805
- * Possible values include: '12', '11'
806
- * @readonly
807
- * @enum {string}
808
- */
809
- export declare type ServerVersion = '12' | '11';
810
- /**
811
- * Defines values for ServerState.
812
- * Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped',
813
- * 'Updating'
814
- * @readonly
815
- * @enum {string}
816
- */
817
- export declare type ServerState = 'Ready' | 'Dropping' | 'Disabled' | 'Starting' | 'Stopping' | 'Stopped' | 'Updating';
818
- /**
819
- * Defines values for ServerHAState.
820
- * Possible values include: 'NotEnabled', 'CreatingStandby', 'ReplicatingData', 'FailingOver',
821
- * 'Healthy', 'RemovingStandby'
822
- * @readonly
823
- * @enum {string}
824
- */
825
- export declare type ServerHAState = 'NotEnabled' | 'CreatingStandby' | 'ReplicatingData' | 'FailingOver' | 'Healthy' | 'RemovingStandby';
826
- /**
827
- * Defines values for ServerPublicNetworkAccessState.
828
- * Possible values include: 'Enabled', 'Disabled'
829
- * @readonly
830
- * @enum {string}
831
- */
832
- export declare type ServerPublicNetworkAccessState = 'Enabled' | 'Disabled';
833
- /**
834
- * Defines values for HAEnabledEnum.
835
- * Possible values include: 'Enabled', 'Disabled'
836
- * @readonly
837
- * @enum {string}
838
- */
839
- export declare type HAEnabledEnum = 'Enabled' | 'Disabled';
840
- /**
841
- * Defines values for CreateMode.
842
- * Possible values include: 'Default', 'PointInTimeRestore'
843
- * @readonly
844
- * @enum {string}
845
- */
846
- export declare type CreateMode = 'Default' | 'PointInTimeRestore';
847
- /**
848
- * Defines values for ResourceIdentityType.
849
- * Possible values include: 'SystemAssigned'
850
- * @readonly
851
- * @enum {string}
852
- */
853
- export declare type ResourceIdentityType = 'SystemAssigned';
854
- /**
855
- * Defines values for SkuTier.
856
- * Possible values include: 'Burstable', 'GeneralPurpose', 'MemoryOptimized'
857
- * @readonly
858
- * @enum {string}
859
- */
860
- export declare type SkuTier = 'Burstable' | 'GeneralPurpose' | 'MemoryOptimized';
861
- /**
862
- * Defines values for ConfigurationDataType.
863
- * Possible values include: 'Boolean', 'Numeric', 'Integer', 'Enumeration'
864
- * @readonly
865
- * @enum {string}
866
- */
867
- export declare type ConfigurationDataType = 'Boolean' | 'Numeric' | 'Integer' | 'Enumeration';
868
- /**
869
- * Defines values for OperationOrigin.
870
- * Possible values include: 'NotSpecified', 'user', 'system'
871
- * @readonly
872
- * @enum {string}
873
- */
874
- export declare type OperationOrigin = 'NotSpecified' | 'user' | 'system';
875
- /**
876
- * Defines values for Body.
877
- * Possible values include: 'PostgreSQL', 'PostgreSQLCitus', 'MySQL', 'MariaDb', 'Oracle'
878
- * @readonly
879
- * @enum {string}
880
- */
881
- export declare type Body = 'PostgreSQL' | 'PostgreSQLCitus' | 'MySQL' | 'MariaDb' | 'Oracle';
882
- /**
883
- * Contains response data for the create operation.
884
- */
885
- export declare type ServersCreateResponse = Server & {
886
- /**
887
- * The underlying HTTP response.
888
- */
889
- _response: msRest.HttpResponse & {
890
- /**
891
- * The response body as text (string format)
892
- */
893
- bodyAsText: string;
894
- /**
895
- * The response body as parsed JSON or XML
896
- */
897
- parsedBody: Server;
898
- };
899
- };
900
- /**
901
- * Contains response data for the update operation.
902
- */
903
- export declare type ServersUpdateResponse = Server & {
904
- /**
905
- * The underlying HTTP response.
906
- */
907
- _response: msRest.HttpResponse & {
908
- /**
909
- * The response body as text (string format)
910
- */
911
- bodyAsText: string;
912
- /**
913
- * The response body as parsed JSON or XML
914
- */
915
- parsedBody: Server;
916
- };
917
- };
918
- /**
919
- * Contains response data for the get operation.
920
- */
921
- export declare type ServersGetResponse = Server & {
922
- /**
923
- * The underlying HTTP response.
924
- */
925
- _response: msRest.HttpResponse & {
926
- /**
927
- * The response body as text (string format)
928
- */
929
- bodyAsText: string;
930
- /**
931
- * The response body as parsed JSON or XML
932
- */
933
- parsedBody: Server;
934
- };
935
- };
936
- /**
937
- * Contains response data for the listByResourceGroup operation.
938
- */
939
- export declare type ServersListByResourceGroupResponse = ServerListResult & {
940
- /**
941
- * The underlying HTTP response.
942
- */
943
- _response: msRest.HttpResponse & {
944
- /**
945
- * The response body as text (string format)
946
- */
947
- bodyAsText: string;
948
- /**
949
- * The response body as parsed JSON or XML
950
- */
951
- parsedBody: ServerListResult;
952
- };
953
- };
954
- /**
955
- * Contains response data for the list operation.
956
- */
957
- export declare type ServersListResponse = ServerListResult & {
958
- /**
959
- * The underlying HTTP response.
960
- */
961
- _response: msRest.HttpResponse & {
962
- /**
963
- * The response body as text (string format)
964
- */
965
- bodyAsText: string;
966
- /**
967
- * The response body as parsed JSON or XML
968
- */
969
- parsedBody: ServerListResult;
970
- };
971
- };
972
- /**
973
- * Contains response data for the beginCreate operation.
974
- */
975
- export declare type ServersBeginCreateResponse = Server & {
976
- /**
977
- * The underlying HTTP response.
978
- */
979
- _response: msRest.HttpResponse & {
980
- /**
981
- * The response body as text (string format)
982
- */
983
- bodyAsText: string;
984
- /**
985
- * The response body as parsed JSON or XML
986
- */
987
- parsedBody: Server;
988
- };
989
- };
990
- /**
991
- * Contains response data for the beginUpdate operation.
992
- */
993
- export declare type ServersBeginUpdateResponse = Server & {
994
- /**
995
- * The underlying HTTP response.
996
- */
997
- _response: msRest.HttpResponse & {
998
- /**
999
- * The response body as text (string format)
1000
- */
1001
- bodyAsText: string;
1002
- /**
1003
- * The response body as parsed JSON or XML
1004
- */
1005
- parsedBody: Server;
1006
- };
1007
- };
1008
- /**
1009
- * Contains response data for the listByResourceGroupNext operation.
1010
- */
1011
- export declare type ServersListByResourceGroupNextResponse = ServerListResult & {
1012
- /**
1013
- * The underlying HTTP response.
1014
- */
1015
- _response: msRest.HttpResponse & {
1016
- /**
1017
- * The response body as text (string format)
1018
- */
1019
- bodyAsText: string;
1020
- /**
1021
- * The response body as parsed JSON or XML
1022
- */
1023
- parsedBody: ServerListResult;
1024
- };
1025
- };
1026
- /**
1027
- * Contains response data for the listNext operation.
1028
- */
1029
- export declare type ServersListNextResponse = ServerListResult & {
1030
- /**
1031
- * The underlying HTTP response.
1032
- */
1033
- _response: msRest.HttpResponse & {
1034
- /**
1035
- * The response body as text (string format)
1036
- */
1037
- bodyAsText: string;
1038
- /**
1039
- * The response body as parsed JSON or XML
1040
- */
1041
- parsedBody: ServerListResult;
1042
- };
1043
- };
1044
- /**
1045
- * Contains response data for the createOrUpdate operation.
1046
- */
1047
- export declare type FirewallRulesCreateOrUpdateResponse = FirewallRule & {
1048
- /**
1049
- * The underlying HTTP response.
1050
- */
1051
- _response: msRest.HttpResponse & {
1052
- /**
1053
- * The response body as text (string format)
1054
- */
1055
- bodyAsText: string;
1056
- /**
1057
- * The response body as parsed JSON or XML
1058
- */
1059
- parsedBody: FirewallRule;
1060
- };
1061
- };
1062
- /**
1063
- * Contains response data for the get operation.
1064
- */
1065
- export declare type FirewallRulesGetResponse = FirewallRule & {
1066
- /**
1067
- * The underlying HTTP response.
1068
- */
1069
- _response: msRest.HttpResponse & {
1070
- /**
1071
- * The response body as text (string format)
1072
- */
1073
- bodyAsText: string;
1074
- /**
1075
- * The response body as parsed JSON or XML
1076
- */
1077
- parsedBody: FirewallRule;
1078
- };
1079
- };
1080
- /**
1081
- * Contains response data for the listByServer operation.
1082
- */
1083
- export declare type FirewallRulesListByServerResponse = FirewallRuleListResult & {
1084
- /**
1085
- * The underlying HTTP response.
1086
- */
1087
- _response: msRest.HttpResponse & {
1088
- /**
1089
- * The response body as text (string format)
1090
- */
1091
- bodyAsText: string;
1092
- /**
1093
- * The response body as parsed JSON or XML
1094
- */
1095
- parsedBody: FirewallRuleListResult;
1096
- };
1097
- };
1098
- /**
1099
- * Contains response data for the beginCreateOrUpdate operation.
1100
- */
1101
- export declare type FirewallRulesBeginCreateOrUpdateResponse = FirewallRule & {
1102
- /**
1103
- * The underlying HTTP response.
1104
- */
1105
- _response: msRest.HttpResponse & {
1106
- /**
1107
- * The response body as text (string format)
1108
- */
1109
- bodyAsText: string;
1110
- /**
1111
- * The response body as parsed JSON or XML
1112
- */
1113
- parsedBody: FirewallRule;
1114
- };
1115
- };
1116
- /**
1117
- * Contains response data for the listByServerNext operation.
1118
- */
1119
- export declare type FirewallRulesListByServerNextResponse = FirewallRuleListResult & {
1120
- /**
1121
- * The underlying HTTP response.
1122
- */
1123
- _response: msRest.HttpResponse & {
1124
- /**
1125
- * The response body as text (string format)
1126
- */
1127
- bodyAsText: string;
1128
- /**
1129
- * The response body as parsed JSON or XML
1130
- */
1131
- parsedBody: FirewallRuleListResult;
1132
- };
1133
- };
1134
- /**
1135
- * Contains response data for the listByServer operation.
1136
- */
1137
- export declare type ConfigurationsListByServerResponse = ConfigurationListResult & {
1138
- /**
1139
- * The underlying HTTP response.
1140
- */
1141
- _response: msRest.HttpResponse & {
1142
- /**
1143
- * The response body as text (string format)
1144
- */
1145
- bodyAsText: string;
1146
- /**
1147
- * The response body as parsed JSON or XML
1148
- */
1149
- parsedBody: ConfigurationListResult;
1150
- };
1151
- };
1152
- /**
1153
- * Contains response data for the get operation.
1154
- */
1155
- export declare type ConfigurationsGetResponse = Configuration & {
1156
- /**
1157
- * The underlying HTTP response.
1158
- */
1159
- _response: msRest.HttpResponse & {
1160
- /**
1161
- * The response body as text (string format)
1162
- */
1163
- bodyAsText: string;
1164
- /**
1165
- * The response body as parsed JSON or XML
1166
- */
1167
- parsedBody: Configuration;
1168
- };
1169
- };
1170
- /**
1171
- * Contains response data for the update operation.
1172
- */
1173
- export declare type ConfigurationsUpdateResponse = Configuration & {
1174
- /**
1175
- * The underlying HTTP response.
1176
- */
1177
- _response: msRest.HttpResponse & {
1178
- /**
1179
- * The response body as text (string format)
1180
- */
1181
- bodyAsText: string;
1182
- /**
1183
- * The response body as parsed JSON or XML
1184
- */
1185
- parsedBody: Configuration;
1186
- };
1187
- };
1188
- /**
1189
- * Contains response data for the beginUpdate operation.
1190
- */
1191
- export declare type ConfigurationsBeginUpdateResponse = Configuration & {
1192
- /**
1193
- * The underlying HTTP response.
1194
- */
1195
- _response: msRest.HttpResponse & {
1196
- /**
1197
- * The response body as text (string format)
1198
- */
1199
- bodyAsText: string;
1200
- /**
1201
- * The response body as parsed JSON or XML
1202
- */
1203
- parsedBody: Configuration;
1204
- };
1205
- };
1206
- /**
1207
- * Contains response data for the listByServerNext operation.
1208
- */
1209
- export declare type ConfigurationsListByServerNextResponse = ConfigurationListResult & {
1210
- /**
1211
- * The underlying HTTP response.
1212
- */
1213
- _response: msRest.HttpResponse & {
1214
- /**
1215
- * The response body as text (string format)
1216
- */
1217
- bodyAsText: string;
1218
- /**
1219
- * The response body as parsed JSON or XML
1220
- */
1221
- parsedBody: ConfigurationListResult;
1222
- };
1223
- };
1224
- /**
1225
- * Contains response data for the execute operation.
1226
- */
1227
- export declare type CheckNameAvailabilityExecuteResponse = NameAvailability & {
1228
- /**
1229
- * The underlying HTTP response.
1230
- */
1231
- _response: msRest.HttpResponse & {
1232
- /**
1233
- * The response body as text (string format)
1234
- */
1235
- bodyAsText: string;
1236
- /**
1237
- * The response body as parsed JSON or XML
1238
- */
1239
- parsedBody: NameAvailability;
1240
- };
1241
- };
1242
- /**
1243
- * Contains response data for the execute operation.
1244
- */
1245
- export declare type LocationBasedCapabilitiesExecuteResponse = CapabilitiesListResult & {
1246
- /**
1247
- * The underlying HTTP response.
1248
- */
1249
- _response: msRest.HttpResponse & {
1250
- /**
1251
- * The response body as text (string format)
1252
- */
1253
- bodyAsText: string;
1254
- /**
1255
- * The response body as parsed JSON or XML
1256
- */
1257
- parsedBody: CapabilitiesListResult;
1258
- };
1259
- };
1260
- /**
1261
- * Contains response data for the executeNext operation.
1262
- */
1263
- export declare type LocationBasedCapabilitiesExecuteNextResponse = CapabilitiesListResult & {
1264
- /**
1265
- * The underlying HTTP response.
1266
- */
1267
- _response: msRest.HttpResponse & {
1268
- /**
1269
- * The response body as text (string format)
1270
- */
1271
- bodyAsText: string;
1272
- /**
1273
- * The response body as parsed JSON or XML
1274
- */
1275
- parsedBody: CapabilitiesListResult;
1276
- };
1277
- };
1278
- /**
1279
- * Contains response data for the execute operation.
1280
- */
1281
- export declare type VirtualNetworkSubnetUsageExecuteResponse = VirtualNetworkSubnetUsageResult & {
1282
- /**
1283
- * The underlying HTTP response.
1284
- */
1285
- _response: msRest.HttpResponse & {
1286
- /**
1287
- * The response body as text (string format)
1288
- */
1289
- bodyAsText: string;
1290
- /**
1291
- * The response body as parsed JSON or XML
1292
- */
1293
- parsedBody: VirtualNetworkSubnetUsageResult;
1294
- };
1295
- };
1296
- /**
1297
- * Contains response data for the list operation.
1298
- */
1299
- export declare type OperationsListResponse = OperationListResult & {
1300
- /**
1301
- * The underlying HTTP response.
1302
- */
1303
- _response: msRest.HttpResponse & {
1304
- /**
1305
- * The response body as text (string format)
1306
- */
1307
- bodyAsText: string;
1308
- /**
1309
- * The response body as parsed JSON or XML
1310
- */
1311
- parsedBody: OperationListResult;
1312
- };
1313
- };
1314
- /**
1315
- * Contains response data for the create operation.
1316
- */
1317
- export declare type DatabasesCreateResponse = Database & {
1318
- /**
1319
- * The underlying HTTP response.
1320
- */
1321
- _response: msRest.HttpResponse & {
1322
- /**
1323
- * The response body as text (string format)
1324
- */
1325
- bodyAsText: string;
1326
- /**
1327
- * The response body as parsed JSON or XML
1328
- */
1329
- parsedBody: Database;
1330
- };
1331
- };
1332
- /**
1333
- * Contains response data for the get operation.
1334
- */
1335
- export declare type DatabasesGetResponse = Database & {
1336
- /**
1337
- * The underlying HTTP response.
1338
- */
1339
- _response: msRest.HttpResponse & {
1340
- /**
1341
- * The response body as text (string format)
1342
- */
1343
- bodyAsText: string;
1344
- /**
1345
- * The response body as parsed JSON or XML
1346
- */
1347
- parsedBody: Database;
1348
- };
1349
- };
1350
- /**
1351
- * Contains response data for the listByServer operation.
1352
- */
1353
- export declare type DatabasesListByServerResponse = DatabaseListResult & {
1354
- /**
1355
- * The underlying HTTP response.
1356
- */
1357
- _response: msRest.HttpResponse & {
1358
- /**
1359
- * The response body as text (string format)
1360
- */
1361
- bodyAsText: string;
1362
- /**
1363
- * The response body as parsed JSON or XML
1364
- */
1365
- parsedBody: DatabaseListResult;
1366
- };
1367
- };
1368
- /**
1369
- * Contains response data for the beginCreate operation.
1370
- */
1371
- export declare type DatabasesBeginCreateResponse = Database & {
1372
- /**
1373
- * The underlying HTTP response.
1374
- */
1375
- _response: msRest.HttpResponse & {
1376
- /**
1377
- * The response body as text (string format)
1378
- */
1379
- bodyAsText: string;
1380
- /**
1381
- * The response body as parsed JSON or XML
1382
- */
1383
- parsedBody: Database;
1384
- };
1385
- };
1386
- /**
1387
- * Contains response data for the listByServerNext operation.
1388
- */
1389
- export declare type DatabasesListByServerNextResponse = DatabaseListResult & {
1390
- /**
1391
- * The underlying HTTP response.
1392
- */
1393
- _response: msRest.HttpResponse & {
1394
- /**
1395
- * The response body as text (string format)
1396
- */
1397
- bodyAsText: string;
1398
- /**
1399
- * The response body as parsed JSON or XML
1400
- */
1401
- parsedBody: DatabaseListResult;
1402
- };
1403
- };
1404
- /**
1405
- * Contains response data for the execute operation.
1406
- */
1407
- export declare type GetPrivateDnsZoneSuffixExecuteResponse = {
1408
- /**
1409
- * The parsed response body.
1410
- */
1411
- body: string;
1412
- /**
1413
- * The underlying HTTP response.
1414
- */
1415
- _response: msRest.HttpResponse & {
1416
- /**
1417
- * The response body as text (string format)
1418
- */
1419
- bodyAsText: string;
1420
- /**
1421
- * The response body as parsed JSON or XML
1422
- */
1423
- parsedBody: string;
1424
- };
1425
- };
1426
- //# sourceMappingURL=index.d.ts.map