@azure/arm-search 4.0.0-alpha.20250213.1 → 4.0.0-alpha.20250217.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (634) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/operations/adminKeys.d.ts +3 -3
  12. package/dist/browser/operations/adminKeys.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/adminKeys.js +2 -2
  14. package/dist/browser/operations/adminKeys.js.map +1 -0
  15. package/dist/browser/operations/index.d.ts +10 -0
  16. package/dist/browser/operations/index.d.ts.map +1 -0
  17. package/dist/browser/operations/index.js +17 -0
  18. package/dist/browser/operations/index.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.d.ts +3 -3
  20. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.js +42 -46
  22. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  24. package/dist/browser/operations/operations.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/operations.js +2 -2
  26. package/dist/browser/operations/operations.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  28. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +3 -3
  30. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  32. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +2 -2
  34. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/queryKeys.d.ts +3 -3
  36. package/dist/browser/operations/queryKeys.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/queryKeys.js +3 -3
  38. package/dist/browser/operations/queryKeys.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/services.d.ts +3 -3
  40. package/dist/browser/operations/services.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/services.js +41 -45
  42. package/dist/browser/operations/services.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.d.ts +3 -3
  44. package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.js +88 -96
  46. package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
  48. package/dist/browser/operations/usages.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/usages.js +3 -3
  50. package/dist/browser/operations/usages.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.d.ts +1 -1
  52. package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -0
  53. package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -0
  54. package/dist/browser/operationsInterfaces/index.d.ts +10 -0
  55. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  56. package/dist/browser/operationsInterfaces/index.js +17 -0
  57. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  63. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  64. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  65. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  67. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  68. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  69. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  70. package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.d.ts +1 -1
  71. package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -0
  72. package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -0
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/services.d.ts +1 -1
  74. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -0
  75. package/dist/browser/operationsInterfaces/services.js.map +1 -0
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.d.ts +1 -1
  77. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  78. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  79. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
  80. package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -0
  81. package/dist/browser/operationsInterfaces/usages.js.map +1 -0
  82. package/dist/browser/package.json +3 -0
  83. package/dist/browser/pagingHelper.js.map +1 -0
  84. package/{dist-esm/src → dist/browser}/searchManagementClient.d.ts +2 -2
  85. package/dist/browser/searchManagementClient.d.ts.map +1 -0
  86. package/{dist-esm/src → dist/browser}/searchManagementClient.js +17 -20
  87. package/dist/browser/searchManagementClient.js.map +1 -0
  88. package/dist/commonjs/index.d.ts +5 -0
  89. package/dist/commonjs/index.d.ts.map +1 -0
  90. package/dist/commonjs/index.js +19 -0
  91. package/dist/commonjs/index.js.map +1 -0
  92. package/dist/commonjs/lroImpl.d.ts +11 -0
  93. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  94. package/dist/commonjs/lroImpl.js +17 -0
  95. package/dist/commonjs/lroImpl.js.map +1 -0
  96. package/{types/arm-search.d.ts → dist/commonjs/models/index.d.ts} +1247 -1791
  97. package/dist/commonjs/models/index.d.ts.map +1 -0
  98. package/dist/commonjs/models/index.js +135 -0
  99. package/dist/commonjs/models/index.js.map +1 -0
  100. package/dist/commonjs/models/mappers.d.ts +60 -0
  101. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  102. package/dist/commonjs/models/mappers.js +1841 -0
  103. package/dist/commonjs/models/mappers.js.map +1 -0
  104. package/dist/commonjs/models/parameters.d.ts +26 -0
  105. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  106. package/dist/commonjs/models/parameters.js +233 -0
  107. package/dist/commonjs/models/parameters.js.map +1 -0
  108. package/dist/commonjs/operations/adminKeys.d.ts +33 -0
  109. package/dist/commonjs/operations/adminKeys.d.ts.map +1 -0
  110. package/dist/commonjs/operations/adminKeys.js +95 -0
  111. package/dist/commonjs/operations/adminKeys.js.map +1 -0
  112. package/dist/commonjs/operations/index.d.ts +10 -0
  113. package/dist/commonjs/operations/index.d.ts.map +1 -0
  114. package/dist/commonjs/operations/index.js +20 -0
  115. package/dist/commonjs/operations/index.js.map +1 -0
  116. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  117. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  118. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +289 -0
  119. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  120. package/dist/commonjs/operations/operations.d.ts +26 -0
  121. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  122. package/dist/commonjs/operations/operations.js +100 -0
  123. package/dist/commonjs/operations/operations.js.map +1 -0
  124. package/dist/commonjs/operations/privateEndpointConnections.d.ts +79 -0
  125. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  126. package/dist/commonjs/operations/privateEndpointConnections.js +290 -0
  127. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  128. package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
  129. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  130. package/dist/commonjs/operations/privateLinkResources.js +113 -0
  131. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  132. package/dist/commonjs/operations/queryKeys.d.ts +66 -0
  133. package/dist/commonjs/operations/queryKeys.d.ts.map +1 -0
  134. package/dist/commonjs/operations/queryKeys.js +230 -0
  135. package/dist/commonjs/operations/queryKeys.js.map +1 -0
  136. package/dist/commonjs/operations/services.d.ts +123 -0
  137. package/dist/commonjs/operations/services.d.ts.map +1 -0
  138. package/dist/commonjs/operations/services.js +506 -0
  139. package/dist/commonjs/operations/services.js.map +1 -0
  140. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +107 -0
  141. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  142. package/dist/commonjs/operations/sharedPrivateLinkResources.js +400 -0
  143. package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -0
  144. package/dist/commonjs/operations/usages.d.ts +35 -0
  145. package/dist/commonjs/operations/usages.d.ts.map +1 -0
  146. package/dist/commonjs/operations/usages.js +149 -0
  147. package/dist/commonjs/operations/usages.js.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +25 -0
  149. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -0
  150. package/dist/commonjs/operationsInterfaces/adminKeys.js +10 -0
  151. package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -0
  152. package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
  153. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  154. package/dist/commonjs/operationsInterfaces/index.js +20 -0
  155. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  156. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  157. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  158. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
  159. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  161. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  163. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  165. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
  169. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  171. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +37 -0
  173. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/queryKeys.js +10 -0
  175. package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/services.d.ts +85 -0
  177. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/services.js +10 -0
  179. package/dist/commonjs/operationsInterfaces/services.js.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  181. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js +10 -0
  183. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
  185. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/usages.js +10 -0
  187. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
  188. package/dist/commonjs/package.json +3 -0
  189. package/dist/commonjs/pagingHelper.d.ts +13 -0
  190. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  191. package/dist/commonjs/pagingHelper.js +36 -0
  192. package/dist/commonjs/pagingHelper.js.map +1 -0
  193. package/dist/commonjs/searchManagementClient.d.ts +36 -0
  194. package/dist/commonjs/searchManagementClient.d.ts.map +1 -0
  195. package/dist/commonjs/searchManagementClient.js +146 -0
  196. package/dist/commonjs/searchManagementClient.js.map +1 -0
  197. package/dist/esm/index.d.ts +5 -0
  198. package/dist/esm/index.d.ts.map +1 -0
  199. package/{src/index.ts → dist/esm/index.js} +5 -5
  200. package/dist/esm/index.js.map +1 -0
  201. package/dist/esm/lroImpl.d.ts +11 -0
  202. package/dist/esm/lroImpl.d.ts.map +1 -0
  203. package/dist/esm/lroImpl.js +14 -0
  204. package/dist/esm/lroImpl.js.map +1 -0
  205. package/dist/esm/models/index.d.ts +1247 -0
  206. package/dist/esm/models/index.d.ts.map +1 -0
  207. package/dist/esm/models/index.js +132 -0
  208. package/dist/esm/models/index.js.map +1 -0
  209. package/dist/esm/models/mappers.d.ts +60 -0
  210. package/dist/esm/models/mappers.d.ts.map +1 -0
  211. package/dist/esm/models/mappers.js +1837 -0
  212. package/dist/esm/models/mappers.js.map +1 -0
  213. package/dist/esm/models/parameters.d.ts +26 -0
  214. package/dist/esm/models/parameters.d.ts.map +1 -0
  215. package/dist/esm/models/parameters.js +230 -0
  216. package/dist/esm/models/parameters.js.map +1 -0
  217. package/dist/esm/operations/adminKeys.d.ts +33 -0
  218. package/dist/esm/operations/adminKeys.d.ts.map +1 -0
  219. package/dist/esm/operations/adminKeys.js +90 -0
  220. package/dist/esm/operations/adminKeys.js.map +1 -0
  221. package/dist/esm/operations/index.d.ts +10 -0
  222. package/dist/esm/operations/index.d.ts.map +1 -0
  223. package/dist/esm/operations/index.js +17 -0
  224. package/dist/esm/operations/index.js.map +1 -0
  225. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  226. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  227. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +285 -0
  228. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  229. package/dist/esm/operations/operations.d.ts +26 -0
  230. package/dist/esm/operations/operations.d.ts.map +1 -0
  231. package/dist/esm/operations/operations.js +96 -0
  232. package/dist/esm/operations/operations.js.map +1 -0
  233. package/dist/esm/operations/privateEndpointConnections.d.ts +79 -0
  234. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  235. package/dist/esm/operations/privateEndpointConnections.js +286 -0
  236. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  237. package/dist/esm/operations/privateLinkResources.d.ts +34 -0
  238. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  239. package/dist/esm/operations/privateLinkResources.js +109 -0
  240. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  241. package/dist/esm/operations/queryKeys.d.ts +66 -0
  242. package/dist/esm/operations/queryKeys.d.ts.map +1 -0
  243. package/dist/esm/operations/queryKeys.js +226 -0
  244. package/dist/esm/operations/queryKeys.js.map +1 -0
  245. package/dist/esm/operations/services.d.ts +123 -0
  246. package/dist/esm/operations/services.d.ts.map +1 -0
  247. package/dist/esm/operations/services.js +502 -0
  248. package/dist/esm/operations/services.js.map +1 -0
  249. package/dist/esm/operations/sharedPrivateLinkResources.d.ts +107 -0
  250. package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  251. package/dist/esm/operations/sharedPrivateLinkResources.js +396 -0
  252. package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -0
  253. package/dist/esm/operations/usages.d.ts +35 -0
  254. package/dist/esm/operations/usages.d.ts.map +1 -0
  255. package/dist/esm/operations/usages.js +145 -0
  256. package/dist/esm/operations/usages.js.map +1 -0
  257. package/dist/esm/operationsInterfaces/adminKeys.d.ts +25 -0
  258. package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -0
  259. package/dist/esm/operationsInterfaces/adminKeys.js +9 -0
  260. package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -0
  261. package/dist/esm/operationsInterfaces/index.d.ts +10 -0
  262. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  263. package/dist/esm/operationsInterfaces/index.js +17 -0
  264. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  265. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  266. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  267. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  268. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  269. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  270. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  271. package/dist/esm/operationsInterfaces/operations.js +9 -0
  272. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  273. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  274. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  275. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  276. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  277. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  278. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  279. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  280. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  281. package/dist/esm/operationsInterfaces/queryKeys.d.ts +37 -0
  282. package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -0
  283. package/dist/esm/operationsInterfaces/queryKeys.js +9 -0
  284. package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -0
  285. package/dist/esm/operationsInterfaces/services.d.ts +85 -0
  286. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -0
  287. package/dist/esm/operationsInterfaces/services.js +9 -0
  288. package/dist/esm/operationsInterfaces/services.js.map +1 -0
  289. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  290. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  291. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  292. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  293. package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
  294. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
  295. package/dist/esm/operationsInterfaces/usages.js +9 -0
  296. package/dist/esm/operationsInterfaces/usages.js.map +1 -0
  297. package/dist/esm/package.json +3 -0
  298. package/dist/esm/pagingHelper.d.ts +13 -0
  299. package/dist/esm/pagingHelper.d.ts.map +1 -0
  300. package/dist/esm/pagingHelper.js +32 -0
  301. package/dist/esm/pagingHelper.js.map +1 -0
  302. package/dist/esm/searchManagementClient.d.ts +36 -0
  303. package/dist/esm/searchManagementClient.d.ts.map +1 -0
  304. package/dist/esm/searchManagementClient.js +141 -0
  305. package/dist/esm/searchManagementClient.js.map +1 -0
  306. package/dist/react-native/index.d.ts +5 -0
  307. package/dist/react-native/index.d.ts.map +1 -0
  308. package/dist/react-native/index.js +13 -0
  309. package/dist/react-native/index.js.map +1 -0
  310. package/dist/react-native/lroImpl.d.ts +11 -0
  311. package/dist/react-native/lroImpl.d.ts.map +1 -0
  312. package/dist/react-native/lroImpl.js +14 -0
  313. package/dist/react-native/lroImpl.js.map +1 -0
  314. package/dist/react-native/models/index.d.ts +1247 -0
  315. package/dist/react-native/models/index.d.ts.map +1 -0
  316. package/dist/react-native/models/index.js +132 -0
  317. package/dist/react-native/models/index.js.map +1 -0
  318. package/dist/react-native/models/mappers.d.ts +60 -0
  319. package/dist/react-native/models/mappers.d.ts.map +1 -0
  320. package/dist/react-native/models/mappers.js +1837 -0
  321. package/dist/react-native/models/mappers.js.map +1 -0
  322. package/dist/react-native/models/parameters.d.ts +26 -0
  323. package/dist/react-native/models/parameters.d.ts.map +1 -0
  324. package/dist/react-native/models/parameters.js +230 -0
  325. package/dist/react-native/models/parameters.js.map +1 -0
  326. package/dist/react-native/operations/adminKeys.d.ts +33 -0
  327. package/dist/react-native/operations/adminKeys.d.ts.map +1 -0
  328. package/dist/react-native/operations/adminKeys.js +90 -0
  329. package/dist/react-native/operations/adminKeys.js.map +1 -0
  330. package/dist/react-native/operations/index.d.ts +10 -0
  331. package/dist/react-native/operations/index.d.ts.map +1 -0
  332. package/dist/react-native/operations/index.js +17 -0
  333. package/dist/react-native/operations/index.js.map +1 -0
  334. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  335. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  336. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +285 -0
  337. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  338. package/dist/react-native/operations/operations.d.ts +26 -0
  339. package/dist/react-native/operations/operations.d.ts.map +1 -0
  340. package/dist/react-native/operations/operations.js +96 -0
  341. package/dist/react-native/operations/operations.js.map +1 -0
  342. package/dist/react-native/operations/privateEndpointConnections.d.ts +79 -0
  343. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  344. package/dist/react-native/operations/privateEndpointConnections.js +286 -0
  345. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  346. package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
  347. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  348. package/dist/react-native/operations/privateLinkResources.js +109 -0
  349. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  350. package/dist/react-native/operations/queryKeys.d.ts +66 -0
  351. package/dist/react-native/operations/queryKeys.d.ts.map +1 -0
  352. package/dist/react-native/operations/queryKeys.js +226 -0
  353. package/dist/react-native/operations/queryKeys.js.map +1 -0
  354. package/dist/react-native/operations/services.d.ts +123 -0
  355. package/dist/react-native/operations/services.d.ts.map +1 -0
  356. package/dist/react-native/operations/services.js +502 -0
  357. package/dist/react-native/operations/services.js.map +1 -0
  358. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +107 -0
  359. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  360. package/dist/react-native/operations/sharedPrivateLinkResources.js +396 -0
  361. package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -0
  362. package/dist/react-native/operations/usages.d.ts +35 -0
  363. package/dist/react-native/operations/usages.d.ts.map +1 -0
  364. package/dist/react-native/operations/usages.js +145 -0
  365. package/dist/react-native/operations/usages.js.map +1 -0
  366. package/dist/react-native/operationsInterfaces/adminKeys.d.ts +25 -0
  367. package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -0
  368. package/dist/react-native/operationsInterfaces/adminKeys.js +9 -0
  369. package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -0
  370. package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
  371. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  372. package/dist/react-native/operationsInterfaces/index.js +17 -0
  373. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  374. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  375. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  376. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  377. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  378. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  379. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  380. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  381. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  382. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  383. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  384. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  385. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  386. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
  387. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  388. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  389. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  390. package/dist/react-native/operationsInterfaces/queryKeys.d.ts +37 -0
  391. package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -0
  392. package/dist/react-native/operationsInterfaces/queryKeys.js +9 -0
  393. package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -0
  394. package/dist/react-native/operationsInterfaces/services.d.ts +85 -0
  395. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -0
  396. package/dist/react-native/operationsInterfaces/services.js +9 -0
  397. package/dist/react-native/operationsInterfaces/services.js.map +1 -0
  398. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  399. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  400. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  401. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  402. package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
  403. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
  404. package/dist/react-native/operationsInterfaces/usages.js +9 -0
  405. package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
  406. package/dist/react-native/package.json +3 -0
  407. package/dist/react-native/pagingHelper.d.ts +13 -0
  408. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  409. package/dist/react-native/pagingHelper.js +32 -0
  410. package/dist/react-native/pagingHelper.js.map +1 -0
  411. package/dist/react-native/searchManagementClient.d.ts +36 -0
  412. package/dist/react-native/searchManagementClient.d.ts.map +1 -0
  413. package/dist/react-native/searchManagementClient.js +141 -0
  414. package/dist/react-native/searchManagementClient.js.map +1 -0
  415. package/package.json +67 -37
  416. package/dist/index.js +0 -4571
  417. package/dist/index.js.map +0 -1
  418. package/dist/index.min.js +0 -1
  419. package/dist/index.min.js.map +0 -1
  420. package/dist-esm/samples-dev/adminKeysGetSample.d.ts +0 -2
  421. package/dist-esm/samples-dev/adminKeysGetSample.d.ts.map +0 -1
  422. package/dist-esm/samples-dev/adminKeysGetSample.js +0 -36
  423. package/dist-esm/samples-dev/adminKeysGetSample.js.map +0 -1
  424. package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts +0 -2
  425. package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts.map +0 -1
  426. package/dist-esm/samples-dev/adminKeysRegenerateSample.js +0 -37
  427. package/dist-esm/samples-dev/adminKeysRegenerateSample.js.map +0 -1
  428. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +0 -2
  429. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +0 -1
  430. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +0 -37
  431. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +0 -1
  432. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +0 -2
  433. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +0 -1
  434. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +0 -52
  435. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +0 -1
  436. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +0 -2
  437. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +0 -1
  438. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +0 -37
  439. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +0 -1
  440. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  441. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  442. package/dist-esm/samples-dev/operationsListSample.js +0 -50
  443. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  444. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  445. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  446. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -37
  447. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  448. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  449. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  450. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -37
  451. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  452. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +0 -2
  453. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +0 -1
  454. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +0 -52
  455. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +0 -1
  456. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  457. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  458. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -38
  459. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  460. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
  461. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
  462. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -52
  463. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
  464. package/dist-esm/samples-dev/queryKeysCreateSample.d.ts +0 -2
  465. package/dist-esm/samples-dev/queryKeysCreateSample.d.ts.map +0 -1
  466. package/dist-esm/samples-dev/queryKeysCreateSample.js +0 -37
  467. package/dist-esm/samples-dev/queryKeysCreateSample.js.map +0 -1
  468. package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts +0 -2
  469. package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts.map +0 -1
  470. package/dist-esm/samples-dev/queryKeysDeleteSample.js +0 -37
  471. package/dist-esm/samples-dev/queryKeysDeleteSample.js.map +0 -1
  472. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts +0 -2
  473. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts.map +0 -1
  474. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +0 -52
  475. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +0 -1
  476. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +0 -2
  477. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +0 -1
  478. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +0 -35
  479. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +0 -1
  480. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +0 -2
  481. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +0 -1
  482. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +0 -292
  483. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +0 -1
  484. package/dist-esm/samples-dev/servicesDeleteSample.d.ts +0 -2
  485. package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +0 -1
  486. package/dist-esm/samples-dev/servicesDeleteSample.js +0 -36
  487. package/dist-esm/samples-dev/servicesDeleteSample.js.map +0 -1
  488. package/dist-esm/samples-dev/servicesGetSample.d.ts +0 -2
  489. package/dist-esm/samples-dev/servicesGetSample.d.ts.map +0 -1
  490. package/dist-esm/samples-dev/servicesGetSample.js +0 -36
  491. package/dist-esm/samples-dev/servicesGetSample.js.map +0 -1
  492. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +0 -2
  493. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +0 -1
  494. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +0 -51
  495. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +0 -1
  496. package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts +0 -2
  497. package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts.map +0 -1
  498. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +0 -50
  499. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +0 -1
  500. package/dist-esm/samples-dev/servicesUpdateSample.d.ts +0 -2
  501. package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +0 -1
  502. package/dist-esm/samples-dev/servicesUpdateSample.js +0 -248
  503. package/dist-esm/samples-dev/servicesUpdateSample.js.map +0 -1
  504. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts +0 -2
  505. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts.map +0 -1
  506. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +0 -38
  507. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +0 -1
  508. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts +0 -2
  509. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts.map +0 -1
  510. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +0 -37
  511. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js.map +0 -1
  512. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts +0 -2
  513. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts.map +0 -1
  514. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +0 -37
  515. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js.map +0 -1
  516. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts +0 -2
  517. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts.map +0 -1
  518. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +0 -52
  519. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +0 -1
  520. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts +0 -2
  521. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts.map +0 -1
  522. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +0 -36
  523. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js.map +0 -1
  524. package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts +0 -2
  525. package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts.map +0 -1
  526. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +0 -51
  527. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +0 -1
  528. package/dist-esm/src/index.d.ts +0 -5
  529. package/dist-esm/src/index.js.map +0 -1
  530. package/dist-esm/src/lroImpl.js.map +0 -1
  531. package/dist-esm/src/models/index.js.map +0 -1
  532. package/dist-esm/src/models/mappers.js.map +0 -1
  533. package/dist-esm/src/models/parameters.js.map +0 -1
  534. package/dist-esm/src/operations/adminKeys.d.ts.map +0 -1
  535. package/dist-esm/src/operations/adminKeys.js.map +0 -1
  536. package/dist-esm/src/operations/index.d.ts +0 -10
  537. package/dist-esm/src/operations/index.d.ts.map +0 -1
  538. package/dist-esm/src/operations/index.js +0 -17
  539. package/dist-esm/src/operations/index.js.map +0 -1
  540. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  541. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  542. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  543. package/dist-esm/src/operations/operations.js.map +0 -1
  544. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  545. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  546. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  547. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  548. package/dist-esm/src/operations/queryKeys.d.ts.map +0 -1
  549. package/dist-esm/src/operations/queryKeys.js.map +0 -1
  550. package/dist-esm/src/operations/services.d.ts.map +0 -1
  551. package/dist-esm/src/operations/services.js.map +0 -1
  552. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +0 -1
  553. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +0 -1
  554. package/dist-esm/src/operations/usages.d.ts.map +0 -1
  555. package/dist-esm/src/operations/usages.js.map +0 -1
  556. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +0 -1
  557. package/dist-esm/src/operationsInterfaces/adminKeys.js.map +0 -1
  558. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
  559. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  560. package/dist-esm/src/operationsInterfaces/index.js +0 -17
  561. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  562. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  563. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  564. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  565. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  566. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  567. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  568. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  569. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +0 -1
  570. package/dist-esm/src/operationsInterfaces/queryKeys.js.map +0 -1
  571. package/dist-esm/src/operationsInterfaces/services.d.ts.map +0 -1
  572. package/dist-esm/src/operationsInterfaces/services.js.map +0 -1
  573. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +0 -1
  574. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +0 -1
  575. package/dist-esm/src/operationsInterfaces/usages.d.ts.map +0 -1
  576. package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
  577. package/dist-esm/src/pagingHelper.js.map +0 -1
  578. package/dist-esm/src/searchManagementClient.d.ts.map +0 -1
  579. package/dist-esm/src/searchManagementClient.js.map +0 -1
  580. package/dist-esm/test/search_examples.d.ts +0 -4
  581. package/dist-esm/test/search_examples.d.ts.map +0 -1
  582. package/dist-esm/test/search_examples.js +0 -228
  583. package/dist-esm/test/search_examples.js.map +0 -1
  584. package/src/lroImpl.ts +0 -38
  585. package/src/models/index.ts +0 -1449
  586. package/src/models/mappers.ts +0 -1969
  587. package/src/models/parameters.ts +0 -267
  588. package/src/operations/adminKeys.ts +0 -120
  589. package/src/operations/index.ts +0 -17
  590. package/src/operations/networkSecurityPerimeterConfigurations.ts +0 -400
  591. package/src/operations/operations.ts +0 -103
  592. package/src/operations/privateEndpointConnections.ts +0 -373
  593. package/src/operations/privateLinkResources.ts +0 -144
  594. package/src/operations/queryKeys.ts +0 -298
  595. package/src/operations/services.ts +0 -634
  596. package/src/operations/sharedPrivateLinkResources.ts +0 -544
  597. package/src/operations/usages.ts +0 -176
  598. package/src/operationsInterfaces/adminKeys.ts +0 -48
  599. package/src/operationsInterfaces/index.ts +0 -17
  600. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +0 -90
  601. package/src/operationsInterfaces/operations.ts +0 -22
  602. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -88
  603. package/src/operationsInterfaces/privateLinkResources.ts +0 -31
  604. package/src/operationsInterfaces/queryKeys.ts +0 -66
  605. package/src/operationsInterfaces/services.ts +0 -144
  606. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +0 -131
  607. package/src/operationsInterfaces/usages.ts +0 -27
  608. package/src/pagingHelper.ts +0 -39
  609. package/src/searchManagementClient.ts +0 -226
  610. package/tsconfig.json +0 -33
  611. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  612. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  613. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  614. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  615. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  616. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  617. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  618. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  619. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  620. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  621. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  622. /package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.js +0 -0
  623. /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -0
  624. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  625. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  626. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  627. /package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.js +0 -0
  628. /package/{dist-esm/src → dist/browser}/operationsInterfaces/services.js +0 -0
  629. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.js +0 -0
  630. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
  631. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  632. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  633. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  634. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,85 @@
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 } from "../models/index.js";
4
+ /** Interface representing a Services. */
5
+ export interface Services {
6
+ /**
7
+ * Gets a list of all Search services in the given resource group.
8
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
9
+ * obtain this value from the Azure Resource Manager API or the portal.
10
+ * @param options The options parameters.
11
+ */
12
+ listByResourceGroup(resourceGroupName: string, options?: ServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SearchService>;
13
+ /**
14
+ * Gets a list of all Search services in the given subscription.
15
+ * @param options The options parameters.
16
+ */
17
+ listBySubscription(options?: ServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SearchService>;
18
+ /**
19
+ * Creates or updates a search service in the given resource group. If the search service already
20
+ * exists, all properties will be updated with the given values.
21
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
22
+ * obtain this value from the Azure Resource Manager API or the portal.
23
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
24
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
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
27
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
28
+ * created.
29
+ * @param service The definition of the search service to create or update.
30
+ * @param options The options parameters.
31
+ */
32
+ beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, service: SearchService, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
33
+ /**
34
+ * Creates or updates a search service in the given resource group. If the search service already
35
+ * exists, all properties will be updated with the given values.
36
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
37
+ * obtain this value from the Azure Resource Manager API or the portal.
38
+ * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
39
+ * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
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
42
+ * (https://<name>.search.windows.net). You cannot change the service name after the service is
43
+ * created.
44
+ * @param service The definition of the search service to create or update.
45
+ * @param options The options parameters.
46
+ */
47
+ beginCreateOrUpdateAndWait(resourceGroupName: string, searchServiceName: string, service: SearchService, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServicesCreateOrUpdateResponse>;
48
+ /**
49
+ * Updates an existing search service in the given resource group.
50
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
51
+ * obtain this value from the Azure Resource Manager API or the portal.
52
+ * @param searchServiceName The name of the Azure AI Search service to update.
53
+ * @param service The definition of the search service to update.
54
+ * @param options The options parameters.
55
+ */
56
+ update(resourceGroupName: string, searchServiceName: string, service: SearchServiceUpdate, options?: ServicesUpdateOptionalParams): Promise<ServicesUpdateResponse>;
57
+ /**
58
+ * Gets the search service with the given name in the given resource group.
59
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
60
+ * obtain this value from the Azure Resource Manager API or the portal.
61
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
62
+ * resource group.
63
+ * @param options The options parameters.
64
+ */
65
+ get(resourceGroupName: string, searchServiceName: string, options?: ServicesGetOptionalParams): Promise<ServicesGetResponse>;
66
+ /**
67
+ * Deletes a search service in the given resource group, along with its associated resources.
68
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
69
+ * obtain this value from the Azure Resource Manager API or the portal.
70
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
71
+ * resource group.
72
+ * @param options The options parameters.
73
+ */
74
+ delete(resourceGroupName: string, searchServiceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
75
+ /**
76
+ * Checks whether or not the given search service name is available for use. Search service names must
77
+ * be globally unique since they are part of the service URI (https://<name>.search.windows.net).
78
+ * @param name The search service name to validate. Search service names must only contain lowercase
79
+ * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain
80
+ * consecutive dashes, and must be between 2 and 60 characters in length.
81
+ * @param options The options parameters.
82
+ */
83
+ checkNameAvailability(name: string, options?: ServicesCheckNameAvailabilityOptionalParams): Promise<ServicesCheckNameAvailabilityResponse>;
84
+ }
85
+ //# sourceMappingURL=services.d.ts.map
@@ -0,0 +1 @@
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,EACtC,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,CACd,cAAc,CAAC,8BAA8B,CAAC,EAC9C,8BAA8B,CAC/B,CACF,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;CACnD"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=services.js.map
@@ -0,0 +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 { 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} 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<\n OperationState<ServicesCreateOrUpdateResponse>,\n ServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a search service in the given resource group. If the search service already\n * exists, all properties will be updated with the given values.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service to create or update. Search service\n * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or\n * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in\n * length. Search service names must be globally unique since they are part of the service URI\n * (https://<name>.search.windows.net). You cannot change the service name after the service is\n * created.\n * @param service The definition of the search service to create or update.\n * @param options The options parameters.\n */\n 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"]}
@@ -0,0 +1,78 @@
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
+ /** Interface representing a SharedPrivateLinkResources. */
5
+ export interface SharedPrivateLinkResources {
6
+ /**
7
+ * Gets a list of all shared private link resources managed by the given service.
8
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
9
+ * obtain this value from the Azure Resource Manager API or the portal.
10
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
11
+ * resource group.
12
+ * @param options The options parameters.
13
+ */
14
+ listByService(resourceGroupName: string, searchServiceName: string, options?: SharedPrivateLinkResourcesListByServiceOptionalParams): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
15
+ /**
16
+ * Initiates the creation or update of a shared private link resource managed by the search service in
17
+ * the given resource group.
18
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
19
+ * obtain this value from the Azure Resource Manager API or the portal.
20
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
21
+ * resource group.
22
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
23
+ * Azure AI Search service within the specified resource group.
24
+ * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
25
+ * update.
26
+ * @param options The options parameters.
27
+ */
28
+ beginCreateOrUpdate(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>, SharedPrivateLinkResourcesCreateOrUpdateResponse>>;
29
+ /**
30
+ * Initiates the creation or update of a shared private link resource managed by the search service in
31
+ * the given resource group.
32
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
33
+ * obtain this value from the Azure Resource Manager API or the portal.
34
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
35
+ * resource group.
36
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
37
+ * Azure AI Search service within the specified resource group.
38
+ * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
39
+ * update.
40
+ * @param options The options parameters.
41
+ */
42
+ beginCreateOrUpdateAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, sharedPrivateLinkResource: SharedPrivateLinkResource, options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;
43
+ /**
44
+ * Gets the details of the shared private link resource managed by the search service in the given
45
+ * resource group.
46
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
47
+ * obtain this value from the Azure Resource Manager API or the portal.
48
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
49
+ * resource group.
50
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
51
+ * Azure AI Search service within the specified resource group.
52
+ * @param options The options parameters.
53
+ */
54
+ get(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesGetOptionalParams): Promise<SharedPrivateLinkResourcesGetResponse>;
55
+ /**
56
+ * Initiates the deletion of the shared private link resource from the search service.
57
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
58
+ * obtain this value from the Azure Resource Manager API or the portal.
59
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
60
+ * resource group.
61
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
62
+ * Azure AI Search service within the specified resource group.
63
+ * @param options The options parameters.
64
+ */
65
+ beginDelete(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
66
+ /**
67
+ * Initiates the deletion of the shared private link resource from the search service.
68
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
69
+ * obtain this value from the Azure Resource Manager API or the portal.
70
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
71
+ * resource group.
72
+ * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
73
+ * Azure AI Search service within the specified resource group.
74
+ * @param options The options parameters.
75
+ */
76
+ beginDeleteAndWait(resourceGroupName: string, searchServiceName: string, sharedPrivateLinkResourceName: string, options?: SharedPrivateLinkResourcesDeleteOptionalParams): Promise<void>;
77
+ }
78
+ //# sourceMappingURL=sharedPrivateLinkResources.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=sharedPrivateLinkResources.js.map
@@ -0,0 +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 { 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"]}
@@ -0,0 +1,12 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { QuotaUsageResult, UsagesListBySubscriptionOptionalParams } from "../models/index.js";
3
+ /** Interface representing a Usages. */
4
+ export interface Usages {
5
+ /**
6
+ * Get a list of all Azure AI Search quota usages across the subscription.
7
+ * @param location The unique location name for a Microsoft Azure geographic region.
8
+ * @param options The options parameters.
9
+ */
10
+ listBySubscription(location: string, options?: UsagesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<QuotaUsageResult>;
11
+ }
12
+ //# sourceMappingURL=usages.d.ts.map
@@ -0,0 +1 @@
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,EACL,gBAAgB,EAChB,sCAAsC,EACvC,MAAM,oBAAoB,CAAC;AAG5B,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"}
@@ -0,0 +1,9 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export {};
9
+ //# sourceMappingURL=usages.js.map
@@ -0,0 +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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n QuotaUsageResult,\n UsagesListBySubscriptionOptionalParams,\n} 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"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +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,CAClC,IAAa,EACb,iBAAqC;;IAErC,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(\n page: unknown,\n continuationToken: string | undefined,\n): 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"]}
@@ -0,0 +1,36 @@
1
+ import * as coreClient from "@azure/core-client";
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
+ export declare class SearchManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the SearchManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this
13
+ * value from the Azure Resource Manager API or the portal.
14
+ * @param options The parameter options
15
+ */
16
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: SearchManagementClientOptionalParams);
17
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
18
+ private addCustomApiVersionPolicy;
19
+ /**
20
+ * Gets the quota usage for a search sku in the given subscription.
21
+ * @param location The unique location name for a Microsoft Azure geographic region.
22
+ * @param skuName The unique SKU name that identifies a billable tier.
23
+ * @param options The options parameters.
24
+ */
25
+ usageBySubscriptionSku(location: string, skuName: string, options?: UsageBySubscriptionSkuOptionalParams): Promise<UsageBySubscriptionSkuResponse>;
26
+ operations: Operations;
27
+ adminKeys: AdminKeys;
28
+ queryKeys: QueryKeys;
29
+ services: Services;
30
+ privateLinkResources: PrivateLinkResources;
31
+ privateEndpointConnections: PrivateEndpointConnections;
32
+ sharedPrivateLinkResources: SharedPrivateLinkResources;
33
+ usages: Usages;
34
+ networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
35
+ }
36
+ //# sourceMappingURL=searchManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchManagementClient.d.ts","sourceRoot":"","sources":["../../src/searchManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAY7C,OAAO,EACL,UAAU,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,oBAAoB,EACpB,0BAA0B,EAC1B,0BAA0B,EAC1B,MAAM,EACN,sCAAsC,EACvC,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EACL,oCAAoC,EACpC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,mBAAmB,CAAC;AAE3B,qBAAa,sBAAuB,SAAQ,UAAU,CAAC,aAAa;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;;OAMG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,oCAAoC;IAsFhD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC;;;;;OAKG;IACH,sBAAsB,CACpB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;IAO1C,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC,EAAE,sCAAsC,CAAC;CAChF"}
@@ -0,0 +1,141 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, AdminKeysImpl, QueryKeysImpl, ServicesImpl, PrivateLinkResourcesImpl, PrivateEndpointConnectionsImpl, SharedPrivateLinkResourcesImpl, UsagesImpl, NetworkSecurityPerimeterConfigurationsImpl, } from "./operations/index.js";
11
+ import * as Parameters from "./models/parameters.js";
12
+ import * as Mappers from "./models/mappers.js";
13
+ export class SearchManagementClient extends coreClient.ServiceClient {
14
+ /**
15
+ * Initializes a new instance of the SearchManagementClient class.
16
+ * @param credentials Subscription credentials which uniquely identify client subscription.
17
+ * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this
18
+ * value from the Azure Resource Manager API or the portal.
19
+ * @param options The parameter options
20
+ */
21
+ constructor(credentials, subscriptionId, options) {
22
+ var _a, _b, _c;
23
+ if (credentials === undefined) {
24
+ throw new Error("'credentials' cannot be null");
25
+ }
26
+ if (subscriptionId === undefined) {
27
+ throw new Error("'subscriptionId' cannot be null");
28
+ }
29
+ // Initializing default values for options
30
+ if (!options) {
31
+ options = {};
32
+ }
33
+ const defaults = {
34
+ requestContentType: "application/json; charset=utf-8",
35
+ credential: credentials,
36
+ };
37
+ const packageDetails = `azsdk-js-arm-search/4.0.0-beta.2`;
38
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
39
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
40
+ : `${packageDetails}`;
41
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
42
+ userAgentPrefix,
43
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
44
+ super(optionsWithDefaults);
45
+ let bearerTokenAuthenticationPolicyFound = false;
46
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
47
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
48
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
49
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
50
+ }
51
+ if (!options ||
52
+ !options.pipeline ||
53
+ options.pipeline.getOrderedPolicies().length == 0 ||
54
+ !bearerTokenAuthenticationPolicyFound) {
55
+ this.pipeline.removePolicy({
56
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
57
+ });
58
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
59
+ credential: credentials,
60
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
61
+ challengeCallbacks: {
62
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
63
+ },
64
+ }));
65
+ }
66
+ // Parameter assignments
67
+ this.subscriptionId = subscriptionId;
68
+ // Assigning values to Constant parameters
69
+ this.$host = options.$host || "https://management.azure.com";
70
+ this.apiVersion = options.apiVersion || "2024-06-01-preview";
71
+ this.operations = new OperationsImpl(this);
72
+ this.adminKeys = new AdminKeysImpl(this);
73
+ this.queryKeys = new QueryKeysImpl(this);
74
+ this.services = new ServicesImpl(this);
75
+ this.privateLinkResources = new PrivateLinkResourcesImpl(this);
76
+ this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
77
+ this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);
78
+ this.usages = new UsagesImpl(this);
79
+ this.networkSecurityPerimeterConfigurations =
80
+ new NetworkSecurityPerimeterConfigurationsImpl(this);
81
+ this.addCustomApiVersionPolicy(options.apiVersion);
82
+ }
83
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
84
+ addCustomApiVersionPolicy(apiVersion) {
85
+ if (!apiVersion) {
86
+ return;
87
+ }
88
+ const apiVersionPolicy = {
89
+ name: "CustomApiVersionPolicy",
90
+ async sendRequest(request, next) {
91
+ const param = request.url.split("?");
92
+ if (param.length > 1) {
93
+ const newParams = param[1].split("&").map((item) => {
94
+ if (item.indexOf("api-version") > -1) {
95
+ return "api-version=" + apiVersion;
96
+ }
97
+ else {
98
+ return item;
99
+ }
100
+ });
101
+ request.url = param[0] + "?" + newParams.join("&");
102
+ }
103
+ return next(request);
104
+ },
105
+ };
106
+ this.pipeline.addPolicy(apiVersionPolicy);
107
+ }
108
+ /**
109
+ * Gets the quota usage for a search sku in the given subscription.
110
+ * @param location The unique location name for a Microsoft Azure geographic region.
111
+ * @param skuName The unique SKU name that identifies a billable tier.
112
+ * @param options The options parameters.
113
+ */
114
+ usageBySubscriptionSku(location, skuName, options) {
115
+ return this.sendOperationRequest({ location, skuName, options }, usageBySubscriptionSkuOperationSpec);
116
+ }
117
+ }
118
+ // Operation Specifications
119
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
120
+ const usageBySubscriptionSkuOperationSpec = {
121
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}",
122
+ httpMethod: "GET",
123
+ responses: {
124
+ 200: {
125
+ bodyMapper: Mappers.QuotaUsageResult,
126
+ },
127
+ default: {
128
+ bodyMapper: Mappers.CloudError,
129
+ },
130
+ },
131
+ queryParameters: [Parameters.apiVersion],
132
+ urlParameters: [
133
+ Parameters.$host,
134
+ Parameters.subscriptionId,
135
+ Parameters.location,
136
+ Parameters.skuName,
137
+ ],
138
+ headerParameters: [Parameters.accept, Parameters.clientRequestId],
139
+ serializer,
140
+ };
141
+ //# sourceMappingURL=searchManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchManagementClient.js","sourceRoot":"","sources":["../../src/searchManagementClient.ts"],"names":[],"mappings":"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","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 {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} 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/4.0.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:\n 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 ===\n 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 ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n 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 || \"2024-06-01-preview\";\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 =\n new NetworkSecurityPerimeterConfigurationsImpl(this);\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(\n request: PipelineRequest,\n next: SendRequest,\n ): 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"]}