@azure/arm-cosmosdbforpostgresql 1.1.0-beta.1 → 1.1.0-beta.2

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 (634) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/{dist-esm/src → dist/browser}/cosmosDBForPostgreSQL.d.ts +2 -2
  5. package/dist/browser/cosmosDBForPostgreSQL.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/cosmosDBForPostgreSQL.js +37 -24
  7. package/dist/browser/cosmosDBForPostgreSQL.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +206 -97
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/clusters.d.ts +3 -3
  21. package/dist/browser/operations/clusters.d.ts.map +1 -0
  22. package/dist/browser/operations/clusters.js +880 -0
  23. package/dist/browser/operations/clusters.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/configurations.d.ts +3 -3
  25. package/dist/browser/operations/configurations.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/configurations.js +143 -175
  27. package/dist/browser/operations/configurations.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/firewallRules.d.ts +3 -3
  29. package/dist/browser/operations/firewallRules.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/firewallRules.js +102 -117
  31. package/dist/browser/operations/firewallRules.js.map +1 -0
  32. package/dist/browser/operations/index.d.ts +9 -0
  33. package/dist/browser/operations/index.d.ts.map +1 -0
  34. package/dist/browser/operations/index.js +16 -0
  35. package/dist/browser/operations/index.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  37. package/dist/browser/operations/operations.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/operations.js +12 -29
  39. package/dist/browser/operations/operations.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  41. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +106 -121
  43. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  45. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +12 -29
  47. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/roles.d.ts +3 -3
  49. package/dist/browser/operations/roles.d.ts.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/roles.js +97 -112
  51. package/dist/browser/operations/roles.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/servers.d.ts +3 -3
  53. package/dist/browser/operations/servers.d.ts.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/servers.js +12 -29
  55. package/dist/browser/operations/servers.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/clusters.d.ts +1 -1
  57. package/dist/browser/operationsInterfaces/clusters.d.ts.map +1 -0
  58. package/dist/browser/operationsInterfaces/clusters.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/configurations.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/configurations.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/configurations.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/firewallRules.js.map +1 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts +9 -0
  66. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/index.js +16 -0
  68. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/roles.d.ts +1 -1
  79. package/dist/browser/operationsInterfaces/roles.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/roles.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/operationsInterfaces/servers.d.ts +1 -1
  82. package/dist/browser/operationsInterfaces/servers.d.ts.map +1 -0
  83. package/dist/browser/operationsInterfaces/servers.js.map +1 -0
  84. package/dist/browser/package.json +3 -0
  85. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  86. package/dist/browser/pagingHelper.js.map +1 -0
  87. package/dist/commonjs/cosmosDBForPostgreSQL.d.ts +27 -0
  88. package/dist/commonjs/cosmosDBForPostgreSQL.d.ts.map +1 -0
  89. package/dist/commonjs/cosmosDBForPostgreSQL.js +125 -0
  90. package/dist/commonjs/cosmosDBForPostgreSQL.js.map +1 -0
  91. package/dist/commonjs/index.d.ts +5 -0
  92. package/dist/commonjs/index.d.ts.map +1 -0
  93. package/dist/commonjs/index.js +19 -0
  94. package/dist/commonjs/index.js.map +1 -0
  95. package/dist/commonjs/lroImpl.d.ts +11 -0
  96. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  97. package/dist/commonjs/lroImpl.js +21 -0
  98. package/dist/commonjs/lroImpl.js.map +1 -0
  99. package/{types/arm-cosmosdbforpostgresql.d.ts → dist/commonjs/models/index.d.ts} +1214 -1829
  100. package/dist/commonjs/models/index.d.ts.map +1 -0
  101. package/dist/commonjs/models/index.js +121 -0
  102. package/dist/commonjs/models/index.js.map +1 -0
  103. package/dist/commonjs/models/mappers.d.ts +57 -0
  104. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  105. package/dist/commonjs/models/mappers.js +1893 -0
  106. package/dist/commonjs/models/mappers.js.map +1 -0
  107. package/dist/commonjs/models/parameters.d.ts +24 -0
  108. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  109. package/dist/commonjs/models/parameters.js +220 -0
  110. package/dist/commonjs/models/parameters.js.map +1 -0
  111. package/dist/commonjs/operations/clusters.d.ts +174 -0
  112. package/dist/commonjs/operations/clusters.d.ts.map +1 -0
  113. package/dist/commonjs/operations/clusters.js +885 -0
  114. package/dist/commonjs/operations/clusters.js.map +1 -0
  115. package/dist/commonjs/operations/configurations.d.ts +126 -0
  116. package/dist/commonjs/operations/configurations.d.ts.map +1 -0
  117. package/dist/commonjs/operations/configurations.js +548 -0
  118. package/dist/commonjs/operations/configurations.js.map +1 -0
  119. package/dist/commonjs/operations/firewallRules.d.ts +73 -0
  120. package/dist/commonjs/operations/firewallRules.d.ts.map +1 -0
  121. package/dist/commonjs/operations/firewallRules.js +317 -0
  122. package/dist/commonjs/operations/firewallRules.js.map +1 -0
  123. package/dist/commonjs/operations/index.d.ts +9 -0
  124. package/dist/commonjs/operations/index.d.ts.map +1 -0
  125. package/dist/commonjs/operations/index.js +19 -0
  126. package/dist/commonjs/operations/index.js.map +1 -0
  127. package/dist/commonjs/operations/operations.d.ts +26 -0
  128. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  129. package/dist/commonjs/operations/operations.js +84 -0
  130. package/dist/commonjs/operations/operations.js.map +1 -0
  131. package/dist/commonjs/operations/privateEndpointConnections.d.ts +78 -0
  132. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  133. package/dist/commonjs/operations/privateEndpointConnections.js +332 -0
  134. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  135. package/dist/commonjs/operations/privateLinkResources.d.ts +38 -0
  136. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  137. package/dist/commonjs/operations/privateLinkResources.js +125 -0
  138. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  139. package/dist/commonjs/operations/roles.d.ts +73 -0
  140. package/dist/commonjs/operations/roles.d.ts.map +1 -0
  141. package/dist/commonjs/operations/roles.js +311 -0
  142. package/dist/commonjs/operations/roles.js.map +1 -0
  143. package/dist/commonjs/operations/servers.d.ts +38 -0
  144. package/dist/commonjs/operations/servers.d.ts.map +1 -0
  145. package/dist/commonjs/operations/servers.js +125 -0
  146. package/dist/commonjs/operations/servers.js.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/clusters.d.ts +138 -0
  148. package/dist/commonjs/operationsInterfaces/clusters.d.ts.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/clusters.js +10 -0
  150. package/dist/commonjs/operationsInterfaces/clusters.js.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/configurations.d.ts +82 -0
  152. package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/configurations.js +10 -0
  154. package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +56 -0
  156. package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/firewallRules.js +10 -0
  158. package/dist/commonjs/operationsInterfaces/firewallRules.js.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
  160. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/index.js +19 -0
  162. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  164. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  166. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  168. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  170. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +21 -0
  172. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  174. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/roles.d.ts +56 -0
  176. package/dist/commonjs/operationsInterfaces/roles.d.ts.map +1 -0
  177. package/dist/commonjs/operationsInterfaces/roles.js +10 -0
  178. package/dist/commonjs/operationsInterfaces/roles.js.map +1 -0
  179. package/dist/commonjs/operationsInterfaces/servers.d.ts +21 -0
  180. package/dist/commonjs/operationsInterfaces/servers.d.ts.map +1 -0
  181. package/dist/commonjs/operationsInterfaces/servers.js +10 -0
  182. package/dist/commonjs/operationsInterfaces/servers.js.map +1 -0
  183. package/dist/commonjs/package.json +3 -0
  184. package/dist/commonjs/pagingHelper.d.ts +13 -0
  185. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  186. package/dist/commonjs/pagingHelper.js +34 -0
  187. package/dist/commonjs/pagingHelper.js.map +1 -0
  188. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  189. package/dist/esm/cosmosDBForPostgreSQL.d.ts +27 -0
  190. package/dist/esm/cosmosDBForPostgreSQL.d.ts.map +1 -0
  191. package/dist/esm/cosmosDBForPostgreSQL.js +120 -0
  192. package/dist/esm/cosmosDBForPostgreSQL.js.map +1 -0
  193. package/dist/esm/index.d.ts +5 -0
  194. package/dist/esm/index.d.ts.map +1 -0
  195. package/{src/index.ts → dist/esm/index.js} +5 -5
  196. package/dist/esm/index.js.map +1 -0
  197. package/dist/esm/lroImpl.d.ts +11 -0
  198. package/dist/esm/lroImpl.d.ts.map +1 -0
  199. package/dist/esm/lroImpl.js +18 -0
  200. package/dist/esm/lroImpl.js.map +1 -0
  201. package/dist/esm/models/index.d.ts +1214 -0
  202. package/dist/esm/models/index.d.ts.map +1 -0
  203. package/dist/esm/models/index.js +118 -0
  204. package/dist/esm/models/index.js.map +1 -0
  205. package/dist/esm/models/mappers.d.ts +57 -0
  206. package/dist/esm/models/mappers.d.ts.map +1 -0
  207. package/dist/esm/models/mappers.js +1889 -0
  208. package/dist/esm/models/mappers.js.map +1 -0
  209. package/dist/esm/models/parameters.d.ts +24 -0
  210. package/dist/esm/models/parameters.d.ts.map +1 -0
  211. package/dist/esm/models/parameters.js +217 -0
  212. package/dist/esm/models/parameters.js.map +1 -0
  213. package/dist/esm/operations/clusters.d.ts +174 -0
  214. package/dist/esm/operations/clusters.d.ts.map +1 -0
  215. package/dist/esm/operations/clusters.js +880 -0
  216. package/dist/esm/operations/clusters.js.map +1 -0
  217. package/dist/esm/operations/configurations.d.ts +126 -0
  218. package/dist/esm/operations/configurations.d.ts.map +1 -0
  219. package/dist/esm/operations/configurations.js +543 -0
  220. package/dist/esm/operations/configurations.js.map +1 -0
  221. package/dist/esm/operations/firewallRules.d.ts +73 -0
  222. package/dist/esm/operations/firewallRules.d.ts.map +1 -0
  223. package/dist/esm/operations/firewallRules.js +312 -0
  224. package/dist/esm/operations/firewallRules.js.map +1 -0
  225. package/dist/esm/operations/index.d.ts +9 -0
  226. package/dist/esm/operations/index.d.ts.map +1 -0
  227. package/dist/esm/operations/index.js +16 -0
  228. package/dist/esm/operations/index.js.map +1 -0
  229. package/dist/esm/operations/operations.d.ts +26 -0
  230. package/dist/esm/operations/operations.d.ts.map +1 -0
  231. package/dist/esm/operations/operations.js +79 -0
  232. package/dist/esm/operations/operations.js.map +1 -0
  233. package/dist/esm/operations/privateEndpointConnections.d.ts +78 -0
  234. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  235. package/dist/esm/operations/privateEndpointConnections.js +327 -0
  236. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  237. package/dist/esm/operations/privateLinkResources.d.ts +38 -0
  238. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  239. package/dist/esm/operations/privateLinkResources.js +120 -0
  240. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  241. package/dist/esm/operations/roles.d.ts +73 -0
  242. package/dist/esm/operations/roles.d.ts.map +1 -0
  243. package/dist/esm/operations/roles.js +306 -0
  244. package/dist/esm/operations/roles.js.map +1 -0
  245. package/dist/esm/operations/servers.d.ts +38 -0
  246. package/dist/esm/operations/servers.d.ts.map +1 -0
  247. package/dist/esm/operations/servers.js +120 -0
  248. package/dist/esm/operations/servers.js.map +1 -0
  249. package/dist/esm/operationsInterfaces/clusters.d.ts +138 -0
  250. package/dist/esm/operationsInterfaces/clusters.d.ts.map +1 -0
  251. package/dist/esm/operationsInterfaces/clusters.js +9 -0
  252. package/dist/esm/operationsInterfaces/clusters.js.map +1 -0
  253. package/dist/esm/operationsInterfaces/configurations.d.ts +82 -0
  254. package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -0
  255. package/dist/esm/operationsInterfaces/configurations.js +9 -0
  256. package/dist/esm/operationsInterfaces/configurations.js.map +1 -0
  257. package/dist/esm/operationsInterfaces/firewallRules.d.ts +56 -0
  258. package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +1 -0
  259. package/dist/esm/operationsInterfaces/firewallRules.js +9 -0
  260. package/dist/esm/operationsInterfaces/firewallRules.js.map +1 -0
  261. package/dist/esm/operationsInterfaces/index.d.ts +9 -0
  262. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  263. package/dist/esm/operationsInterfaces/index.js +16 -0
  264. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  265. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  266. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  267. package/dist/esm/operationsInterfaces/operations.js +9 -0
  268. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  269. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  270. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  271. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  272. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  273. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +21 -0
  274. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  275. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  276. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  277. package/dist/esm/operationsInterfaces/roles.d.ts +56 -0
  278. package/dist/esm/operationsInterfaces/roles.d.ts.map +1 -0
  279. package/dist/esm/operationsInterfaces/roles.js +9 -0
  280. package/dist/esm/operationsInterfaces/roles.js.map +1 -0
  281. package/dist/esm/operationsInterfaces/servers.d.ts +21 -0
  282. package/dist/esm/operationsInterfaces/servers.d.ts.map +1 -0
  283. package/dist/esm/operationsInterfaces/servers.js +9 -0
  284. package/dist/esm/operationsInterfaces/servers.js.map +1 -0
  285. package/dist/esm/package.json +3 -0
  286. package/dist/esm/pagingHelper.d.ts +13 -0
  287. package/dist/esm/pagingHelper.d.ts.map +1 -0
  288. package/dist/esm/pagingHelper.js +30 -0
  289. package/dist/esm/pagingHelper.js.map +1 -0
  290. package/dist/react-native/cosmosDBForPostgreSQL.d.ts +27 -0
  291. package/dist/react-native/cosmosDBForPostgreSQL.d.ts.map +1 -0
  292. package/dist/react-native/cosmosDBForPostgreSQL.js +120 -0
  293. package/dist/react-native/cosmosDBForPostgreSQL.js.map +1 -0
  294. package/dist/react-native/index.d.ts +5 -0
  295. package/dist/react-native/index.d.ts.map +1 -0
  296. package/dist/react-native/index.js +13 -0
  297. package/dist/react-native/index.js.map +1 -0
  298. package/dist/react-native/lroImpl.d.ts +11 -0
  299. package/dist/react-native/lroImpl.d.ts.map +1 -0
  300. package/dist/react-native/lroImpl.js +18 -0
  301. package/dist/react-native/lroImpl.js.map +1 -0
  302. package/dist/react-native/models/index.d.ts +1214 -0
  303. package/dist/react-native/models/index.d.ts.map +1 -0
  304. package/dist/react-native/models/index.js +118 -0
  305. package/dist/react-native/models/index.js.map +1 -0
  306. package/dist/react-native/models/mappers.d.ts +57 -0
  307. package/dist/react-native/models/mappers.d.ts.map +1 -0
  308. package/dist/react-native/models/mappers.js +1889 -0
  309. package/dist/react-native/models/mappers.js.map +1 -0
  310. package/dist/react-native/models/parameters.d.ts +24 -0
  311. package/dist/react-native/models/parameters.d.ts.map +1 -0
  312. package/dist/react-native/models/parameters.js +217 -0
  313. package/dist/react-native/models/parameters.js.map +1 -0
  314. package/dist/react-native/operations/clusters.d.ts +174 -0
  315. package/dist/react-native/operations/clusters.d.ts.map +1 -0
  316. package/dist/react-native/operations/clusters.js +880 -0
  317. package/dist/react-native/operations/clusters.js.map +1 -0
  318. package/dist/react-native/operations/configurations.d.ts +126 -0
  319. package/dist/react-native/operations/configurations.d.ts.map +1 -0
  320. package/dist/react-native/operations/configurations.js +543 -0
  321. package/dist/react-native/operations/configurations.js.map +1 -0
  322. package/dist/react-native/operations/firewallRules.d.ts +73 -0
  323. package/dist/react-native/operations/firewallRules.d.ts.map +1 -0
  324. package/dist/react-native/operations/firewallRules.js +312 -0
  325. package/dist/react-native/operations/firewallRules.js.map +1 -0
  326. package/dist/react-native/operations/index.d.ts +9 -0
  327. package/dist/react-native/operations/index.d.ts.map +1 -0
  328. package/dist/react-native/operations/index.js +16 -0
  329. package/dist/react-native/operations/index.js.map +1 -0
  330. package/dist/react-native/operations/operations.d.ts +26 -0
  331. package/dist/react-native/operations/operations.d.ts.map +1 -0
  332. package/dist/react-native/operations/operations.js +79 -0
  333. package/dist/react-native/operations/operations.js.map +1 -0
  334. package/dist/react-native/operations/privateEndpointConnections.d.ts +78 -0
  335. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  336. package/dist/react-native/operations/privateEndpointConnections.js +327 -0
  337. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  338. package/dist/react-native/operations/privateLinkResources.d.ts +38 -0
  339. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  340. package/dist/react-native/operations/privateLinkResources.js +120 -0
  341. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  342. package/dist/react-native/operations/roles.d.ts +73 -0
  343. package/dist/react-native/operations/roles.d.ts.map +1 -0
  344. package/dist/react-native/operations/roles.js +306 -0
  345. package/dist/react-native/operations/roles.js.map +1 -0
  346. package/dist/react-native/operations/servers.d.ts +38 -0
  347. package/dist/react-native/operations/servers.d.ts.map +1 -0
  348. package/dist/react-native/operations/servers.js +120 -0
  349. package/dist/react-native/operations/servers.js.map +1 -0
  350. package/dist/react-native/operationsInterfaces/clusters.d.ts +138 -0
  351. package/dist/react-native/operationsInterfaces/clusters.d.ts.map +1 -0
  352. package/dist/react-native/operationsInterfaces/clusters.js +9 -0
  353. package/dist/react-native/operationsInterfaces/clusters.js.map +1 -0
  354. package/dist/react-native/operationsInterfaces/configurations.d.ts +82 -0
  355. package/dist/react-native/operationsInterfaces/configurations.d.ts.map +1 -0
  356. package/dist/react-native/operationsInterfaces/configurations.js +9 -0
  357. package/dist/react-native/operationsInterfaces/configurations.js.map +1 -0
  358. package/dist/react-native/operationsInterfaces/firewallRules.d.ts +56 -0
  359. package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +1 -0
  360. package/dist/react-native/operationsInterfaces/firewallRules.js +9 -0
  361. package/dist/react-native/operationsInterfaces/firewallRules.js.map +1 -0
  362. package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
  363. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  364. package/dist/react-native/operationsInterfaces/index.js +16 -0
  365. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  366. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  367. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  368. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  369. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  370. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +61 -0
  371. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  372. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  373. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  374. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +21 -0
  375. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  376. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  377. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  378. package/dist/react-native/operationsInterfaces/roles.d.ts +56 -0
  379. package/dist/react-native/operationsInterfaces/roles.d.ts.map +1 -0
  380. package/dist/react-native/operationsInterfaces/roles.js +9 -0
  381. package/dist/react-native/operationsInterfaces/roles.js.map +1 -0
  382. package/dist/react-native/operationsInterfaces/servers.d.ts +21 -0
  383. package/dist/react-native/operationsInterfaces/servers.d.ts.map +1 -0
  384. package/dist/react-native/operationsInterfaces/servers.js +9 -0
  385. package/dist/react-native/operationsInterfaces/servers.js.map +1 -0
  386. package/dist/react-native/package.json +3 -0
  387. package/dist/react-native/pagingHelper.d.ts +13 -0
  388. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  389. package/dist/react-native/pagingHelper.js +30 -0
  390. package/dist/react-native/pagingHelper.js.map +1 -0
  391. package/package.json +85 -71
  392. package/dist/index.js +0 -5158
  393. package/dist/index.js.map +0 -1
  394. package/dist/index.min.js +0 -1
  395. package/dist/index.min.js.map +0 -1
  396. package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.d.ts +0 -2
  397. package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.d.ts.map +0 -1
  398. package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.js +0 -41
  399. package/dist-esm/samples-dev/clustersCheckNameAvailabilitySample.js.map +0 -1
  400. package/dist-esm/samples-dev/clustersCreateSample.d.ts +0 -2
  401. package/dist-esm/samples-dev/clustersCreateSample.d.ts.map +0 -1
  402. package/dist-esm/samples-dev/clustersCreateSample.js +0 -209
  403. package/dist-esm/samples-dev/clustersCreateSample.js.map +0 -1
  404. package/dist-esm/samples-dev/clustersDeleteSample.d.ts +0 -2
  405. package/dist-esm/samples-dev/clustersDeleteSample.d.ts.map +0 -1
  406. package/dist-esm/samples-dev/clustersDeleteSample.js +0 -39
  407. package/dist-esm/samples-dev/clustersDeleteSample.js.map +0 -1
  408. package/dist-esm/samples-dev/clustersGetSample.d.ts +0 -2
  409. package/dist-esm/samples-dev/clustersGetSample.d.ts.map +0 -1
  410. package/dist-esm/samples-dev/clustersGetSample.js +0 -39
  411. package/dist-esm/samples-dev/clustersGetSample.js.map +0 -1
  412. package/dist-esm/samples-dev/clustersListByResourceGroupSample.d.ts +0 -2
  413. package/dist-esm/samples-dev/clustersListByResourceGroupSample.d.ts.map +0 -1
  414. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js +0 -54
  415. package/dist-esm/samples-dev/clustersListByResourceGroupSample.js.map +0 -1
  416. package/dist-esm/samples-dev/clustersListSample.d.ts +0 -2
  417. package/dist-esm/samples-dev/clustersListSample.d.ts.map +0 -1
  418. package/dist-esm/samples-dev/clustersListSample.js +0 -53
  419. package/dist-esm/samples-dev/clustersListSample.js.map +0 -1
  420. package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.d.ts +0 -2
  421. package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.d.ts.map +0 -1
  422. package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.js +0 -39
  423. package/dist-esm/samples-dev/clustersPromoteReadReplicaSample.js.map +0 -1
  424. package/dist-esm/samples-dev/clustersRestartSample.d.ts +0 -2
  425. package/dist-esm/samples-dev/clustersRestartSample.d.ts.map +0 -1
  426. package/dist-esm/samples-dev/clustersRestartSample.js +0 -39
  427. package/dist-esm/samples-dev/clustersRestartSample.js.map +0 -1
  428. package/dist-esm/samples-dev/clustersStartSample.d.ts +0 -2
  429. package/dist-esm/samples-dev/clustersStartSample.d.ts.map +0 -1
  430. package/dist-esm/samples-dev/clustersStartSample.js +0 -39
  431. package/dist-esm/samples-dev/clustersStartSample.js.map +0 -1
  432. package/dist-esm/samples-dev/clustersStopSample.d.ts +0 -2
  433. package/dist-esm/samples-dev/clustersStopSample.d.ts.map +0 -1
  434. package/dist-esm/samples-dev/clustersStopSample.js +0 -39
  435. package/dist-esm/samples-dev/clustersStopSample.js.map +0 -1
  436. package/dist-esm/samples-dev/clustersUpdateSample.d.ts +0 -2
  437. package/dist-esm/samples-dev/clustersUpdateSample.d.ts.map +0 -1
  438. package/dist-esm/samples-dev/clustersUpdateSample.js +0 -132
  439. package/dist-esm/samples-dev/clustersUpdateSample.js.map +0 -1
  440. package/dist-esm/samples-dev/configurationsGetCoordinatorSample.d.ts +0 -2
  441. package/dist-esm/samples-dev/configurationsGetCoordinatorSample.d.ts.map +0 -1
  442. package/dist-esm/samples-dev/configurationsGetCoordinatorSample.js +0 -40
  443. package/dist-esm/samples-dev/configurationsGetCoordinatorSample.js.map +0 -1
  444. package/dist-esm/samples-dev/configurationsGetNodeSample.d.ts +0 -2
  445. package/dist-esm/samples-dev/configurationsGetNodeSample.d.ts.map +0 -1
  446. package/dist-esm/samples-dev/configurationsGetNodeSample.js +0 -40
  447. package/dist-esm/samples-dev/configurationsGetNodeSample.js.map +0 -1
  448. package/dist-esm/samples-dev/configurationsGetSample.d.ts +0 -2
  449. package/dist-esm/samples-dev/configurationsGetSample.d.ts.map +0 -1
  450. package/dist-esm/samples-dev/configurationsGetSample.js +0 -40
  451. package/dist-esm/samples-dev/configurationsGetSample.js.map +0 -1
  452. package/dist-esm/samples-dev/configurationsListByClusterSample.d.ts +0 -2
  453. package/dist-esm/samples-dev/configurationsListByClusterSample.d.ts.map +0 -1
  454. package/dist-esm/samples-dev/configurationsListByClusterSample.js +0 -55
  455. package/dist-esm/samples-dev/configurationsListByClusterSample.js.map +0 -1
  456. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts +0 -2
  457. package/dist-esm/samples-dev/configurationsListByServerSample.d.ts.map +0 -1
  458. package/dist-esm/samples-dev/configurationsListByServerSample.js +0 -56
  459. package/dist-esm/samples-dev/configurationsListByServerSample.js.map +0 -1
  460. package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.d.ts +0 -2
  461. package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.d.ts.map +0 -1
  462. package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js +0 -41
  463. package/dist-esm/samples-dev/configurationsUpdateOnCoordinatorSample.js.map +0 -1
  464. package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.d.ts +0 -2
  465. package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.d.ts.map +0 -1
  466. package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.js +0 -41
  467. package/dist-esm/samples-dev/configurationsUpdateOnNodeSample.js.map +0 -1
  468. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts +0 -2
  469. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.d.ts.map +0 -1
  470. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js +0 -44
  471. package/dist-esm/samples-dev/firewallRulesCreateOrUpdateSample.js.map +0 -1
  472. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts +0 -2
  473. package/dist-esm/samples-dev/firewallRulesDeleteSample.d.ts.map +0 -1
  474. package/dist-esm/samples-dev/firewallRulesDeleteSample.js +0 -40
  475. package/dist-esm/samples-dev/firewallRulesDeleteSample.js.map +0 -1
  476. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts +0 -2
  477. package/dist-esm/samples-dev/firewallRulesGetSample.d.ts.map +0 -1
  478. package/dist-esm/samples-dev/firewallRulesGetSample.js +0 -40
  479. package/dist-esm/samples-dev/firewallRulesGetSample.js.map +0 -1
  480. package/dist-esm/samples-dev/firewallRulesListByClusterSample.d.ts +0 -2
  481. package/dist-esm/samples-dev/firewallRulesListByClusterSample.d.ts.map +0 -1
  482. package/dist-esm/samples-dev/firewallRulesListByClusterSample.js +0 -55
  483. package/dist-esm/samples-dev/firewallRulesListByClusterSample.js.map +0 -1
  484. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  485. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  486. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  487. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  488. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts +0 -2
  489. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.d.ts.map +0 -1
  490. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js +0 -46
  491. package/dist-esm/samples-dev/privateEndpointConnectionsCreateOrUpdateSample.js.map +0 -1
  492. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  493. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  494. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -40
  495. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  496. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  497. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  498. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -40
  499. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  500. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.d.ts +0 -2
  501. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.d.ts.map +0 -1
  502. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js +0 -55
  503. package/dist-esm/samples-dev/privateEndpointConnectionsListByClusterSample.js.map +0 -1
  504. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts +0 -2
  505. package/dist-esm/samples-dev/privateLinkResourcesGetSample.d.ts.map +0 -1
  506. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js +0 -40
  507. package/dist-esm/samples-dev/privateLinkResourcesGetSample.js.map +0 -1
  508. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts +0 -2
  509. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.d.ts.map +0 -1
  510. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js +0 -55
  511. package/dist-esm/samples-dev/privateLinkResourcesListByClusterSample.js.map +0 -1
  512. package/dist-esm/samples-dev/rolesCreateSample.d.ts +0 -2
  513. package/dist-esm/samples-dev/rolesCreateSample.d.ts.map +0 -1
  514. package/dist-esm/samples-dev/rolesCreateSample.js +0 -41
  515. package/dist-esm/samples-dev/rolesCreateSample.js.map +0 -1
  516. package/dist-esm/samples-dev/rolesDeleteSample.d.ts +0 -2
  517. package/dist-esm/samples-dev/rolesDeleteSample.d.ts.map +0 -1
  518. package/dist-esm/samples-dev/rolesDeleteSample.js +0 -40
  519. package/dist-esm/samples-dev/rolesDeleteSample.js.map +0 -1
  520. package/dist-esm/samples-dev/rolesGetSample.d.ts +0 -2
  521. package/dist-esm/samples-dev/rolesGetSample.d.ts.map +0 -1
  522. package/dist-esm/samples-dev/rolesGetSample.js +0 -40
  523. package/dist-esm/samples-dev/rolesGetSample.js.map +0 -1
  524. package/dist-esm/samples-dev/rolesListByClusterSample.d.ts +0 -2
  525. package/dist-esm/samples-dev/rolesListByClusterSample.d.ts.map +0 -1
  526. package/dist-esm/samples-dev/rolesListByClusterSample.js +0 -55
  527. package/dist-esm/samples-dev/rolesListByClusterSample.js.map +0 -1
  528. package/dist-esm/samples-dev/serversGetSample.d.ts +0 -2
  529. package/dist-esm/samples-dev/serversGetSample.d.ts.map +0 -1
  530. package/dist-esm/samples-dev/serversGetSample.js +0 -40
  531. package/dist-esm/samples-dev/serversGetSample.js.map +0 -1
  532. package/dist-esm/samples-dev/serversListByClusterSample.d.ts +0 -2
  533. package/dist-esm/samples-dev/serversListByClusterSample.d.ts.map +0 -1
  534. package/dist-esm/samples-dev/serversListByClusterSample.js +0 -55
  535. package/dist-esm/samples-dev/serversListByClusterSample.js.map +0 -1
  536. package/dist-esm/src/cosmosDBForPostgreSQL.d.ts.map +0 -1
  537. package/dist-esm/src/cosmosDBForPostgreSQL.js.map +0 -1
  538. package/dist-esm/src/index.d.ts +0 -6
  539. package/dist-esm/src/index.d.ts.map +0 -1
  540. package/dist-esm/src/index.js.map +0 -1
  541. package/dist-esm/src/lroImpl.js +0 -21
  542. package/dist-esm/src/lroImpl.js.map +0 -1
  543. package/dist-esm/src/models/index.js.map +0 -1
  544. package/dist-esm/src/models/mappers.js.map +0 -1
  545. package/dist-esm/src/models/parameters.js.map +0 -1
  546. package/dist-esm/src/operations/clusters.d.ts.map +0 -1
  547. package/dist-esm/src/operations/clusters.js +0 -907
  548. package/dist-esm/src/operations/clusters.js.map +0 -1
  549. package/dist-esm/src/operations/configurations.d.ts.map +0 -1
  550. package/dist-esm/src/operations/configurations.js.map +0 -1
  551. package/dist-esm/src/operations/firewallRules.d.ts.map +0 -1
  552. package/dist-esm/src/operations/firewallRules.js.map +0 -1
  553. package/dist-esm/src/operations/index.d.ts +0 -9
  554. package/dist-esm/src/operations/index.d.ts.map +0 -1
  555. package/dist-esm/src/operations/index.js +0 -16
  556. package/dist-esm/src/operations/index.js.map +0 -1
  557. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  558. package/dist-esm/src/operations/operations.js.map +0 -1
  559. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  560. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  561. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  562. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  563. package/dist-esm/src/operations/roles.d.ts.map +0 -1
  564. package/dist-esm/src/operations/roles.js.map +0 -1
  565. package/dist-esm/src/operations/servers.d.ts.map +0 -1
  566. package/dist-esm/src/operations/servers.js.map +0 -1
  567. package/dist-esm/src/operationsInterfaces/clusters.d.ts.map +0 -1
  568. package/dist-esm/src/operationsInterfaces/clusters.js.map +0 -1
  569. package/dist-esm/src/operationsInterfaces/configurations.d.ts.map +0 -1
  570. package/dist-esm/src/operationsInterfaces/configurations.js.map +0 -1
  571. package/dist-esm/src/operationsInterfaces/firewallRules.d.ts.map +0 -1
  572. package/dist-esm/src/operationsInterfaces/firewallRules.js.map +0 -1
  573. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  574. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  575. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  576. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  577. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  578. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  579. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  580. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  581. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  582. package/dist-esm/src/operationsInterfaces/roles.d.ts.map +0 -1
  583. package/dist-esm/src/operationsInterfaces/roles.js.map +0 -1
  584. package/dist-esm/src/operationsInterfaces/servers.d.ts.map +0 -1
  585. package/dist-esm/src/operationsInterfaces/servers.js.map +0 -1
  586. package/dist-esm/src/pagingHelper.js.map +0 -1
  587. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.d.ts +0 -4
  588. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.d.ts.map +0 -1
  589. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js +0 -127
  590. package/dist-esm/test/cosmosdbforpostgresql_operations_test.spec.js.map +0 -1
  591. package/src/cosmosDBForPostgreSQL.ts +0 -173
  592. package/src/lroImpl.ts +0 -42
  593. package/src/models/index.ts +0 -1387
  594. package/src/models/mappers.ts +0 -1952
  595. package/src/models/parameters.ts +0 -253
  596. package/src/operations/clusters.ts +0 -1205
  597. package/src/operations/configurations.ts +0 -800
  598. package/src/operations/firewallRules.ts +0 -454
  599. package/src/operations/index.ts +0 -16
  600. package/src/operations/operations.ts +0 -103
  601. package/src/operations/privateEndpointConnections.ts +0 -471
  602. package/src/operations/privateLinkResources.ts +0 -179
  603. package/src/operations/roles.ts +0 -442
  604. package/src/operations/servers.ts +0 -179
  605. package/src/operationsInterfaces/clusters.ts +0 -260
  606. package/src/operationsInterfaces/configurations.ts +0 -164
  607. package/src/operationsInterfaces/firewallRules.ts +0 -115
  608. package/src/operationsInterfaces/index.ts +0 -16
  609. package/src/operationsInterfaces/operations.ts +0 -22
  610. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -120
  611. package/src/operationsInterfaces/privateLinkResources.ts +0 -44
  612. package/src/operationsInterfaces/roles.ts +0 -109
  613. package/src/operationsInterfaces/servers.ts +0 -44
  614. package/src/pagingHelper.ts +0 -39
  615. package/tsconfig.json +0 -33
  616. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  617. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  618. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  619. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  620. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  621. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  622. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  623. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  624. /package/{dist-esm/src → dist/browser}/operationsInterfaces/clusters.js +0 -0
  625. /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurations.js +0 -0
  626. /package/{dist-esm/src → dist/browser}/operationsInterfaces/firewallRules.js +0 -0
  627. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  628. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  629. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  630. /package/{dist-esm/src → dist/browser}/operationsInterfaces/roles.js +0 -0
  631. /package/{dist-esm/src → dist/browser}/operationsInterfaces/servers.js +0 -0
  632. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  633. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  634. /package/review/{arm-cosmosdbforpostgresql.api.md → arm-cosmosdbforpostgresql-node.api.md} +0 -0
@@ -1,1829 +1,1214 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } from '@azure/core-lro';
6
-
7
- /**
8
- * Defines values for ActiveDirectoryAuth. \
9
- * {@link KnownActiveDirectoryAuth} can be used interchangeably with ActiveDirectoryAuth,
10
- * this enum contains the known values that the service supports.
11
- * ### Known values supported by the service
12
- * **enabled** \
13
- * **disabled**
14
- */
15
- export declare type ActiveDirectoryAuth = string;
16
-
17
- /** Authentication configuration of a cluster. */
18
- export declare interface AuthConfig {
19
- activeDirectoryAuth?: ActiveDirectoryAuth;
20
- passwordAuth?: PasswordAuth;
21
- }
22
-
23
- /** Represents a cluster. */
24
- export declare interface Cluster extends TrackedResource {
25
- /**
26
- * The administrator's login name of the servers in the cluster.
27
- * NOTE: This property will not be serialized. It can only be populated by the server.
28
- */
29
- readonly administratorLogin?: string;
30
- /**
31
- * The password of the administrator login. Required for creation.
32
- * This value contains a credential. Consider obscuring before showing to users
33
- */
34
- administratorLoginPassword?: string;
35
- /**
36
- * Provisioning state of the cluster
37
- * NOTE: This property will not be serialized. It can only be populated by the server.
38
- */
39
- readonly provisioningState?: string;
40
- /**
41
- * A state of a cluster/server that is visible to user.
42
- * NOTE: This property will not be serialized. It can only be populated by the server.
43
- */
44
- readonly state?: string;
45
- /** The major PostgreSQL version on all cluster servers. */
46
- postgresqlVersion?: string;
47
- /** The Citus extension version on all cluster servers. */
48
- citusVersion?: string;
49
- /** Maintenance window of a cluster. */
50
- maintenanceWindow?: MaintenanceWindow;
51
- /** Preferred primary availability zone (AZ) for all cluster servers. */
52
- preferredPrimaryZone?: string;
53
- /** If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed. */
54
- enableShardsOnCoordinator?: boolean;
55
- /** If high availability (HA) is enabled or not for the cluster. */
56
- enableHa?: boolean;
57
- /** The edition of a coordinator server (default: GeneralPurpose). Required for creation. */
58
- coordinatorServerEdition?: string;
59
- /** The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
60
- coordinatorStorageQuotaInMb?: number;
61
- /** The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
62
- coordinatorVCores?: number;
63
- /** If public access is enabled on coordinator. */
64
- coordinatorEnablePublicIpAccess?: boolean;
65
- /** The edition of a node server (default: MemoryOptimized). */
66
- nodeServerEdition?: string;
67
- /** Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation. */
68
- nodeCount?: number;
69
- /** The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
70
- nodeStorageQuotaInMb?: number;
71
- /** The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
72
- nodeVCores?: number;
73
- /** If public access is enabled on worker nodes. */
74
- nodeEnablePublicIpAccess?: boolean;
75
- /**
76
- * The list of server names in the cluster
77
- * NOTE: This property will not be serialized. It can only be populated by the server.
78
- */
79
- readonly serverNames?: ServerNameItem[];
80
- /** The resource id of source cluster for read replica clusters. */
81
- sourceResourceId?: string;
82
- /** The Azure region of source cluster for read replica clusters. */
83
- sourceLocation?: string;
84
- /** Date and time in UTC (ISO8601 format) for cluster restore. */
85
- pointInTimeUTC?: Date;
86
- /**
87
- * The array of read replica clusters.
88
- * NOTE: This property will not be serialized. It can only be populated by the server.
89
- */
90
- readonly readReplicas?: string[];
91
- /**
92
- * The earliest restore point time (ISO8601 format) for the cluster.
93
- * NOTE: This property will not be serialized. It can only be populated by the server.
94
- */
95
- readonly earliestRestoreTime?: Date;
96
- /**
97
- * The private endpoint connections for a cluster.
98
- * NOTE: This property will not be serialized. It can only be populated by the server.
99
- */
100
- readonly privateEndpointConnections?: SimplePrivateEndpointConnection[];
101
- /** The database name of the cluster. Only one database per cluster is supported. */
102
- databaseName?: string;
103
- /** If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation. */
104
- enableGeoBackup?: boolean;
105
- /** Authentication configuration of a cluster. */
106
- authConfig?: AuthConfig;
107
- }
108
-
109
- /** A list of cluster configurations. */
110
- export declare interface ClusterConfigurationListResult {
111
- /** The list of cluster configurations. */
112
- value?: Configuration[];
113
- /**
114
- * Link to retrieve next page of results.
115
- * NOTE: This property will not be serialized. It can only be populated by the server.
116
- */
117
- readonly nextLink?: string;
118
- }
119
-
120
- /** Represents a cluster for update. */
121
- export declare interface ClusterForUpdate {
122
- /** Application-specific metadata in the form of key-value pairs. */
123
- tags?: {
124
- [propertyName: string]: string;
125
- };
126
- /**
127
- * The password of the administrator login. Each cluster is created with pre-defined administrative role called ‘citus’.
128
- * This value contains a credential. Consider obscuring before showing to users
129
- */
130
- administratorLoginPassword?: string;
131
- /** The major PostgreSQL version on all cluster servers. */
132
- postgresqlVersion?: string;
133
- /** The Citus extension version on all cluster servers. */
134
- citusVersion?: string;
135
- /** If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed. */
136
- enableShardsOnCoordinator?: boolean;
137
- /** If high availability (HA) is enabled or not for the cluster. */
138
- enableHa?: boolean;
139
- /** Preferred primary availability zone (AZ) for all cluster servers. */
140
- preferredPrimaryZone?: string;
141
- /** The edition of the coordinator (default: GeneralPurpose). */
142
- coordinatorServerEdition?: string;
143
- /** The storage of the coordinator in MB. */
144
- coordinatorStorageQuotaInMb?: number;
145
- /** The vCores count of the coordinator (max: 96). */
146
- coordinatorVCores?: number;
147
- /** If public access is enabled on coordinator. */
148
- coordinatorEnablePublicIpAccess?: boolean;
149
- /** The edition of a node (default: MemoryOptimized). */
150
- nodeServerEdition?: string;
151
- /** Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. */
152
- nodeCount?: number;
153
- /** The storage in MB on each worker node. */
154
- nodeStorageQuotaInMb?: number;
155
- /** The compute in vCores on each worker node (max: 104). */
156
- nodeVCores?: number;
157
- /**
158
- * If public access is enabled on worker nodes.
159
- * NOTE: This property will not be serialized. It can only be populated by the server.
160
- */
161
- readonly nodeEnablePublicIpAccess?: boolean;
162
- /** Maintenance window of a cluster. */
163
- maintenanceWindow?: MaintenanceWindow;
164
- }
165
-
166
- /** A list of clusters. */
167
- export declare interface ClusterListResult {
168
- /** The list of clusters */
169
- value?: Cluster[];
170
- /**
171
- * The link used to get the next page of cluster list.
172
- * NOTE: This property will not be serialized. It can only be populated by the server.
173
- */
174
- readonly nextLink?: string;
175
- }
176
-
177
- /** Interface representing a Clusters. */
178
- export declare interface Clusters {
179
- /**
180
- * Lists all clusters in a subscription.
181
- * @param options The options parameters.
182
- */
183
- list(options?: ClustersListOptionalParams): PagedAsyncIterableIterator<Cluster>;
184
- /**
185
- * Lists all clusters in a resource group.
186
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
187
- * @param options The options parameters.
188
- */
189
- listByResourceGroup(resourceGroupName: string, options?: ClustersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Cluster>;
190
- /**
191
- * Creates a new cluster with servers.
192
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
- * @param clusterName The name of the cluster.
194
- * @param parameters The required parameters for creating or updating a cluster.
195
- * @param options The options parameters.
196
- */
197
- beginCreate(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersCreateResponse>, ClustersCreateResponse>>;
198
- /**
199
- * Creates a new cluster with servers.
200
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
201
- * @param clusterName The name of the cluster.
202
- * @param parameters The required parameters for creating or updating a cluster.
203
- * @param options The options parameters.
204
- */
205
- beginCreateAndWait(resourceGroupName: string, clusterName: string, parameters: Cluster, options?: ClustersCreateOptionalParams): Promise<ClustersCreateResponse>;
206
- /**
207
- * Gets information about a cluster such as compute and storage configuration and cluster lifecycle
208
- * metadata such as cluster creation date and time.
209
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
210
- * @param clusterName The name of the cluster.
211
- * @param options The options parameters.
212
- */
213
- get(resourceGroupName: string, clusterName: string, options?: ClustersGetOptionalParams): Promise<ClustersGetResponse>;
214
- /**
215
- * Deletes a cluster together with servers in it.
216
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
217
- * @param clusterName The name of the cluster.
218
- * @param options The options parameters.
219
- */
220
- beginDelete(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
221
- /**
222
- * Deletes a cluster together with servers in it.
223
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
224
- * @param clusterName The name of the cluster.
225
- * @param options The options parameters.
226
- */
227
- beginDeleteAndWait(resourceGroupName: string, clusterName: string, options?: ClustersDeleteOptionalParams): Promise<void>;
228
- /**
229
- * Updates an existing cluster. The request body can contain one or several properties from the cluster
230
- * definition.
231
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
232
- * @param clusterName The name of the cluster.
233
- * @param parameters The parameters for updating a cluster.
234
- * @param options The options parameters.
235
- */
236
- beginUpdate(resourceGroupName: string, clusterName: string, parameters: ClusterForUpdate, options?: ClustersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ClustersUpdateResponse>, ClustersUpdateResponse>>;
237
- /**
238
- * Updates an existing cluster. The request body can contain one or several properties from the cluster
239
- * definition.
240
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
241
- * @param clusterName The name of the cluster.
242
- * @param parameters The parameters for updating a cluster.
243
- * @param options The options parameters.
244
- */
245
- beginUpdateAndWait(resourceGroupName: string, clusterName: string, parameters: ClusterForUpdate, options?: ClustersUpdateOptionalParams): Promise<ClustersUpdateResponse>;
246
- /**
247
- * Restarts all nodes in the cluster.
248
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
249
- * @param clusterName The name of the cluster.
250
- * @param options The options parameters.
251
- */
252
- beginRestart(resourceGroupName: string, clusterName: string, options?: ClustersRestartOptionalParams): Promise<SimplePollerLike<OperationState<ClustersRestartResponse>, ClustersRestartResponse>>;
253
- /**
254
- * Restarts all nodes in the cluster.
255
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
256
- * @param clusterName The name of the cluster.
257
- * @param options The options parameters.
258
- */
259
- beginRestartAndWait(resourceGroupName: string, clusterName: string, options?: ClustersRestartOptionalParams): Promise<ClustersRestartResponse>;
260
- /**
261
- * Starts stopped compute on all cluster nodes.
262
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
263
- * @param clusterName The name of the cluster.
264
- * @param options The options parameters.
265
- */
266
- beginStart(resourceGroupName: string, clusterName: string, options?: ClustersStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
267
- /**
268
- * Starts stopped compute on all cluster nodes.
269
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
270
- * @param clusterName The name of the cluster.
271
- * @param options The options parameters.
272
- */
273
- beginStartAndWait(resourceGroupName: string, clusterName: string, options?: ClustersStartOptionalParams): Promise<void>;
274
- /**
275
- * Stops compute on all cluster nodes.
276
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
277
- * @param clusterName The name of the cluster.
278
- * @param options The options parameters.
279
- */
280
- beginStop(resourceGroupName: string, clusterName: string, options?: ClustersStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
281
- /**
282
- * Stops compute on all cluster nodes.
283
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
284
- * @param clusterName The name of the cluster.
285
- * @param options The options parameters.
286
- */
287
- beginStopAndWait(resourceGroupName: string, clusterName: string, options?: ClustersStopOptionalParams): Promise<void>;
288
- /**
289
- * Promotes read replica cluster to an independent read-write cluster.
290
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
291
- * @param clusterName The name of the cluster.
292
- * @param options The options parameters.
293
- */
294
- beginPromoteReadReplica(resourceGroupName: string, clusterName: string, options?: ClustersPromoteReadReplicaOptionalParams): Promise<SimplePollerLike<OperationState<ClustersPromoteReadReplicaResponse>, ClustersPromoteReadReplicaResponse>>;
295
- /**
296
- * Promotes read replica cluster to an independent read-write cluster.
297
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
298
- * @param clusterName The name of the cluster.
299
- * @param options The options parameters.
300
- */
301
- beginPromoteReadReplicaAndWait(resourceGroupName: string, clusterName: string, options?: ClustersPromoteReadReplicaOptionalParams): Promise<ClustersPromoteReadReplicaResponse>;
302
- /**
303
- * Checks availability of a cluster name. Cluster names should be globally unique; at least 3
304
- * characters and at most 40 characters long; they must only contain lowercase letters, numbers, and
305
- * hyphens; and must not start or end with a hyphen.
306
- * @param nameAvailabilityRequest The required parameters for checking if cluster name is available.
307
- * @param options The options parameters.
308
- */
309
- checkNameAvailability(nameAvailabilityRequest: NameAvailabilityRequest, options?: ClustersCheckNameAvailabilityOptionalParams): Promise<ClustersCheckNameAvailabilityResponse>;
310
- }
311
-
312
- /** Optional parameters. */
313
- export declare interface ClustersCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
314
- }
315
-
316
- /** Contains response data for the checkNameAvailability operation. */
317
- export declare type ClustersCheckNameAvailabilityResponse = NameAvailability;
318
-
319
- /** Defines headers for Clusters_create operation. */
320
- export declare interface ClustersCreateHeaders {
321
- location?: string;
322
- azureAsyncOperation?: string;
323
- }
324
-
325
- /** Optional parameters. */
326
- export declare interface ClustersCreateOptionalParams extends coreClient.OperationOptions {
327
- /** Delay to wait until next poll, in milliseconds. */
328
- updateIntervalInMs?: number;
329
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
330
- resumeFrom?: string;
331
- }
332
-
333
- /** Contains response data for the create operation. */
334
- export declare type ClustersCreateResponse = Cluster;
335
-
336
- /** Defines headers for Clusters_delete operation. */
337
- export declare interface ClustersDeleteHeaders {
338
- location?: string;
339
- azureAsyncOperation?: string;
340
- }
341
-
342
- /** Optional parameters. */
343
- export declare interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
344
- /** Delay to wait until next poll, in milliseconds. */
345
- updateIntervalInMs?: number;
346
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
347
- resumeFrom?: string;
348
- }
349
-
350
- /** Represents a server in a cluster. */
351
- export declare interface ClusterServer extends ProxyResource {
352
- /** The edition of a server. */
353
- serverEdition?: string;
354
- /** The storage of a server in MB. */
355
- storageQuotaInMb?: number;
356
- /** The vCores count of a server. */
357
- vCores?: number;
358
- /** If high availability (HA) is enabled or not for the server. */
359
- enableHa?: boolean;
360
- /**
361
- * If public access is enabled on server.
362
- * NOTE: This property will not be serialized. It can only be populated by the server.
363
- */
364
- readonly enablePublicIpAccess?: boolean;
365
- /**
366
- * If server database is set to read-only by system maintenance depending on high disk space usage.
367
- * NOTE: This property will not be serialized. It can only be populated by the server.
368
- */
369
- readonly isReadOnly?: boolean;
370
- /**
371
- * The administrator's login name of the servers in the cluster.
372
- * NOTE: This property will not be serialized. It can only be populated by the server.
373
- */
374
- readonly administratorLogin?: string;
375
- /**
376
- * The fully qualified domain name of a server.
377
- * NOTE: This property will not be serialized. It can only be populated by the server.
378
- */
379
- readonly fullyQualifiedDomainName?: string;
380
- /** The role of server in the cluster. */
381
- role?: ServerRole;
382
- /**
383
- * A state of a cluster/server that is visible to user.
384
- * NOTE: This property will not be serialized. It can only be populated by the server.
385
- */
386
- readonly state?: string;
387
- /**
388
- * A state of HA feature for the cluster.
389
- * NOTE: This property will not be serialized. It can only be populated by the server.
390
- */
391
- readonly haState?: string;
392
- /** Availability Zone information of the server. */
393
- availabilityZone?: string;
394
- /** The major PostgreSQL version of server. */
395
- postgresqlVersion?: string;
396
- /** The Citus extension version of server. */
397
- citusVersion?: string;
398
- }
399
-
400
- /** A list of servers in a cluster. */
401
- export declare interface ClusterServerListResult {
402
- /** The list of servers in a cluster. */
403
- value?: ClusterServer[];
404
- }
405
-
406
- /** The properties of a server in cluster. */
407
- export declare interface ClusterServerProperties extends ServerProperties {
408
- /**
409
- * The fully qualified domain name of a server.
410
- * NOTE: This property will not be serialized. It can only be populated by the server.
411
- */
412
- readonly fullyQualifiedDomainName?: string;
413
- /** The role of server in the cluster. */
414
- role?: ServerRole;
415
- /**
416
- * A state of a cluster/server that is visible to user.
417
- * NOTE: This property will not be serialized. It can only be populated by the server.
418
- */
419
- readonly state?: string;
420
- /**
421
- * A state of HA feature for the cluster.
422
- * NOTE: This property will not be serialized. It can only be populated by the server.
423
- */
424
- readonly haState?: string;
425
- /** Availability Zone information of the server. */
426
- availabilityZone?: string;
427
- /** The major PostgreSQL version of server. */
428
- postgresqlVersion?: string;
429
- /** The Citus extension version of server. */
430
- citusVersion?: string;
431
- }
432
-
433
- /** Optional parameters. */
434
- export declare interface ClustersGetOptionalParams extends coreClient.OperationOptions {
435
- }
436
-
437
- /** Contains response data for the get operation. */
438
- export declare type ClustersGetResponse = Cluster;
439
-
440
- /** Optional parameters. */
441
- export declare interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
442
- }
443
-
444
- /** Contains response data for the listByResourceGroupNext operation. */
445
- export declare type ClustersListByResourceGroupNextResponse = ClusterListResult;
446
-
447
- /** Optional parameters. */
448
- export declare interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
449
- }
450
-
451
- /** Contains response data for the listByResourceGroup operation. */
452
- export declare type ClustersListByResourceGroupResponse = ClusterListResult;
453
-
454
- /** Optional parameters. */
455
- export declare interface ClustersListNextOptionalParams extends coreClient.OperationOptions {
456
- }
457
-
458
- /** Contains response data for the listNext operation. */
459
- export declare type ClustersListNextResponse = ClusterListResult;
460
-
461
- /** Optional parameters. */
462
- export declare interface ClustersListOptionalParams extends coreClient.OperationOptions {
463
- }
464
-
465
- /** Contains response data for the list operation. */
466
- export declare type ClustersListResponse = ClusterListResult;
467
-
468
- /** Defines headers for Clusters_promoteReadReplica operation. */
469
- export declare interface ClustersPromoteReadReplicaHeaders {
470
- location?: string;
471
- azureAsyncOperation?: string;
472
- }
473
-
474
- /** Optional parameters. */
475
- export declare interface ClustersPromoteReadReplicaOptionalParams extends coreClient.OperationOptions {
476
- /** The parameter for enabling geo-redundant backup while promoting read replica. */
477
- promoteRequest?: PromoteRequest;
478
- /** Delay to wait until next poll, in milliseconds. */
479
- updateIntervalInMs?: number;
480
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
481
- resumeFrom?: string;
482
- }
483
-
484
- /** Contains response data for the promoteReadReplica operation. */
485
- export declare type ClustersPromoteReadReplicaResponse = ClustersPromoteReadReplicaHeaders;
486
-
487
- /** Defines headers for Clusters_restart operation. */
488
- export declare interface ClustersRestartHeaders {
489
- location?: string;
490
- azureAsyncOperation?: string;
491
- }
492
-
493
- /** Optional parameters. */
494
- export declare interface ClustersRestartOptionalParams extends coreClient.OperationOptions {
495
- /** Delay to wait until next poll, in milliseconds. */
496
- updateIntervalInMs?: number;
497
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
498
- resumeFrom?: string;
499
- }
500
-
501
- /** Contains response data for the restart operation. */
502
- export declare type ClustersRestartResponse = ClustersRestartHeaders;
503
-
504
- /** Defines headers for Clusters_start operation. */
505
- export declare interface ClustersStartHeaders {
506
- location?: string;
507
- azureAsyncOperation?: string;
508
- }
509
-
510
- /** Optional parameters. */
511
- export declare interface ClustersStartOptionalParams extends coreClient.OperationOptions {
512
- /** Delay to wait until next poll, in milliseconds. */
513
- updateIntervalInMs?: number;
514
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
515
- resumeFrom?: string;
516
- }
517
-
518
- /** Defines headers for Clusters_stop operation. */
519
- export declare interface ClustersStopHeaders {
520
- location?: string;
521
- azureAsyncOperation?: string;
522
- }
523
-
524
- /** Optional parameters. */
525
- export declare interface ClustersStopOptionalParams extends coreClient.OperationOptions {
526
- /** Delay to wait until next poll, in milliseconds. */
527
- updateIntervalInMs?: number;
528
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
529
- resumeFrom?: string;
530
- }
531
-
532
- /** Defines headers for Clusters_update operation. */
533
- export declare interface ClustersUpdateHeaders {
534
- location?: string;
535
- azureAsyncOperation?: string;
536
- }
537
-
538
- /** Optional parameters. */
539
- export declare interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
540
- /** Delay to wait until next poll, in milliseconds. */
541
- updateIntervalInMs?: number;
542
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
543
- resumeFrom?: string;
544
- }
545
-
546
- /** Contains response data for the update operation. */
547
- export declare type ClustersUpdateResponse = Cluster;
548
-
549
- /** Represents configuration details for coordinator and node. */
550
- export declare interface Configuration extends ProxyResource {
551
- /**
552
- * Description of the configuration.
553
- * NOTE: This property will not be serialized. It can only be populated by the server.
554
- */
555
- readonly description?: string;
556
- /**
557
- * Data type of the configuration.
558
- * NOTE: This property will not be serialized. It can only be populated by the server.
559
- */
560
- readonly dataType?: ConfigurationDataType;
561
- /**
562
- * Allowed values of the configuration.
563
- * NOTE: This property will not be serialized. It can only be populated by the server.
564
- */
565
- readonly allowedValues?: string;
566
- /** If configuration change requires restart. */
567
- requiresRestart?: boolean;
568
- /** The list of server role group configuration values. */
569
- serverRoleGroupConfigurations?: ServerRoleGroupConfiguration[];
570
- /**
571
- * Provisioning state of the configuration
572
- * NOTE: This property will not be serialized. It can only be populated by the server.
573
- */
574
- readonly provisioningState?: ProvisioningState;
575
- }
576
-
577
- /**
578
- * Defines values for ConfigurationDataType. \
579
- * {@link KnownConfigurationDataType} can be used interchangeably with ConfigurationDataType,
580
- * this enum contains the known values that the service supports.
581
- * ### Known values supported by the service
582
- * **Boolean** \
583
- * **Numeric** \
584
- * **Integer** \
585
- * **Enumeration**
586
- */
587
- export declare type ConfigurationDataType = string;
588
-
589
- /** Interface representing a Configurations. */
590
- export declare interface Configurations {
591
- /**
592
- * List all the configurations of a server in cluster.
593
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
594
- * @param clusterName The name of the cluster.
595
- * @param serverName The name of the server.
596
- * @param options The options parameters.
597
- */
598
- listByServer(resourceGroupName: string, clusterName: string, serverName: string, options?: ConfigurationsListByServerOptionalParams): PagedAsyncIterableIterator<ServerConfiguration>;
599
- /**
600
- * List all the configurations of a cluster.
601
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
602
- * @param clusterName The name of the cluster.
603
- * @param options The options parameters.
604
- */
605
- listByCluster(resourceGroupName: string, clusterName: string, options?: ConfigurationsListByClusterOptionalParams): PagedAsyncIterableIterator<Configuration>;
606
- /**
607
- * Gets information of a configuration for coordinator and nodes.
608
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
609
- * @param clusterName The name of the cluster.
610
- * @param configurationName The name of the cluster configuration.
611
- * @param options The options parameters.
612
- */
613
- get(resourceGroupName: string, clusterName: string, configurationName: string, options?: ConfigurationsGetOptionalParams): Promise<ConfigurationsGetResponse>;
614
- /**
615
- * Gets information of a configuration for coordinator.
616
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
617
- * @param clusterName The name of the cluster.
618
- * @param configurationName The name of the cluster configuration.
619
- * @param options The options parameters.
620
- */
621
- getCoordinator(resourceGroupName: string, clusterName: string, configurationName: string, options?: ConfigurationsGetCoordinatorOptionalParams): Promise<ConfigurationsGetCoordinatorResponse>;
622
- /**
623
- * Updates configuration of coordinator in a cluster
624
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
625
- * @param clusterName The name of the cluster.
626
- * @param configurationName The name of the cluster configuration.
627
- * @param parameters The required parameters for updating a cluster configuration.
628
- * @param options The options parameters.
629
- */
630
- beginUpdateOnCoordinator(resourceGroupName: string, clusterName: string, configurationName: string, parameters: ServerConfiguration, options?: ConfigurationsUpdateOnCoordinatorOptionalParams): Promise<SimplePollerLike<OperationState<ConfigurationsUpdateOnCoordinatorResponse>, ConfigurationsUpdateOnCoordinatorResponse>>;
631
- /**
632
- * Updates configuration of coordinator in a cluster
633
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
634
- * @param clusterName The name of the cluster.
635
- * @param configurationName The name of the cluster configuration.
636
- * @param parameters The required parameters for updating a cluster configuration.
637
- * @param options The options parameters.
638
- */
639
- beginUpdateOnCoordinatorAndWait(resourceGroupName: string, clusterName: string, configurationName: string, parameters: ServerConfiguration, options?: ConfigurationsUpdateOnCoordinatorOptionalParams): Promise<ConfigurationsUpdateOnCoordinatorResponse>;
640
- /**
641
- * Gets information of a configuration for worker nodes.
642
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
643
- * @param clusterName The name of the cluster.
644
- * @param configurationName The name of the cluster configuration.
645
- * @param options The options parameters.
646
- */
647
- getNode(resourceGroupName: string, clusterName: string, configurationName: string, options?: ConfigurationsGetNodeOptionalParams): Promise<ConfigurationsGetNodeResponse>;
648
- /**
649
- * Updates configuration of worker nodes in a cluster
650
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
651
- * @param clusterName The name of the cluster.
652
- * @param configurationName The name of the cluster configuration.
653
- * @param parameters The required parameters for updating a cluster configuration.
654
- * @param options The options parameters.
655
- */
656
- beginUpdateOnNode(resourceGroupName: string, clusterName: string, configurationName: string, parameters: ServerConfiguration, options?: ConfigurationsUpdateOnNodeOptionalParams): Promise<SimplePollerLike<OperationState<ConfigurationsUpdateOnNodeResponse>, ConfigurationsUpdateOnNodeResponse>>;
657
- /**
658
- * Updates configuration of worker nodes in a cluster
659
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
660
- * @param clusterName The name of the cluster.
661
- * @param configurationName The name of the cluster configuration.
662
- * @param parameters The required parameters for updating a cluster configuration.
663
- * @param options The options parameters.
664
- */
665
- beginUpdateOnNodeAndWait(resourceGroupName: string, clusterName: string, configurationName: string, parameters: ServerConfiguration, options?: ConfigurationsUpdateOnNodeOptionalParams): Promise<ConfigurationsUpdateOnNodeResponse>;
666
- }
667
-
668
- /** Optional parameters. */
669
- export declare interface ConfigurationsGetCoordinatorOptionalParams extends coreClient.OperationOptions {
670
- }
671
-
672
- /** Contains response data for the getCoordinator operation. */
673
- export declare type ConfigurationsGetCoordinatorResponse = ServerConfiguration;
674
-
675
- /** Optional parameters. */
676
- export declare interface ConfigurationsGetNodeOptionalParams extends coreClient.OperationOptions {
677
- }
678
-
679
- /** Contains response data for the getNode operation. */
680
- export declare type ConfigurationsGetNodeResponse = ServerConfiguration;
681
-
682
- /** Optional parameters. */
683
- export declare interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
684
- }
685
-
686
- /** Contains response data for the get operation. */
687
- export declare type ConfigurationsGetResponse = Configuration;
688
-
689
- /** Optional parameters. */
690
- export declare interface ConfigurationsListByClusterNextOptionalParams extends coreClient.OperationOptions {
691
- }
692
-
693
- /** Contains response data for the listByClusterNext operation. */
694
- export declare type ConfigurationsListByClusterNextResponse = ClusterConfigurationListResult;
695
-
696
- /** Optional parameters. */
697
- export declare interface ConfigurationsListByClusterOptionalParams extends coreClient.OperationOptions {
698
- }
699
-
700
- /** Contains response data for the listByCluster operation. */
701
- export declare type ConfigurationsListByClusterResponse = ClusterConfigurationListResult;
702
-
703
- /** Optional parameters. */
704
- export declare interface ConfigurationsListByServerNextOptionalParams extends coreClient.OperationOptions {
705
- }
706
-
707
- /** Contains response data for the listByServerNext operation. */
708
- export declare type ConfigurationsListByServerNextResponse = ServerConfigurationListResult;
709
-
710
- /** Optional parameters. */
711
- export declare interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
712
- }
713
-
714
- /** Contains response data for the listByServer operation. */
715
- export declare type ConfigurationsListByServerResponse = ServerConfigurationListResult;
716
-
717
- /** Defines headers for Configurations_updateOnCoordinator operation. */
718
- export declare interface ConfigurationsUpdateOnCoordinatorHeaders {
719
- location?: string;
720
- azureAsyncOperation?: string;
721
- }
722
-
723
- /** Optional parameters. */
724
- export declare interface ConfigurationsUpdateOnCoordinatorOptionalParams extends coreClient.OperationOptions {
725
- /** Delay to wait until next poll, in milliseconds. */
726
- updateIntervalInMs?: number;
727
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
728
- resumeFrom?: string;
729
- }
730
-
731
- /** Contains response data for the updateOnCoordinator operation. */
732
- export declare type ConfigurationsUpdateOnCoordinatorResponse = ServerConfiguration;
733
-
734
- /** Defines headers for Configurations_updateOnNode operation. */
735
- export declare interface ConfigurationsUpdateOnNodeHeaders {
736
- location?: string;
737
- azureAsyncOperation?: string;
738
- }
739
-
740
- /** Optional parameters. */
741
- export declare interface ConfigurationsUpdateOnNodeOptionalParams extends coreClient.OperationOptions {
742
- /** Delay to wait until next poll, in milliseconds. */
743
- updateIntervalInMs?: number;
744
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
745
- resumeFrom?: string;
746
- }
747
-
748
- /** Contains response data for the updateOnNode operation. */
749
- export declare type ConfigurationsUpdateOnNodeResponse = ServerConfiguration;
750
-
751
- export declare class CosmosDBForPostgreSQL extends coreClient.ServiceClient {
752
- $host: string;
753
- apiVersion: string;
754
- subscriptionId: string;
755
- /**
756
- * Initializes a new instance of the CosmosDBForPostgreSQL class.
757
- * @param credentials Subscription credentials which uniquely identify client subscription.
758
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
759
- * @param options The parameter options
760
- */
761
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CosmosDBForPostgreSQLOptionalParams);
762
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
763
- private addCustomApiVersionPolicy;
764
- clusters: Clusters;
765
- servers: Servers;
766
- configurations: Configurations;
767
- firewallRules: FirewallRules;
768
- roles: Roles;
769
- operations: Operations;
770
- privateEndpointConnections: PrivateEndpointConnections;
771
- privateLinkResources: PrivateLinkResources;
772
- }
773
-
774
- /** Optional parameters. */
775
- export declare interface CosmosDBForPostgreSQLOptionalParams extends coreClient.ServiceClientOptions {
776
- /** server parameter */
777
- $host?: string;
778
- /** Api Version */
779
- apiVersion?: string;
780
- /** Overrides client endpoint. */
781
- endpoint?: string;
782
- }
783
-
784
- /**
785
- * Defines values for CreatedByType. \
786
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
787
- * this enum contains the known values that the service supports.
788
- * ### Known values supported by the service
789
- * **User** \
790
- * **Application** \
791
- * **ManagedIdentity** \
792
- * **Key**
793
- */
794
- export declare type CreatedByType = string;
795
-
796
- /** The resource management error additional info. */
797
- export declare interface ErrorAdditionalInfo {
798
- /**
799
- * The additional info type.
800
- * NOTE: This property will not be serialized. It can only be populated by the server.
801
- */
802
- readonly type?: string;
803
- /**
804
- * The additional info.
805
- * NOTE: This property will not be serialized. It can only be populated by the server.
806
- */
807
- readonly info?: Record<string, unknown>;
808
- }
809
-
810
- /** The error detail. */
811
- export declare interface ErrorDetail {
812
- /**
813
- * The error code.
814
- * NOTE: This property will not be serialized. It can only be populated by the server.
815
- */
816
- readonly code?: string;
817
- /**
818
- * The error message.
819
- * NOTE: This property will not be serialized. It can only be populated by the server.
820
- */
821
- readonly message?: string;
822
- /**
823
- * The error target.
824
- * NOTE: This property will not be serialized. It can only be populated by the server.
825
- */
826
- readonly target?: string;
827
- /**
828
- * The error details.
829
- * NOTE: This property will not be serialized. It can only be populated by the server.
830
- */
831
- readonly details?: ErrorDetail[];
832
- /**
833
- * The error additional info.
834
- * NOTE: This property will not be serialized. It can only be populated by the server.
835
- */
836
- readonly additionalInfo?: ErrorAdditionalInfo[];
837
- }
838
-
839
- /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
840
- export declare interface ErrorResponse {
841
- /** The error object. */
842
- error?: ErrorDetail;
843
- }
844
-
845
- /** Represents a cluster firewall rule. */
846
- export declare interface FirewallRule extends ProxyResource {
847
- /** The start IP address of the cluster firewall rule. Must be IPv4 format. */
848
- startIpAddress: string;
849
- /** The end IP address of the cluster firewall rule. Must be IPv4 format. */
850
- endIpAddress: string;
851
- /**
852
- * Provisioning state of the firewall rule.
853
- * NOTE: This property will not be serialized. It can only be populated by the server.
854
- */
855
- readonly provisioningState?: ProvisioningState;
856
- }
857
-
858
- /** A list of firewall rules. */
859
- export declare interface FirewallRuleListResult {
860
- /** The list of firewall rules in a cluster. */
861
- value?: FirewallRule[];
862
- }
863
-
864
- /** Interface representing a FirewallRules. */
865
- export declare interface FirewallRules {
866
- /**
867
- * Lists all the firewall rules on cluster.
868
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
869
- * @param clusterName The name of the cluster.
870
- * @param options The options parameters.
871
- */
872
- listByCluster(resourceGroupName: string, clusterName: string, options?: FirewallRulesListByClusterOptionalParams): PagedAsyncIterableIterator<FirewallRule>;
873
- /**
874
- * Creates a new cluster firewall rule or updates an existing cluster firewall rule.
875
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
876
- * @param clusterName The name of the cluster.
877
- * @param firewallRuleName The name of the cluster firewall rule.
878
- * @param parameters The required parameters for creating or updating a firewall rule.
879
- * @param options The options parameters.
880
- */
881
- beginCreateOrUpdate(resourceGroupName: string, clusterName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FirewallRulesCreateOrUpdateResponse>, FirewallRulesCreateOrUpdateResponse>>;
882
- /**
883
- * Creates a new cluster firewall rule or updates an existing cluster firewall rule.
884
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
885
- * @param clusterName The name of the cluster.
886
- * @param firewallRuleName The name of the cluster firewall rule.
887
- * @param parameters The required parameters for creating or updating a firewall rule.
888
- * @param options The options parameters.
889
- */
890
- beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, firewallRuleName: string, parameters: FirewallRule, options?: FirewallRulesCreateOrUpdateOptionalParams): Promise<FirewallRulesCreateOrUpdateResponse>;
891
- /**
892
- * Deletes a cluster firewall rule.
893
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
894
- * @param clusterName The name of the cluster.
895
- * @param firewallRuleName The name of the cluster firewall rule.
896
- * @param options The options parameters.
897
- */
898
- beginDelete(resourceGroupName: string, clusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FirewallRulesDeleteResponse>, FirewallRulesDeleteResponse>>;
899
- /**
900
- * Deletes a cluster firewall rule.
901
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
902
- * @param clusterName The name of the cluster.
903
- * @param firewallRuleName The name of the cluster firewall rule.
904
- * @param options The options parameters.
905
- */
906
- beginDeleteAndWait(resourceGroupName: string, clusterName: string, firewallRuleName: string, options?: FirewallRulesDeleteOptionalParams): Promise<FirewallRulesDeleteResponse>;
907
- /**
908
- * Gets information about a cluster firewall rule.
909
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
910
- * @param clusterName The name of the cluster.
911
- * @param firewallRuleName The name of the cluster firewall rule.
912
- * @param options The options parameters.
913
- */
914
- get(resourceGroupName: string, clusterName: string, firewallRuleName: string, options?: FirewallRulesGetOptionalParams): Promise<FirewallRulesGetResponse>;
915
- }
916
-
917
- /** Defines headers for FirewallRules_createOrUpdate operation. */
918
- export declare interface FirewallRulesCreateOrUpdateHeaders {
919
- location?: string;
920
- azureAsyncOperation?: string;
921
- }
922
-
923
- /** Optional parameters. */
924
- export declare interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
925
- /** Delay to wait until next poll, in milliseconds. */
926
- updateIntervalInMs?: number;
927
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
928
- resumeFrom?: string;
929
- }
930
-
931
- /** Contains response data for the createOrUpdate operation. */
932
- export declare type FirewallRulesCreateOrUpdateResponse = FirewallRule;
933
-
934
- /** Defines headers for FirewallRules_delete operation. */
935
- export declare interface FirewallRulesDeleteHeaders {
936
- location?: string;
937
- azureAsyncOperation?: string;
938
- }
939
-
940
- /** Optional parameters. */
941
- export declare interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
942
- /** Delay to wait until next poll, in milliseconds. */
943
- updateIntervalInMs?: number;
944
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
945
- resumeFrom?: string;
946
- }
947
-
948
- /** Contains response data for the delete operation. */
949
- export declare type FirewallRulesDeleteResponse = FirewallRulesDeleteHeaders;
950
-
951
- /** Optional parameters. */
952
- export declare interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
953
- }
954
-
955
- /** Contains response data for the get operation. */
956
- export declare type FirewallRulesGetResponse = FirewallRule;
957
-
958
- /** Optional parameters. */
959
- export declare interface FirewallRulesListByClusterOptionalParams extends coreClient.OperationOptions {
960
- }
961
-
962
- /** Contains response data for the listByCluster operation. */
963
- export declare type FirewallRulesListByClusterResponse = FirewallRuleListResult;
964
-
965
- /**
966
- * Given the last `.value` produced by the `byPage` iterator,
967
- * returns a continuation token that can be used to begin paging from
968
- * that point later.
969
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
970
- * @returns The continuation token that can be passed into byPage() during future calls.
971
- */
972
- export declare function getContinuationToken(page: unknown): string | undefined;
973
-
974
- /** Known values of {@link ActiveDirectoryAuth} that the service accepts. */
975
- export declare enum KnownActiveDirectoryAuth {
976
- /** Enabled */
977
- Enabled = "enabled",
978
- /** Disabled */
979
- Disabled = "disabled"
980
- }
981
-
982
- /** Known values of {@link ConfigurationDataType} that the service accepts. */
983
- export declare enum KnownConfigurationDataType {
984
- /** Boolean */
985
- Boolean = "Boolean",
986
- /** Numeric */
987
- Numeric = "Numeric",
988
- /** Integer */
989
- Integer = "Integer",
990
- /** Enumeration */
991
- Enumeration = "Enumeration"
992
- }
993
-
994
- /** Known values of {@link CreatedByType} that the service accepts. */
995
- export declare enum KnownCreatedByType {
996
- /** User */
997
- User = "User",
998
- /** Application */
999
- Application = "Application",
1000
- /** ManagedIdentity */
1001
- ManagedIdentity = "ManagedIdentity",
1002
- /** Key */
1003
- Key = "Key"
1004
- }
1005
-
1006
- /** Known values of {@link OperationOrigin} that the service accepts. */
1007
- export declare enum KnownOperationOrigin {
1008
- /** NotSpecified */
1009
- NotSpecified = "NotSpecified",
1010
- /** User */
1011
- User = "user",
1012
- /** System */
1013
- System = "system"
1014
- }
1015
-
1016
- /** Known values of {@link PasswordAuth} that the service accepts. */
1017
- export declare enum KnownPasswordAuth {
1018
- /** Enabled */
1019
- Enabled = "enabled",
1020
- /** Disabled */
1021
- Disabled = "disabled"
1022
- }
1023
-
1024
- /** Known values of {@link PrincipalType} that the service accepts. */
1025
- export declare enum KnownPrincipalType {
1026
- /** User */
1027
- User = "user",
1028
- /** ServicePrincipal */
1029
- ServicePrincipal = "servicePrincipal",
1030
- /** Group */
1031
- Group = "group"
1032
- }
1033
-
1034
- /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
1035
- export declare enum KnownPrivateEndpointConnectionProvisioningState {
1036
- /** Succeeded */
1037
- Succeeded = "Succeeded",
1038
- /** Creating */
1039
- Creating = "Creating",
1040
- /** Deleting */
1041
- Deleting = "Deleting",
1042
- /** Failed */
1043
- Failed = "Failed"
1044
- }
1045
-
1046
- /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
1047
- export declare enum KnownPrivateEndpointServiceConnectionStatus {
1048
- /** Pending */
1049
- Pending = "Pending",
1050
- /** Approved */
1051
- Approved = "Approved",
1052
- /** Rejected */
1053
- Rejected = "Rejected"
1054
- }
1055
-
1056
- /** Known values of {@link ProvisioningState} that the service accepts. */
1057
- export declare enum KnownProvisioningState {
1058
- /** Succeeded */
1059
- Succeeded = "Succeeded",
1060
- /** Canceled */
1061
- Canceled = "Canceled",
1062
- /** InProgress */
1063
- InProgress = "InProgress",
1064
- /** Failed */
1065
- Failed = "Failed"
1066
- }
1067
-
1068
- /** Known values of {@link RoleType} that the service accepts. */
1069
- export declare enum KnownRoleType {
1070
- /** User */
1071
- User = "user",
1072
- /** Admin */
1073
- Admin = "admin"
1074
- }
1075
-
1076
- /** Known values of {@link ServerRole} that the service accepts. */
1077
- export declare enum KnownServerRole {
1078
- /** Coordinator */
1079
- Coordinator = "Coordinator",
1080
- /** Worker */
1081
- Worker = "Worker"
1082
- }
1083
-
1084
- /** Schedule settings for regular cluster updates. */
1085
- export declare interface MaintenanceWindow {
1086
- /** Indicates whether custom maintenance window is enabled or not. */
1087
- customWindow?: string;
1088
- /** Start hour within preferred day of the week for maintenance window. */
1089
- startHour?: number;
1090
- /** Start minute within the start hour for maintenance window. */
1091
- startMinute?: number;
1092
- /** Preferred day of the week for maintenance window. */
1093
- dayOfWeek?: number;
1094
- }
1095
-
1096
- /** Represents cluster name availability. */
1097
- export declare interface NameAvailability {
1098
- /** Error message. */
1099
- message?: string;
1100
- /** Indicates whether the cluster name is available. */
1101
- nameAvailable?: boolean;
1102
- /** Name of the cluster. */
1103
- name?: string;
1104
- /** Type of the cluster. */
1105
- type?: string;
1106
- }
1107
-
1108
- /** Request from client to check cluster name availability. */
1109
- export declare interface NameAvailabilityRequest {
1110
- /** Cluster name to verify. */
1111
- name: string;
1112
- /** Resource type used for verification. */
1113
- type: "Microsoft.DBforPostgreSQL/serverGroupsv2";
1114
- }
1115
-
1116
- /** REST API operation definition. */
1117
- export declare interface Operation {
1118
- /**
1119
- * The name of the operation being performed on this particular object.
1120
- * NOTE: This property will not be serialized. It can only be populated by the server.
1121
- */
1122
- readonly name?: string;
1123
- /**
1124
- * The localized display information for this particular operation or action.
1125
- * NOTE: This property will not be serialized. It can only be populated by the server.
1126
- */
1127
- readonly display?: OperationDisplay;
1128
- /** Indicates whether the operation is a data action. */
1129
- isDataAction?: boolean;
1130
- /**
1131
- * The intended executor of the operation.
1132
- * NOTE: This property will not be serialized. It can only be populated by the server.
1133
- */
1134
- readonly origin?: OperationOrigin;
1135
- /**
1136
- * Additional descriptions for the operation.
1137
- * NOTE: This property will not be serialized. It can only be populated by the server.
1138
- */
1139
- readonly properties?: {
1140
- [propertyName: string]: Record<string, unknown>;
1141
- };
1142
- }
1143
-
1144
- /** Display metadata associated with the operation. */
1145
- export declare interface OperationDisplay {
1146
- /**
1147
- * Operation resource provider name.
1148
- * NOTE: This property will not be serialized. It can only be populated by the server.
1149
- */
1150
- readonly provider?: string;
1151
- /**
1152
- * Resource on which the operation is performed.
1153
- * NOTE: This property will not be serialized. It can only be populated by the server.
1154
- */
1155
- readonly resource?: string;
1156
- /**
1157
- * Localized friendly name for the operation.
1158
- * NOTE: This property will not be serialized. It can only be populated by the server.
1159
- */
1160
- readonly operation?: string;
1161
- /**
1162
- * Operation description.
1163
- * NOTE: This property will not be serialized. It can only be populated by the server.
1164
- */
1165
- readonly description?: string;
1166
- }
1167
-
1168
- /** A list of resource provider operations. */
1169
- export declare interface OperationListResult {
1170
- /** Collection of available operation details. */
1171
- value?: Operation[];
1172
- /**
1173
- * URL client should use to fetch the next page (per server side paging).
1174
- * It's null for now, added for future use.
1175
- * NOTE: This property will not be serialized. It can only be populated by the server.
1176
- */
1177
- readonly nextLink?: string;
1178
- }
1179
-
1180
- /**
1181
- * Defines values for OperationOrigin. \
1182
- * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
1183
- * this enum contains the known values that the service supports.
1184
- * ### Known values supported by the service
1185
- * **NotSpecified** \
1186
- * **user** \
1187
- * **system**
1188
- */
1189
- export declare type OperationOrigin = string;
1190
-
1191
- /** Interface representing a Operations. */
1192
- export declare interface Operations {
1193
- /**
1194
- * Lists all of the available REST API operations.
1195
- * @param options The options parameters.
1196
- */
1197
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1198
- }
1199
-
1200
- /** Optional parameters. */
1201
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1202
- }
1203
-
1204
- /** Contains response data for the list operation. */
1205
- export declare type OperationsListResponse = OperationListResult;
1206
-
1207
- /**
1208
- * Defines values for PasswordAuth. \
1209
- * {@link KnownPasswordAuth} can be used interchangeably with PasswordAuth,
1210
- * this enum contains the known values that the service supports.
1211
- * ### Known values supported by the service
1212
- * **enabled** \
1213
- * **disabled**
1214
- */
1215
- export declare type PasswordAuth = string;
1216
-
1217
- /**
1218
- * Defines values for PrincipalType. \
1219
- * {@link KnownPrincipalType} can be used interchangeably with PrincipalType,
1220
- * this enum contains the known values that the service supports.
1221
- * ### Known values supported by the service
1222
- * **user** \
1223
- * **servicePrincipal** \
1224
- * **group**
1225
- */
1226
- export declare type PrincipalType = string;
1227
-
1228
- /** The private endpoint resource. */
1229
- export declare interface PrivateEndpoint {
1230
- /**
1231
- * The ARM identifier for private endpoint.
1232
- * NOTE: This property will not be serialized. It can only be populated by the server.
1233
- */
1234
- readonly id?: string;
1235
- }
1236
-
1237
- /** The private endpoint connection resource. */
1238
- export declare interface PrivateEndpointConnection extends Resource {
1239
- /**
1240
- * The group ids for the private endpoint resource.
1241
- * NOTE: This property will not be serialized. It can only be populated by the server.
1242
- */
1243
- readonly groupIds?: string[];
1244
- /** The private endpoint resource. */
1245
- privateEndpoint?: PrivateEndpoint;
1246
- /** A collection of information about the state of the connection between service consumer and provider. */
1247
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1248
- /**
1249
- * The provisioning state of the private endpoint connection resource.
1250
- * NOTE: This property will not be serialized. It can only be populated by the server.
1251
- */
1252
- readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1253
- }
1254
-
1255
- /** List of private endpoint connections associated with the specified resource. */
1256
- export declare interface PrivateEndpointConnectionListResult {
1257
- /** Array of private endpoint connections. */
1258
- value?: PrivateEndpointConnection[];
1259
- }
1260
-
1261
- /**
1262
- * Defines values for PrivateEndpointConnectionProvisioningState. \
1263
- * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1264
- * this enum contains the known values that the service supports.
1265
- * ### Known values supported by the service
1266
- * **Succeeded** \
1267
- * **Creating** \
1268
- * **Deleting** \
1269
- * **Failed**
1270
- */
1271
- export declare type PrivateEndpointConnectionProvisioningState = string;
1272
-
1273
- /** Interface representing a PrivateEndpointConnections. */
1274
- export declare interface PrivateEndpointConnections {
1275
- /**
1276
- * Gets list of private endpoint connections on a cluster.
1277
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1278
- * @param clusterName The name of the cluster.
1279
- * @param options The options parameters.
1280
- */
1281
- listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateEndpointConnectionsListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1282
- /**
1283
- * Gets private endpoint connection.
1284
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1285
- * @param clusterName The name of the cluster.
1286
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1287
- * cluster.
1288
- * @param options The options parameters.
1289
- */
1290
- get(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1291
- /**
1292
- * Approves or Rejects a private endpoint connection with a given name.
1293
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1294
- * @param clusterName The name of the cluster.
1295
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1296
- * cluster.
1297
- * @param parameters The required parameters for approving a private endpoint connection.
1298
- * @param options The options parameters.
1299
- */
1300
- beginCreateOrUpdate(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsCreateOrUpdateResponse>, PrivateEndpointConnectionsCreateOrUpdateResponse>>;
1301
- /**
1302
- * Approves or Rejects a private endpoint connection with a given name.
1303
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1304
- * @param clusterName The name of the cluster.
1305
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1306
- * cluster.
1307
- * @param parameters The required parameters for approving a private endpoint connection.
1308
- * @param options The options parameters.
1309
- */
1310
- beginCreateOrUpdateAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, parameters: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOrUpdateOptionalParams): Promise<PrivateEndpointConnectionsCreateOrUpdateResponse>;
1311
- /**
1312
- * Deletes a private endpoint connection with a given name.
1313
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1314
- * @param clusterName The name of the cluster.
1315
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1316
- * cluster.
1317
- * @param options The options parameters.
1318
- */
1319
- beginDelete(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PrivateEndpointConnectionsDeleteResponse>, PrivateEndpointConnectionsDeleteResponse>>;
1320
- /**
1321
- * Deletes a private endpoint connection with a given name.
1322
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1323
- * @param clusterName The name of the cluster.
1324
- * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1325
- * cluster.
1326
- * @param options The options parameters.
1327
- */
1328
- beginDeleteAndWait(resourceGroupName: string, clusterName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
1329
- }
1330
-
1331
- /** Defines headers for PrivateEndpointConnections_createOrUpdate operation. */
1332
- export declare interface PrivateEndpointConnectionsCreateOrUpdateHeaders {
1333
- location?: string;
1334
- azureAsyncOperation?: string;
1335
- }
1336
-
1337
- /** Optional parameters. */
1338
- export declare interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1339
- /** Delay to wait until next poll, in milliseconds. */
1340
- updateIntervalInMs?: number;
1341
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1342
- resumeFrom?: string;
1343
- }
1344
-
1345
- /** Contains response data for the createOrUpdate operation. */
1346
- export declare type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
1347
-
1348
- /** Defines headers for PrivateEndpointConnections_delete operation. */
1349
- export declare interface PrivateEndpointConnectionsDeleteHeaders {
1350
- location?: string;
1351
- azureAsyncOperation?: string;
1352
- }
1353
-
1354
- /** Optional parameters. */
1355
- export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1356
- /** Delay to wait until next poll, in milliseconds. */
1357
- updateIntervalInMs?: number;
1358
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1359
- resumeFrom?: string;
1360
- }
1361
-
1362
- /** Contains response data for the delete operation. */
1363
- export declare type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
1364
-
1365
- /** Optional parameters. */
1366
- export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1367
- }
1368
-
1369
- /** Contains response data for the get operation. */
1370
- export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1371
-
1372
- /** Optional parameters. */
1373
- export declare interface PrivateEndpointConnectionsListByClusterOptionalParams extends coreClient.OperationOptions {
1374
- }
1375
-
1376
- /** Contains response data for the listByCluster operation. */
1377
- export declare type PrivateEndpointConnectionsListByClusterResponse = PrivateEndpointConnectionListResult;
1378
-
1379
- /** Property to represent resource id of the private endpoint. */
1380
- export declare interface PrivateEndpointProperty {
1381
- /** Resource id of the private endpoint. */
1382
- id?: string;
1383
- }
1384
-
1385
- /**
1386
- * Defines values for PrivateEndpointServiceConnectionStatus. \
1387
- * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1388
- * this enum contains the known values that the service supports.
1389
- * ### Known values supported by the service
1390
- * **Pending** \
1391
- * **Approved** \
1392
- * **Rejected**
1393
- */
1394
- export declare type PrivateEndpointServiceConnectionStatus = string;
1395
-
1396
- /** A private link resource. */
1397
- export declare interface PrivateLinkResource extends Resource {
1398
- /**
1399
- * The private link resource group id.
1400
- * NOTE: This property will not be serialized. It can only be populated by the server.
1401
- */
1402
- readonly groupId?: string;
1403
- /**
1404
- * The private link resource required member names.
1405
- * NOTE: This property will not be serialized. It can only be populated by the server.
1406
- */
1407
- readonly requiredMembers?: string[];
1408
- /** The private link resource private link DNS zone name. */
1409
- requiredZoneNames?: string[];
1410
- }
1411
-
1412
- /** A list of private link resources. */
1413
- export declare interface PrivateLinkResourceListResult {
1414
- /** Array of private link resources */
1415
- value?: PrivateLinkResource[];
1416
- }
1417
-
1418
- /** Interface representing a PrivateLinkResources. */
1419
- export declare interface PrivateLinkResources {
1420
- /**
1421
- * Gets the private link resources for cluster.
1422
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1423
- * @param clusterName The name of the cluster.
1424
- * @param options The options parameters.
1425
- */
1426
- listByCluster(resourceGroupName: string, clusterName: string, options?: PrivateLinkResourcesListByClusterOptionalParams): PagedAsyncIterableIterator<PrivateLinkResource>;
1427
- /**
1428
- * Gets a private link resource for cluster.
1429
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1430
- * @param clusterName The name of the cluster.
1431
- * @param privateLinkResourceName The name of the private link resource.
1432
- * @param options The options parameters.
1433
- */
1434
- get(resourceGroupName: string, clusterName: string, privateLinkResourceName: string, options?: PrivateLinkResourcesGetOptionalParams): Promise<PrivateLinkResourcesGetResponse>;
1435
- }
1436
-
1437
- /** Optional parameters. */
1438
- export declare interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
1439
- }
1440
-
1441
- /** Contains response data for the get operation. */
1442
- export declare type PrivateLinkResourcesGetResponse = PrivateLinkResource;
1443
-
1444
- /** Optional parameters. */
1445
- export declare interface PrivateLinkResourcesListByClusterOptionalParams extends coreClient.OperationOptions {
1446
- }
1447
-
1448
- /** Contains response data for the listByCluster operation. */
1449
- export declare type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult;
1450
-
1451
- /** A collection of information about the state of the connection between service consumer and provider. */
1452
- export declare interface PrivateLinkServiceConnectionState {
1453
- /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1454
- status?: PrivateEndpointServiceConnectionStatus;
1455
- /** The reason for approval/rejection of the connection. */
1456
- description?: string;
1457
- /** A message indicating if changes on the service provider require any updates on the consumer. */
1458
- actionsRequired?: string;
1459
- }
1460
-
1461
- /** Request from client to promote geo-redundant replica */
1462
- export declare interface PromoteRequest {
1463
- /** Cluster name to verify. */
1464
- enableGeoBackup?: boolean;
1465
- }
1466
-
1467
- /**
1468
- * Defines values for ProvisioningState. \
1469
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1470
- * this enum contains the known values that the service supports.
1471
- * ### Known values supported by the service
1472
- * **Succeeded** \
1473
- * **Canceled** \
1474
- * **InProgress** \
1475
- * **Failed**
1476
- */
1477
- export declare type ProvisioningState = string;
1478
-
1479
- /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1480
- export declare interface ProxyResource extends Resource {
1481
- }
1482
-
1483
- /** Common fields that are returned in the response for all Azure Resource Manager resources */
1484
- export declare interface Resource {
1485
- /**
1486
- * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
1487
- * NOTE: This property will not be serialized. It can only be populated by the server.
1488
- */
1489
- readonly id?: string;
1490
- /**
1491
- * The name of the resource
1492
- * NOTE: This property will not be serialized. It can only be populated by the server.
1493
- */
1494
- readonly name?: string;
1495
- /**
1496
- * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1497
- * NOTE: This property will not be serialized. It can only be populated by the server.
1498
- */
1499
- readonly type?: string;
1500
- /**
1501
- * Azure Resource Manager metadata containing createdBy and modifiedBy information.
1502
- * NOTE: This property will not be serialized. It can only be populated by the server.
1503
- */
1504
- readonly systemData?: SystemData;
1505
- }
1506
-
1507
- /** Represents a cluster role. */
1508
- export declare interface Role extends ProxyResource {
1509
- roleType?: RoleType;
1510
- /**
1511
- * The password of the cluster role. If an identity is used, password will not be required.
1512
- * This value contains a credential. Consider obscuring before showing to users
1513
- */
1514
- password?: string;
1515
- /**
1516
- * Provisioning state of the role
1517
- * NOTE: This property will not be serialized. It can only be populated by the server.
1518
- */
1519
- readonly provisioningState?: ProvisioningState;
1520
- objectId?: string;
1521
- principalType?: PrincipalType;
1522
- tenantId?: string;
1523
- }
1524
-
1525
- /** A list of roles. */
1526
- export declare interface RoleListResult {
1527
- /** The list of roles in a cluster. */
1528
- value?: Role[];
1529
- }
1530
-
1531
- /** Interface representing a Roles. */
1532
- export declare interface Roles {
1533
- /**
1534
- * List all the roles in a given cluster.
1535
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1536
- * @param clusterName The name of the cluster.
1537
- * @param options The options parameters.
1538
- */
1539
- listByCluster(resourceGroupName: string, clusterName: string, options?: RolesListByClusterOptionalParams): PagedAsyncIterableIterator<Role>;
1540
- /**
1541
- * Gets information about a cluster role.
1542
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1543
- * @param clusterName The name of the cluster.
1544
- * @param roleName The name of the cluster role.
1545
- * @param options The options parameters.
1546
- */
1547
- get(resourceGroupName: string, clusterName: string, roleName: string, options?: RolesGetOptionalParams): Promise<RolesGetResponse>;
1548
- /**
1549
- * Creates a new role or updates an existing role.
1550
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1551
- * @param clusterName The name of the cluster.
1552
- * @param roleName The name of the cluster role.
1553
- * @param parameters The required parameters for creating or updating a role.
1554
- * @param options The options parameters.
1555
- */
1556
- beginCreate(resourceGroupName: string, clusterName: string, roleName: string, parameters: Role, options?: RolesCreateOptionalParams): Promise<SimplePollerLike<OperationState<RolesCreateResponse>, RolesCreateResponse>>;
1557
- /**
1558
- * Creates a new role or updates an existing role.
1559
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1560
- * @param clusterName The name of the cluster.
1561
- * @param roleName The name of the cluster role.
1562
- * @param parameters The required parameters for creating or updating a role.
1563
- * @param options The options parameters.
1564
- */
1565
- beginCreateAndWait(resourceGroupName: string, clusterName: string, roleName: string, parameters: Role, options?: RolesCreateOptionalParams): Promise<RolesCreateResponse>;
1566
- /**
1567
- * Deletes a cluster role.
1568
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1569
- * @param clusterName The name of the cluster.
1570
- * @param roleName The name of the cluster role.
1571
- * @param options The options parameters.
1572
- */
1573
- beginDelete(resourceGroupName: string, clusterName: string, roleName: string, options?: RolesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<RolesDeleteResponse>, RolesDeleteResponse>>;
1574
- /**
1575
- * Deletes a cluster role.
1576
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1577
- * @param clusterName The name of the cluster.
1578
- * @param roleName The name of the cluster role.
1579
- * @param options The options parameters.
1580
- */
1581
- beginDeleteAndWait(resourceGroupName: string, clusterName: string, roleName: string, options?: RolesDeleteOptionalParams): Promise<RolesDeleteResponse>;
1582
- }
1583
-
1584
- /** Defines headers for Roles_create operation. */
1585
- export declare interface RolesCreateHeaders {
1586
- location?: string;
1587
- azureAsyncOperation?: string;
1588
- }
1589
-
1590
- /** Optional parameters. */
1591
- export declare interface RolesCreateOptionalParams extends coreClient.OperationOptions {
1592
- /** Delay to wait until next poll, in milliseconds. */
1593
- updateIntervalInMs?: number;
1594
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1595
- resumeFrom?: string;
1596
- }
1597
-
1598
- /** Contains response data for the create operation. */
1599
- export declare type RolesCreateResponse = Role;
1600
-
1601
- /** Defines headers for Roles_delete operation. */
1602
- export declare interface RolesDeleteHeaders {
1603
- location?: string;
1604
- azureAsyncOperation?: string;
1605
- }
1606
-
1607
- /** Optional parameters. */
1608
- export declare interface RolesDeleteOptionalParams extends coreClient.OperationOptions {
1609
- /** Delay to wait until next poll, in milliseconds. */
1610
- updateIntervalInMs?: number;
1611
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1612
- resumeFrom?: string;
1613
- }
1614
-
1615
- /** Contains response data for the delete operation. */
1616
- export declare type RolesDeleteResponse = RolesDeleteHeaders;
1617
-
1618
- /** Optional parameters. */
1619
- export declare interface RolesGetOptionalParams extends coreClient.OperationOptions {
1620
- }
1621
-
1622
- /** Contains response data for the get operation. */
1623
- export declare type RolesGetResponse = Role;
1624
-
1625
- /** Optional parameters. */
1626
- export declare interface RolesListByClusterOptionalParams extends coreClient.OperationOptions {
1627
- }
1628
-
1629
- /** Contains response data for the listByCluster operation. */
1630
- export declare type RolesListByClusterResponse = RoleListResult;
1631
-
1632
- /**
1633
- * Defines values for RoleType. \
1634
- * {@link KnownRoleType} can be used interchangeably with RoleType,
1635
- * this enum contains the known values that the service supports.
1636
- * ### Known values supported by the service
1637
- * **user** \
1638
- * **admin**
1639
- */
1640
- export declare type RoleType = string;
1641
-
1642
- /** Represents a configuration. */
1643
- export declare interface ServerConfiguration extends ProxyResource {
1644
- /** Value of the configuration. */
1645
- value?: string;
1646
- /**
1647
- * Source of the configuration.
1648
- * NOTE: This property will not be serialized. It can only be populated by the server.
1649
- */
1650
- readonly source?: string;
1651
- /**
1652
- * Description of the configuration.
1653
- * NOTE: This property will not be serialized. It can only be populated by the server.
1654
- */
1655
- readonly description?: string;
1656
- /**
1657
- * Default value of the configuration.
1658
- * NOTE: This property will not be serialized. It can only be populated by the server.
1659
- */
1660
- readonly defaultValue?: string;
1661
- /**
1662
- * Data type of the configuration.
1663
- * NOTE: This property will not be serialized. It can only be populated by the server.
1664
- */
1665
- readonly dataType?: ConfigurationDataType;
1666
- /**
1667
- * Allowed values of the configuration.
1668
- * NOTE: This property will not be serialized. It can only be populated by the server.
1669
- */
1670
- readonly allowedValues?: string;
1671
- /**
1672
- * If configuration change requires restart.
1673
- * NOTE: This property will not be serialized. It can only be populated by the server.
1674
- */
1675
- readonly requiresRestart?: boolean;
1676
- /**
1677
- * Provisioning state of the configuration.
1678
- * NOTE: This property will not be serialized. It can only be populated by the server.
1679
- */
1680
- readonly provisioningState?: ProvisioningState;
1681
- }
1682
-
1683
- /** A list of server configurations. */
1684
- export declare interface ServerConfigurationListResult {
1685
- /** The list of server configurations. */
1686
- value?: ServerConfiguration[];
1687
- /**
1688
- * Link to retrieve next page of results.
1689
- * NOTE: This property will not be serialized. It can only be populated by the server.
1690
- */
1691
- readonly nextLink?: string;
1692
- }
1693
-
1694
- /** The name object for a server. */
1695
- export declare interface ServerNameItem {
1696
- /** The name of a server. */
1697
- name?: string;
1698
- /**
1699
- * The fully qualified domain name of a server.
1700
- * NOTE: This property will not be serialized. It can only be populated by the server.
1701
- */
1702
- readonly fullyQualifiedDomainName?: string;
1703
- }
1704
-
1705
- /** The properties of a server. */
1706
- export declare interface ServerProperties {
1707
- /** The edition of a server. */
1708
- serverEdition?: string;
1709
- /** The storage of a server in MB. */
1710
- storageQuotaInMb?: number;
1711
- /** The vCores count of a server. */
1712
- vCores?: number;
1713
- /** If high availability (HA) is enabled or not for the server. */
1714
- enableHa?: boolean;
1715
- /**
1716
- * If public access is enabled on server.
1717
- * NOTE: This property will not be serialized. It can only be populated by the server.
1718
- */
1719
- readonly enablePublicIpAccess?: boolean;
1720
- /**
1721
- * If server database is set to read-only by system maintenance depending on high disk space usage.
1722
- * NOTE: This property will not be serialized. It can only be populated by the server.
1723
- */
1724
- readonly isReadOnly?: boolean;
1725
- /**
1726
- * The administrator's login name of the servers in the cluster.
1727
- * NOTE: This property will not be serialized. It can only be populated by the server.
1728
- */
1729
- readonly administratorLogin?: string;
1730
- }
1731
-
1732
- /**
1733
- * Defines values for ServerRole. \
1734
- * {@link KnownServerRole} can be used interchangeably with ServerRole,
1735
- * this enum contains the known values that the service supports.
1736
- * ### Known values supported by the service
1737
- * **Coordinator** \
1738
- * **Worker**
1739
- */
1740
- export declare type ServerRole = string;
1741
-
1742
- /** Represents server role group configuration value. */
1743
- export declare interface ServerRoleGroupConfiguration {
1744
- /** The role of servers in the server role group. */
1745
- role: ServerRole;
1746
- /** Value of the configuration. */
1747
- value: string;
1748
- /**
1749
- * Default value of the configuration.
1750
- * NOTE: This property will not be serialized. It can only be populated by the server.
1751
- */
1752
- readonly defaultValue?: string;
1753
- /**
1754
- * Source of the configuration.
1755
- * NOTE: This property will not be serialized. It can only be populated by the server.
1756
- */
1757
- readonly source?: string;
1758
- }
1759
-
1760
- /** Interface representing a Servers. */
1761
- export declare interface Servers {
1762
- /**
1763
- * Lists servers of a cluster.
1764
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1765
- * @param clusterName The name of the cluster.
1766
- * @param options The options parameters.
1767
- */
1768
- listByCluster(resourceGroupName: string, clusterName: string, options?: ServersListByClusterOptionalParams): PagedAsyncIterableIterator<ClusterServer>;
1769
- /**
1770
- * Gets information about a server in cluster.
1771
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1772
- * @param clusterName The name of the cluster.
1773
- * @param serverName The name of the server.
1774
- * @param options The options parameters.
1775
- */
1776
- get(resourceGroupName: string, clusterName: string, serverName: string, options?: ServersGetOptionalParams): Promise<ServersGetResponse>;
1777
- }
1778
-
1779
- /** Optional parameters. */
1780
- export declare interface ServersGetOptionalParams extends coreClient.OperationOptions {
1781
- }
1782
-
1783
- /** Contains response data for the get operation. */
1784
- export declare type ServersGetResponse = ClusterServer;
1785
-
1786
- /** Optional parameters. */
1787
- export declare interface ServersListByClusterOptionalParams extends coreClient.OperationOptions {
1788
- }
1789
-
1790
- /** Contains response data for the listByCluster operation. */
1791
- export declare type ServersListByClusterResponse = ClusterServerListResult;
1792
-
1793
- /** A private endpoint connection. */
1794
- export declare interface SimplePrivateEndpointConnection extends ProxyResource {
1795
- /** Private endpoint which the connection belongs to. */
1796
- privateEndpoint?: PrivateEndpointProperty;
1797
- /** Group ids of the private endpoint connection. */
1798
- groupIds?: string[];
1799
- /** A collection of information about the state of the connection between service consumer and provider. */
1800
- privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1801
- }
1802
-
1803
- /** Metadata pertaining to creation and last modification of the resource. */
1804
- export declare interface SystemData {
1805
- /** The identity that created the resource. */
1806
- createdBy?: string;
1807
- /** The type of identity that created the resource. */
1808
- createdByType?: CreatedByType;
1809
- /** The timestamp of resource creation (UTC). */
1810
- createdAt?: Date;
1811
- /** The identity that last modified the resource. */
1812
- lastModifiedBy?: string;
1813
- /** The type of identity that last modified the resource. */
1814
- lastModifiedByType?: CreatedByType;
1815
- /** The timestamp of resource last modification (UTC) */
1816
- lastModifiedAt?: Date;
1817
- }
1818
-
1819
- /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1820
- export declare interface TrackedResource extends Resource {
1821
- /** Resource tags. */
1822
- tags?: {
1823
- [propertyName: string]: string;
1824
- };
1825
- /** The geo-location where the resource lives */
1826
- location: string;
1827
- }
1828
-
1829
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** A list of clusters. */
3
+ export interface ClusterListResult {
4
+ /** The list of clusters */
5
+ value?: Cluster[];
6
+ /**
7
+ * The link used to get the next page of cluster list.
8
+ * NOTE: This property will not be serialized. It can only be populated by the server.
9
+ */
10
+ readonly nextLink?: string;
11
+ }
12
+ /** Schedule settings for regular cluster updates. */
13
+ export interface MaintenanceWindow {
14
+ /** Indicates whether custom maintenance window is enabled or not. */
15
+ customWindow?: string;
16
+ /** Start hour within preferred day of the week for maintenance window. */
17
+ startHour?: number;
18
+ /** Start minute within the start hour for maintenance window. */
19
+ startMinute?: number;
20
+ /** Preferred day of the week for maintenance window. */
21
+ dayOfWeek?: number;
22
+ }
23
+ /** The name object for a server. */
24
+ export interface ServerNameItem {
25
+ /** The name of a server. */
26
+ name?: string;
27
+ /**
28
+ * The fully qualified domain name of a server.
29
+ * NOTE: This property will not be serialized. It can only be populated by the server.
30
+ */
31
+ readonly fullyQualifiedDomainName?: string;
32
+ }
33
+ /** Property to represent resource id of the private endpoint. */
34
+ export interface PrivateEndpointProperty {
35
+ /** Resource id of the private endpoint. */
36
+ id?: string;
37
+ }
38
+ /** A collection of information about the state of the connection between service consumer and provider. */
39
+ export interface PrivateLinkServiceConnectionState {
40
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
41
+ status?: PrivateEndpointServiceConnectionStatus;
42
+ /** The reason for approval/rejection of the connection. */
43
+ description?: string;
44
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
45
+ actionsRequired?: string;
46
+ }
47
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
48
+ export interface Resource {
49
+ /**
50
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
51
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
+ */
53
+ readonly id?: string;
54
+ /**
55
+ * The name of the resource
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
+ */
58
+ readonly name?: string;
59
+ /**
60
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly type?: string;
64
+ /**
65
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
66
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
+ */
68
+ readonly systemData?: SystemData;
69
+ }
70
+ /** Metadata pertaining to creation and last modification of the resource. */
71
+ export interface SystemData {
72
+ /** The identity that created the resource. */
73
+ createdBy?: string;
74
+ /** The type of identity that created the resource. */
75
+ createdByType?: CreatedByType;
76
+ /** The timestamp of resource creation (UTC). */
77
+ createdAt?: Date;
78
+ /** The identity that last modified the resource. */
79
+ lastModifiedBy?: string;
80
+ /** The type of identity that last modified the resource. */
81
+ lastModifiedByType?: CreatedByType;
82
+ /** The timestamp of resource last modification (UTC) */
83
+ lastModifiedAt?: Date;
84
+ }
85
+ /** Authentication configuration of a cluster. */
86
+ export interface AuthConfig {
87
+ activeDirectoryAuth?: ActiveDirectoryAuth;
88
+ passwordAuth?: PasswordAuth;
89
+ }
90
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
91
+ export interface ErrorResponse {
92
+ /** The error object. */
93
+ error?: ErrorDetail;
94
+ }
95
+ /** The error detail. */
96
+ export interface ErrorDetail {
97
+ /**
98
+ * The error code.
99
+ * NOTE: This property will not be serialized. It can only be populated by the server.
100
+ */
101
+ readonly code?: string;
102
+ /**
103
+ * The error message.
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
+ */
106
+ readonly message?: string;
107
+ /**
108
+ * The error target.
109
+ * NOTE: This property will not be serialized. It can only be populated by the server.
110
+ */
111
+ readonly target?: string;
112
+ /**
113
+ * The error details.
114
+ * NOTE: This property will not be serialized. It can only be populated by the server.
115
+ */
116
+ readonly details?: ErrorDetail[];
117
+ /**
118
+ * The error additional info.
119
+ * NOTE: This property will not be serialized. It can only be populated by the server.
120
+ */
121
+ readonly additionalInfo?: ErrorAdditionalInfo[];
122
+ }
123
+ /** The resource management error additional info. */
124
+ export interface ErrorAdditionalInfo {
125
+ /**
126
+ * The additional info type.
127
+ * NOTE: This property will not be serialized. It can only be populated by the server.
128
+ */
129
+ readonly type?: string;
130
+ /**
131
+ * The additional info.
132
+ * NOTE: This property will not be serialized. It can only be populated by the server.
133
+ */
134
+ readonly info?: Record<string, unknown>;
135
+ }
136
+ /** Represents a cluster for update. */
137
+ export interface ClusterForUpdate {
138
+ /** Application-specific metadata in the form of key-value pairs. */
139
+ tags?: {
140
+ [propertyName: string]: string;
141
+ };
142
+ /**
143
+ * The password of the administrator login. Each cluster is created with pre-defined administrative role called ‘citus’.
144
+ * This value contains a credential. Consider obscuring before showing to users
145
+ */
146
+ administratorLoginPassword?: string;
147
+ /** The major PostgreSQL version on all cluster servers. */
148
+ postgresqlVersion?: string;
149
+ /** The Citus extension version on all cluster servers. */
150
+ citusVersion?: string;
151
+ /** If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed. */
152
+ enableShardsOnCoordinator?: boolean;
153
+ /** If high availability (HA) is enabled or not for the cluster. */
154
+ enableHa?: boolean;
155
+ /** Preferred primary availability zone (AZ) for all cluster servers. */
156
+ preferredPrimaryZone?: string;
157
+ /** The edition of the coordinator (default: GeneralPurpose). */
158
+ coordinatorServerEdition?: string;
159
+ /** The storage of the coordinator in MB. */
160
+ coordinatorStorageQuotaInMb?: number;
161
+ /** The vCores count of the coordinator (max: 96). */
162
+ coordinatorVCores?: number;
163
+ /** If public access is enabled on coordinator. */
164
+ coordinatorEnablePublicIpAccess?: boolean;
165
+ /** The edition of a node (default: MemoryOptimized). */
166
+ nodeServerEdition?: string;
167
+ /** Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. */
168
+ nodeCount?: number;
169
+ /** The storage in MB on each worker node. */
170
+ nodeStorageQuotaInMb?: number;
171
+ /** The compute in vCores on each worker node (max: 104). */
172
+ nodeVCores?: number;
173
+ /**
174
+ * If public access is enabled on worker nodes.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly nodeEnablePublicIpAccess?: boolean;
178
+ /** Maintenance window of a cluster. */
179
+ maintenanceWindow?: MaintenanceWindow;
180
+ }
181
+ /** A list of servers in a cluster. */
182
+ export interface ClusterServerListResult {
183
+ /** The list of servers in a cluster. */
184
+ value?: ClusterServer[];
185
+ }
186
+ /** The properties of a server. */
187
+ export interface ServerProperties {
188
+ /** The edition of a server. */
189
+ serverEdition?: string;
190
+ /** The storage of a server in MB. */
191
+ storageQuotaInMb?: number;
192
+ /** The vCores count of a server. */
193
+ vCores?: number;
194
+ /** If high availability (HA) is enabled or not for the server. */
195
+ enableHa?: boolean;
196
+ /**
197
+ * If public access is enabled on server.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
199
+ */
200
+ readonly enablePublicIpAccess?: boolean;
201
+ /**
202
+ * If server database is set to read-only by system maintenance depending on high disk space usage.
203
+ * NOTE: This property will not be serialized. It can only be populated by the server.
204
+ */
205
+ readonly isReadOnly?: boolean;
206
+ /**
207
+ * The administrator's login name of the servers in the cluster.
208
+ * NOTE: This property will not be serialized. It can only be populated by the server.
209
+ */
210
+ readonly administratorLogin?: string;
211
+ }
212
+ /** A list of server configurations. */
213
+ export interface ServerConfigurationListResult {
214
+ /** The list of server configurations. */
215
+ value?: ServerConfiguration[];
216
+ /**
217
+ * Link to retrieve next page of results.
218
+ * NOTE: This property will not be serialized. It can only be populated by the server.
219
+ */
220
+ readonly nextLink?: string;
221
+ }
222
+ /** A list of cluster configurations. */
223
+ export interface ClusterConfigurationListResult {
224
+ /** The list of cluster configurations. */
225
+ value?: Configuration[];
226
+ /**
227
+ * Link to retrieve next page of results.
228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
229
+ */
230
+ readonly nextLink?: string;
231
+ }
232
+ /** Represents server role group configuration value. */
233
+ export interface ServerRoleGroupConfiguration {
234
+ /** The role of servers in the server role group. */
235
+ role: ServerRole;
236
+ /** Value of the configuration. */
237
+ value: string;
238
+ /**
239
+ * Default value of the configuration.
240
+ * NOTE: This property will not be serialized. It can only be populated by the server.
241
+ */
242
+ readonly defaultValue?: string;
243
+ /**
244
+ * Source of the configuration.
245
+ * NOTE: This property will not be serialized. It can only be populated by the server.
246
+ */
247
+ readonly source?: string;
248
+ }
249
+ /** A list of firewall rules. */
250
+ export interface FirewallRuleListResult {
251
+ /** The list of firewall rules in a cluster. */
252
+ value?: FirewallRule[];
253
+ }
254
+ /** A list of roles. */
255
+ export interface RoleListResult {
256
+ /** The list of roles in a cluster. */
257
+ value?: Role[];
258
+ }
259
+ /** Request from client to promote geo-redundant replica */
260
+ export interface PromoteRequest {
261
+ /** Cluster name to verify. */
262
+ enableGeoBackup?: boolean;
263
+ }
264
+ /** Request from client to check cluster name availability. */
265
+ export interface NameAvailabilityRequest {
266
+ /** Cluster name to verify. */
267
+ name: string;
268
+ /** Resource type used for verification. */
269
+ type: "Microsoft.DBforPostgreSQL/serverGroupsv2";
270
+ }
271
+ /** Represents cluster name availability. */
272
+ export interface NameAvailability {
273
+ /** Error message. */
274
+ message?: string;
275
+ /** Indicates whether the cluster name is available. */
276
+ nameAvailable?: boolean;
277
+ /** Name of the cluster. */
278
+ name?: string;
279
+ /** Type of the cluster. */
280
+ type?: string;
281
+ }
282
+ /** A list of resource provider operations. */
283
+ export interface OperationListResult {
284
+ /** Collection of available operation details. */
285
+ value?: Operation[];
286
+ /**
287
+ * URL client should use to fetch the next page (per server side paging).
288
+ * It's null for now, added for future use.
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
290
+ */
291
+ readonly nextLink?: string;
292
+ }
293
+ /** REST API operation definition. */
294
+ export interface Operation {
295
+ /**
296
+ * The name of the operation being performed on this particular object.
297
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
+ */
299
+ readonly name?: string;
300
+ /**
301
+ * The localized display information for this particular operation or action.
302
+ * NOTE: This property will not be serialized. It can only be populated by the server.
303
+ */
304
+ readonly display?: OperationDisplay;
305
+ /** Indicates whether the operation is a data action. */
306
+ isDataAction?: boolean;
307
+ /**
308
+ * The intended executor of the operation.
309
+ * NOTE: This property will not be serialized. It can only be populated by the server.
310
+ */
311
+ readonly origin?: OperationOrigin;
312
+ /**
313
+ * Additional descriptions for the operation.
314
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
+ */
316
+ readonly properties?: {
317
+ [propertyName: string]: Record<string, unknown>;
318
+ };
319
+ }
320
+ /** Display metadata associated with the operation. */
321
+ export interface OperationDisplay {
322
+ /**
323
+ * Operation resource provider name.
324
+ * NOTE: This property will not be serialized. It can only be populated by the server.
325
+ */
326
+ readonly provider?: string;
327
+ /**
328
+ * Resource on which the operation is performed.
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly resource?: string;
332
+ /**
333
+ * Localized friendly name for the operation.
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly operation?: string;
337
+ /**
338
+ * Operation description.
339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
340
+ */
341
+ readonly description?: string;
342
+ }
343
+ /** List of private endpoint connections associated with the specified resource. */
344
+ export interface PrivateEndpointConnectionListResult {
345
+ /** Array of private endpoint connections. */
346
+ value?: PrivateEndpointConnection[];
347
+ }
348
+ /** The private endpoint resource. */
349
+ export interface PrivateEndpoint {
350
+ /**
351
+ * The ARM identifier for private endpoint.
352
+ * NOTE: This property will not be serialized. It can only be populated by the server.
353
+ */
354
+ readonly id?: string;
355
+ }
356
+ /** A list of private link resources. */
357
+ export interface PrivateLinkResourceListResult {
358
+ /** Array of private link resources */
359
+ value?: PrivateLinkResource[];
360
+ }
361
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
362
+ export interface ProxyResource extends Resource {
363
+ }
364
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
365
+ export interface TrackedResource extends Resource {
366
+ /** Resource tags. */
367
+ tags?: {
368
+ [propertyName: string]: string;
369
+ };
370
+ /** The geo-location where the resource lives */
371
+ location: string;
372
+ }
373
+ /** The private endpoint connection resource. */
374
+ export interface PrivateEndpointConnection extends Resource {
375
+ /**
376
+ * The group ids for the private endpoint resource.
377
+ * NOTE: This property will not be serialized. It can only be populated by the server.
378
+ */
379
+ readonly groupIds?: string[];
380
+ /** The private endpoint resource. */
381
+ privateEndpoint?: PrivateEndpoint;
382
+ /** A collection of information about the state of the connection between service consumer and provider. */
383
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
384
+ /**
385
+ * The provisioning state of the private endpoint connection resource.
386
+ * NOTE: This property will not be serialized. It can only be populated by the server.
387
+ */
388
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
389
+ }
390
+ /** A private link resource. */
391
+ export interface PrivateLinkResource extends Resource {
392
+ /**
393
+ * The private link resource group id.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly groupId?: string;
397
+ /**
398
+ * The private link resource required member names.
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
400
+ */
401
+ readonly requiredMembers?: string[];
402
+ /** The private link resource private link DNS zone name. */
403
+ requiredZoneNames?: string[];
404
+ }
405
+ /** The properties of a server in cluster. */
406
+ export interface ClusterServerProperties extends ServerProperties {
407
+ /**
408
+ * The fully qualified domain name of a server.
409
+ * NOTE: This property will not be serialized. It can only be populated by the server.
410
+ */
411
+ readonly fullyQualifiedDomainName?: string;
412
+ /** The role of server in the cluster. */
413
+ role?: ServerRole;
414
+ /**
415
+ * A state of a cluster/server that is visible to user.
416
+ * NOTE: This property will not be serialized. It can only be populated by the server.
417
+ */
418
+ readonly state?: string;
419
+ /**
420
+ * A state of HA feature for the cluster.
421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
422
+ */
423
+ readonly haState?: string;
424
+ /** Availability Zone information of the server. */
425
+ availabilityZone?: string;
426
+ /** The major PostgreSQL version of server. */
427
+ postgresqlVersion?: string;
428
+ /** The Citus extension version of server. */
429
+ citusVersion?: string;
430
+ }
431
+ /** A private endpoint connection. */
432
+ export interface SimplePrivateEndpointConnection extends ProxyResource {
433
+ /** Private endpoint which the connection belongs to. */
434
+ privateEndpoint?: PrivateEndpointProperty;
435
+ /** Group ids of the private endpoint connection. */
436
+ groupIds?: string[];
437
+ /** A collection of information about the state of the connection between service consumer and provider. */
438
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
439
+ }
440
+ /** Represents a server in a cluster. */
441
+ export interface ClusterServer extends ProxyResource {
442
+ /** The edition of a server. */
443
+ serverEdition?: string;
444
+ /** The storage of a server in MB. */
445
+ storageQuotaInMb?: number;
446
+ /** The vCores count of a server. */
447
+ vCores?: number;
448
+ /** If high availability (HA) is enabled or not for the server. */
449
+ enableHa?: boolean;
450
+ /**
451
+ * If public access is enabled on server.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
+ */
454
+ readonly enablePublicIpAccess?: boolean;
455
+ /**
456
+ * If server database is set to read-only by system maintenance depending on high disk space usage.
457
+ * NOTE: This property will not be serialized. It can only be populated by the server.
458
+ */
459
+ readonly isReadOnly?: boolean;
460
+ /**
461
+ * The administrator's login name of the servers in the cluster.
462
+ * NOTE: This property will not be serialized. It can only be populated by the server.
463
+ */
464
+ readonly administratorLogin?: string;
465
+ /**
466
+ * The fully qualified domain name of a server.
467
+ * NOTE: This property will not be serialized. It can only be populated by the server.
468
+ */
469
+ readonly fullyQualifiedDomainName?: string;
470
+ /** The role of server in the cluster. */
471
+ role?: ServerRole;
472
+ /**
473
+ * A state of a cluster/server that is visible to user.
474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
475
+ */
476
+ readonly state?: string;
477
+ /**
478
+ * A state of HA feature for the cluster.
479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
+ */
481
+ readonly haState?: string;
482
+ /** Availability Zone information of the server. */
483
+ availabilityZone?: string;
484
+ /** The major PostgreSQL version of server. */
485
+ postgresqlVersion?: string;
486
+ /** The Citus extension version of server. */
487
+ citusVersion?: string;
488
+ }
489
+ /** Represents a configuration. */
490
+ export interface ServerConfiguration extends ProxyResource {
491
+ /** Value of the configuration. */
492
+ value?: string;
493
+ /**
494
+ * Source of the configuration.
495
+ * NOTE: This property will not be serialized. It can only be populated by the server.
496
+ */
497
+ readonly source?: string;
498
+ /**
499
+ * Description of the configuration.
500
+ * NOTE: This property will not be serialized. It can only be populated by the server.
501
+ */
502
+ readonly description?: string;
503
+ /**
504
+ * Default value of the configuration.
505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
506
+ */
507
+ readonly defaultValue?: string;
508
+ /**
509
+ * Data type of the configuration.
510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
511
+ */
512
+ readonly dataType?: ConfigurationDataType;
513
+ /**
514
+ * Allowed values of the configuration.
515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
516
+ */
517
+ readonly allowedValues?: string;
518
+ /**
519
+ * If configuration change requires restart.
520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
521
+ */
522
+ readonly requiresRestart?: boolean;
523
+ /**
524
+ * Provisioning state of the configuration.
525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
526
+ */
527
+ readonly provisioningState?: ProvisioningState;
528
+ }
529
+ /** Represents configuration details for coordinator and node. */
530
+ export interface Configuration extends ProxyResource {
531
+ /**
532
+ * Description of the configuration.
533
+ * NOTE: This property will not be serialized. It can only be populated by the server.
534
+ */
535
+ readonly description?: string;
536
+ /**
537
+ * Data type of the configuration.
538
+ * NOTE: This property will not be serialized. It can only be populated by the server.
539
+ */
540
+ readonly dataType?: ConfigurationDataType;
541
+ /**
542
+ * Allowed values of the configuration.
543
+ * NOTE: This property will not be serialized. It can only be populated by the server.
544
+ */
545
+ readonly allowedValues?: string;
546
+ /** If configuration change requires restart. */
547
+ requiresRestart?: boolean;
548
+ /** The list of server role group configuration values. */
549
+ serverRoleGroupConfigurations?: ServerRoleGroupConfiguration[];
550
+ /**
551
+ * Provisioning state of the configuration
552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
553
+ */
554
+ readonly provisioningState?: ProvisioningState;
555
+ }
556
+ /** Represents a cluster firewall rule. */
557
+ export interface FirewallRule extends ProxyResource {
558
+ /** The start IP address of the cluster firewall rule. Must be IPv4 format. */
559
+ startIpAddress: string;
560
+ /** The end IP address of the cluster firewall rule. Must be IPv4 format. */
561
+ endIpAddress: string;
562
+ /**
563
+ * Provisioning state of the firewall rule.
564
+ * NOTE: This property will not be serialized. It can only be populated by the server.
565
+ */
566
+ readonly provisioningState?: ProvisioningState;
567
+ }
568
+ /** Represents a cluster role. */
569
+ export interface Role extends ProxyResource {
570
+ roleType?: RoleType;
571
+ /**
572
+ * The password of the cluster role. If an identity is used, password will not be required.
573
+ * This value contains a credential. Consider obscuring before showing to users
574
+ */
575
+ password?: string;
576
+ /**
577
+ * Provisioning state of the role
578
+ * NOTE: This property will not be serialized. It can only be populated by the server.
579
+ */
580
+ readonly provisioningState?: ProvisioningState;
581
+ objectId?: string;
582
+ principalType?: PrincipalType;
583
+ tenantId?: string;
584
+ }
585
+ /** Represents a cluster. */
586
+ export interface Cluster extends TrackedResource {
587
+ /**
588
+ * The administrator's login name of the servers in the cluster.
589
+ * NOTE: This property will not be serialized. It can only be populated by the server.
590
+ */
591
+ readonly administratorLogin?: string;
592
+ /**
593
+ * The password of the administrator login. Required for creation.
594
+ * This value contains a credential. Consider obscuring before showing to users
595
+ */
596
+ administratorLoginPassword?: string;
597
+ /**
598
+ * Provisioning state of the cluster
599
+ * NOTE: This property will not be serialized. It can only be populated by the server.
600
+ */
601
+ readonly provisioningState?: string;
602
+ /**
603
+ * A state of a cluster/server that is visible to user.
604
+ * NOTE: This property will not be serialized. It can only be populated by the server.
605
+ */
606
+ readonly state?: string;
607
+ /** The major PostgreSQL version on all cluster servers. */
608
+ postgresqlVersion?: string;
609
+ /** The Citus extension version on all cluster servers. */
610
+ citusVersion?: string;
611
+ /** Maintenance window of a cluster. */
612
+ maintenanceWindow?: MaintenanceWindow;
613
+ /** Preferred primary availability zone (AZ) for all cluster servers. */
614
+ preferredPrimaryZone?: string;
615
+ /** If distributed tables are placed on coordinator or not. Should be set to 'true' on single node clusters. Requires shard rebalancing after value is changed. */
616
+ enableShardsOnCoordinator?: boolean;
617
+ /** If high availability (HA) is enabled or not for the cluster. */
618
+ enableHa?: boolean;
619
+ /** The edition of a coordinator server (default: GeneralPurpose). Required for creation. */
620
+ coordinatorServerEdition?: string;
621
+ /** The storage of a server in MB. Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
622
+ coordinatorStorageQuotaInMb?: number;
623
+ /** The vCores count of a server (max: 96). Required for creation. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
624
+ coordinatorVCores?: number;
625
+ /** If public access is enabled on coordinator. */
626
+ coordinatorEnablePublicIpAccess?: boolean;
627
+ /** The edition of a node server (default: MemoryOptimized). */
628
+ nodeServerEdition?: string;
629
+ /** Worker node count of the cluster. When node count is 0, it represents a single node configuration with the ability to create distributed tables on that node. 2 or more worker nodes represent multi-node configuration. Node count value cannot be 1. Required for creation. */
630
+ nodeCount?: number;
631
+ /** The storage in MB on each worker node. See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
632
+ nodeStorageQuotaInMb?: number;
633
+ /** The compute in vCores on each worker node (max: 104). See https://learn.microsoft.com/azure/cosmos-db/postgresql/resources-compute for more information. */
634
+ nodeVCores?: number;
635
+ /** If public access is enabled on worker nodes. */
636
+ nodeEnablePublicIpAccess?: boolean;
637
+ /**
638
+ * The list of server names in the cluster
639
+ * NOTE: This property will not be serialized. It can only be populated by the server.
640
+ */
641
+ readonly serverNames?: ServerNameItem[];
642
+ /** The resource id of source cluster for read replica clusters. */
643
+ sourceResourceId?: string;
644
+ /** The Azure region of source cluster for read replica clusters. */
645
+ sourceLocation?: string;
646
+ /** Date and time in UTC (ISO8601 format) for cluster restore. */
647
+ pointInTimeUTC?: Date;
648
+ /**
649
+ * The array of read replica clusters.
650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
+ */
652
+ readonly readReplicas?: string[];
653
+ /**
654
+ * The earliest restore point time (ISO8601 format) for the cluster.
655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
656
+ */
657
+ readonly earliestRestoreTime?: Date;
658
+ /**
659
+ * The private endpoint connections for a cluster.
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly privateEndpointConnections?: SimplePrivateEndpointConnection[];
663
+ /** The database name of the cluster. Only one database per cluster is supported. */
664
+ databaseName?: string;
665
+ /** If cluster backup is stored in another Azure region in addition to the copy of the backup stored in the cluster's region. Enabled only at the time of cluster creation. */
666
+ enableGeoBackup?: boolean;
667
+ /** Authentication configuration of a cluster. */
668
+ authConfig?: AuthConfig;
669
+ }
670
+ /** Defines headers for Clusters_create operation. */
671
+ export interface ClustersCreateHeaders {
672
+ location?: string;
673
+ azureAsyncOperation?: string;
674
+ }
675
+ /** Defines headers for Clusters_delete operation. */
676
+ export interface ClustersDeleteHeaders {
677
+ location?: string;
678
+ azureAsyncOperation?: string;
679
+ }
680
+ /** Defines headers for Clusters_update operation. */
681
+ export interface ClustersUpdateHeaders {
682
+ location?: string;
683
+ azureAsyncOperation?: string;
684
+ }
685
+ /** Defines headers for Clusters_restart operation. */
686
+ export interface ClustersRestartHeaders {
687
+ location?: string;
688
+ azureAsyncOperation?: string;
689
+ }
690
+ /** Defines headers for Clusters_start operation. */
691
+ export interface ClustersStartHeaders {
692
+ location?: string;
693
+ azureAsyncOperation?: string;
694
+ }
695
+ /** Defines headers for Clusters_stop operation. */
696
+ export interface ClustersStopHeaders {
697
+ location?: string;
698
+ azureAsyncOperation?: string;
699
+ }
700
+ /** Defines headers for Clusters_promoteReadReplica operation. */
701
+ export interface ClustersPromoteReadReplicaHeaders {
702
+ location?: string;
703
+ azureAsyncOperation?: string;
704
+ }
705
+ /** Defines headers for Configurations_updateOnCoordinator operation. */
706
+ export interface ConfigurationsUpdateOnCoordinatorHeaders {
707
+ location?: string;
708
+ azureAsyncOperation?: string;
709
+ }
710
+ /** Defines headers for Configurations_updateOnNode operation. */
711
+ export interface ConfigurationsUpdateOnNodeHeaders {
712
+ location?: string;
713
+ azureAsyncOperation?: string;
714
+ }
715
+ /** Defines headers for FirewallRules_createOrUpdate operation. */
716
+ export interface FirewallRulesCreateOrUpdateHeaders {
717
+ location?: string;
718
+ azureAsyncOperation?: string;
719
+ }
720
+ /** Defines headers for FirewallRules_delete operation. */
721
+ export interface FirewallRulesDeleteHeaders {
722
+ location?: string;
723
+ azureAsyncOperation?: string;
724
+ }
725
+ /** Defines headers for Roles_create operation. */
726
+ export interface RolesCreateHeaders {
727
+ location?: string;
728
+ azureAsyncOperation?: string;
729
+ }
730
+ /** Defines headers for Roles_delete operation. */
731
+ export interface RolesDeleteHeaders {
732
+ location?: string;
733
+ azureAsyncOperation?: string;
734
+ }
735
+ /** Defines headers for PrivateEndpointConnections_createOrUpdate operation. */
736
+ export interface PrivateEndpointConnectionsCreateOrUpdateHeaders {
737
+ location?: string;
738
+ azureAsyncOperation?: string;
739
+ }
740
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
741
+ export interface PrivateEndpointConnectionsDeleteHeaders {
742
+ location?: string;
743
+ azureAsyncOperation?: string;
744
+ }
745
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
746
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
747
+ /** Pending */
748
+ Pending = "Pending",
749
+ /** Approved */
750
+ Approved = "Approved",
751
+ /** Rejected */
752
+ Rejected = "Rejected"
753
+ }
754
+ /**
755
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
756
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
757
+ * this enum contains the known values that the service supports.
758
+ * ### Known values supported by the service
759
+ * **Pending** \
760
+ * **Approved** \
761
+ * **Rejected**
762
+ */
763
+ export type PrivateEndpointServiceConnectionStatus = string;
764
+ /** Known values of {@link CreatedByType} that the service accepts. */
765
+ export declare enum KnownCreatedByType {
766
+ /** User */
767
+ User = "User",
768
+ /** Application */
769
+ Application = "Application",
770
+ /** ManagedIdentity */
771
+ ManagedIdentity = "ManagedIdentity",
772
+ /** Key */
773
+ Key = "Key"
774
+ }
775
+ /**
776
+ * Defines values for CreatedByType. \
777
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
778
+ * this enum contains the known values that the service supports.
779
+ * ### Known values supported by the service
780
+ * **User** \
781
+ * **Application** \
782
+ * **ManagedIdentity** \
783
+ * **Key**
784
+ */
785
+ export type CreatedByType = string;
786
+ /** Known values of {@link ActiveDirectoryAuth} that the service accepts. */
787
+ export declare enum KnownActiveDirectoryAuth {
788
+ /** Enabled */
789
+ Enabled = "enabled",
790
+ /** Disabled */
791
+ Disabled = "disabled"
792
+ }
793
+ /**
794
+ * Defines values for ActiveDirectoryAuth. \
795
+ * {@link KnownActiveDirectoryAuth} can be used interchangeably with ActiveDirectoryAuth,
796
+ * this enum contains the known values that the service supports.
797
+ * ### Known values supported by the service
798
+ * **enabled** \
799
+ * **disabled**
800
+ */
801
+ export type ActiveDirectoryAuth = string;
802
+ /** Known values of {@link PasswordAuth} that the service accepts. */
803
+ export declare enum KnownPasswordAuth {
804
+ /** Enabled */
805
+ Enabled = "enabled",
806
+ /** Disabled */
807
+ Disabled = "disabled"
808
+ }
809
+ /**
810
+ * Defines values for PasswordAuth. \
811
+ * {@link KnownPasswordAuth} can be used interchangeably with PasswordAuth,
812
+ * this enum contains the known values that the service supports.
813
+ * ### Known values supported by the service
814
+ * **enabled** \
815
+ * **disabled**
816
+ */
817
+ export type PasswordAuth = string;
818
+ /** Known values of {@link ServerRole} that the service accepts. */
819
+ export declare enum KnownServerRole {
820
+ /** Coordinator */
821
+ Coordinator = "Coordinator",
822
+ /** Worker */
823
+ Worker = "Worker"
824
+ }
825
+ /**
826
+ * Defines values for ServerRole. \
827
+ * {@link KnownServerRole} can be used interchangeably with ServerRole,
828
+ * this enum contains the known values that the service supports.
829
+ * ### Known values supported by the service
830
+ * **Coordinator** \
831
+ * **Worker**
832
+ */
833
+ export type ServerRole = string;
834
+ /** Known values of {@link ConfigurationDataType} that the service accepts. */
835
+ export declare enum KnownConfigurationDataType {
836
+ /** Boolean */
837
+ Boolean = "Boolean",
838
+ /** Numeric */
839
+ Numeric = "Numeric",
840
+ /** Integer */
841
+ Integer = "Integer",
842
+ /** Enumeration */
843
+ Enumeration = "Enumeration"
844
+ }
845
+ /**
846
+ * Defines values for ConfigurationDataType. \
847
+ * {@link KnownConfigurationDataType} can be used interchangeably with ConfigurationDataType,
848
+ * this enum contains the known values that the service supports.
849
+ * ### Known values supported by the service
850
+ * **Boolean** \
851
+ * **Numeric** \
852
+ * **Integer** \
853
+ * **Enumeration**
854
+ */
855
+ export type ConfigurationDataType = string;
856
+ /** Known values of {@link ProvisioningState} that the service accepts. */
857
+ export declare enum KnownProvisioningState {
858
+ /** Succeeded */
859
+ Succeeded = "Succeeded",
860
+ /** Canceled */
861
+ Canceled = "Canceled",
862
+ /** InProgress */
863
+ InProgress = "InProgress",
864
+ /** Failed */
865
+ Failed = "Failed"
866
+ }
867
+ /**
868
+ * Defines values for ProvisioningState. \
869
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
870
+ * this enum contains the known values that the service supports.
871
+ * ### Known values supported by the service
872
+ * **Succeeded** \
873
+ * **Canceled** \
874
+ * **InProgress** \
875
+ * **Failed**
876
+ */
877
+ export type ProvisioningState = string;
878
+ /** Known values of {@link RoleType} that the service accepts. */
879
+ export declare enum KnownRoleType {
880
+ /** User */
881
+ User = "user",
882
+ /** Admin */
883
+ Admin = "admin"
884
+ }
885
+ /**
886
+ * Defines values for RoleType. \
887
+ * {@link KnownRoleType} can be used interchangeably with RoleType,
888
+ * this enum contains the known values that the service supports.
889
+ * ### Known values supported by the service
890
+ * **user** \
891
+ * **admin**
892
+ */
893
+ export type RoleType = string;
894
+ /** Known values of {@link PrincipalType} that the service accepts. */
895
+ export declare enum KnownPrincipalType {
896
+ /** User */
897
+ User = "user",
898
+ /** ServicePrincipal */
899
+ ServicePrincipal = "servicePrincipal",
900
+ /** Group */
901
+ Group = "group"
902
+ }
903
+ /**
904
+ * Defines values for PrincipalType. \
905
+ * {@link KnownPrincipalType} can be used interchangeably with PrincipalType,
906
+ * this enum contains the known values that the service supports.
907
+ * ### Known values supported by the service
908
+ * **user** \
909
+ * **servicePrincipal** \
910
+ * **group**
911
+ */
912
+ export type PrincipalType = string;
913
+ /** Known values of {@link OperationOrigin} that the service accepts. */
914
+ export declare enum KnownOperationOrigin {
915
+ /** NotSpecified */
916
+ NotSpecified = "NotSpecified",
917
+ /** User */
918
+ User = "user",
919
+ /** System */
920
+ System = "system"
921
+ }
922
+ /**
923
+ * Defines values for OperationOrigin. \
924
+ * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,
925
+ * this enum contains the known values that the service supports.
926
+ * ### Known values supported by the service
927
+ * **NotSpecified** \
928
+ * **user** \
929
+ * **system**
930
+ */
931
+ export type OperationOrigin = string;
932
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
933
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
934
+ /** Succeeded */
935
+ Succeeded = "Succeeded",
936
+ /** Creating */
937
+ Creating = "Creating",
938
+ /** Deleting */
939
+ Deleting = "Deleting",
940
+ /** Failed */
941
+ Failed = "Failed"
942
+ }
943
+ /**
944
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
945
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
946
+ * this enum contains the known values that the service supports.
947
+ * ### Known values supported by the service
948
+ * **Succeeded** \
949
+ * **Creating** \
950
+ * **Deleting** \
951
+ * **Failed**
952
+ */
953
+ export type PrivateEndpointConnectionProvisioningState = string;
954
+ /** Optional parameters. */
955
+ export interface ClustersListOptionalParams extends coreClient.OperationOptions {
956
+ }
957
+ /** Contains response data for the list operation. */
958
+ export type ClustersListResponse = ClusterListResult;
959
+ /** Optional parameters. */
960
+ export interface ClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions {
961
+ }
962
+ /** Contains response data for the listByResourceGroup operation. */
963
+ export type ClustersListByResourceGroupResponse = ClusterListResult;
964
+ /** Optional parameters. */
965
+ export interface ClustersCreateOptionalParams extends coreClient.OperationOptions {
966
+ /** Delay to wait until next poll, in milliseconds. */
967
+ updateIntervalInMs?: number;
968
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
969
+ resumeFrom?: string;
970
+ }
971
+ /** Contains response data for the create operation. */
972
+ export type ClustersCreateResponse = Cluster;
973
+ /** Optional parameters. */
974
+ export interface ClustersGetOptionalParams extends coreClient.OperationOptions {
975
+ }
976
+ /** Contains response data for the get operation. */
977
+ export type ClustersGetResponse = Cluster;
978
+ /** Optional parameters. */
979
+ export interface ClustersDeleteOptionalParams extends coreClient.OperationOptions {
980
+ /** Delay to wait until next poll, in milliseconds. */
981
+ updateIntervalInMs?: number;
982
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
983
+ resumeFrom?: string;
984
+ }
985
+ /** Optional parameters. */
986
+ export interface ClustersUpdateOptionalParams extends coreClient.OperationOptions {
987
+ /** Delay to wait until next poll, in milliseconds. */
988
+ updateIntervalInMs?: number;
989
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
990
+ resumeFrom?: string;
991
+ }
992
+ /** Contains response data for the update operation. */
993
+ export type ClustersUpdateResponse = Cluster;
994
+ /** Optional parameters. */
995
+ export interface ClustersRestartOptionalParams extends coreClient.OperationOptions {
996
+ /** Delay to wait until next poll, in milliseconds. */
997
+ updateIntervalInMs?: number;
998
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
999
+ resumeFrom?: string;
1000
+ }
1001
+ /** Contains response data for the restart operation. */
1002
+ export type ClustersRestartResponse = ClustersRestartHeaders;
1003
+ /** Optional parameters. */
1004
+ export interface ClustersStartOptionalParams extends coreClient.OperationOptions {
1005
+ /** Delay to wait until next poll, in milliseconds. */
1006
+ updateIntervalInMs?: number;
1007
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1008
+ resumeFrom?: string;
1009
+ }
1010
+ /** Optional parameters. */
1011
+ export interface ClustersStopOptionalParams extends coreClient.OperationOptions {
1012
+ /** Delay to wait until next poll, in milliseconds. */
1013
+ updateIntervalInMs?: number;
1014
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1015
+ resumeFrom?: string;
1016
+ }
1017
+ /** Optional parameters. */
1018
+ export interface ClustersPromoteReadReplicaOptionalParams extends coreClient.OperationOptions {
1019
+ /** The parameter for enabling geo-redundant backup while promoting read replica. */
1020
+ promoteRequest?: PromoteRequest;
1021
+ /** Delay to wait until next poll, in milliseconds. */
1022
+ updateIntervalInMs?: number;
1023
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1024
+ resumeFrom?: string;
1025
+ }
1026
+ /** Contains response data for the promoteReadReplica operation. */
1027
+ export type ClustersPromoteReadReplicaResponse = ClustersPromoteReadReplicaHeaders;
1028
+ /** Optional parameters. */
1029
+ export interface ClustersCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
1030
+ }
1031
+ /** Contains response data for the checkNameAvailability operation. */
1032
+ export type ClustersCheckNameAvailabilityResponse = NameAvailability;
1033
+ /** Optional parameters. */
1034
+ export interface ClustersListNextOptionalParams extends coreClient.OperationOptions {
1035
+ }
1036
+ /** Contains response data for the listNext operation. */
1037
+ export type ClustersListNextResponse = ClusterListResult;
1038
+ /** Optional parameters. */
1039
+ export interface ClustersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1040
+ }
1041
+ /** Contains response data for the listByResourceGroupNext operation. */
1042
+ export type ClustersListByResourceGroupNextResponse = ClusterListResult;
1043
+ /** Optional parameters. */
1044
+ export interface ServersListByClusterOptionalParams extends coreClient.OperationOptions {
1045
+ }
1046
+ /** Contains response data for the listByCluster operation. */
1047
+ export type ServersListByClusterResponse = ClusterServerListResult;
1048
+ /** Optional parameters. */
1049
+ export interface ServersGetOptionalParams extends coreClient.OperationOptions {
1050
+ }
1051
+ /** Contains response data for the get operation. */
1052
+ export type ServersGetResponse = ClusterServer;
1053
+ /** Optional parameters. */
1054
+ export interface ConfigurationsListByServerOptionalParams extends coreClient.OperationOptions {
1055
+ }
1056
+ /** Contains response data for the listByServer operation. */
1057
+ export type ConfigurationsListByServerResponse = ServerConfigurationListResult;
1058
+ /** Optional parameters. */
1059
+ export interface ConfigurationsListByClusterOptionalParams extends coreClient.OperationOptions {
1060
+ }
1061
+ /** Contains response data for the listByCluster operation. */
1062
+ export type ConfigurationsListByClusterResponse = ClusterConfigurationListResult;
1063
+ /** Optional parameters. */
1064
+ export interface ConfigurationsGetOptionalParams extends coreClient.OperationOptions {
1065
+ }
1066
+ /** Contains response data for the get operation. */
1067
+ export type ConfigurationsGetResponse = Configuration;
1068
+ /** Optional parameters. */
1069
+ export interface ConfigurationsGetCoordinatorOptionalParams extends coreClient.OperationOptions {
1070
+ }
1071
+ /** Contains response data for the getCoordinator operation. */
1072
+ export type ConfigurationsGetCoordinatorResponse = ServerConfiguration;
1073
+ /** Optional parameters. */
1074
+ export interface ConfigurationsUpdateOnCoordinatorOptionalParams extends coreClient.OperationOptions {
1075
+ /** Delay to wait until next poll, in milliseconds. */
1076
+ updateIntervalInMs?: number;
1077
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1078
+ resumeFrom?: string;
1079
+ }
1080
+ /** Contains response data for the updateOnCoordinator operation. */
1081
+ export type ConfigurationsUpdateOnCoordinatorResponse = ServerConfiguration;
1082
+ /** Optional parameters. */
1083
+ export interface ConfigurationsGetNodeOptionalParams extends coreClient.OperationOptions {
1084
+ }
1085
+ /** Contains response data for the getNode operation. */
1086
+ export type ConfigurationsGetNodeResponse = ServerConfiguration;
1087
+ /** Optional parameters. */
1088
+ export interface ConfigurationsUpdateOnNodeOptionalParams extends coreClient.OperationOptions {
1089
+ /** Delay to wait until next poll, in milliseconds. */
1090
+ updateIntervalInMs?: number;
1091
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1092
+ resumeFrom?: string;
1093
+ }
1094
+ /** Contains response data for the updateOnNode operation. */
1095
+ export type ConfigurationsUpdateOnNodeResponse = ServerConfiguration;
1096
+ /** Optional parameters. */
1097
+ export interface ConfigurationsListByServerNextOptionalParams extends coreClient.OperationOptions {
1098
+ }
1099
+ /** Contains response data for the listByServerNext operation. */
1100
+ export type ConfigurationsListByServerNextResponse = ServerConfigurationListResult;
1101
+ /** Optional parameters. */
1102
+ export interface ConfigurationsListByClusterNextOptionalParams extends coreClient.OperationOptions {
1103
+ }
1104
+ /** Contains response data for the listByClusterNext operation. */
1105
+ export type ConfigurationsListByClusterNextResponse = ClusterConfigurationListResult;
1106
+ /** Optional parameters. */
1107
+ export interface FirewallRulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1108
+ /** Delay to wait until next poll, in milliseconds. */
1109
+ updateIntervalInMs?: number;
1110
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1111
+ resumeFrom?: string;
1112
+ }
1113
+ /** Contains response data for the createOrUpdate operation. */
1114
+ export type FirewallRulesCreateOrUpdateResponse = FirewallRule;
1115
+ /** Optional parameters. */
1116
+ export interface FirewallRulesDeleteOptionalParams extends coreClient.OperationOptions {
1117
+ /** Delay to wait until next poll, in milliseconds. */
1118
+ updateIntervalInMs?: number;
1119
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1120
+ resumeFrom?: string;
1121
+ }
1122
+ /** Contains response data for the delete operation. */
1123
+ export type FirewallRulesDeleteResponse = FirewallRulesDeleteHeaders;
1124
+ /** Optional parameters. */
1125
+ export interface FirewallRulesGetOptionalParams extends coreClient.OperationOptions {
1126
+ }
1127
+ /** Contains response data for the get operation. */
1128
+ export type FirewallRulesGetResponse = FirewallRule;
1129
+ /** Optional parameters. */
1130
+ export interface FirewallRulesListByClusterOptionalParams extends coreClient.OperationOptions {
1131
+ }
1132
+ /** Contains response data for the listByCluster operation. */
1133
+ export type FirewallRulesListByClusterResponse = FirewallRuleListResult;
1134
+ /** Optional parameters. */
1135
+ export interface RolesGetOptionalParams extends coreClient.OperationOptions {
1136
+ }
1137
+ /** Contains response data for the get operation. */
1138
+ export type RolesGetResponse = Role;
1139
+ /** Optional parameters. */
1140
+ export interface RolesCreateOptionalParams extends coreClient.OperationOptions {
1141
+ /** Delay to wait until next poll, in milliseconds. */
1142
+ updateIntervalInMs?: number;
1143
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1144
+ resumeFrom?: string;
1145
+ }
1146
+ /** Contains response data for the create operation. */
1147
+ export type RolesCreateResponse = Role;
1148
+ /** Optional parameters. */
1149
+ export interface RolesDeleteOptionalParams extends coreClient.OperationOptions {
1150
+ /** Delay to wait until next poll, in milliseconds. */
1151
+ updateIntervalInMs?: number;
1152
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1153
+ resumeFrom?: string;
1154
+ }
1155
+ /** Contains response data for the delete operation. */
1156
+ export type RolesDeleteResponse = RolesDeleteHeaders;
1157
+ /** Optional parameters. */
1158
+ export interface RolesListByClusterOptionalParams extends coreClient.OperationOptions {
1159
+ }
1160
+ /** Contains response data for the listByCluster operation. */
1161
+ export type RolesListByClusterResponse = RoleListResult;
1162
+ /** Optional parameters. */
1163
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1164
+ }
1165
+ /** Contains response data for the list operation. */
1166
+ export type OperationsListResponse = OperationListResult;
1167
+ /** Optional parameters. */
1168
+ export interface PrivateEndpointConnectionsListByClusterOptionalParams extends coreClient.OperationOptions {
1169
+ }
1170
+ /** Contains response data for the listByCluster operation. */
1171
+ export type PrivateEndpointConnectionsListByClusterResponse = PrivateEndpointConnectionListResult;
1172
+ /** Optional parameters. */
1173
+ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1174
+ }
1175
+ /** Contains response data for the get operation. */
1176
+ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1177
+ /** Optional parameters. */
1178
+ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1179
+ /** Delay to wait until next poll, in milliseconds. */
1180
+ updateIntervalInMs?: number;
1181
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1182
+ resumeFrom?: string;
1183
+ }
1184
+ /** Contains response data for the createOrUpdate operation. */
1185
+ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection;
1186
+ /** Optional parameters. */
1187
+ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1188
+ /** Delay to wait until next poll, in milliseconds. */
1189
+ updateIntervalInMs?: number;
1190
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1191
+ resumeFrom?: string;
1192
+ }
1193
+ /** Contains response data for the delete operation. */
1194
+ export type PrivateEndpointConnectionsDeleteResponse = PrivateEndpointConnectionsDeleteHeaders;
1195
+ /** Optional parameters. */
1196
+ export interface PrivateLinkResourcesListByClusterOptionalParams extends coreClient.OperationOptions {
1197
+ }
1198
+ /** Contains response data for the listByCluster operation. */
1199
+ export type PrivateLinkResourcesListByClusterResponse = PrivateLinkResourceListResult;
1200
+ /** Optional parameters. */
1201
+ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions {
1202
+ }
1203
+ /** Contains response data for the get operation. */
1204
+ export type PrivateLinkResourcesGetResponse = PrivateLinkResource;
1205
+ /** Optional parameters. */
1206
+ export interface CosmosDBForPostgreSQLOptionalParams extends coreClient.ServiceClientOptions {
1207
+ /** server parameter */
1208
+ $host?: string;
1209
+ /** Api Version */
1210
+ apiVersion?: string;
1211
+ /** Overrides client endpoint. */
1212
+ endpoint?: string;
1213
+ }
1214
+ //# sourceMappingURL=index.d.ts.map