@azure/arm-search 3.3.0-beta.2 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/CHANGELOG.md +83 -0
  2. package/README.md +3 -3
  3. package/dist/browser/lroImpl.d.ts +1 -1
  4. package/dist/browser/lroImpl.d.ts.map +1 -1
  5. package/dist/browser/lroImpl.js +7 -3
  6. package/dist/browser/lroImpl.js.map +1 -1
  7. package/dist/browser/models/index.d.ts +375 -373
  8. package/dist/browser/models/index.d.ts.map +1 -1
  9. package/dist/browser/models/index.js +118 -60
  10. package/dist/browser/models/index.js.map +1 -1
  11. package/dist/browser/models/mappers.d.ts +13 -23
  12. package/dist/browser/models/mappers.d.ts.map +1 -1
  13. package/dist/browser/models/mappers.js +375 -607
  14. package/dist/browser/models/mappers.js.map +1 -1
  15. package/dist/browser/models/parameters.d.ts +1 -1
  16. package/dist/browser/models/parameters.d.ts.map +1 -1
  17. package/dist/browser/models/parameters.js +1 -1
  18. package/dist/browser/models/parameters.js.map +1 -1
  19. package/dist/browser/operations/adminKeys.d.ts +3 -3
  20. package/dist/browser/operations/adminKeys.d.ts.map +1 -1
  21. package/dist/browser/operations/adminKeys.js +1 -0
  22. package/dist/browser/operations/adminKeys.js.map +1 -1
  23. package/dist/browser/operations/index.d.ts +0 -1
  24. package/dist/browser/operations/index.d.ts.map +1 -1
  25. package/dist/browser/operations/index.js +0 -1
  26. package/dist/browser/operations/index.js.map +1 -1
  27. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
  28. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  29. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js +37 -49
  30. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  31. package/dist/browser/operations/operations.d.ts +4 -4
  32. package/dist/browser/operations/operations.d.ts.map +1 -1
  33. package/dist/browser/operations/operations.js +10 -27
  34. package/dist/browser/operations/operations.js.map +1 -1
  35. package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
  36. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
  37. package/dist/browser/operations/privateEndpointConnections.js +23 -40
  38. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  39. package/dist/browser/operations/privateLinkResources.d.ts +4 -4
  40. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
  41. package/dist/browser/operations/privateLinkResources.js +10 -27
  42. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  43. package/dist/browser/operations/queryKeys.d.ts +4 -4
  44. package/dist/browser/operations/queryKeys.d.ts.map +1 -1
  45. package/dist/browser/operations/queryKeys.js +23 -40
  46. package/dist/browser/operations/queryKeys.js.map +1 -1
  47. package/dist/browser/operations/services.d.ts +7 -7
  48. package/dist/browser/operations/services.d.ts.map +1 -1
  49. package/dist/browser/operations/services.js +70 -94
  50. package/dist/browser/operations/services.js.map +1 -1
  51. package/dist/browser/operations/sharedPrivateLinkResources.d.ts +5 -5
  52. package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  53. package/dist/browser/operations/sharedPrivateLinkResources.js +45 -52
  54. package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -1
  55. package/dist/browser/operations/usages.d.ts +4 -4
  56. package/dist/browser/operations/usages.d.ts.map +1 -1
  57. package/dist/browser/operations/usages.js +23 -40
  58. package/dist/browser/operations/usages.js.map +1 -1
  59. package/dist/browser/operationsInterfaces/adminKeys.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -1
  61. package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -1
  62. package/dist/browser/operationsInterfaces/index.d.ts +0 -1
  63. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  64. package/dist/browser/operationsInterfaces/index.js +0 -1
  65. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  66. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
  67. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  68. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  69. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  70. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  71. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  72. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  73. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  74. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  75. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
  76. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  77. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
  78. package/dist/browser/operationsInterfaces/queryKeys.d.ts +2 -2
  79. package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -1
  80. package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -1
  81. package/dist/browser/operationsInterfaces/services.d.ts +5 -5
  82. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
  83. package/dist/browser/operationsInterfaces/services.js.map +1 -1
  84. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
  85. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
  86. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
  87. package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
  88. package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
  89. package/dist/browser/operationsInterfaces/usages.js.map +1 -1
  90. package/dist/browser/pagingHelper.js +2 -4
  91. package/dist/browser/pagingHelper.js.map +1 -1
  92. package/dist/browser/searchManagementClient.d.ts +4 -6
  93. package/dist/browser/searchManagementClient.d.ts.map +1 -1
  94. package/dist/browser/searchManagementClient.js +34 -16
  95. package/dist/browser/searchManagementClient.js.map +1 -1
  96. package/dist/commonjs/lroImpl.d.ts +1 -1
  97. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  98. package/dist/commonjs/lroImpl.js +7 -3
  99. package/dist/commonjs/lroImpl.js.map +1 -1
  100. package/dist/commonjs/models/index.d.ts +375 -373
  101. package/dist/commonjs/models/index.d.ts.map +1 -1
  102. package/dist/commonjs/models/index.js +119 -61
  103. package/dist/commonjs/models/index.js.map +1 -1
  104. package/dist/commonjs/models/mappers.d.ts +13 -23
  105. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  106. package/dist/commonjs/models/mappers.js +377 -609
  107. package/dist/commonjs/models/mappers.js.map +1 -1
  108. package/dist/commonjs/models/parameters.d.ts +1 -1
  109. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  110. package/dist/commonjs/models/parameters.js +1 -1
  111. package/dist/commonjs/models/parameters.js.map +1 -1
  112. package/dist/commonjs/operations/adminKeys.d.ts +3 -3
  113. package/dist/commonjs/operations/adminKeys.d.ts.map +1 -1
  114. package/dist/commonjs/operations/adminKeys.js +1 -0
  115. package/dist/commonjs/operations/adminKeys.js.map +1 -1
  116. package/dist/commonjs/operations/index.d.ts +0 -1
  117. package/dist/commonjs/operations/index.d.ts.map +1 -1
  118. package/dist/commonjs/operations/index.js +0 -1
  119. package/dist/commonjs/operations/index.js.map +1 -1
  120. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
  121. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  122. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +37 -48
  123. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  124. package/dist/commonjs/operations/operations.d.ts +4 -4
  125. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  126. package/dist/commonjs/operations/operations.js +10 -26
  127. package/dist/commonjs/operations/operations.js.map +1 -1
  128. package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
  129. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
  130. package/dist/commonjs/operations/privateEndpointConnections.js +23 -39
  131. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  132. package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
  133. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
  134. package/dist/commonjs/operations/privateLinkResources.js +10 -26
  135. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  136. package/dist/commonjs/operations/queryKeys.d.ts +4 -4
  137. package/dist/commonjs/operations/queryKeys.d.ts.map +1 -1
  138. package/dist/commonjs/operations/queryKeys.js +23 -39
  139. package/dist/commonjs/operations/queryKeys.js.map +1 -1
  140. package/dist/commonjs/operations/services.d.ts +7 -7
  141. package/dist/commonjs/operations/services.d.ts.map +1 -1
  142. package/dist/commonjs/operations/services.js +70 -93
  143. package/dist/commonjs/operations/services.js.map +1 -1
  144. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +5 -5
  145. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  146. package/dist/commonjs/operations/sharedPrivateLinkResources.js +45 -51
  147. package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -1
  148. package/dist/commonjs/operations/usages.d.ts +4 -4
  149. package/dist/commonjs/operations/usages.d.ts.map +1 -1
  150. package/dist/commonjs/operations/usages.js +23 -39
  151. package/dist/commonjs/operations/usages.js.map +1 -1
  152. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +1 -1
  153. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -1
  154. package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -1
  155. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -1
  156. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  157. package/dist/commonjs/operationsInterfaces/index.js +0 -1
  158. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  159. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
  160. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  161. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  162. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  163. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  164. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  165. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  166. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  167. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  168. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
  169. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  170. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
  171. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +2 -2
  172. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -1
  173. package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -1
  174. package/dist/commonjs/operationsInterfaces/services.d.ts +5 -5
  175. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
  176. package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
  177. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
  178. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
  179. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
  180. package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
  181. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
  182. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
  183. package/dist/commonjs/pagingHelper.js +2 -4
  184. package/dist/commonjs/pagingHelper.js.map +1 -1
  185. package/dist/commonjs/searchManagementClient.d.ts +4 -6
  186. package/dist/commonjs/searchManagementClient.d.ts.map +1 -1
  187. package/dist/commonjs/searchManagementClient.js +33 -15
  188. package/dist/commonjs/searchManagementClient.js.map +1 -1
  189. package/dist/commonjs/tsdoc-metadata.json +11 -11
  190. package/dist/esm/lroImpl.d.ts +1 -1
  191. package/dist/esm/lroImpl.d.ts.map +1 -1
  192. package/dist/esm/lroImpl.js +7 -3
  193. package/dist/esm/lroImpl.js.map +1 -1
  194. package/dist/esm/models/index.d.ts +375 -373
  195. package/dist/esm/models/index.d.ts.map +1 -1
  196. package/dist/esm/models/index.js +118 -60
  197. package/dist/esm/models/index.js.map +1 -1
  198. package/dist/esm/models/mappers.d.ts +13 -23
  199. package/dist/esm/models/mappers.d.ts.map +1 -1
  200. package/dist/esm/models/mappers.js +375 -607
  201. package/dist/esm/models/mappers.js.map +1 -1
  202. package/dist/esm/models/parameters.d.ts +1 -1
  203. package/dist/esm/models/parameters.d.ts.map +1 -1
  204. package/dist/esm/models/parameters.js +1 -1
  205. package/dist/esm/models/parameters.js.map +1 -1
  206. package/dist/esm/operations/adminKeys.d.ts +3 -3
  207. package/dist/esm/operations/adminKeys.d.ts.map +1 -1
  208. package/dist/esm/operations/adminKeys.js +1 -0
  209. package/dist/esm/operations/adminKeys.js.map +1 -1
  210. package/dist/esm/operations/index.d.ts +0 -1
  211. package/dist/esm/operations/index.d.ts.map +1 -1
  212. package/dist/esm/operations/index.js +0 -1
  213. package/dist/esm/operations/index.js.map +1 -1
  214. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
  215. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  216. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +37 -49
  217. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  218. package/dist/esm/operations/operations.d.ts +4 -4
  219. package/dist/esm/operations/operations.d.ts.map +1 -1
  220. package/dist/esm/operations/operations.js +10 -27
  221. package/dist/esm/operations/operations.js.map +1 -1
  222. package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
  223. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  224. package/dist/esm/operations/privateEndpointConnections.js +23 -40
  225. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  226. package/dist/esm/operations/privateLinkResources.d.ts +4 -4
  227. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
  228. package/dist/esm/operations/privateLinkResources.js +10 -27
  229. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  230. package/dist/esm/operations/queryKeys.d.ts +4 -4
  231. package/dist/esm/operations/queryKeys.d.ts.map +1 -1
  232. package/dist/esm/operations/queryKeys.js +23 -40
  233. package/dist/esm/operations/queryKeys.js.map +1 -1
  234. package/dist/esm/operations/services.d.ts +7 -7
  235. package/dist/esm/operations/services.d.ts.map +1 -1
  236. package/dist/esm/operations/services.js +70 -94
  237. package/dist/esm/operations/services.js.map +1 -1
  238. package/dist/esm/operations/sharedPrivateLinkResources.d.ts +5 -5
  239. package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  240. package/dist/esm/operations/sharedPrivateLinkResources.js +45 -52
  241. package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -1
  242. package/dist/esm/operations/usages.d.ts +4 -4
  243. package/dist/esm/operations/usages.d.ts.map +1 -1
  244. package/dist/esm/operations/usages.js +23 -40
  245. package/dist/esm/operations/usages.js.map +1 -1
  246. package/dist/esm/operationsInterfaces/adminKeys.d.ts +1 -1
  247. package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -1
  248. package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -1
  249. package/dist/esm/operationsInterfaces/index.d.ts +0 -1
  250. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  251. package/dist/esm/operationsInterfaces/index.js +0 -1
  252. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  253. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
  254. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  255. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  256. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  257. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  258. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  259. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  260. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  261. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  262. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
  263. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  264. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
  265. package/dist/esm/operationsInterfaces/queryKeys.d.ts +2 -2
  266. package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -1
  267. package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -1
  268. package/dist/esm/operationsInterfaces/services.d.ts +5 -5
  269. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
  270. package/dist/esm/operationsInterfaces/services.js.map +1 -1
  271. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
  272. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
  273. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
  274. package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
  275. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
  276. package/dist/esm/operationsInterfaces/usages.js.map +1 -1
  277. package/dist/esm/pagingHelper.js +2 -4
  278. package/dist/esm/pagingHelper.js.map +1 -1
  279. package/dist/esm/searchManagementClient.d.ts +4 -6
  280. package/dist/esm/searchManagementClient.d.ts.map +1 -1
  281. package/dist/esm/searchManagementClient.js +34 -16
  282. package/dist/esm/searchManagementClient.js.map +1 -1
  283. package/dist/react-native/lroImpl.d.ts +1 -1
  284. package/dist/react-native/lroImpl.d.ts.map +1 -1
  285. package/dist/react-native/lroImpl.js +7 -3
  286. package/dist/react-native/lroImpl.js.map +1 -1
  287. package/dist/react-native/models/index.d.ts +375 -373
  288. package/dist/react-native/models/index.d.ts.map +1 -1
  289. package/dist/react-native/models/index.js +118 -60
  290. package/dist/react-native/models/index.js.map +1 -1
  291. package/dist/react-native/models/mappers.d.ts +13 -23
  292. package/dist/react-native/models/mappers.d.ts.map +1 -1
  293. package/dist/react-native/models/mappers.js +375 -607
  294. package/dist/react-native/models/mappers.js.map +1 -1
  295. package/dist/react-native/models/parameters.d.ts +1 -1
  296. package/dist/react-native/models/parameters.d.ts.map +1 -1
  297. package/dist/react-native/models/parameters.js +1 -1
  298. package/dist/react-native/models/parameters.js.map +1 -1
  299. package/dist/react-native/operations/adminKeys.d.ts +3 -3
  300. package/dist/react-native/operations/adminKeys.d.ts.map +1 -1
  301. package/dist/react-native/operations/adminKeys.js +1 -0
  302. package/dist/react-native/operations/adminKeys.js.map +1 -1
  303. package/dist/react-native/operations/index.d.ts +0 -1
  304. package/dist/react-native/operations/index.d.ts.map +1 -1
  305. package/dist/react-native/operations/index.js +0 -1
  306. package/dist/react-native/operations/index.js.map +1 -1
  307. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +8 -8
  308. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  309. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +37 -49
  310. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -1
  311. package/dist/react-native/operations/operations.d.ts +4 -4
  312. package/dist/react-native/operations/operations.d.ts.map +1 -1
  313. package/dist/react-native/operations/operations.js +10 -27
  314. package/dist/react-native/operations/operations.js.map +1 -1
  315. package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
  316. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
  317. package/dist/react-native/operations/privateEndpointConnections.js +23 -40
  318. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  319. package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
  320. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
  321. package/dist/react-native/operations/privateLinkResources.js +10 -27
  322. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  323. package/dist/react-native/operations/queryKeys.d.ts +4 -4
  324. package/dist/react-native/operations/queryKeys.d.ts.map +1 -1
  325. package/dist/react-native/operations/queryKeys.js +23 -40
  326. package/dist/react-native/operations/queryKeys.js.map +1 -1
  327. package/dist/react-native/operations/services.d.ts +7 -7
  328. package/dist/react-native/operations/services.d.ts.map +1 -1
  329. package/dist/react-native/operations/services.js +70 -94
  330. package/dist/react-native/operations/services.js.map +1 -1
  331. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +5 -5
  332. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -1
  333. package/dist/react-native/operations/sharedPrivateLinkResources.js +45 -52
  334. package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -1
  335. package/dist/react-native/operations/usages.d.ts +4 -4
  336. package/dist/react-native/operations/usages.d.ts.map +1 -1
  337. package/dist/react-native/operations/usages.js +23 -40
  338. package/dist/react-native/operations/usages.js.map +1 -1
  339. package/dist/react-native/operationsInterfaces/adminKeys.d.ts +1 -1
  340. package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -1
  341. package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -1
  342. package/dist/react-native/operationsInterfaces/index.d.ts +0 -1
  343. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  344. package/dist/react-native/operationsInterfaces/index.js +0 -1
  345. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  346. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +6 -6
  347. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -1
  348. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -1
  349. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  350. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  351. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  352. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
  353. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
  354. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
  355. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
  356. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
  357. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
  358. package/dist/react-native/operationsInterfaces/queryKeys.d.ts +2 -2
  359. package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -1
  360. package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -1
  361. package/dist/react-native/operationsInterfaces/services.d.ts +5 -5
  362. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
  363. package/dist/react-native/operationsInterfaces/services.js.map +1 -1
  364. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +3 -3
  365. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -1
  366. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -1
  367. package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
  368. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
  369. package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
  370. package/dist/react-native/pagingHelper.js +2 -4
  371. package/dist/react-native/pagingHelper.js.map +1 -1
  372. package/dist/react-native/searchManagementClient.d.ts +4 -6
  373. package/dist/react-native/searchManagementClient.d.ts.map +1 -1
  374. package/dist/react-native/searchManagementClient.js +34 -16
  375. package/dist/react-native/searchManagementClient.js.map +1 -1
  376. package/package.json +17 -26
  377. package/review/{arm-search.api.md → arm-search-node.api.md} +170 -215
  378. package/dist/browser/operations/offerings.d.ts +0 -26
  379. package/dist/browser/operations/offerings.d.ts.map +0 -1
  380. package/dist/browser/operations/offerings.js +0 -96
  381. package/dist/browser/operations/offerings.js.map +0 -1
  382. package/dist/browser/operationsInterfaces/offerings.d.ts +0 -11
  383. package/dist/browser/operationsInterfaces/offerings.d.ts.map +0 -1
  384. package/dist/browser/operationsInterfaces/offerings.js +0 -9
  385. package/dist/browser/operationsInterfaces/offerings.js.map +0 -1
  386. package/dist/commonjs/operations/offerings.d.ts +0 -26
  387. package/dist/commonjs/operations/offerings.d.ts.map +0 -1
  388. package/dist/commonjs/operations/offerings.js +0 -100
  389. package/dist/commonjs/operations/offerings.js.map +0 -1
  390. package/dist/commonjs/operationsInterfaces/offerings.d.ts +0 -11
  391. package/dist/commonjs/operationsInterfaces/offerings.d.ts.map +0 -1
  392. package/dist/commonjs/operationsInterfaces/offerings.js +0 -10
  393. package/dist/commonjs/operationsInterfaces/offerings.js.map +0 -1
  394. package/dist/esm/operations/offerings.d.ts +0 -26
  395. package/dist/esm/operations/offerings.d.ts.map +0 -1
  396. package/dist/esm/operations/offerings.js +0 -96
  397. package/dist/esm/operations/offerings.js.map +0 -1
  398. package/dist/esm/operationsInterfaces/offerings.d.ts +0 -11
  399. package/dist/esm/operationsInterfaces/offerings.d.ts.map +0 -1
  400. package/dist/esm/operationsInterfaces/offerings.js +0 -9
  401. package/dist/esm/operationsInterfaces/offerings.js.map +0 -1
  402. package/dist/react-native/operations/offerings.d.ts +0 -26
  403. package/dist/react-native/operations/offerings.d.ts.map +0 -1
  404. package/dist/react-native/operations/offerings.js +0 -96
  405. package/dist/react-native/operations/offerings.js.map +0 -1
  406. package/dist/react-native/operationsInterfaces/offerings.d.ts +0 -11
  407. package/dist/react-native/operationsInterfaces/offerings.d.ts.map +0 -1
  408. package/dist/react-native/operationsInterfaces/offerings.js +0 -9
  409. package/dist/react-native/operationsInterfaces/offerings.js.map +0 -1
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
10
  import * as Mappers from "../models/mappers.js";
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
15
14
  /// <reference lib="esnext.asynciterable" />
16
15
  /** Class containing Services operations. */
17
16
  export class ServicesImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class Services class.
20
20
  * @param client Reference to the service client
@@ -38,52 +38,35 @@ export class ServicesImpl {
38
38
  return this;
39
39
  },
40
40
  byPage: (settings) => {
41
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
42
42
  throw new Error("maxPageSize is not supported by this operation.");
43
43
  }
44
44
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
45
45
  },
46
46
  };
47
47
  }
48
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
50
- let result;
51
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
52
- if (!continuationToken) {
53
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
54
- let page = result.value || [];
55
- continuationToken = result.nextLink;
56
- setContinuationToken(page, continuationToken);
57
- yield yield __await(page);
58
- }
59
- while (continuationToken) {
60
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
61
- continuationToken = result.nextLink;
62
- let page = result.value || [];
63
- setContinuationToken(page, continuationToken);
64
- yield yield __await(page);
65
- }
66
- });
48
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._listByResourceGroup(resourceGroupName, options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ setContinuationToken(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield page;
64
+ }
67
65
  }
68
- listByResourceGroupPagingAll(resourceGroupName, options) {
69
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
70
- var _a, e_1, _b, _c;
71
- try {
72
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
73
- _c = _f.value;
74
- _d = false;
75
- const page = _c;
76
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
- }
78
- }
79
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
80
- finally {
81
- try {
82
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
83
- }
84
- finally { if (e_1) throw e_1.error; }
85
- }
86
- });
66
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
67
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
68
+ yield* page;
69
+ }
87
70
  }
88
71
  /**
89
72
  * Gets a list of all Search services in the given subscription.
@@ -99,52 +82,35 @@ export class ServicesImpl {
99
82
  return this;
100
83
  },
101
84
  byPage: (settings) => {
102
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
85
+ if (settings?.maxPageSize) {
103
86
  throw new Error("maxPageSize is not supported by this operation.");
104
87
  }
105
88
  return this.listBySubscriptionPagingPage(options, settings);
106
89
  },
107
90
  };
108
91
  }
109
- listBySubscriptionPagingPage(options, settings) {
110
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
111
- let result;
112
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
113
- if (!continuationToken) {
114
- result = yield __await(this._listBySubscription(options));
115
- let page = result.value || [];
116
- continuationToken = result.nextLink;
117
- setContinuationToken(page, continuationToken);
118
- yield yield __await(page);
119
- }
120
- while (continuationToken) {
121
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
122
- continuationToken = result.nextLink;
123
- let page = result.value || [];
124
- setContinuationToken(page, continuationToken);
125
- yield yield __await(page);
126
- }
127
- });
92
+ async *listBySubscriptionPagingPage(options, settings) {
93
+ let result;
94
+ let continuationToken = settings?.continuationToken;
95
+ if (!continuationToken) {
96
+ result = await this._listBySubscription(options);
97
+ let page = result.value || [];
98
+ continuationToken = result.nextLink;
99
+ setContinuationToken(page, continuationToken);
100
+ yield page;
101
+ }
102
+ while (continuationToken) {
103
+ result = await this._listBySubscriptionNext(continuationToken, options);
104
+ continuationToken = result.nextLink;
105
+ let page = result.value || [];
106
+ setContinuationToken(page, continuationToken);
107
+ yield page;
108
+ }
128
109
  }
129
- listBySubscriptionPagingAll(options) {
130
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
131
- var _a, e_2, _b, _c;
132
- try {
133
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
134
- _c = _f.value;
135
- _d = false;
136
- const page = _c;
137
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
138
- }
139
- }
140
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
141
- finally {
142
- try {
143
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
144
- }
145
- finally { if (e_2) throw e_2.error; }
146
- }
147
- });
110
+ async *listBySubscriptionPagingAll(options) {
111
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
112
+ yield* page;
113
+ }
148
114
  }
149
115
  /**
150
116
  * Creates or updates a search service in the given resource group. If the search service already
@@ -154,7 +120,7 @@ export class ServicesImpl {
154
120
  * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
155
121
  * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
156
122
  * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
157
- * length. Search service names must be globally unique since they are part of the service URI
123
+ * length. Search service names must be unique since they are part of the service URI
158
124
  * (https://<name>.search.windows.net). You cannot change the service name after the service is
159
125
  * created.
160
126
  * @param service The definition of the search service to create or update.
@@ -165,14 +131,19 @@ export class ServicesImpl {
165
131
  return this.client.sendOperationRequest(args, spec);
166
132
  };
167
133
  const sendOperationFn = async (args, spec) => {
168
- var _a;
169
134
  let currentRawResponse = undefined;
170
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
135
+ const providedCallback = args.options?.onResponse;
171
136
  const callback = (rawResponse, flatResponse) => {
172
137
  currentRawResponse = rawResponse;
173
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
138
+ providedCallback?.(rawResponse, flatResponse);
139
+ };
140
+ const updatedArgs = {
141
+ ...args,
142
+ options: {
143
+ ...args.options,
144
+ onResponse: callback,
145
+ },
174
146
  };
175
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
176
147
  const flatResponse = await directSendOperation(updatedArgs, spec);
177
148
  return {
178
149
  flatResponse,
@@ -189,8 +160,8 @@ export class ServicesImpl {
189
160
  spec: createOrUpdateOperationSpec,
190
161
  });
191
162
  const poller = await createHttpPoller(lro, {
192
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
193
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
163
+ restoreFrom: options?.resumeFrom,
164
+ intervalInMs: options?.updateIntervalInMs,
194
165
  });
195
166
  await poller.poll();
196
167
  return poller;
@@ -203,7 +174,7 @@ export class ServicesImpl {
203
174
  * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
204
175
  * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
205
176
  * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
206
- * length. Search service names must be globally unique since they are part of the service URI
177
+ * length. Search service names must be unique since they are part of the service URI
207
178
  * (https://<name>.search.windows.net). You cannot change the service name after the service is
208
179
  * created.
209
180
  * @param service The definition of the search service to create or update.
@@ -286,14 +257,19 @@ export class ServicesImpl {
286
257
  return this.client.sendOperationRequest(args, spec);
287
258
  };
288
259
  const sendOperationFn = async (args, spec) => {
289
- var _a;
290
260
  let currentRawResponse = undefined;
291
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
261
+ const providedCallback = args.options?.onResponse;
292
262
  const callback = (rawResponse, flatResponse) => {
293
263
  currentRawResponse = rawResponse;
294
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
264
+ providedCallback?.(rawResponse, flatResponse);
265
+ };
266
+ const updatedArgs = {
267
+ ...args,
268
+ options: {
269
+ ...args.options,
270
+ onResponse: callback,
271
+ },
295
272
  };
296
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
297
273
  const flatResponse = await directSendOperation(updatedArgs, spec);
298
274
  return {
299
275
  flatResponse,
@@ -310,8 +286,8 @@ export class ServicesImpl {
310
286
  spec: upgradeOperationSpec,
311
287
  });
312
288
  const poller = await createHttpPoller(lro, {
313
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
314
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
289
+ restoreFrom: options?.resumeFrom,
290
+ intervalInMs: options?.updateIntervalInMs,
315
291
  resourceLocationConfig: "location",
316
292
  });
317
293
  await poller.poll();
@@ -492,7 +468,7 @@ const checkNameAvailabilityOperationSpec = {
492
468
  },
493
469
  requestBody: {
494
470
  parameterPath: { name: ["name"], typeParam: ["typeParam"] },
495
- mapper: Object.assign(Object.assign({}, Mappers.CheckNameAvailabilityInput), { required: true }),
471
+ mapper: { ...Mappers.CheckNameAvailabilityInput, required: true },
496
472
  },
497
473
  queryParameters: [Parameters.apiVersion],
498
474
  urlParameters: [Parameters.$host, Parameters.subscriptionId],
@@ -1 +1 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAmD;QAEnD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAClF,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAAmD,EACnD,QAAuB;;YAEvB,IAAI,MAA2C,C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,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,QAAQ,CAAC;IACjF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,eAAe,CAAC;IACjE,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Services } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { SearchManagementClient } from \"../searchManagementClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n SearchService,\n ServicesListByResourceGroupNextOptionalParams,\n ServicesListByResourceGroupOptionalParams,\n ServicesListByResourceGroupResponse,\n ServicesListBySubscriptionNextOptionalParams,\n ServicesListBySubscriptionOptionalParams,\n ServicesListBySubscriptionResponse,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n SearchServiceUpdate,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesUpgradeOptionalParams,\n ServicesUpgradeResponse,\n ServicesListByResourceGroupNextResponse,\n ServicesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Services operations. */\nexport class ServicesImpl implements Services {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Services class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be globally unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, searchServiceName, service, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesCreateOrUpdateResponse,\n OperationState<ServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be globally unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<ServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n service,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to update.\n * @param service The definition of the search service to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchServiceUpdate,\n options?: ServicesUpdateOptionalParams,\n ): Promise<ServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, service, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Gets the search service with the given name in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesGetOptionalParams,\n ): Promise<ServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a search service in the given resource group, along with its associated resources.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): Promise<ServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): Promise<ServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * Checks whether or not the given search service name is available for use. Search service names must\n * be globally unique since they are part of the service URI (https://<name>.search.windows.net).\n * @param name The search service name to validate. Search service names must only contain lowercase\n * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain\n * consecutive dashes, and must be between 2 and 60 characters in length.\n * @param options The options parameters.\n */\n checkNameAvailability(\n name: string,\n options?: ServicesCheckNameAvailabilityOptionalParams,\n ): Promise<ServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest({ name, options }, checkNameAvailabilityOperationSpec);\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n async beginUpgrade(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesUpgradeResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, searchServiceName, options },\n spec: upgradeOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesUpgradeResponse,\n OperationState<ServicesUpgradeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n async beginUpgradeAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<ServicesUpgradeResponse> {\n const poller = await this.beginUpgrade(resourceGroupName, searchServiceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ServicesListByResourceGroupNextOptionalParams,\n ): Promise<ServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ServicesListBySubscriptionNextOptionalParams,\n ): Promise<ServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityOutput,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: {\n parameterPath: { name: [\"name\"], typeParam: [\"typeParam\"] },\n mapper: { ...Mappers.CheckNameAvailabilityInput, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAoC,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAyB9C,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IACN,MAAM,CAAyB;IAEhD;;;OAGG;IAC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UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Services } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SearchManagementClient } from \"../searchManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n SearchService,\n ServicesListByResourceGroupNextOptionalParams,\n ServicesListByResourceGroupOptionalParams,\n ServicesListByResourceGroupResponse,\n ServicesListBySubscriptionNextOptionalParams,\n ServicesListBySubscriptionOptionalParams,\n ServicesListBySubscriptionResponse,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n SearchServiceUpdate,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesUpgradeOptionalParams,\n ServicesUpgradeResponse,\n ServicesListByResourceGroupNextResponse,\n ServicesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Services operations. */\nexport class ServicesImpl implements Services {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Services class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SearchService> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: ServicesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SearchService[]> {\n let result: ServicesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: ServicesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<SearchService> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, searchServiceName, service, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesCreateOrUpdateResponse,\n OperationState<ServicesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<ServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n service,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates an existing search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to update.\n * @param service The definition of the search service to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchServiceUpdate,\n options?: ServicesUpdateOptionalParams,\n ): Promise<ServicesUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, service, options },\n updateOperationSpec,\n );\n }\n\n /**\n * Gets the search service with the given name in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesGetOptionalParams,\n ): Promise<ServicesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes a search service in the given resource group, along with its associated resources.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): Promise<ServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): Promise<ServicesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * Checks whether or not the given search service name is available for use. Search service names must\n * be globally unique since they are part of the service URI (https://<name>.search.windows.net).\n * @param name The search service name to validate. Search service names must only contain lowercase\n * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain\n * consecutive dashes, and must be between 2 and 60 characters in length.\n * @param options The options parameters.\n */\n checkNameAvailability(\n name: string,\n options?: ServicesCheckNameAvailabilityOptionalParams,\n ): Promise<ServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest({ name, options }, checkNameAvailabilityOperationSpec);\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n async beginUpgrade(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServicesUpgradeResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, searchServiceName, options },\n spec: upgradeOperationSpec,\n });\n const poller = await createHttpPoller<\n ServicesUpgradeResponse,\n OperationState<ServicesUpgradeResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n async beginUpgradeAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<ServicesUpgradeResponse> {\n const poller = await this.beginUpgrade(resourceGroupName, searchServiceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ServicesListByResourceGroupNextOptionalParams,\n ): Promise<ServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: ServicesListBySubscriptionNextOptionalParams,\n ): Promise<ServicesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.service1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.searchServiceName1,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.resourceGroupName, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/searchServices\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityOutput,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: {\n parameterPath: { name: [\"name\"], typeParam: [\"typeParam\"] },\n mapper: { ...Mappers.CheckNameAvailabilityInput, required: true },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.clientRequestId, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchService,\n },\n 201: {\n bodyMapper: Mappers.SearchService,\n },\n 202: {\n bodyMapper: Mappers.SearchService,\n },\n 204: {\n bodyMapper: Mappers.SearchService,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SearchServiceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
@@ -1,8 +1,8 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { SharedPrivateLinkResources } from "../operationsInterfaces/index.js";
3
- import type { SearchManagementClient } from "../searchManagementClient.js";
4
- import type { SimplePollerLike, OperationState } from "@azure/core-lro";
5
- import type { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SharedPrivateLinkResources } from "../operationsInterfaces/index.js";
3
+ import { SearchManagementClient } from "../searchManagementClient.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
6
6
  /** Class containing SharedPrivateLinkResources operations. */
7
7
  export declare class SharedPrivateLinkResourcesImpl implements SharedPrivateLinkResources {
8
8
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAInF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,yBAAyB,EAEzB,qDAAqD,EAErD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEh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CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC;IAUhB;;;;;;;OAOG;IACH,OAAO,CAAC,cAAc;IAWtB;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;CAW3B"}
1
+ {"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAI9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAoB,MAAM,iBAAiB,CAAC;AAErF,OAAO,EACL,yBAAyB,EAEzB,qDAAqD,EAErD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAE/C,MAAM,oBAAoB,CAAC;AAG5B,8DAA8D;AAC9D,qBAAa,8BAA+B,YAAW,0BAA0B;IAC/E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC;YAuBzC,uBAAuB;YA6BvB,sBAAsB;IAcrC;;;;;;;;;;;;OAYG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF;IA6DD;;;;;;;;;;;;OA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