@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
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available REST API operations of the Microsoft.Search provider.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;\n}\n"]}
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.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 { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available REST API operations of the Microsoft.Search provider.\n * @param options The options parameters.\n */\n list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { PrivateEndpointConnection, PrivateEndpointConnectionsListByServiceOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListByServiceOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse } from "../models/index.js";
3
3
  /** Interface representing a PrivateEndpointConnections. */
4
4
  export interface PrivateEndpointConnections {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,yBAAyB,EACzB,qDAAqD,EACrD,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
1
+ {"version":3,"file":"privateEndpointConnections.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,yBAAyB,EACzB,qDAAqD,EACrD,8CAA8C,EAC9C,wCAAwC,EACxC,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;IACrD;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.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 {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByServiceOptionalParams,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Gets a list of all private endpoint connections in 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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: PrivateEndpointConnectionsListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection>;\n /**\n * Updates a private endpoint connection to the search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param privateEndpointConnection The definition of the private endpoint connection to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse>;\n /**\n * Gets the details of the private endpoint connection to the search service in the given resource\n * 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 privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Disconnects the private endpoint connection and deletes it 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 privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse>;\n}\n"]}
1
+ {"version":3,"file":"privateEndpointConnections.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateEndpointConnections.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 {\n PrivateEndpointConnection,\n PrivateEndpointConnectionsListByServiceOptionalParams,\n PrivateEndpointConnectionsUpdateOptionalParams,\n PrivateEndpointConnectionsUpdateResponse,\n PrivateEndpointConnectionsGetOptionalParams,\n PrivateEndpointConnectionsGetResponse,\n PrivateEndpointConnectionsDeleteOptionalParams,\n PrivateEndpointConnectionsDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateEndpointConnections. */\nexport interface PrivateEndpointConnections {\n /**\n * Gets a list of all private endpoint connections in 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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: PrivateEndpointConnectionsListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<PrivateEndpointConnection>;\n /**\n * Updates a private endpoint connection to the search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param privateEndpointConnection The definition of the private endpoint connection to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n privateEndpointConnection: PrivateEndpointConnection,\n options?: PrivateEndpointConnectionsUpdateOptionalParams,\n ): Promise<PrivateEndpointConnectionsUpdateResponse>;\n /**\n * Gets the details of the private endpoint connection to the search service in the given resource\n * 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 privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsGetOptionalParams,\n ): Promise<PrivateEndpointConnectionsGetResponse>;\n /**\n * Disconnects the private endpoint connection and deletes it 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 privateEndpointConnectionName The name of the private endpoint connection to the Azure AI\n * Search service with the specified resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionsDeleteOptionalParams,\n ): Promise<PrivateEndpointConnectionsDeleteResponse>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateLinkResource, PrivateLinkResourcesListSupportedOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a PrivateLinkResources. */
4
4
  export interface PrivateLinkResources {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
1
+ {"version":3,"file":"privateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,mBAAmB,EACnB,+CAA+C,EAChD,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,+CAA+C,GACxD,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.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 {\n PrivateLinkResource,\n PrivateLinkResourcesListSupportedOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateLinkResources. */\nexport interface PrivateLinkResources {\n /**\n * Gets a list of all supported private link resource types for 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 listSupported(\n resourceGroupName: string,\n searchServiceName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n}\n"]}
1
+ {"version":3,"file":"privateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/privateLinkResources.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 {\n PrivateLinkResource,\n PrivateLinkResourcesListSupportedOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a PrivateLinkResources. */\nexport interface PrivateLinkResources {\n /**\n * Gets a list of all supported private link resource types for 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 listSupported(\n resourceGroupName: string,\n searchServiceName: string,\n options?: PrivateLinkResourcesListSupportedOptionalParams,\n ): PagedAsyncIterableIterator<PrivateLinkResource>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { QueryKey, QueryKeysListBySearchServiceOptionalParams, QueryKeysCreateOptionalParams, QueryKeysCreateResponse, QueryKeysDeleteOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { QueryKey, QueryKeysListBySearchServiceOptionalParams, QueryKeysCreateOptionalParams, QueryKeysCreateResponse, QueryKeysDeleteOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a QueryKeys. */
4
4
  export interface QueryKeys {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"queryKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/queryKeys.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EACV,QAAQ,EACR,0CAA0C,EAC1C,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"queryKeys.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/queryKeys.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,0CAA0C,EAC1C,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC9B,MAAM,oBAAoB,CAAC;AAG5B,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,0CAA0C,GACnD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACpC;;;;;;;;;OASG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"queryKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/queryKeys.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 {\n QueryKey,\n QueryKeysListBySearchServiceOptionalParams,\n QueryKeysCreateOptionalParams,\n QueryKeysCreateResponse,\n QueryKeysDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a QueryKeys. */\nexport interface QueryKeys {\n /**\n * Returns the list of query API keys for the given 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 listBySearchService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: QueryKeysListBySearchServiceOptionalParams,\n ): PagedAsyncIterableIterator<QueryKey>;\n /**\n * Generates a new query key for the specified search service. You can create up to 50 query keys per\n * 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 name The name of the new query API key.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n searchServiceName: string,\n name: string,\n options?: QueryKeysCreateOptionalParams,\n ): Promise<QueryKeysCreateResponse>;\n /**\n * Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for\n * regenerating a query key is to delete and then recreate it.\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 key The query key to be deleted. Query keys are identified by value, not by name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n key: string,\n options?: QueryKeysDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"queryKeys.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/queryKeys.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 {\n QueryKey,\n QueryKeysListBySearchServiceOptionalParams,\n QueryKeysCreateOptionalParams,\n QueryKeysCreateResponse,\n QueryKeysDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a QueryKeys. */\nexport interface QueryKeys {\n /**\n * Returns the list of query API keys for the given 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 listBySearchService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: QueryKeysListBySearchServiceOptionalParams,\n ): PagedAsyncIterableIterator<QueryKey>;\n /**\n * Generates a new query key for the specified search service. You can create up to 50 query keys per\n * 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 name The name of the new query API key.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n searchServiceName: string,\n name: string,\n options?: QueryKeysCreateOptionalParams,\n ): Promise<QueryKeysCreateResponse>;\n /**\n * Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for\n * regenerating a query key is to delete and then recreate it.\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 key The query key to be deleted. Query keys are identified by value, not by name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n key: string,\n options?: QueryKeysDeleteOptionalParams,\n ): Promise<void>;\n}\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 { SearchService, ServicesListByResourceGroupOptionalParams, ServicesListBySubscriptionOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, SearchServiceUpdate, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse, ServicesUpgradeOptionalParams, ServicesUpgradeResponse } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { SearchService, ServicesListByResourceGroupOptionalParams, ServicesListBySubscriptionOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, SearchServiceUpdate, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse, ServicesUpgradeOptionalParams, ServicesUpgradeResponse } from "../models/index.js";
4
4
  /** Interface representing a Services. */
5
5
  export interface Services {
6
6
  /**
@@ -23,7 +23,7 @@ export interface Services {
23
23
  * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
24
24
  * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
25
25
  * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
26
- * length. Search service names must be globally unique since they are part of the service URI
26
+ * length. Search service names must be unique since they are part of the service URI
27
27
  * (https://<name>.search.windows.net). You cannot change the service name after the service is
28
28
  * created.
29
29
  * @param service The definition of the search service to create or update.
@@ -38,7 +38,7 @@ export interface Services {
38
38
  * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
39
39
  * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
40
40
  * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
41
- * length. Search service names must be globally unique since they are part of the service URI
41
+ * length. Search service names must be unique since they are part of the service URI
42
42
  * (https://<name>.search.windows.net). You cannot change the service name after the service is
43
43
  * created.
44
44
  * @param service The definition of the search service to create or update.
@@ -1 +1 @@
1
- {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.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,aAAa,EACb,yCAAyC,EACzC,wCAAwC,EACxC,oCAAoC,EACpC,8BAA8B,EAC9B,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,2CAA2C,EAC3C,qCAAqC,EACrC,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,aAAa,EACtB,OAAO,CAAC,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,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
1
+ {"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,aAAa,EACb,yCAAyC,EACzC,wCAAwC,EACxC,oCAAoC,EACpC,8BAA8B,EAC9B,mBAAmB,EACnB,4BAA4B,EAC5B,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,2CAA2C,EAC3C,qCAAqC,EACrC,6BAA6B,EAC7B,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAG5B,yCAAyC;AACzC,MAAM,WAAW,QAAQ;IACvB;;;;;OAKG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yCAAyC,GAClD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;OAGG;IACH,kBAAkB,CAChB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,aAAa,CAAC,CAAC;IAC7C;;;;;;;;;;;;;OAaG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CACR,gBAAgB,CAAC,cAAc,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC,CACjG,CAAC;IACF;;;;;;;;;;;;;OAaG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC3C;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,EAAE,mBAAmB,EAC5B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,qBAAqB,CACnB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;OAOG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE,uBAAuB,CAAC,CAAC,CAAC;IAC/F;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC,CAAC;CACrC"}
@@ -1 +1 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.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 SearchService,\n ServicesListByResourceGroupOptionalParams,\n ServicesListBySubscriptionOptionalParams,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n SearchServiceUpdate,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesUpgradeOptionalParams,\n ServicesUpgradeResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Services. */\nexport interface Services {\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SearchService>;\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SearchService>;\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be globally unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>\n >;\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be globally unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<ServicesCreateOrUpdateResponse>;\n /**\n * Updates an existing search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to update.\n * @param service The definition of the search service to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchServiceUpdate,\n options?: ServicesUpdateOptionalParams,\n ): Promise<ServicesUpdateResponse>;\n /**\n * Gets the search service with the given name in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesGetOptionalParams,\n ): Promise<ServicesGetResponse>;\n /**\n * Deletes a search service in the given resource group, along with its associated resources.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Checks whether or not the given search service name is available for use. Search service names must\n * be globally unique since they are part of the service URI (https://<name>.search.windows.net).\n * @param name The search service name to validate. Search service names must only contain lowercase\n * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain\n * consecutive dashes, and must be between 2 and 60 characters in length.\n * @param options The options parameters.\n */\n checkNameAvailability(\n name: string,\n options?: ServicesCheckNameAvailabilityOptionalParams,\n ): Promise<ServicesCheckNameAvailabilityResponse>;\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n beginUpgrade(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>>;\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n beginUpgradeAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<ServicesUpgradeResponse>;\n}\n"]}
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/services.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 SearchService,\n ServicesListByResourceGroupOptionalParams,\n ServicesListBySubscriptionOptionalParams,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n SearchServiceUpdate,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesUpgradeOptionalParams,\n ServicesUpgradeResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Services. */\nexport interface Services {\n /**\n * Gets a list of all Search services in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SearchService>;\n /**\n * Gets a list of all Search services in the given subscription.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: ServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SearchService>;\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>\n >;\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchService,\n options?: ServicesCreateOrUpdateOptionalParams,\n ): Promise<ServicesCreateOrUpdateResponse>;\n /**\n * Updates an existing search service in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to update.\n * @param service The definition of the search service to update.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n searchServiceName: string,\n service: SearchServiceUpdate,\n options?: ServicesUpdateOptionalParams,\n ): Promise<ServicesUpdateResponse>;\n /**\n * Gets the search service with the given name in the given resource group.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesGetOptionalParams,\n ): Promise<ServicesGetResponse>;\n /**\n * Deletes a search service in the given resource group, along with its associated resources.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Checks whether or not the given search service name is available for use. Search service names must\n * be globally unique since they are part of the service URI (https://<name>.search.windows.net).\n * @param name The search service name to validate. Search service names must only contain lowercase\n * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain\n * consecutive dashes, and must be between 2 and 60 characters in length.\n * @param options The options parameters.\n */\n checkNameAvailability(\n name: string,\n options?: ServicesCheckNameAvailabilityOptionalParams,\n ): Promise<ServicesCheckNameAvailabilityResponse>;\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n beginUpgrade(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<ServicesUpgradeResponse>, ServicesUpgradeResponse>>;\n /**\n * Upgrades the Azure AI Search service to the latest version available.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n beginUpgradeAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n options?: ServicesUpgradeOptionalParams,\n ): Promise<ServicesUpgradeResponse>;\n}\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 { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { SharedPrivateLinkResource, SharedPrivateLinkResourcesListByServiceOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateOptionalParams, SharedPrivateLinkResourcesCreateOrUpdateResponse, SharedPrivateLinkResourcesGetOptionalParams, SharedPrivateLinkResourcesGetResponse, SharedPrivateLinkResourcesDeleteOptionalParams } from "../models/index.js";
4
4
  /** Interface representing a SharedPrivateLinkResources. */
5
5
  export interface SharedPrivateLinkResources {
6
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sharedPrivateLinkResources.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,yBAAyB,EACzB,qDAAqD,EACrD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
1
+ {"version":3,"file":"sharedPrivateLinkResources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sharedPrivateLinkResources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,yBAAyB,EACzB,qDAAqD,EACrD,sDAAsD,EACtD,gDAAgD,EAChD,2CAA2C,EAC3C,qCAAqC,EACrC,8CAA8C,EAC/C,MAAM,oBAAoB,CAAC;AAG5B,2DAA2D;AAC3D,MAAM,WAAW,0BAA0B;IACzC;;;;;;;OAOG;IACH,aAAa,CACX,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qDAAqD,GAC9D,0BAA0B,CAAC,yBAAyB,CAAC,CAAC;IACzD;;;;;;;;;;;;OAYG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,gDAAgD,CAAC,EAChE,gDAAgD,CACjD,CACF,CAAC;IACF;;;;;;;;;;;;OAYG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,yBAAyB,EAAE,yBAAyB,EACpD,OAAO,CAAC,EAAE,sDAAsD,GAC/D,OAAO,CAAC,gDAAgD,CAAC,CAAC;IAC7D;;;;;;;;;;OAUG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,2CAA2C,GACpD,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAClD;;;;;;;;;OASG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACzD;;;;;;;;;OASG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -1 +1 @@
1
- {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sharedPrivateLinkResources.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 SharedPrivateLinkResource,\n SharedPrivateLinkResourcesListByServiceOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n SharedPrivateLinkResourcesGetOptionalParams,\n SharedPrivateLinkResourcesGetResponse,\n SharedPrivateLinkResourcesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SharedPrivateLinkResources. */\nexport interface SharedPrivateLinkResources {\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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<SharedPrivateLinkResource>;\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 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 /**\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 beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;\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 /**\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 beginDelete(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\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 beginDeleteAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"sharedPrivateLinkResources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sharedPrivateLinkResources.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 SharedPrivateLinkResource,\n SharedPrivateLinkResourcesListByServiceOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n SharedPrivateLinkResourcesCreateOrUpdateResponse,\n SharedPrivateLinkResourcesGetOptionalParams,\n SharedPrivateLinkResourcesGetResponse,\n SharedPrivateLinkResourcesDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SharedPrivateLinkResources. */\nexport interface SharedPrivateLinkResources {\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 listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: SharedPrivateLinkResourcesListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<SharedPrivateLinkResource>;\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 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 /**\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 beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n sharedPrivateLinkResource: SharedPrivateLinkResource,\n options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,\n ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;\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 /**\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 beginDelete(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\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 beginDeleteAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n sharedPrivateLinkResourceName: string,\n options?: SharedPrivateLinkResourcesDeleteOptionalParams,\n ): Promise<void>;\n}\n"]}
@@ -1,5 +1,5 @@
1
- import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import type { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
3
3
  /** Interface representing a Usages. */
4
4
  export interface Usages {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAGnG,uCAAuC;AACvC,MAAM,WAAW,MAAM;IACrB;;;;OAIG;IACH,kBAAkB,CAChB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;CACjD"}
1
+ {"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAG9F,uCAAuC;AACvC,MAAM,WAAW,MAAM;IACrB;;;;OAIG;IACH,kBAAkB,CAChB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,sCAAsC,GAC/C,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;CACjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.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 { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\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 listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsageResult>;\n}\n"]}
1
+ {"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.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 { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\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 listBySubscription(\n location: string,\n options?: UsagesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsageResult>;\n}\n"]}
@@ -14,18 +14,16 @@ const pageMap = new WeakMap();
14
14
  * @returns The continuation token that can be passed into byPage() during future calls.
15
15
  */
16
16
  export function getContinuationToken(page) {
17
- var _a;
18
17
  if (typeof page !== "object" || page === null) {
19
18
  return undefined;
20
19
  }
21
- return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
20
+ return pageMap.get(page)?.continuationToken;
22
21
  }
23
22
  export function setContinuationToken(page, continuationToken) {
24
- var _a;
25
23
  if (typeof page !== "object" || page === null || !continuationToken) {
26
24
  return;
27
25
  }
28
- const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
26
+ const pageInfo = pageMap.get(page) ?? {};
29
27
  pageInfo.continuationToken = continuationToken;
30
28
  pageMap.set(page, pageInfo);
31
29
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAa,EAAE,iBAAqC;IACvF,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,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 interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(page: unknown, continuationToken: string | undefined): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -1,11 +1,11 @@
1
1
  import * as coreClient from "@azure/core-client";
2
- import type * as coreAuth from "@azure/core-auth";
3
- import type { Operations, Offerings, AdminKeys, QueryKeys, Services, PrivateLinkResources, PrivateEndpointConnections, SharedPrivateLinkResources, Usages, NetworkSecurityPerimeterConfigurations } from "./operationsInterfaces/index.js";
4
- import type { SearchManagementClientOptionalParams, UsageBySubscriptionSkuOptionalParams, UsageBySubscriptionSkuResponse } from "./models/index.js";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, AdminKeys, QueryKeys, Services, PrivateLinkResources, PrivateEndpointConnections, SharedPrivateLinkResources, Usages, NetworkSecurityPerimeterConfigurations } from "./operationsInterfaces/index.js";
4
+ import { SearchManagementClientOptionalParams, UsageBySubscriptionSkuOptionalParams, UsageBySubscriptionSkuResponse } from "./models/index.js";
5
5
  export declare class SearchManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  apiVersion: string;
8
- subscriptionId?: string;
8
+ subscriptionId: string;
9
9
  /**
10
10
  * Initializes a new instance of the SearchManagementClient class.
11
11
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -14,7 +14,6 @@ export declare class SearchManagementClient extends coreClient.ServiceClient {
14
14
  * @param options The parameter options
15
15
  */
16
16
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SearchManagementClientOptionalParams);
17
- constructor(credentials: coreAuth.TokenCredential, options?: SearchManagementClientOptionalParams);
18
17
  /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
19
18
  private addCustomApiVersionPolicy;
20
19
  /**
@@ -25,7 +24,6 @@ export declare class SearchManagementClient extends coreClient.ServiceClient {
25
24
  */
26
25
  usageBySubscriptionSku(location: string, skuName: string, options?: UsageBySubscriptionSkuOptionalParams): Promise<UsageBySubscriptionSkuResponse>;
27
26
  operations: Operations;
28
- offerings: Offerings;
29
27
  adminKeys: AdminKeys;
30
28
  queryKeys: QueryKeys;
31
29
  services: Services;
@@ -1 +1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
7
  */
8
8
  import * as coreClient from "@azure/core-client";
9
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
- import { OperationsImpl, OfferingsImpl, AdminKeysImpl, QueryKeysImpl, ServicesImpl, PrivateLinkResourcesImpl, PrivateEndpointConnectionsImpl, SharedPrivateLinkResourcesImpl, UsagesImpl, NetworkSecurityPerimeterConfigurationsImpl, } from "./operations/index.js";
10
+ import { OperationsImpl, AdminKeysImpl, QueryKeysImpl, ServicesImpl, PrivateLinkResourcesImpl, PrivateEndpointConnectionsImpl, SharedPrivateLinkResourcesImpl, UsagesImpl, NetworkSecurityPerimeterConfigurationsImpl, } from "./operations/index.js";
11
11
  import * as Parameters from "./models/parameters.js";
12
12
  import * as Mappers from "./models/mappers.js";
13
13
  export class SearchManagementClient extends coreClient.ServiceClient {
14
- constructor(credentials, subscriptionIdOrOptions, options) {
15
- var _a, _b, _c;
14
+ $host;
15
+ apiVersion;
16
+ subscriptionId;
17
+ /**
18
+ * Initializes a new instance of the SearchManagementClient class.
19
+ * @param credentials Subscription credentials which uniquely identify client subscription.
20
+ * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this
21
+ * value from the Azure Resource Manager API or the portal.
22
+ * @param options The parameter options
23
+ */
24
+ constructor(credentials, subscriptionId, options) {
16
25
  if (credentials === undefined) {
17
26
  throw new Error("'credentials' cannot be null");
18
27
  }
19
- let subscriptionId;
20
- if (typeof subscriptionIdOrOptions === "string") {
21
- subscriptionId = subscriptionIdOrOptions;
22
- }
23
- else if (typeof subscriptionIdOrOptions === "object") {
24
- options = subscriptionIdOrOptions;
28
+ if (subscriptionId === undefined) {
29
+ throw new Error("'subscriptionId' cannot be null");
25
30
  }
26
31
  // Initializing default values for options
27
32
  if (!options) {
@@ -31,16 +36,21 @@ export class SearchManagementClient extends coreClient.ServiceClient {
31
36
  requestContentType: "application/json; charset=utf-8",
32
37
  credential: credentials,
33
38
  };
34
- const packageDetails = `azsdk-js-arm-search/3.3.0-beta.2`;
39
+ const packageDetails = `azsdk-js-arm-search/3.3.0`;
35
40
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
41
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
42
  : `${packageDetails}`;
38
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
43
+ const optionsWithDefaults = {
44
+ ...defaults,
45
+ ...options,
46
+ userAgentOptions: {
39
47
  userAgentPrefix,
40
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
48
+ },
49
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
50
+ };
41
51
  super(optionsWithDefaults);
42
52
  let bearerTokenAuthenticationPolicyFound = false;
43
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
53
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
44
54
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
55
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
46
56
  }
@@ -53,7 +63,7 @@ export class SearchManagementClient extends coreClient.ServiceClient {
53
63
  });
54
64
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
55
65
  credential: credentials,
56
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
66
+ scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
57
67
  challengeCallbacks: {
58
68
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
59
69
  },
@@ -63,9 +73,8 @@ export class SearchManagementClient extends coreClient.ServiceClient {
63
73
  this.subscriptionId = subscriptionId;
64
74
  // Assigning values to Constant parameters
65
75
  this.$host = options.$host || "https://management.azure.com";
66
- this.apiVersion = options.apiVersion || "2025-02-01-preview";
76
+ this.apiVersion = options.apiVersion || "2025-05-01";
67
77
  this.operations = new OperationsImpl(this);
68
- this.offerings = new OfferingsImpl(this);
69
78
  this.adminKeys = new AdminKeysImpl(this);
70
79
  this.queryKeys = new QueryKeysImpl(this);
71
80
  this.services = new ServicesImpl(this);
@@ -110,6 +119,15 @@ export class SearchManagementClient extends coreClient.ServiceClient {
110
119
  usageBySubscriptionSku(location, skuName, options) {
111
120
  return this.sendOperationRequest({ location, skuName, options }, usageBySubscriptionSkuOperationSpec);
112
121
  }
122
+ operations;
123
+ adminKeys;
124
+ queryKeys;
125
+ services;
126
+ privateLinkResources;
127
+ privateEndpointConnections;
128
+ sharedPrivateLinkResources;
129
+ usages;
130
+ networkSecurityPerimeterConfigurations;
113
131
  }
114
132
  // Operation Specifications
115
133
  const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
@@ -1 +1 @@
1
- {"version":3,"file":"searchManagementClient.js","sourceRoot":"","sources":["../../src/searchManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,aAAa,EACb,aAAa,EACb,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAC9B,UAAU,EACV,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAa/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAO/C,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAqBlE,YACE,WAAqC,EACrC,uBAAuE,EACvE,OAA8C;;QAE9C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;Q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CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED;;;;;OAKG;IACH,sBAAsB,CACpB,QAAgB,EAChB,OAAe,EACf,OAA8C;QAE9C,OAAO,IAAI,CAAC,oBAAoB,CAC9B,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,EAC9B,mCAAmC,CACpC,CAAC;IACJ,CAAC;CAYF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,kGAAkG;IACxG,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;KACnB;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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport type { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport type * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n OfferingsImpl,\n AdminKeysImpl,\n QueryKeysImpl,\n ServicesImpl,\n PrivateLinkResourcesImpl,\n PrivateEndpointConnectionsImpl,\n SharedPrivateLinkResourcesImpl,\n UsagesImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n} from \"./operations/index.js\";\nimport type {\n Operations,\n Offerings,\n AdminKeys,\n QueryKeys,\n Services,\n PrivateLinkResources,\n PrivateEndpointConnections,\n SharedPrivateLinkResources,\n Usages,\n NetworkSecurityPerimeterConfigurations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport type {\n SearchManagementClientOptionalParams,\n UsageBySubscriptionSkuOptionalParams,\n UsageBySubscriptionSkuResponse,\n} from \"./models/index.js\";\n\nexport class SearchManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the SearchManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SearchManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: SearchManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: SearchManagementClientOptionalParams | string,\n options?: SearchManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SearchManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-search/3.3.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-02-01-preview\";\n this.operations = new OperationsImpl(this);\n this.offerings = new OfferingsImpl(this);\n this.adminKeys = new AdminKeysImpl(this);\n this.queryKeys = new QueryKeysImpl(this);\n this.services = new ServicesImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);\n this.usages = new UsagesImpl(this);\n this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(\n this,\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Gets the quota usage for a search SKU in the given subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param skuName The unique SKU name that identifies a billable tier.\n * @param options The options parameters.\n */\n usageBySubscriptionSku(\n location: string,\n skuName: string,\n options?: UsageBySubscriptionSkuOptionalParams,\n ): Promise<UsageBySubscriptionSkuResponse> {\n return this.sendOperationRequest(\n { location, skuName, options },\n usageBySubscriptionSkuOperationSpec,\n );\n }\n\n operations: Operations;\n offerings: Offerings;\n adminKeys: AdminKeys;\n queryKeys: QueryKeys;\n services: Services;\n privateLinkResources: PrivateLinkResources;\n privateEndpointConnections: PrivateEndpointConnections;\n sharedPrivateLinkResources: SharedPrivateLinkResources;\n usages: Usages;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst usageBySubscriptionSkuOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsageResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.skuName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
1
+ {"version":3,"file":"searchManagementClient.js","sourceRoot":"","sources":["../../src/searchManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,cAAc,EACd,aAAa,EACb,aAAa,EACb,YAAY,EACZ,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,EAC9B,UAAU,EACV,0CAA0C,GAC3C,MAAM,uBAAuB,CAAC;AAY/B,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAO/C,MAAM,OAAO,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAClE,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;;OAMG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAA8C;QAE9C,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAyC;YACrD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,2BAA2B,CAAC;QACnD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OA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BAAgB;SACrC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,OAAO;KACnB;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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n AdminKeysImpl,\n QueryKeysImpl,\n ServicesImpl,\n PrivateLinkResourcesImpl,\n PrivateEndpointConnectionsImpl,\n SharedPrivateLinkResourcesImpl,\n UsagesImpl,\n NetworkSecurityPerimeterConfigurationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n AdminKeys,\n QueryKeys,\n Services,\n PrivateLinkResources,\n PrivateEndpointConnections,\n SharedPrivateLinkResources,\n Usages,\n NetworkSecurityPerimeterConfigurations,\n} from \"./operationsInterfaces/index.js\";\nimport * as Parameters from \"./models/parameters.js\";\nimport * as Mappers from \"./models/mappers.js\";\nimport {\n SearchManagementClientOptionalParams,\n UsageBySubscriptionSkuOptionalParams,\n UsageBySubscriptionSkuResponse,\n} from \"./models/index.js\";\n\nexport class SearchManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the SearchManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: SearchManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: SearchManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-search/3.3.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-05-01\";\n this.operations = new OperationsImpl(this);\n this.adminKeys = new AdminKeysImpl(this);\n this.queryKeys = new QueryKeysImpl(this);\n this.services = new ServicesImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);\n this.usages = new UsagesImpl(this);\n this.networkSecurityPerimeterConfigurations = new NetworkSecurityPerimeterConfigurationsImpl(\n this,\n );\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n /**\n * Gets the quota usage for a search SKU in the given subscription.\n * @param location The unique location name for a Microsoft Azure geographic region.\n * @param skuName The unique SKU name that identifies a billable tier.\n * @param options The options parameters.\n */\n usageBySubscriptionSku(\n location: string,\n skuName: string,\n options?: UsageBySubscriptionSkuOptionalParams,\n ): Promise<UsageBySubscriptionSkuResponse> {\n return this.sendOperationRequest(\n { location, skuName, options },\n usageBySubscriptionSkuOperationSpec,\n );\n }\n\n operations: Operations;\n adminKeys: AdminKeys;\n queryKeys: QueryKeys;\n services: Services;\n privateLinkResources: PrivateLinkResources;\n privateEndpointConnections: PrivateEndpointConnections;\n sharedPrivateLinkResources: SharedPrivateLinkResources;\n usages: Usages;\n networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst usageBySubscriptionSkuOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsageResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n Parameters.skuName,\n ],\n headerParameters: [Parameters.accept, Parameters.clientRequestId],\n serializer,\n};\n"]}
@@ -1,4 +1,4 @@
1
- import type { LongRunningOperation, LroResponse } from "@azure/core-lro";
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
2
  export declare function createLroSpec<T>(inputs: {
3
3
  sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
4
4
  args: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEzE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
@@ -8,7 +8,6 @@
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.createLroSpec = createLroSpec;
11
- const tslib_1 = require("tslib");
12
11
  function createLroSpec(inputs) {
13
12
  const { args, spec, sendOperationFn } = inputs;
14
13
  return {
@@ -16,8 +15,13 @@ function createLroSpec(inputs) {
16
15
  requestPath: spec.path,
17
16
  sendInitialRequest: () => sendOperationFn(args, spec),
18
17
  sendPollRequest: (path, options) => {
19
- const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
20
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
18
+ const { requestBody, ...restSpec } = spec;
19
+ return sendOperationFn(args, {
20
+ ...restSpec,
21
+ httpMethod: "GET",
22
+ path,
23
+ abortSignal: options?.abortSignal,
24
+ });
21
25
  },
22
26
  };
23
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCAwBC;;AAxBD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCAwBC;AAxBD,SAAgB,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,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 { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}