@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 SharedPrivateLinkResources operations. */
17
16
  export class SharedPrivateLinkResourcesImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class SharedPrivateLinkResources class.
20
20
  * @param client Reference to the service client
@@ -40,52 +40,35 @@ export class SharedPrivateLinkResourcesImpl {
40
40
  return this;
41
41
  },
42
42
  byPage: (settings) => {
43
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ if (settings?.maxPageSize) {
44
44
  throw new Error("maxPageSize is not supported by this operation.");
45
45
  }
46
46
  return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
47
47
  },
48
48
  };
49
49
  }
50
- listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
51
- return __asyncGenerator(this, arguments, function* listByServicePagingPage_1() {
52
- let result;
53
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
- if (!continuationToken) {
55
- result = yield __await(this._listByService(resourceGroupName, searchServiceName, options));
56
- let page = result.value || [];
57
- continuationToken = result.nextLink;
58
- setContinuationToken(page, continuationToken);
59
- yield yield __await(page);
60
- }
61
- while (continuationToken) {
62
- result = yield __await(this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options));
63
- continuationToken = result.nextLink;
64
- let page = result.value || [];
65
- setContinuationToken(page, continuationToken);
66
- yield yield __await(page);
67
- }
68
- });
50
+ async *listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._listByService(resourceGroupName, searchServiceName, options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ setContinuationToken(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ setContinuationToken(page, continuationToken);
65
+ yield page;
66
+ }
69
67
  }
70
- listByServicePagingAll(resourceGroupName, searchServiceName, options) {
71
- return __asyncGenerator(this, arguments, function* listByServicePagingAll_1() {
72
- var _a, e_1, _b, _c;
73
- try {
74
- for (var _d = true, _e = __asyncValues(this.listByServicePagingPage(resourceGroupName, searchServiceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
75
- _c = _f.value;
76
- _d = false;
77
- const page = _c;
78
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
79
- }
80
- }
81
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
- finally {
83
- try {
84
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
85
- }
86
- finally { if (e_1) throw e_1.error; }
87
- }
88
- });
68
+ async *listByServicePagingAll(resourceGroupName, searchServiceName, options) {
69
+ for await (const page of this.listByServicePagingPage(resourceGroupName, searchServiceName, options)) {
70
+ yield* page;
71
+ }
89
72
  }
90
73
  /**
91
74
  * Initiates the creation or update of a shared private link resource managed by the search service in
@@ -105,14 +88,19 @@ export class SharedPrivateLinkResourcesImpl {
105
88
  return this.client.sendOperationRequest(args, spec);
106
89
  };
107
90
  const sendOperationFn = async (args, spec) => {
108
- var _a;
109
91
  let currentRawResponse = undefined;
110
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
92
+ const providedCallback = args.options?.onResponse;
111
93
  const callback = (rawResponse, flatResponse) => {
112
94
  currentRawResponse = rawResponse;
113
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
95
+ providedCallback?.(rawResponse, flatResponse);
96
+ };
97
+ const updatedArgs = {
98
+ ...args,
99
+ options: {
100
+ ...args.options,
101
+ onResponse: callback,
102
+ },
114
103
  };
115
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
116
104
  const flatResponse = await directSendOperation(updatedArgs, spec);
117
105
  return {
118
106
  flatResponse,
@@ -135,8 +123,8 @@ export class SharedPrivateLinkResourcesImpl {
135
123
  spec: createOrUpdateOperationSpec,
136
124
  });
137
125
  const poller = await createHttpPoller(lro, {
138
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
139
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
126
+ restoreFrom: options?.resumeFrom,
127
+ intervalInMs: options?.updateIntervalInMs,
140
128
  resourceLocationConfig: "azure-async-operation",
141
129
  });
142
130
  await poller.poll();
@@ -193,14 +181,19 @@ export class SharedPrivateLinkResourcesImpl {
193
181
  return this.client.sendOperationRequest(args, spec);
194
182
  };
195
183
  const sendOperationFn = async (args, spec) => {
196
- var _a;
197
184
  let currentRawResponse = undefined;
198
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
185
+ const providedCallback = args.options?.onResponse;
199
186
  const callback = (rawResponse, flatResponse) => {
200
187
  currentRawResponse = rawResponse;
201
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
188
+ providedCallback?.(rawResponse, flatResponse);
189
+ };
190
+ const updatedArgs = {
191
+ ...args,
192
+ options: {
193
+ ...args.options,
194
+ onResponse: callback,
195
+ },
202
196
  };
203
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
204
197
  const flatResponse = await directSendOperation(updatedArgs, spec);
205
198
  return {
206
199
  flatResponse,
@@ -222,8 +215,8 @@ export class SharedPrivateLinkResourcesImpl {
222
215
  spec: deleteOperationSpec,
223
216
  });
224
217
  const poller = await createHttpPoller(lro, {
225
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
226
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
218
+ restoreFrom: options?.resumeFrom,
219
+ intervalInMs: options?.updateIntervalInMs,
227
220
  resourceLocationConfig: "azure-async-operation",
228
221
  });
229
222
  await poller.poll();
@@ -1 +1 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.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;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IAGzC;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,iBAAyB,EACzB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACxF,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;oBAC1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;KACpB;IACD,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 { SharedPrivateLinkResources } 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 SharedPrivateLinkResource,\n SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n SharedPrivateLinkResourcesListByServiceOptionalParams,\n SharedPrivateLinkResourcesListByServiceResponse,\n SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n SharedPrivateLinkResourcesGetOptionalParams,\n SharedPrivateLinkResourcesGetResponse,\n SharedPrivateLinkResourcesDeleteOptionalParams,\n SharedPrivateLinkResourcesListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SharedPrivateLinkResources operations. */\nexport class SharedPrivateLinkResourcesImpl implements SharedPrivateLinkResources {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class SharedPrivateLinkResources 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 shared private link resources managed by the given service.\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 public listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<SharedPrivateLinkResource> {\n const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, 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.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SharedPrivateLinkResource[]> {\n let result: SharedPrivateLinkResourcesListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(resourceGroupName, searchServiceName, 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._listByServiceNext(\n resourceGroupName,\n searchServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): AsyncIterableIterator<SharedPrivateLinkResource> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>,\n SharedPrivateLinkResourcesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> => {\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: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the details of the shared private link resource managed by the search service in the given\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesGetOptionalParams,\n ): Promise<SharedPrivateLinkResourcesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of all shared private link resources managed by the given service.\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 private _listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * ListByServiceNext\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 nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n searchServiceName: string,\n nextLink: string,\n options?: SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, nextLink, options },\n listByServiceNextOperationSpec,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 201: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 202: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 204: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sharedPrivateLinkResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.sharedPrivateLinkResourceName,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\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 Parameters.sharedPrivateLinkResourceName,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 Parameters.sharedPrivateLinkResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\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 listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operations/sharedPrivateLinkResources.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;AAc9C,4CAA4C;AAC5C,8DAA8D;AAC9D,MAAM,OAAO,8BAA8B;IACxB,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,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IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,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","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 { SharedPrivateLinkResources } 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 SharedPrivateLinkResource,\n SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n SharedPrivateLinkResourcesListByServiceOptionalParams,\n SharedPrivateLinkResourcesListByServiceResponse,\n SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n SharedPrivateLinkResourcesGetOptionalParams,\n SharedPrivateLinkResourcesGetResponse,\n SharedPrivateLinkResourcesDeleteOptionalParams,\n SharedPrivateLinkResourcesListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing SharedPrivateLinkResources operations. */\nexport class SharedPrivateLinkResourcesImpl implements SharedPrivateLinkResources {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class SharedPrivateLinkResources 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 shared private link resources managed by the given service.\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 public listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<SharedPrivateLinkResource> {\n const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, 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.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SharedPrivateLinkResource[]> {\n let result: SharedPrivateLinkResourcesListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(resourceGroupName, searchServiceName, 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._listByServiceNext(\n resourceGroupName,\n searchServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): AsyncIterableIterator<SharedPrivateLinkResource> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>,\n SharedPrivateLinkResourcesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> => {\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: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the creation or update of a shared private link resource managed by the search service in\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param sharedPrivateLinkResource The definition of the shared private link resource to create or\n * update.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n sharedPrivateLinkResource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the details of the shared private link resource managed by the search service in the given\n * 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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesGetOptionalParams,\n ): Promise<SharedPrivateLinkResourcesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Initiates the deletion of the shared private link resource from the search service.\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 sharedPrivateLinkResourceName The name of the shared private link resource managed by the\n * Azure AI Search service within the specified resource group.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n searchServiceName,\n sharedPrivateLinkResourceName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a list of all shared private link resources managed by the given service.\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 private _listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * ListByServiceNext\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 nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n searchServiceName: string,\n nextLink: string,\n options?: SharedPrivateLinkResourcesListByServiceNextOptionalParams,\n ): Promise<SharedPrivateLinkResourcesListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, nextLink, options },\n listByServiceNextOperationSpec,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 201: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 202: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n 204: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.sharedPrivateLinkResource,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.sharedPrivateLinkResourceName,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResource,\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 Parameters.sharedPrivateLinkResourceName,\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}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\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 Parameters.sharedPrivateLinkResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\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 listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SharedPrivateLinkResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { Usages } from "../operationsInterfaces/index.js";
3
- import type { SearchManagementClient } from "../searchManagementClient.js";
4
- import type { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Usages } from "../operationsInterfaces/index.js";
3
+ import { SearchManagementClient } from "../searchManagementClient.js";
4
+ import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
5
5
  /** Class containing Usages operations. */
6
6
  export declare class UsagesImpl implements Usages {
7
7
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EACV,gBAAgB,EAEhB,sCAAsC,EAGvC,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,kBAAkB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,gBAAgB,CAAC;YAkBhC,4BAA4B;YAuB5B,2BAA2B;IAS1C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;CAUhC"}
1
+ {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAI1D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACL,gBAAgB,EAEhB,sCAAsC,EAGvC,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;;OAIG;IACI,kBAAkB,CACvB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,gBAAgB,CAAC;YAkBhC,4BAA4B;YAuB5B,2BAA2B;IAS1C;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;;;OAKG;IACH,OAAO,CAAC,uBAAuB;CAUhC"}
@@ -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";
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Usages operations. */
15
14
  export class UsagesImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Usages class.
18
18
  * @param client Reference to the service client
@@ -35,52 +35,35 @@ export class UsagesImpl {
35
35
  return this;
36
36
  },
37
37
  byPage: (settings) => {
38
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ if (settings?.maxPageSize) {
39
39
  throw new Error("maxPageSize is not supported by this operation.");
40
40
  }
41
41
  return this.listBySubscriptionPagingPage(location, options, settings);
42
42
  },
43
43
  };
44
44
  }
45
- listBySubscriptionPagingPage(location, options, settings) {
46
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
47
- let result;
48
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
49
- if (!continuationToken) {
50
- result = yield __await(this._listBySubscription(location, options));
51
- let page = result.value || [];
52
- continuationToken = result.nextLink;
53
- setContinuationToken(page, continuationToken);
54
- yield yield __await(page);
55
- }
56
- while (continuationToken) {
57
- result = yield __await(this._listBySubscriptionNext(location, continuationToken, options));
58
- continuationToken = result.nextLink;
59
- let page = result.value || [];
60
- setContinuationToken(page, continuationToken);
61
- yield yield __await(page);
62
- }
63
- });
45
+ async *listBySubscriptionPagingPage(location, options, settings) {
46
+ let result;
47
+ let continuationToken = settings?.continuationToken;
48
+ if (!continuationToken) {
49
+ result = await this._listBySubscription(location, options);
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield page;
54
+ }
55
+ while (continuationToken) {
56
+ result = await this._listBySubscriptionNext(location, continuationToken, options);
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield page;
61
+ }
64
62
  }
65
- listBySubscriptionPagingAll(location, options) {
66
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
67
- var _a, e_1, _b, _c;
68
- try {
69
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(location, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
70
- _c = _f.value;
71
- _d = false;
72
- const page = _c;
73
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
- }
75
- }
76
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
77
- finally {
78
- try {
79
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
80
- }
81
- finally { if (e_1) throw e_1.error; }
82
- }
83
- });
63
+ async *listBySubscriptionPagingAll(location, options) {
64
+ for await (const page of this.listBySubscriptionPagingPage(location, options)) {
65
+ yield* page;
66
+ }
84
67
  }
85
68
  /**
86
69
  * Get a list of all Azure AI Search quota usages across the subscription.
@@ -1 +1 @@
1
- {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.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;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAM,OAAO,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T,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,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;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,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 { Usages } 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 {\n QuotaUsageResult,\n UsagesListBySubscriptionNextOptionalParams,\n UsagesListBySubscriptionOptionalParams,\n UsagesListBySubscriptionResponse,\n UsagesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n public listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsageResult> {\n const iter = this.listBySubscriptionPagingAll(location, 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(location, options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<QuotaUsageResult[]> {\n let result: UsagesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(location, 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(location, 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 location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<QuotaUsageResult> {\n for await (const page of this.listBySubscriptionPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n private _listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): Promise<UsagesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ location, options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * ListBySubscriptionNext\n * @param location The unique location name for a Microsoft Azure geographic region.\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 location: string,\n nextLink: string,\n options?: UsagesListBySubscriptionNextOptionalParams,\n ): Promise<UsagesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\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.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACj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AO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,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;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,QAAQ;KACpB;IACD,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Usages } 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 {\n QuotaUsageResult,\n UsagesListBySubscriptionNextOptionalParams,\n UsagesListBySubscriptionOptionalParams,\n UsagesListBySubscriptionResponse,\n UsagesListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n public listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsageResult> {\n const iter = this.listBySubscriptionPagingAll(location, 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(location, options, settings);\n },\n };\n }\n\n private async *listBySubscriptionPagingPage(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<QuotaUsageResult[]> {\n let result: UsagesListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(location, 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(location, 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 location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<QuotaUsageResult> {\n for await (const page of this.listBySubscriptionPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * Get a list of all Azure AI Search quota usages across the subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param options The options parameters.\n */\n private _listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): Promise<UsagesListBySubscriptionResponse> {\n return this.client.sendOperationRequest({ location, options }, listBySubscriptionOperationSpec);\n }\n\n /**\n * ListBySubscriptionNext\n * @param location The unique location name for a Microsoft Azure geographic region.\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 location: string,\n nextLink: string,\n options?: UsagesListBySubscriptionNextOptionalParams,\n ): Promise<UsagesListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.location],\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.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
@@ -1,4 +1,4 @@
1
- import type { AdminKeysGetOptionalParams, AdminKeysGetResponse, AdminKeyKind, AdminKeysRegenerateOptionalParams, AdminKeysRegenerateResponse } from "../models/index.js";
1
+ import { AdminKeysGetOptionalParams, AdminKeysGetResponse, AdminKeyKind, AdminKeysRegenerateOptionalParams, AdminKeysRegenerateResponse } from "../models/index.js";
2
2
  /** Interface representing a AdminKeys. */
3
3
  export interface AdminKeys {
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"adminKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,0BAA0B,EAC1B,oBAAoB,EACpB,YAAY,EACZ,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"adminKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,EACpB,YAAY,EACZ,iCAAiC,EACjC,2BAA2B,EAC5B,MAAM,oBAAoB,CAAC;AAE5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,YAAY,EACrB,OAAO,CAAC,EAAE,iCAAiC,GAC1C,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"adminKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type {\n AdminKeysGetOptionalParams,\n AdminKeysGetResponse,\n AdminKeyKind,\n AdminKeysRegenerateOptionalParams,\n AdminKeysRegenerateResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a AdminKeys. */\nexport interface AdminKeys {\n /**\n * Gets the primary and secondary admin API keys for the specified Azure AI Search service.\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?: AdminKeysGetOptionalParams,\n ): Promise<AdminKeysGetResponse>;\n /**\n * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a\n * time.\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 keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.\n * @param options The options parameters.\n */\n regenerate(\n resourceGroupName: string,\n searchServiceName: string,\n keyKind: AdminKeyKind,\n options?: AdminKeysRegenerateOptionalParams,\n ): Promise<AdminKeysRegenerateResponse>;\n}\n"]}
1
+ {"version":3,"file":"adminKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/adminKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n AdminKeysGetOptionalParams,\n AdminKeysGetResponse,\n AdminKeyKind,\n AdminKeysRegenerateOptionalParams,\n AdminKeysRegenerateResponse,\n} from \"../models/index.js\";\n\n/** Interface representing a AdminKeys. */\nexport interface AdminKeys {\n /**\n * Gets the primary and secondary admin API keys for the specified Azure AI Search service.\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?: AdminKeysGetOptionalParams,\n ): Promise<AdminKeysGetResponse>;\n /**\n * Regenerates either the primary or secondary admin API key. You can only regenerate one key at a\n * time.\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 keyKind Specifies which key to regenerate. Valid values include 'primary' and 'secondary'.\n * @param options The options parameters.\n */\n regenerate(\n resourceGroupName: string,\n searchServiceName: string,\n keyKind: AdminKeyKind,\n options?: AdminKeysRegenerateOptionalParams,\n ): Promise<AdminKeysRegenerateResponse>;\n}\n"]}
@@ -1,5 +1,4 @@
1
1
  export * from "./operations.js";
2
- export * from "./offerings.js";
3
2
  export * from "./adminKeys.js";
4
3
  export * from "./queryKeys.js";
5
4
  export * from "./services.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,CAAC"}
@@ -6,7 +6,6 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  export * from "./operations.js";
9
- export * from "./offerings.js";
10
9
  export * from "./adminKeys.js";
11
10
  export * from "./queryKeys.js";
12
11
  export * from "./services.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,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\nexport * from \"./operations.js\";\nexport * from \"./offerings.js\";\nexport * from \"./adminKeys.js\";\nexport * from \"./queryKeys.js\";\nexport * from \"./services.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./sharedPrivateLinkResources.js\";\nexport * from \"./usages.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,iCAAiC,CAAC;AAChD,cAAc,aAAa,CAAC;AAC5B,cAAc,6CAA6C,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\nexport * from \"./operations.js\";\nexport * from \"./adminKeys.js\";\nexport * from \"./queryKeys.js\";\nexport * from \"./services.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./sharedPrivateLinkResources.js\";\nexport * from \"./usages.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
@@ -1,6 +1,6 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { SimplePollerLike, OperationState } from "@azure/core-lro";
3
- import type { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams, NetworkSecurityPerimeterConfigurationsGetOptionalParams, NetworkSecurityPerimeterConfigurationsGetResponse, NetworkSecurityPerimeterConfigurationsReconcileOptionalParams, NetworkSecurityPerimeterConfigurationsReconcileResponse } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams, NetworkSecurityPerimeterConfigurationsGetOptionalParams, NetworkSecurityPerimeterConfigurationsGetResponse, NetworkSecurityPerimeterConfigurationsReconcileOptionalParams, NetworkSecurityPerimeterConfigurationsReconcileResponse } from "../models/index.js";
4
4
  /** Interface representing a NetworkSecurityPerimeterConfigurations. */
5
5
  export interface NetworkSecurityPerimeterConfigurations {
6
6
  /**
@@ -18,7 +18,7 @@ export interface NetworkSecurityPerimeterConfigurations {
18
18
  * obtain this value from the Azure Resource Manager API or the portal.
19
19
  * @param searchServiceName The name of the Azure AI Search service associated with the specified
20
20
  * resource group.
21
- * @param nspConfigName The network security configuration name.
21
+ * @param nspConfigName The network security perimeter configuration name.
22
22
  * @param options The options parameters.
23
23
  */
24
24
  get(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
@@ -30,7 +30,7 @@ export interface NetworkSecurityPerimeterConfigurations {
30
30
  * obtain this value from the Azure Resource Manager API or the portal.
31
31
  * @param searchServiceName The name of the Azure AI Search service associated with the specified
32
32
  * resource group.
33
- * @param nspConfigName The network security configuration name.
33
+ * @param nspConfigName The network security perimeter configuration name.
34
34
  * @param options The options parameters.
35
35
  */
36
36
  beginReconcile(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>, NetworkSecurityPerimeterConfigurationsReconcileResponse>>;
@@ -42,7 +42,7 @@ export interface NetworkSecurityPerimeterConfigurations {
42
42
  * obtain this value from the Azure Resource Manager API or the portal.
43
43
  * @param searchServiceName The name of the Azure AI Search service associated with the specified
44
44
  * resource group.
45
- * @param nspConfigName The network security configuration name.
45
+ * @param nspConfigName The network security perimeter configuration name.
46
46
  * @param options The options parameters.
47
47
  */
48
48
  beginReconcileAndWait(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
@@ -1 +1 @@
1
- {"version":3,"file":"networkSecurityPerimeterConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,KAAK,EACV,qCAAqC,EACrC,iEAAiE,EACjE,uDAAuD,EACvD,iDAAiD,EACjD,6DAA6D,EAC7D,uDAAuD,EACxD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,MAAM,WAAW,sCAAsC;IACrD;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iEAAiE,GAC1E,0BAA0B,CAAC,qCAAqC,CAAC,CAAC;IACrE;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;;;;;OAUG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uDAAuD,CAAC,EACvE,uDAAuD,CACxD,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC,CAAC;CACrE"}
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,qCAAqC,EACrC,iEAAiE,EACjE,uDAAuD,EACvD,iDAAiD,EACjD,6DAA6D,EAC7D,uDAAuD,EACxD,MAAM,oBAAoB,CAAC;AAG5B,uEAAuE;AACvE,MAAM,WAAW,sCAAsC;IACrD;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,iEAAiE,GAC1E,0BAA0B,CAAC,qCAAqC,CAAC,CAAC;IACrE;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,uDAAuD,GAChE,OAAO,CAAC,iDAAiD,CAAC,CAAC;IAC9D;;;;;;;;;;OAUG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,uDAAuD,CAAC,EACvE,uDAAuD,CACxD,CACF,CAAC;IACF;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,6DAA6D,GACtE,OAAO,CAAC,uDAAuD,CAAC,CAAC;CACrE"}
@@ -1 +1 @@
1
- {"version":3,"file":"networkSecurityPerimeterConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport type {\n NetworkSecurityPerimeterConfiguration,\n NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetResponse,\n NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a NetworkSecurityPerimeterConfigurations. */\nexport interface NetworkSecurityPerimeterConfigurations {\n /**\n * Gets a list of network security perimeter configurations for a search service.\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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;\n /**\n * Gets a network security perimeter configuration.\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 nspConfigName The network security configuration name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\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 nspConfigName The network security configuration name.\n * @param options The options parameters.\n */\n beginReconcile(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>,\n NetworkSecurityPerimeterConfigurationsReconcileResponse\n >\n >;\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\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 nspConfigName The network security configuration name.\n * @param options The options parameters.\n */\n beginReconcileAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;\n}\n"]}
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n NetworkSecurityPerimeterConfiguration,\n NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetResponse,\n NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a NetworkSecurityPerimeterConfigurations. */\nexport interface NetworkSecurityPerimeterConfigurations {\n /**\n * Gets a list of network security perimeter configurations for a search service.\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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;\n /**\n * Gets a network security perimeter configuration.\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 nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\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 nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n beginReconcile(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>,\n NetworkSecurityPerimeterConfigurationsReconcileResponse\n >\n >;\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\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 nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n beginReconcileAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { Operation, OperationsListOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Operations. */
4
4
  export interface Operations {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAGlF,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACrF"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC,CAAC;CACrF"}