@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
@@ -3,25 +3,30 @@
3
3
  * Licensed under the MIT License.
4
4
  *
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
7
  */
9
8
 
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Models from "../models";
12
- import * as Mappers from "../models/virtualNetworkSubnetUsageMappers";
9
+ import { VirtualNetworkSubnetUsage } from "../operationsInterfaces";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
13
12
  import * as Parameters from "../models/parameters";
14
- import { PostgreSQLManagementClientContext } from "../postgreSQLManagementClientContext";
13
+ import { PostgreSQLManagementClient } from "../postgreSQLManagementClient";
14
+ import {
15
+ VirtualNetworkSubnetUsageParameter,
16
+ VirtualNetworkSubnetUsageExecuteOptionalParams,
17
+ VirtualNetworkSubnetUsageExecuteResponse
18
+ } from "../models";
15
19
 
16
- /** Class representing a VirtualNetworkSubnetUsage. */
17
- export class VirtualNetworkSubnetUsage {
18
- private readonly client: PostgreSQLManagementClientContext;
20
+ /** Class containing VirtualNetworkSubnetUsage operations. */
21
+ export class VirtualNetworkSubnetUsageImpl
22
+ implements VirtualNetworkSubnetUsage {
23
+ private readonly client: PostgreSQLManagementClient;
19
24
 
20
25
  /**
21
- * Create a VirtualNetworkSubnetUsage.
22
- * @param {PostgreSQLManagementClientContext} client Reference to the service client.
26
+ * Initialize a new instance of the class VirtualNetworkSubnetUsage class.
27
+ * @param client Reference to the service client
23
28
  */
24
- constructor(client: PostgreSQLManagementClientContext) {
29
+ constructor(client: PostgreSQLManagementClient) {
25
30
  this.client = client;
26
31
  }
27
32
 
@@ -29,57 +34,26 @@ export class VirtualNetworkSubnetUsage {
29
34
  * Get virtual network subnet usage for a given vNet resource id.
30
35
  * @param locationName The name of the location.
31
36
  * @param parameters The required parameters for creating or updating a server.
32
- * @param [options] The optional parameters
33
- * @returns Promise<Models.VirtualNetworkSubnetUsageExecuteResponse>
37
+ * @param options The options parameters.
34
38
  */
35
- execute(locationName: string, parameters: Models.VirtualNetworkSubnetUsageParameter, options?: msRest.RequestOptionsBase): Promise<Models.VirtualNetworkSubnetUsageExecuteResponse>;
36
- /**
37
- * @param locationName The name of the location.
38
- * @param parameters The required parameters for creating or updating a server.
39
- * @param callback The callback
40
- */
41
- execute(locationName: string, parameters: Models.VirtualNetworkSubnetUsageParameter, callback: msRest.ServiceCallback<Models.VirtualNetworkSubnetUsageResult>): void;
42
- /**
43
- * @param locationName The name of the location.
44
- * @param parameters The required parameters for creating or updating a server.
45
- * @param options The optional parameters
46
- * @param callback The callback
47
- */
48
- execute(locationName: string, parameters: Models.VirtualNetworkSubnetUsageParameter, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualNetworkSubnetUsageResult>): void;
49
- execute(locationName: string, parameters: Models.VirtualNetworkSubnetUsageParameter, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualNetworkSubnetUsageResult>, callback?: msRest.ServiceCallback<Models.VirtualNetworkSubnetUsageResult>): Promise<Models.VirtualNetworkSubnetUsageExecuteResponse> {
39
+ execute(
40
+ locationName: string,
41
+ parameters: VirtualNetworkSubnetUsageParameter,
42
+ options?: VirtualNetworkSubnetUsageExecuteOptionalParams
43
+ ): Promise<VirtualNetworkSubnetUsageExecuteResponse> {
50
44
  return this.client.sendOperationRequest(
51
- {
52
- locationName,
53
- parameters,
54
- options
55
- },
56
- executeOperationSpec,
57
- callback) as Promise<Models.VirtualNetworkSubnetUsageExecuteResponse>;
45
+ { locationName, parameters, options },
46
+ executeOperationSpec
47
+ );
58
48
  }
59
49
  }
60
-
61
50
  // Operation Specifications
62
- const serializer = new msRest.Serializer(Mappers);
63
- const executeOperationSpec: msRest.OperationSpec = {
51
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
52
+
53
+ const executeOperationSpec: coreClient.OperationSpec = {
54
+ path:
55
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/checkVirtualNetworkSubnetUsage",
64
56
  httpMethod: "POST",
65
- path: "subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/locations/{locationName}/checkVirtualNetworkSubnetUsage",
66
- urlParameters: [
67
- Parameters.subscriptionId,
68
- Parameters.locationName
69
- ],
70
- queryParameters: [
71
- Parameters.apiVersion0
72
- ],
73
- headerParameters: [
74
- Parameters.acceptLanguage
75
- ],
76
- requestBody: {
77
- parameterPath: "parameters",
78
- mapper: {
79
- ...Mappers.VirtualNetworkSubnetUsageParameter,
80
- required: true
81
- }
82
- },
83
57
  responses: {
84
58
  200: {
85
59
  bodyMapper: Mappers.VirtualNetworkSubnetUsageResult
@@ -88,5 +62,14 @@ const executeOperationSpec: msRest.OperationSpec = {
88
62
  bodyMapper: Mappers.CloudError
89
63
  }
90
64
  },
65
+ requestBody: Parameters.parameters5,
66
+ queryParameters: [Parameters.apiVersion],
67
+ urlParameters: [
68
+ Parameters.$host,
69
+ Parameters.subscriptionId,
70
+ Parameters.locationName
71
+ ],
72
+ headerParameters: [Parameters.contentType, Parameters.accept],
73
+ mediaType: "json",
91
74
  serializer
92
75
  };
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ NameAvailabilityRequest,
11
+ CheckNameAvailabilityExecuteOptionalParams,
12
+ CheckNameAvailabilityExecuteResponse
13
+ } from "../models";
14
+
15
+ /** Interface representing a CheckNameAvailability. */
16
+ export interface CheckNameAvailability {
17
+ /**
18
+ * Check the availability of name for resource
19
+ * @param nameAvailabilityRequest The required parameters for checking if resource name is available.
20
+ * @param options The options parameters.
21
+ */
22
+ execute(
23
+ nameAvailabilityRequest: NameAvailabilityRequest,
24
+ options?: CheckNameAvailabilityExecuteOptionalParams
25
+ ): Promise<CheckNameAvailabilityExecuteResponse>;
26
+ }
@@ -0,0 +1,119 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Configuration,
13
+ ConfigurationsListByServerOptionalParams,
14
+ ConfigurationsGetOptionalParams,
15
+ ConfigurationsGetResponse,
16
+ ConfigurationsUpdateOptionalParams,
17
+ ConfigurationsUpdateResponse,
18
+ ConfigurationsPutOptionalParams,
19
+ ConfigurationsPutResponse
20
+ } from "../models";
21
+
22
+ /// <reference lib="esnext.asynciterable" />
23
+ /** Interface representing a Configurations. */
24
+ export interface Configurations {
25
+ /**
26
+ * List all the configurations in a given server.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param serverName The name of the server.
29
+ * @param options The options parameters.
30
+ */
31
+ listByServer(
32
+ resourceGroupName: string,
33
+ serverName: string,
34
+ options?: ConfigurationsListByServerOptionalParams
35
+ ): PagedAsyncIterableIterator<Configuration>;
36
+ /**
37
+ * Gets information about a configuration of server.
38
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
+ * @param serverName The name of the server.
40
+ * @param configurationName The name of the server configuration.
41
+ * @param options The options parameters.
42
+ */
43
+ get(
44
+ resourceGroupName: string,
45
+ serverName: string,
46
+ configurationName: string,
47
+ options?: ConfigurationsGetOptionalParams
48
+ ): Promise<ConfigurationsGetResponse>;
49
+ /**
50
+ * Updates a configuration of a server.
51
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
+ * @param serverName The name of the server.
53
+ * @param configurationName The name of the server configuration.
54
+ * @param parameters The required parameters for updating a server configuration.
55
+ * @param options The options parameters.
56
+ */
57
+ beginUpdate(
58
+ resourceGroupName: string,
59
+ serverName: string,
60
+ configurationName: string,
61
+ parameters: Configuration,
62
+ options?: ConfigurationsUpdateOptionalParams
63
+ ): Promise<
64
+ PollerLike<
65
+ PollOperationState<ConfigurationsUpdateResponse>,
66
+ ConfigurationsUpdateResponse
67
+ >
68
+ >;
69
+ /**
70
+ * Updates a configuration of a server.
71
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
72
+ * @param serverName The name of the server.
73
+ * @param configurationName The name of the server configuration.
74
+ * @param parameters The required parameters for updating a server configuration.
75
+ * @param options The options parameters.
76
+ */
77
+ beginUpdateAndWait(
78
+ resourceGroupName: string,
79
+ serverName: string,
80
+ configurationName: string,
81
+ parameters: Configuration,
82
+ options?: ConfigurationsUpdateOptionalParams
83
+ ): Promise<ConfigurationsUpdateResponse>;
84
+ /**
85
+ * Updates a configuration of a server.
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param serverName The name of the server.
88
+ * @param configurationName The name of the server configuration.
89
+ * @param parameters The required parameters for updating a server configuration.
90
+ * @param options The options parameters.
91
+ */
92
+ beginPut(
93
+ resourceGroupName: string,
94
+ serverName: string,
95
+ configurationName: string,
96
+ parameters: Configuration,
97
+ options?: ConfigurationsPutOptionalParams
98
+ ): Promise<
99
+ PollerLike<
100
+ PollOperationState<ConfigurationsPutResponse>,
101
+ ConfigurationsPutResponse
102
+ >
103
+ >;
104
+ /**
105
+ * Updates a configuration of a server.
106
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
107
+ * @param serverName The name of the server.
108
+ * @param configurationName The name of the server configuration.
109
+ * @param parameters The required parameters for updating a server configuration.
110
+ * @param options The options parameters.
111
+ */
112
+ beginPutAndWait(
113
+ resourceGroupName: string,
114
+ serverName: string,
115
+ configurationName: string,
116
+ parameters: Configuration,
117
+ options?: ConfigurationsPutOptionalParams
118
+ ): Promise<ConfigurationsPutResponse>;
119
+ }
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ Database,
13
+ DatabasesListByServerOptionalParams,
14
+ DatabasesCreateOptionalParams,
15
+ DatabasesCreateResponse,
16
+ DatabasesDeleteOptionalParams,
17
+ DatabasesGetOptionalParams,
18
+ DatabasesGetResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a Databases. */
23
+ export interface Databases {
24
+ /**
25
+ * List all the databases in a given server.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param serverName The name of the server.
28
+ * @param options The options parameters.
29
+ */
30
+ listByServer(
31
+ resourceGroupName: string,
32
+ serverName: string,
33
+ options?: DatabasesListByServerOptionalParams
34
+ ): PagedAsyncIterableIterator<Database>;
35
+ /**
36
+ * Creates a new database or updates an existing database.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param serverName The name of the server.
39
+ * @param databaseName The name of the database.
40
+ * @param parameters The required parameters for creating or updating a database.
41
+ * @param options The options parameters.
42
+ */
43
+ beginCreate(
44
+ resourceGroupName: string,
45
+ serverName: string,
46
+ databaseName: string,
47
+ parameters: Database,
48
+ options?: DatabasesCreateOptionalParams
49
+ ): Promise<
50
+ PollerLike<
51
+ PollOperationState<DatabasesCreateResponse>,
52
+ DatabasesCreateResponse
53
+ >
54
+ >;
55
+ /**
56
+ * Creates a new database or updates an existing database.
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param serverName The name of the server.
59
+ * @param databaseName The name of the database.
60
+ * @param parameters The required parameters for creating or updating a database.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateAndWait(
64
+ resourceGroupName: string,
65
+ serverName: string,
66
+ databaseName: string,
67
+ parameters: Database,
68
+ options?: DatabasesCreateOptionalParams
69
+ ): Promise<DatabasesCreateResponse>;
70
+ /**
71
+ * Deletes a database.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param serverName The name of the server.
74
+ * @param databaseName The name of the database.
75
+ * @param options The options parameters.
76
+ */
77
+ beginDelete(
78
+ resourceGroupName: string,
79
+ serverName: string,
80
+ databaseName: string,
81
+ options?: DatabasesDeleteOptionalParams
82
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
83
+ /**
84
+ * Deletes a database.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param serverName The name of the server.
87
+ * @param databaseName The name of the database.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDeleteAndWait(
91
+ resourceGroupName: string,
92
+ serverName: string,
93
+ databaseName: string,
94
+ options?: DatabasesDeleteOptionalParams
95
+ ): Promise<void>;
96
+ /**
97
+ * Gets information about a database.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param serverName The name of the server.
100
+ * @param databaseName The name of the database.
101
+ * @param options The options parameters.
102
+ */
103
+ get(
104
+ resourceGroupName: string,
105
+ serverName: string,
106
+ databaseName: string,
107
+ options?: DatabasesGetOptionalParams
108
+ ): Promise<DatabasesGetResponse>;
109
+ }
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ FirewallRule,
13
+ FirewallRulesListByServerOptionalParams,
14
+ FirewallRulesCreateOrUpdateOptionalParams,
15
+ FirewallRulesCreateOrUpdateResponse,
16
+ FirewallRulesDeleteOptionalParams,
17
+ FirewallRulesGetOptionalParams,
18
+ FirewallRulesGetResponse
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a FirewallRules. */
23
+ export interface FirewallRules {
24
+ /**
25
+ * List all the firewall rules in a given PostgreSQL server.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param serverName The name of the server.
28
+ * @param options The options parameters.
29
+ */
30
+ listByServer(
31
+ resourceGroupName: string,
32
+ serverName: string,
33
+ options?: FirewallRulesListByServerOptionalParams
34
+ ): PagedAsyncIterableIterator<FirewallRule>;
35
+ /**
36
+ * Creates a new firewall rule or updates an existing firewall rule.
37
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
38
+ * @param serverName The name of the server.
39
+ * @param firewallRuleName The name of the server firewall rule.
40
+ * @param parameters The required parameters for creating or updating a firewall rule.
41
+ * @param options The options parameters.
42
+ */
43
+ beginCreateOrUpdate(
44
+ resourceGroupName: string,
45
+ serverName: string,
46
+ firewallRuleName: string,
47
+ parameters: FirewallRule,
48
+ options?: FirewallRulesCreateOrUpdateOptionalParams
49
+ ): Promise<
50
+ PollerLike<
51
+ PollOperationState<FirewallRulesCreateOrUpdateResponse>,
52
+ FirewallRulesCreateOrUpdateResponse
53
+ >
54
+ >;
55
+ /**
56
+ * Creates a new firewall rule or updates an existing firewall rule.
57
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
58
+ * @param serverName The name of the server.
59
+ * @param firewallRuleName The name of the server firewall rule.
60
+ * @param parameters The required parameters for creating or updating a firewall rule.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreateOrUpdateAndWait(
64
+ resourceGroupName: string,
65
+ serverName: string,
66
+ firewallRuleName: string,
67
+ parameters: FirewallRule,
68
+ options?: FirewallRulesCreateOrUpdateOptionalParams
69
+ ): Promise<FirewallRulesCreateOrUpdateResponse>;
70
+ /**
71
+ * Deletes a PostgreSQL server firewall rule.
72
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
+ * @param serverName The name of the server.
74
+ * @param firewallRuleName The name of the server firewall rule.
75
+ * @param options The options parameters.
76
+ */
77
+ beginDelete(
78
+ resourceGroupName: string,
79
+ serverName: string,
80
+ firewallRuleName: string,
81
+ options?: FirewallRulesDeleteOptionalParams
82
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
83
+ /**
84
+ * Deletes a PostgreSQL server firewall rule.
85
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
86
+ * @param serverName The name of the server.
87
+ * @param firewallRuleName The name of the server firewall rule.
88
+ * @param options The options parameters.
89
+ */
90
+ beginDeleteAndWait(
91
+ resourceGroupName: string,
92
+ serverName: string,
93
+ firewallRuleName: string,
94
+ options?: FirewallRulesDeleteOptionalParams
95
+ ): Promise<void>;
96
+ /**
97
+ * List all the firewall rules in a given server.
98
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
+ * @param serverName The name of the server.
100
+ * @param firewallRuleName The name of the server firewall rule.
101
+ * @param options The options parameters.
102
+ */
103
+ get(
104
+ resourceGroupName: string,
105
+ serverName: string,
106
+ firewallRuleName: string,
107
+ options?: FirewallRulesGetOptionalParams
108
+ ): Promise<FirewallRulesGetResponse>;
109
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ GetPrivateDnsZoneSuffixExecuteOptionalParams,
11
+ GetPrivateDnsZoneSuffixExecuteResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a GetPrivateDnsZoneSuffix. */
15
+ export interface GetPrivateDnsZoneSuffix {
16
+ /**
17
+ * Get private DNS zone suffix in the cloud
18
+ * @param options The options parameters.
19
+ */
20
+ execute(
21
+ options?: GetPrivateDnsZoneSuffixExecuteOptionalParams
22
+ ): Promise<GetPrivateDnsZoneSuffixExecuteResponse>;
23
+ }
@@ -0,0 +1,17 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./servers";
10
+ export * from "./firewallRules";
11
+ export * from "./configurations";
12
+ export * from "./checkNameAvailability";
13
+ export * from "./locationBasedCapabilities";
14
+ export * from "./virtualNetworkSubnetUsage";
15
+ export * from "./operations";
16
+ export * from "./databases";
17
+ export * from "./getPrivateDnsZoneSuffix";
@@ -0,0 +1,27 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ CapabilityProperties,
12
+ LocationBasedCapabilitiesExecuteOptionalParams
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a LocationBasedCapabilities. */
17
+ export interface LocationBasedCapabilities {
18
+ /**
19
+ * Get capabilities at specified location in a given subscription.
20
+ * @param locationName The name of the location.
21
+ * @param options The options parameters.
22
+ */
23
+ listExecute(
24
+ locationName: string,
25
+ options?: LocationBasedCapabilitiesExecuteOptionalParams
26
+ ): PagedAsyncIterableIterator<CapabilityProperties>;
27
+ }
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import {
10
+ OperationsListOptionalParams,
11
+ OperationsListResponse
12
+ } from "../models";
13
+
14
+ /** Interface representing a Operations. */
15
+ export interface Operations {
16
+ /**
17
+ * Lists all of the available REST API operations.
18
+ * @param options The options parameters.
19
+ */
20
+ list(options?: OperationsListOptionalParams): Promise<OperationsListResponse>;
21
+ }