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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (639) hide show
  1. package/CHANGELOG.md +229 -4
  2. package/LICENSE +3 -3
  3. package/README.md +24 -18
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  9. package/{dist-esm/src → dist/browser}/lroImpl.js +7 -3
  10. package/dist/browser/lroImpl.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/index.d.ts +393 -197
  12. package/dist/browser/models/index.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/index.js +109 -7
  14. package/dist/browser/models/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/models/mappers.d.ts +12 -15
  16. package/dist/browser/models/mappers.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +395 -362
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +1 -1
  20. package/{dist-esm/src → dist/browser}/models/parameters.js +3 -7
  21. package/dist/browser/models/parameters.js.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/adminKeys.d.ts +3 -3
  23. package/dist/browser/operations/adminKeys.d.ts.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/adminKeys.js +3 -2
  25. package/dist/browser/operations/adminKeys.js.map +1 -0
  26. package/dist/browser/operations/index.d.ts +10 -0
  27. package/dist/browser/operations/index.d.ts.map +1 -0
  28. package/dist/browser/operations/index.js +17 -0
  29. package/dist/browser/operations/index.js.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.d.ts +6 -6
  31. package/dist/browser/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/networkSecurityPerimeterConfigurations.js +73 -89
  33. package/dist/browser/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  35. package/dist/browser/operations/operations.d.ts.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/operations.js +12 -29
  37. package/dist/browser/operations/operations.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.d.ts +3 -3
  39. package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/privateEndpointConnections.js +27 -48
  41. package/dist/browser/operations/privateEndpointConnections.js.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.d.ts +3 -3
  43. package/dist/browser/operations/privateLinkResources.d.ts.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/privateLinkResources.js +12 -29
  45. package/dist/browser/operations/privateLinkResources.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/queryKeys.d.ts +3 -3
  47. package/dist/browser/operations/queryKeys.d.ts.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/queryKeys.js +26 -43
  49. package/dist/browser/operations/queryKeys.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operations/services.d.ts +23 -5
  51. package/dist/browser/operations/services.d.ts.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operations/services.js +190 -152
  53. package/dist/browser/operations/services.js.map +1 -0
  54. package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.d.ts +3 -3
  55. package/dist/browser/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operations/sharedPrivateLinkResources.js +122 -141
  57. package/dist/browser/operations/sharedPrivateLinkResources.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operations/usages.d.ts +3 -3
  59. package/dist/browser/operations/usages.d.ts.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operations/usages.js +27 -48
  61. package/dist/browser/operations/usages.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/adminKeys.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/adminKeys.js.map +1 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts +10 -0
  66. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/index.js +17 -0
  68. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +4 -4
  70. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  73. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  74. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.d.ts +1 -1
  76. package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  77. package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.d.ts +1 -1
  79. package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.d.ts +1 -1
  82. package/dist/browser/operationsInterfaces/queryKeys.d.ts.map +1 -0
  83. package/dist/browser/operationsInterfaces/queryKeys.js.map +1 -0
  84. package/{dist-esm/src → dist/browser}/operationsInterfaces/services.d.ts +21 -3
  85. package/dist/browser/operationsInterfaces/services.d.ts.map +1 -0
  86. package/dist/browser/operationsInterfaces/services.js.map +1 -0
  87. package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.d.ts +1 -1
  88. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  89. package/dist/browser/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  90. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts +1 -1
  91. package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/usages.js.map +1 -0
  93. package/dist/browser/package.json +3 -0
  94. package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +1 -1
  95. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  96. package/dist/browser/pagingHelper.js.map +1 -0
  97. package/{dist-esm/src → dist/browser}/searchManagementClient.d.ts +3 -3
  98. package/dist/browser/searchManagementClient.d.ts.map +1 -0
  99. package/{dist-esm/src → dist/browser}/searchManagementClient.js +43 -32
  100. package/dist/browser/searchManagementClient.js.map +1 -0
  101. package/dist/commonjs/index.d.ts +5 -0
  102. package/dist/commonjs/index.d.ts.map +1 -0
  103. package/dist/commonjs/index.js +19 -0
  104. package/dist/commonjs/index.js.map +1 -0
  105. package/dist/commonjs/lroImpl.d.ts +11 -0
  106. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  107. package/dist/commonjs/lroImpl.js +28 -0
  108. package/dist/commonjs/lroImpl.js.map +1 -0
  109. package/{types/arm-search.d.ts → dist/commonjs/models/index.d.ts} +1440 -1788
  110. package/dist/commonjs/models/index.d.ts.map +1 -0
  111. package/dist/commonjs/models/index.js +235 -0
  112. package/dist/commonjs/models/index.js.map +1 -0
  113. package/dist/commonjs/models/mappers.d.ts +57 -0
  114. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  115. package/dist/commonjs/models/mappers.js +1874 -0
  116. package/dist/commonjs/models/mappers.js.map +1 -0
  117. package/dist/commonjs/models/parameters.d.ts +26 -0
  118. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  119. package/dist/commonjs/models/parameters.js +229 -0
  120. package/dist/commonjs/models/parameters.js.map +1 -0
  121. package/dist/commonjs/operations/adminKeys.d.ts +33 -0
  122. package/dist/commonjs/operations/adminKeys.d.ts.map +1 -0
  123. package/dist/commonjs/operations/adminKeys.js +96 -0
  124. package/dist/commonjs/operations/adminKeys.js.map +1 -0
  125. package/dist/commonjs/operations/index.d.ts +10 -0
  126. package/dist/commonjs/operations/index.d.ts.map +1 -0
  127. package/dist/commonjs/operations/index.js +20 -0
  128. package/dist/commonjs/operations/index.js.map +1 -0
  129. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  130. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  131. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js +278 -0
  132. package/dist/commonjs/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  133. package/dist/commonjs/operations/operations.d.ts +26 -0
  134. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  135. package/dist/commonjs/operations/operations.js +84 -0
  136. package/dist/commonjs/operations/operations.js.map +1 -0
  137. package/dist/commonjs/operations/privateEndpointConnections.d.ts +79 -0
  138. package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -0
  139. package/dist/commonjs/operations/privateEndpointConnections.js +270 -0
  140. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -0
  141. package/dist/commonjs/operations/privateLinkResources.d.ts +34 -0
  142. package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -0
  143. package/dist/commonjs/operations/privateLinkResources.js +97 -0
  144. package/dist/commonjs/operations/privateLinkResources.js.map +1 -0
  145. package/dist/commonjs/operations/queryKeys.d.ts +66 -0
  146. package/dist/commonjs/operations/queryKeys.d.ts.map +1 -0
  147. package/dist/commonjs/operations/queryKeys.js +214 -0
  148. package/dist/commonjs/operations/queryKeys.js.map +1 -0
  149. package/dist/commonjs/operations/services.d.ts +141 -0
  150. package/dist/commonjs/operations/services.d.ts.map +1 -0
  151. package/dist/commonjs/operations/services.js +549 -0
  152. package/dist/commonjs/operations/services.js.map +1 -0
  153. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts +107 -0
  154. package/dist/commonjs/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  155. package/dist/commonjs/operations/sharedPrivateLinkResources.js +390 -0
  156. package/dist/commonjs/operations/sharedPrivateLinkResources.js.map +1 -0
  157. package/dist/commonjs/operations/usages.d.ts +35 -0
  158. package/dist/commonjs/operations/usages.d.ts.map +1 -0
  159. package/dist/commonjs/operations/usages.js +129 -0
  160. package/dist/commonjs/operations/usages.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts +25 -0
  162. package/dist/commonjs/operationsInterfaces/adminKeys.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/adminKeys.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/adminKeys.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
  166. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/index.js +20 -0
  168. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  170. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  173. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  174. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  175. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  176. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  177. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  178. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  179. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js +10 -0
  180. package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  181. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +15 -0
  182. package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  183. package/dist/commonjs/operationsInterfaces/privateLinkResources.js +10 -0
  184. package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -0
  185. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts +37 -0
  186. package/dist/commonjs/operationsInterfaces/queryKeys.d.ts.map +1 -0
  187. package/dist/commonjs/operationsInterfaces/queryKeys.js +10 -0
  188. package/dist/commonjs/operationsInterfaces/queryKeys.js.map +1 -0
  189. package/dist/commonjs/operationsInterfaces/services.d.ts +103 -0
  190. package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -0
  191. package/dist/commonjs/operationsInterfaces/services.js +10 -0
  192. package/dist/commonjs/operationsInterfaces/services.js.map +1 -0
  193. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  194. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  195. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js +10 -0
  196. package/dist/commonjs/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  197. package/dist/commonjs/operationsInterfaces/usages.d.ts +12 -0
  198. package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -0
  199. package/dist/commonjs/operationsInterfaces/usages.js +10 -0
  200. package/dist/commonjs/operationsInterfaces/usages.js.map +1 -0
  201. package/dist/commonjs/package.json +3 -0
  202. package/dist/commonjs/pagingHelper.d.ts +13 -0
  203. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  204. package/dist/commonjs/pagingHelper.js +34 -0
  205. package/dist/commonjs/pagingHelper.js.map +1 -0
  206. package/dist/commonjs/searchManagementClient.d.ts +36 -0
  207. package/dist/commonjs/searchManagementClient.d.ts.map +1 -0
  208. package/dist/commonjs/searchManagementClient.js +160 -0
  209. package/dist/commonjs/searchManagementClient.js.map +1 -0
  210. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  211. package/dist/esm/index.d.ts +5 -0
  212. package/dist/esm/index.d.ts.map +1 -0
  213. package/{src/index.ts → dist/esm/index.js} +5 -5
  214. package/dist/esm/index.js.map +1 -0
  215. package/dist/esm/lroImpl.d.ts +11 -0
  216. package/dist/esm/lroImpl.d.ts.map +1 -0
  217. package/dist/esm/lroImpl.js +25 -0
  218. package/dist/esm/lroImpl.js.map +1 -0
  219. package/dist/esm/models/index.d.ts +1440 -0
  220. package/dist/esm/models/index.d.ts.map +1 -0
  221. package/dist/esm/models/index.js +232 -0
  222. package/dist/esm/models/index.js.map +1 -0
  223. package/dist/esm/models/mappers.d.ts +57 -0
  224. package/dist/esm/models/mappers.d.ts.map +1 -0
  225. package/dist/esm/models/mappers.js +1870 -0
  226. package/dist/esm/models/mappers.js.map +1 -0
  227. package/dist/esm/models/parameters.d.ts +26 -0
  228. package/dist/esm/models/parameters.d.ts.map +1 -0
  229. package/dist/esm/models/parameters.js +226 -0
  230. package/dist/esm/models/parameters.js.map +1 -0
  231. package/dist/esm/operations/adminKeys.d.ts +33 -0
  232. package/dist/esm/operations/adminKeys.d.ts.map +1 -0
  233. package/dist/esm/operations/adminKeys.js +91 -0
  234. package/dist/esm/operations/adminKeys.js.map +1 -0
  235. package/dist/esm/operations/index.d.ts +10 -0
  236. package/dist/esm/operations/index.d.ts.map +1 -0
  237. package/dist/esm/operations/index.js +17 -0
  238. package/dist/esm/operations/index.js.map +1 -0
  239. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  240. package/dist/esm/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  241. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js +273 -0
  242. package/dist/esm/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  243. package/dist/esm/operations/operations.d.ts +26 -0
  244. package/dist/esm/operations/operations.d.ts.map +1 -0
  245. package/dist/esm/operations/operations.js +79 -0
  246. package/dist/esm/operations/operations.js.map +1 -0
  247. package/dist/esm/operations/privateEndpointConnections.d.ts +79 -0
  248. package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -0
  249. package/dist/esm/operations/privateEndpointConnections.js +265 -0
  250. package/dist/esm/operations/privateEndpointConnections.js.map +1 -0
  251. package/dist/esm/operations/privateLinkResources.d.ts +34 -0
  252. package/dist/esm/operations/privateLinkResources.d.ts.map +1 -0
  253. package/dist/esm/operations/privateLinkResources.js +92 -0
  254. package/dist/esm/operations/privateLinkResources.js.map +1 -0
  255. package/dist/esm/operations/queryKeys.d.ts +66 -0
  256. package/dist/esm/operations/queryKeys.d.ts.map +1 -0
  257. package/dist/esm/operations/queryKeys.js +209 -0
  258. package/dist/esm/operations/queryKeys.js.map +1 -0
  259. package/dist/esm/operations/services.d.ts +141 -0
  260. package/dist/esm/operations/services.d.ts.map +1 -0
  261. package/dist/esm/operations/services.js +544 -0
  262. package/dist/esm/operations/services.js.map +1 -0
  263. package/dist/esm/operations/sharedPrivateLinkResources.d.ts +107 -0
  264. package/dist/esm/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  265. package/dist/esm/operations/sharedPrivateLinkResources.js +385 -0
  266. package/dist/esm/operations/sharedPrivateLinkResources.js.map +1 -0
  267. package/dist/esm/operations/usages.d.ts +35 -0
  268. package/dist/esm/operations/usages.d.ts.map +1 -0
  269. package/dist/esm/operations/usages.js +124 -0
  270. package/dist/esm/operations/usages.js.map +1 -0
  271. package/dist/esm/operationsInterfaces/adminKeys.d.ts +25 -0
  272. package/dist/esm/operationsInterfaces/adminKeys.d.ts.map +1 -0
  273. package/dist/esm/operationsInterfaces/adminKeys.js +9 -0
  274. package/dist/esm/operationsInterfaces/adminKeys.js.map +1 -0
  275. package/dist/esm/operationsInterfaces/index.d.ts +10 -0
  276. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  277. package/dist/esm/operationsInterfaces/index.js +17 -0
  278. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  279. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  280. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  281. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  282. package/dist/esm/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  283. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  284. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  285. package/dist/esm/operationsInterfaces/operations.js +9 -0
  286. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  287. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  288. package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  289. package/dist/esm/operationsInterfaces/privateEndpointConnections.js +9 -0
  290. package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  291. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +15 -0
  292. package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  293. package/dist/esm/operationsInterfaces/privateLinkResources.js +9 -0
  294. package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -0
  295. package/dist/esm/operationsInterfaces/queryKeys.d.ts +37 -0
  296. package/dist/esm/operationsInterfaces/queryKeys.d.ts.map +1 -0
  297. package/dist/esm/operationsInterfaces/queryKeys.js +9 -0
  298. package/dist/esm/operationsInterfaces/queryKeys.js.map +1 -0
  299. package/dist/esm/operationsInterfaces/services.d.ts +103 -0
  300. package/dist/esm/operationsInterfaces/services.d.ts.map +1 -0
  301. package/dist/esm/operationsInterfaces/services.js +9 -0
  302. package/dist/esm/operationsInterfaces/services.js.map +1 -0
  303. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  304. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  305. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  306. package/dist/esm/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  307. package/dist/esm/operationsInterfaces/usages.d.ts +12 -0
  308. package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -0
  309. package/dist/esm/operationsInterfaces/usages.js +9 -0
  310. package/dist/esm/operationsInterfaces/usages.js.map +1 -0
  311. package/dist/esm/package.json +3 -0
  312. package/dist/esm/pagingHelper.d.ts +13 -0
  313. package/dist/esm/pagingHelper.d.ts.map +1 -0
  314. package/dist/esm/pagingHelper.js +30 -0
  315. package/dist/esm/pagingHelper.js.map +1 -0
  316. package/dist/esm/searchManagementClient.d.ts +36 -0
  317. package/dist/esm/searchManagementClient.d.ts.map +1 -0
  318. package/dist/esm/searchManagementClient.js +155 -0
  319. package/dist/esm/searchManagementClient.js.map +1 -0
  320. package/dist/react-native/index.d.ts +5 -0
  321. package/dist/react-native/index.d.ts.map +1 -0
  322. package/dist/react-native/index.js +13 -0
  323. package/dist/react-native/index.js.map +1 -0
  324. package/dist/react-native/lroImpl.d.ts +11 -0
  325. package/dist/react-native/lroImpl.d.ts.map +1 -0
  326. package/dist/react-native/lroImpl.js +25 -0
  327. package/dist/react-native/lroImpl.js.map +1 -0
  328. package/dist/react-native/models/index.d.ts +1440 -0
  329. package/dist/react-native/models/index.d.ts.map +1 -0
  330. package/dist/react-native/models/index.js +232 -0
  331. package/dist/react-native/models/index.js.map +1 -0
  332. package/dist/react-native/models/mappers.d.ts +57 -0
  333. package/dist/react-native/models/mappers.d.ts.map +1 -0
  334. package/dist/react-native/models/mappers.js +1870 -0
  335. package/dist/react-native/models/mappers.js.map +1 -0
  336. package/dist/react-native/models/parameters.d.ts +26 -0
  337. package/dist/react-native/models/parameters.d.ts.map +1 -0
  338. package/dist/react-native/models/parameters.js +226 -0
  339. package/dist/react-native/models/parameters.js.map +1 -0
  340. package/dist/react-native/operations/adminKeys.d.ts +33 -0
  341. package/dist/react-native/operations/adminKeys.d.ts.map +1 -0
  342. package/dist/react-native/operations/adminKeys.js +91 -0
  343. package/dist/react-native/operations/adminKeys.js.map +1 -0
  344. package/dist/react-native/operations/index.d.ts +10 -0
  345. package/dist/react-native/operations/index.d.ts.map +1 -0
  346. package/dist/react-native/operations/index.js +17 -0
  347. package/dist/react-native/operations/index.js.map +1 -0
  348. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts +79 -0
  349. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  350. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js +273 -0
  351. package/dist/react-native/operations/networkSecurityPerimeterConfigurations.js.map +1 -0
  352. package/dist/react-native/operations/operations.d.ts +26 -0
  353. package/dist/react-native/operations/operations.d.ts.map +1 -0
  354. package/dist/react-native/operations/operations.js +79 -0
  355. package/dist/react-native/operations/operations.js.map +1 -0
  356. package/dist/react-native/operations/privateEndpointConnections.d.ts +79 -0
  357. package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -0
  358. package/dist/react-native/operations/privateEndpointConnections.js +265 -0
  359. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -0
  360. package/dist/react-native/operations/privateLinkResources.d.ts +34 -0
  361. package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -0
  362. package/dist/react-native/operations/privateLinkResources.js +92 -0
  363. package/dist/react-native/operations/privateLinkResources.js.map +1 -0
  364. package/dist/react-native/operations/queryKeys.d.ts +66 -0
  365. package/dist/react-native/operations/queryKeys.d.ts.map +1 -0
  366. package/dist/react-native/operations/queryKeys.js +209 -0
  367. package/dist/react-native/operations/queryKeys.js.map +1 -0
  368. package/dist/react-native/operations/services.d.ts +141 -0
  369. package/dist/react-native/operations/services.d.ts.map +1 -0
  370. package/dist/react-native/operations/services.js +544 -0
  371. package/dist/react-native/operations/services.js.map +1 -0
  372. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts +107 -0
  373. package/dist/react-native/operations/sharedPrivateLinkResources.d.ts.map +1 -0
  374. package/dist/react-native/operations/sharedPrivateLinkResources.js +385 -0
  375. package/dist/react-native/operations/sharedPrivateLinkResources.js.map +1 -0
  376. package/dist/react-native/operations/usages.d.ts +35 -0
  377. package/dist/react-native/operations/usages.d.ts.map +1 -0
  378. package/dist/react-native/operations/usages.js +124 -0
  379. package/dist/react-native/operations/usages.js.map +1 -0
  380. package/dist/react-native/operationsInterfaces/adminKeys.d.ts +25 -0
  381. package/dist/react-native/operationsInterfaces/adminKeys.d.ts.map +1 -0
  382. package/dist/react-native/operationsInterfaces/adminKeys.js +9 -0
  383. package/dist/react-native/operationsInterfaces/adminKeys.js.map +1 -0
  384. package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
  385. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  386. package/dist/react-native/operationsInterfaces/index.js +17 -0
  387. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  388. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts +50 -0
  389. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +1 -0
  390. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js +9 -0
  391. package/dist/react-native/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +1 -0
  392. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  393. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  394. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  395. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  396. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +50 -0
  397. package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  398. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js +9 -0
  399. package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  400. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +15 -0
  401. package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  402. package/dist/react-native/operationsInterfaces/privateLinkResources.js +9 -0
  403. package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -0
  404. package/dist/react-native/operationsInterfaces/queryKeys.d.ts +37 -0
  405. package/dist/react-native/operationsInterfaces/queryKeys.d.ts.map +1 -0
  406. package/dist/react-native/operationsInterfaces/queryKeys.js +9 -0
  407. package/dist/react-native/operationsInterfaces/queryKeys.js.map +1 -0
  408. package/dist/react-native/operationsInterfaces/services.d.ts +103 -0
  409. package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -0
  410. package/dist/react-native/operationsInterfaces/services.js +9 -0
  411. package/dist/react-native/operationsInterfaces/services.js.map +1 -0
  412. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts +78 -0
  413. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +1 -0
  414. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js +9 -0
  415. package/dist/react-native/operationsInterfaces/sharedPrivateLinkResources.js.map +1 -0
  416. package/dist/react-native/operationsInterfaces/usages.d.ts +12 -0
  417. package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -0
  418. package/dist/react-native/operationsInterfaces/usages.js +9 -0
  419. package/dist/react-native/operationsInterfaces/usages.js.map +1 -0
  420. package/dist/react-native/package.json +3 -0
  421. package/dist/react-native/pagingHelper.d.ts +13 -0
  422. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  423. package/dist/react-native/pagingHelper.js +30 -0
  424. package/dist/react-native/pagingHelper.js.map +1 -0
  425. package/dist/react-native/searchManagementClient.d.ts +36 -0
  426. package/dist/react-native/searchManagementClient.d.ts.map +1 -0
  427. package/dist/react-native/searchManagementClient.js +155 -0
  428. package/dist/react-native/searchManagementClient.js.map +1 -0
  429. package/package.json +81 -66
  430. package/review/{arm-search.api.md → arm-search-node.api.md} +216 -137
  431. package/dist/index.js +0 -4576
  432. package/dist/index.js.map +0 -1
  433. package/dist/index.min.js +0 -1
  434. package/dist/index.min.js.map +0 -1
  435. package/dist-esm/samples-dev/adminKeysGetSample.d.ts +0 -2
  436. package/dist-esm/samples-dev/adminKeysGetSample.d.ts.map +0 -1
  437. package/dist-esm/samples-dev/adminKeysGetSample.js +0 -38
  438. package/dist-esm/samples-dev/adminKeysGetSample.js.map +0 -1
  439. package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts +0 -2
  440. package/dist-esm/samples-dev/adminKeysRegenerateSample.d.ts.map +0 -1
  441. package/dist-esm/samples-dev/adminKeysRegenerateSample.js +0 -39
  442. package/dist-esm/samples-dev/adminKeysRegenerateSample.js.map +0 -1
  443. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts +0 -2
  444. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.d.ts.map +0 -1
  445. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js +0 -39
  446. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsGetSample.js.map +0 -1
  447. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts +0 -2
  448. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.d.ts.map +0 -1
  449. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js +0 -54
  450. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsListByServiceSample.js.map +0 -1
  451. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts +0 -2
  452. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.d.ts.map +0 -1
  453. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js +0 -39
  454. package/dist-esm/samples-dev/networkSecurityPerimeterConfigurationsReconcileSample.js.map +0 -1
  455. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  456. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  457. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  458. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  459. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts +0 -2
  460. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.d.ts.map +0 -1
  461. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +0 -39
  462. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js.map +0 -1
  463. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts +0 -2
  464. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.d.ts.map +0 -1
  465. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +0 -39
  466. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js.map +0 -1
  467. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts +0 -2
  468. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.d.ts.map +0 -1
  469. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +0 -54
  470. package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +0 -1
  471. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts +0 -2
  472. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.d.ts.map +0 -1
  473. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +0 -47
  474. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js.map +0 -1
  475. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts +0 -2
  476. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.d.ts.map +0 -1
  477. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js +0 -54
  478. package/dist-esm/samples-dev/privateLinkResourcesListSupportedSample.js.map +0 -1
  479. package/dist-esm/samples-dev/queryKeysCreateSample.d.ts +0 -2
  480. package/dist-esm/samples-dev/queryKeysCreateSample.d.ts.map +0 -1
  481. package/dist-esm/samples-dev/queryKeysCreateSample.js +0 -39
  482. package/dist-esm/samples-dev/queryKeysCreateSample.js.map +0 -1
  483. package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts +0 -2
  484. package/dist-esm/samples-dev/queryKeysDeleteSample.d.ts.map +0 -1
  485. package/dist-esm/samples-dev/queryKeysDeleteSample.js +0 -39
  486. package/dist-esm/samples-dev/queryKeysDeleteSample.js.map +0 -1
  487. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts +0 -2
  488. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.d.ts.map +0 -1
  489. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js +0 -54
  490. package/dist-esm/samples-dev/queryKeysListBySearchServiceSample.js.map +0 -1
  491. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +0 -2
  492. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +0 -1
  493. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +0 -37
  494. package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +0 -1
  495. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +0 -2
  496. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +0 -1
  497. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +0 -301
  498. package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +0 -1
  499. package/dist-esm/samples-dev/servicesDeleteSample.d.ts +0 -2
  500. package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +0 -1
  501. package/dist-esm/samples-dev/servicesDeleteSample.js +0 -38
  502. package/dist-esm/samples-dev/servicesDeleteSample.js.map +0 -1
  503. package/dist-esm/samples-dev/servicesGetSample.d.ts +0 -2
  504. package/dist-esm/samples-dev/servicesGetSample.d.ts.map +0 -1
  505. package/dist-esm/samples-dev/servicesGetSample.js +0 -38
  506. package/dist-esm/samples-dev/servicesGetSample.js.map +0 -1
  507. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +0 -2
  508. package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +0 -1
  509. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +0 -53
  510. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +0 -1
  511. package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts +0 -2
  512. package/dist-esm/samples-dev/servicesListBySubscriptionSample.d.ts.map +0 -1
  513. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js +0 -52
  514. package/dist-esm/samples-dev/servicesListBySubscriptionSample.js.map +0 -1
  515. package/dist-esm/samples-dev/servicesUpdateSample.d.ts +0 -2
  516. package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +0 -1
  517. package/dist-esm/samples-dev/servicesUpdateSample.js +0 -257
  518. package/dist-esm/samples-dev/servicesUpdateSample.js.map +0 -1
  519. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts +0 -2
  520. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.d.ts.map +0 -1
  521. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js +0 -47
  522. package/dist-esm/samples-dev/sharedPrivateLinkResourcesCreateOrUpdateSample.js.map +0 -1
  523. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts +0 -2
  524. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.d.ts.map +0 -1
  525. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js +0 -39
  526. package/dist-esm/samples-dev/sharedPrivateLinkResourcesDeleteSample.js.map +0 -1
  527. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts +0 -2
  528. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.d.ts.map +0 -1
  529. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js +0 -39
  530. package/dist-esm/samples-dev/sharedPrivateLinkResourcesGetSample.js.map +0 -1
  531. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts +0 -2
  532. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.d.ts.map +0 -1
  533. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js +0 -54
  534. package/dist-esm/samples-dev/sharedPrivateLinkResourcesListByServiceSample.js.map +0 -1
  535. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts +0 -2
  536. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.d.ts.map +0 -1
  537. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js +0 -38
  538. package/dist-esm/samples-dev/usageBySubscriptionSkuSample.js.map +0 -1
  539. package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts +0 -2
  540. package/dist-esm/samples-dev/usagesListBySubscriptionSample.d.ts.map +0 -1
  541. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js +0 -53
  542. package/dist-esm/samples-dev/usagesListBySubscriptionSample.js.map +0 -1
  543. package/dist-esm/src/index.d.ts +0 -6
  544. package/dist-esm/src/index.d.ts.map +0 -1
  545. package/dist-esm/src/index.js.map +0 -1
  546. package/dist-esm/src/lroImpl.js.map +0 -1
  547. package/dist-esm/src/models/index.d.ts.map +0 -1
  548. package/dist-esm/src/models/index.js.map +0 -1
  549. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  550. package/dist-esm/src/models/mappers.js.map +0 -1
  551. package/dist-esm/src/models/parameters.js.map +0 -1
  552. package/dist-esm/src/operations/adminKeys.d.ts.map +0 -1
  553. package/dist-esm/src/operations/adminKeys.js.map +0 -1
  554. package/dist-esm/src/operations/index.d.ts +0 -10
  555. package/dist-esm/src/operations/index.d.ts.map +0 -1
  556. package/dist-esm/src/operations/index.js +0 -17
  557. package/dist-esm/src/operations/index.js.map +0 -1
  558. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  559. package/dist-esm/src/operations/networkSecurityPerimeterConfigurations.js.map +0 -1
  560. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  561. package/dist-esm/src/operations/operations.js.map +0 -1
  562. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +0 -1
  563. package/dist-esm/src/operations/privateEndpointConnections.js.map +0 -1
  564. package/dist-esm/src/operations/privateLinkResources.d.ts.map +0 -1
  565. package/dist-esm/src/operations/privateLinkResources.js.map +0 -1
  566. package/dist-esm/src/operations/queryKeys.d.ts.map +0 -1
  567. package/dist-esm/src/operations/queryKeys.js.map +0 -1
  568. package/dist-esm/src/operations/services.d.ts.map +0 -1
  569. package/dist-esm/src/operations/services.js.map +0 -1
  570. package/dist-esm/src/operations/sharedPrivateLinkResources.d.ts.map +0 -1
  571. package/dist-esm/src/operations/sharedPrivateLinkResources.js.map +0 -1
  572. package/dist-esm/src/operations/usages.d.ts.map +0 -1
  573. package/dist-esm/src/operations/usages.js.map +0 -1
  574. package/dist-esm/src/operationsInterfaces/adminKeys.d.ts.map +0 -1
  575. package/dist-esm/src/operationsInterfaces/adminKeys.js.map +0 -1
  576. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
  577. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  578. package/dist-esm/src/operationsInterfaces/index.js +0 -17
  579. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  580. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.d.ts.map +0 -1
  581. package/dist-esm/src/operationsInterfaces/networkSecurityPerimeterConfigurations.js.map +0 -1
  582. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  583. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +0 -1
  584. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +0 -1
  585. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +0 -1
  586. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +0 -1
  587. package/dist-esm/src/operationsInterfaces/queryKeys.d.ts.map +0 -1
  588. package/dist-esm/src/operationsInterfaces/queryKeys.js.map +0 -1
  589. package/dist-esm/src/operationsInterfaces/services.d.ts.map +0 -1
  590. package/dist-esm/src/operationsInterfaces/services.js.map +0 -1
  591. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.d.ts.map +0 -1
  592. package/dist-esm/src/operationsInterfaces/sharedPrivateLinkResources.js.map +0 -1
  593. package/dist-esm/src/operationsInterfaces/usages.js.map +0 -1
  594. package/dist-esm/src/pagingHelper.js.map +0 -1
  595. package/dist-esm/src/searchManagementClient.d.ts.map +0 -1
  596. package/dist-esm/src/searchManagementClient.js.map +0 -1
  597. package/dist-esm/test/search_examples.d.ts +0 -4
  598. package/dist-esm/test/search_examples.d.ts.map +0 -1
  599. package/dist-esm/test/search_examples.js +0 -204
  600. package/dist-esm/test/search_examples.js.map +0 -1
  601. package/src/lroImpl.ts +0 -42
  602. package/src/models/index.ts +0 -1446
  603. package/src/models/mappers.ts +0 -1969
  604. package/src/models/parameters.ts +0 -267
  605. package/src/operations/adminKeys.ts +0 -120
  606. package/src/operations/index.ts +0 -17
  607. package/src/operations/networkSecurityPerimeterConfigurations.ts +0 -400
  608. package/src/operations/operations.ts +0 -103
  609. package/src/operations/privateEndpointConnections.ts +0 -373
  610. package/src/operations/privateLinkResources.ts +0 -144
  611. package/src/operations/queryKeys.ts +0 -298
  612. package/src/operations/services.ts +0 -634
  613. package/src/operations/sharedPrivateLinkResources.ts +0 -544
  614. package/src/operations/usages.ts +0 -176
  615. package/src/operationsInterfaces/adminKeys.ts +0 -48
  616. package/src/operationsInterfaces/index.ts +0 -17
  617. package/src/operationsInterfaces/networkSecurityPerimeterConfigurations.ts +0 -90
  618. package/src/operationsInterfaces/operations.ts +0 -22
  619. package/src/operationsInterfaces/privateEndpointConnections.ts +0 -88
  620. package/src/operationsInterfaces/privateLinkResources.ts +0 -31
  621. package/src/operationsInterfaces/queryKeys.ts +0 -66
  622. package/src/operationsInterfaces/services.ts +0 -144
  623. package/src/operationsInterfaces/sharedPrivateLinkResources.ts +0 -131
  624. package/src/operationsInterfaces/usages.ts +0 -27
  625. package/src/pagingHelper.ts +0 -39
  626. package/src/searchManagementClient.ts +0 -226
  627. package/tsconfig.json +0 -33
  628. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  629. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  630. /package/{dist-esm/src → dist/browser}/operationsInterfaces/adminKeys.js +0 -0
  631. /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkSecurityPerimeterConfigurations.js +0 -0
  632. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  633. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateEndpointConnections.js +0 -0
  634. /package/{dist-esm/src → dist/browser}/operationsInterfaces/privateLinkResources.js +0 -0
  635. /package/{dist-esm/src → dist/browser}/operationsInterfaces/queryKeys.js +0 -0
  636. /package/{dist-esm/src → dist/browser}/operationsInterfaces/services.js +0 -0
  637. /package/{dist-esm/src → dist/browser}/operationsInterfaces/sharedPrivateLinkResources.js +0 -0
  638. /package/{dist-esm/src → dist/browser}/operationsInterfaces/usages.js +0 -0
  639. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ const tslib_1 = require("tslib");
11
+ tslib_1.__exportStar(require("./operations.js"), exports);
12
+ tslib_1.__exportStar(require("./adminKeys.js"), exports);
13
+ tslib_1.__exportStar(require("./queryKeys.js"), exports);
14
+ tslib_1.__exportStar(require("./services.js"), exports);
15
+ tslib_1.__exportStar(require("./privateLinkResources.js"), exports);
16
+ tslib_1.__exportStar(require("./privateEndpointConnections.js"), exports);
17
+ tslib_1.__exportStar(require("./sharedPrivateLinkResources.js"), exports);
18
+ tslib_1.__exportStar(require("./usages.js"), exports);
19
+ tslib_1.__exportStar(require("./networkSecurityPerimeterConfigurations.js"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,0DAAgC;AAChC,yDAA+B;AAC/B,yDAA+B;AAC/B,wDAA8B;AAC9B,oEAA0C;AAC1C,0EAAgD;AAChD,0EAAgD;AAChD,sDAA4B;AAC5B,sFAA4D","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./adminKeys.js\";\nexport * from \"./queryKeys.js\";\nexport * from \"./services.js\";\nexport * from \"./privateLinkResources.js\";\nexport * from \"./privateEndpointConnections.js\";\nexport * from \"./sharedPrivateLinkResources.js\";\nexport * from \"./usages.js\";\nexport * from \"./networkSecurityPerimeterConfigurations.js\";\n"]}
@@ -0,0 +1,79 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { NetworkSecurityPerimeterConfigurations } from "../operationsInterfaces/index.js";
3
+ import { SearchManagementClient } from "../searchManagementClient.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { NetworkSecurityPerimeterConfiguration, NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams, NetworkSecurityPerimeterConfigurationsGetOptionalParams, NetworkSecurityPerimeterConfigurationsGetResponse, NetworkSecurityPerimeterConfigurationsReconcileOptionalParams, NetworkSecurityPerimeterConfigurationsReconcileResponse } from "../models/index.js";
6
+ /** Class containing NetworkSecurityPerimeterConfigurations operations. */
7
+ export declare class NetworkSecurityPerimeterConfigurationsImpl implements NetworkSecurityPerimeterConfigurations {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: SearchManagementClient);
14
+ /**
15
+ * Gets a list of network security perimeter configurations for a search service.
16
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
17
+ * obtain this value from the Azure Resource Manager API or the portal.
18
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
19
+ * resource group.
20
+ * @param options The options parameters.
21
+ */
22
+ listByService(resourceGroupName: string, searchServiceName: string, options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration>;
23
+ private listByServicePagingPage;
24
+ private listByServicePagingAll;
25
+ /**
26
+ * Gets a list of network security perimeter configurations for a search service.
27
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
28
+ * obtain this value from the Azure Resource Manager API or the portal.
29
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
30
+ * resource group.
31
+ * @param options The options parameters.
32
+ */
33
+ private _listByService;
34
+ /**
35
+ * Gets a network security perimeter configuration.
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 associated with the specified
39
+ * resource group.
40
+ * @param nspConfigName The network security perimeter configuration name.
41
+ * @param options The options parameters.
42
+ */
43
+ get(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsGetResponse>;
44
+ /**
45
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
46
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
47
+ * service carries the latest configuration.
48
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
49
+ * obtain this value from the Azure Resource Manager API or the portal.
50
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
51
+ * resource group.
52
+ * @param nspConfigName The network security perimeter configuration name.
53
+ * @param options The options parameters.
54
+ */
55
+ beginReconcile(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<SimplePollerLike<OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>, NetworkSecurityPerimeterConfigurationsReconcileResponse>>;
56
+ /**
57
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
58
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
59
+ * service carries the latest configuration.
60
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
61
+ * obtain this value from the Azure Resource Manager API or the portal.
62
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
63
+ * resource group.
64
+ * @param nspConfigName The network security perimeter configuration name.
65
+ * @param options The options parameters.
66
+ */
67
+ beginReconcileAndWait(resourceGroupName: string, searchServiceName: string, nspConfigName: string, options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse>;
68
+ /**
69
+ * ListByServiceNext
70
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
71
+ * obtain this value from the Azure Resource Manager API or the portal.
72
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
73
+ * resource group.
74
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
75
+ * @param options The options parameters.
76
+ */
77
+ private _listByServiceNext;
78
+ }
79
+ //# sourceMappingURL=networkSecurityPerimeterConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,kCAAkC,CAAC;AAI1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kB;CAW3B"}
@@ -0,0 +1,278 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.NetworkSecurityPerimeterConfigurationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing NetworkSecurityPerimeterConfigurations operations. */
20
+ class NetworkSecurityPerimeterConfigurationsImpl {
21
+ client;
22
+ /**
23
+ * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.
24
+ * @param client Reference to the service client
25
+ */
26
+ constructor(client) {
27
+ this.client = client;
28
+ }
29
+ /**
30
+ * Gets a list of network security perimeter configurations for a search service.
31
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
32
+ * obtain this value from the Azure Resource Manager API or the portal.
33
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
34
+ * resource group.
35
+ * @param options The options parameters.
36
+ */
37
+ listByService(resourceGroupName, searchServiceName, options) {
38
+ const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);
39
+ return {
40
+ next() {
41
+ return iter.next();
42
+ },
43
+ [Symbol.asyncIterator]() {
44
+ return this;
45
+ },
46
+ byPage: (settings) => {
47
+ if (settings?.maxPageSize) {
48
+ throw new Error("maxPageSize is not supported by this operation.");
49
+ }
50
+ return this.listByServicePagingPage(resourceGroupName, searchServiceName, options, settings);
51
+ },
52
+ };
53
+ }
54
+ async *listByServicePagingPage(resourceGroupName, searchServiceName, options, settings) {
55
+ let result;
56
+ let continuationToken = settings?.continuationToken;
57
+ if (!continuationToken) {
58
+ result = await this._listByService(resourceGroupName, searchServiceName, options);
59
+ let page = result.value || [];
60
+ continuationToken = result.nextLink;
61
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
62
+ yield page;
63
+ }
64
+ while (continuationToken) {
65
+ result = await this._listByServiceNext(resourceGroupName, searchServiceName, continuationToken, options);
66
+ continuationToken = result.nextLink;
67
+ let page = result.value || [];
68
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
69
+ yield page;
70
+ }
71
+ }
72
+ async *listByServicePagingAll(resourceGroupName, searchServiceName, options) {
73
+ for await (const page of this.listByServicePagingPage(resourceGroupName, searchServiceName, options)) {
74
+ yield* page;
75
+ }
76
+ }
77
+ /**
78
+ * Gets a list of network security perimeter configurations for a search service.
79
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
80
+ * obtain this value from the Azure Resource Manager API or the portal.
81
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
82
+ * resource group.
83
+ * @param options The options parameters.
84
+ */
85
+ _listByService(resourceGroupName, searchServiceName, options) {
86
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, options }, listByServiceOperationSpec);
87
+ }
88
+ /**
89
+ * Gets a network security perimeter configuration.
90
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
91
+ * obtain this value from the Azure Resource Manager API or the portal.
92
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
93
+ * resource group.
94
+ * @param nspConfigName The network security perimeter configuration name.
95
+ * @param options The options parameters.
96
+ */
97
+ get(resourceGroupName, searchServiceName, nspConfigName, options) {
98
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nspConfigName, options }, getOperationSpec);
99
+ }
100
+ /**
101
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
102
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
103
+ * service carries the latest configuration.
104
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
105
+ * obtain this value from the Azure Resource Manager API or the portal.
106
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
107
+ * resource group.
108
+ * @param nspConfigName The network security perimeter configuration name.
109
+ * @param options The options parameters.
110
+ */
111
+ async beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options) {
112
+ const directSendOperation = async (args, spec) => {
113
+ return this.client.sendOperationRequest(args, spec);
114
+ };
115
+ const sendOperationFn = async (args, spec) => {
116
+ let currentRawResponse = undefined;
117
+ const providedCallback = args.options?.onResponse;
118
+ const callback = (rawResponse, flatResponse) => {
119
+ currentRawResponse = rawResponse;
120
+ providedCallback?.(rawResponse, flatResponse);
121
+ };
122
+ const updatedArgs = {
123
+ ...args,
124
+ options: {
125
+ ...args.options,
126
+ onResponse: callback,
127
+ },
128
+ };
129
+ const flatResponse = await directSendOperation(updatedArgs, spec);
130
+ return {
131
+ flatResponse,
132
+ rawResponse: {
133
+ statusCode: currentRawResponse.status,
134
+ body: currentRawResponse.parsedBody,
135
+ headers: currentRawResponse.headers.toJSON(),
136
+ },
137
+ };
138
+ };
139
+ const lro = (0, lroImpl_js_1.createLroSpec)({
140
+ sendOperationFn,
141
+ args: { resourceGroupName, searchServiceName, nspConfigName, options },
142
+ spec: reconcileOperationSpec,
143
+ });
144
+ const poller = await (0, core_lro_1.createHttpPoller)(lro, {
145
+ restoreFrom: options?.resumeFrom,
146
+ intervalInMs: options?.updateIntervalInMs,
147
+ resourceLocationConfig: "location",
148
+ });
149
+ await poller.poll();
150
+ return poller;
151
+ }
152
+ /**
153
+ * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This
154
+ * triggers a manual resync with network security perimeter configurations by ensuring the search
155
+ * service carries the latest configuration.
156
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
157
+ * obtain this value from the Azure Resource Manager API or the portal.
158
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
159
+ * resource group.
160
+ * @param nspConfigName The network security perimeter configuration name.
161
+ * @param options The options parameters.
162
+ */
163
+ async beginReconcileAndWait(resourceGroupName, searchServiceName, nspConfigName, options) {
164
+ const poller = await this.beginReconcile(resourceGroupName, searchServiceName, nspConfigName, options);
165
+ return poller.pollUntilDone();
166
+ }
167
+ /**
168
+ * ListByServiceNext
169
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
170
+ * obtain this value from the Azure Resource Manager API or the portal.
171
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
172
+ * resource group.
173
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
174
+ * @param options The options parameters.
175
+ */
176
+ _listByServiceNext(resourceGroupName, searchServiceName, nextLink, options) {
177
+ return this.client.sendOperationRequest({ resourceGroupName, searchServiceName, nextLink, options }, listByServiceNextOperationSpec);
178
+ }
179
+ }
180
+ exports.NetworkSecurityPerimeterConfigurationsImpl = NetworkSecurityPerimeterConfigurationsImpl;
181
+ // Operation Specifications
182
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
183
+ const listByServiceOperationSpec = {
184
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations",
185
+ httpMethod: "GET",
186
+ responses: {
187
+ 200: {
188
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
189
+ },
190
+ default: {
191
+ bodyMapper: Mappers.CloudError,
192
+ },
193
+ },
194
+ queryParameters: [Parameters.apiVersion],
195
+ urlParameters: [
196
+ Parameters.$host,
197
+ Parameters.resourceGroupName,
198
+ Parameters.searchServiceName,
199
+ Parameters.subscriptionId,
200
+ ],
201
+ headerParameters: [Parameters.accept],
202
+ serializer,
203
+ };
204
+ const getOperationSpec = {
205
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}",
206
+ httpMethod: "GET",
207
+ responses: {
208
+ 200: {
209
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,
210
+ },
211
+ default: {
212
+ bodyMapper: Mappers.CloudError,
213
+ },
214
+ },
215
+ queryParameters: [Parameters.apiVersion],
216
+ urlParameters: [
217
+ Parameters.$host,
218
+ Parameters.resourceGroupName,
219
+ Parameters.searchServiceName,
220
+ Parameters.subscriptionId,
221
+ Parameters.nspConfigName,
222
+ ],
223
+ headerParameters: [Parameters.accept],
224
+ serializer,
225
+ };
226
+ const reconcileOperationSpec = {
227
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile",
228
+ httpMethod: "POST",
229
+ responses: {
230
+ 200: {
231
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
232
+ },
233
+ 201: {
234
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
235
+ },
236
+ 202: {
237
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
238
+ },
239
+ 204: {
240
+ headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,
241
+ },
242
+ default: {
243
+ bodyMapper: Mappers.CloudError,
244
+ },
245
+ },
246
+ queryParameters: [Parameters.apiVersion],
247
+ urlParameters: [
248
+ Parameters.$host,
249
+ Parameters.resourceGroupName,
250
+ Parameters.searchServiceName,
251
+ Parameters.subscriptionId,
252
+ Parameters.nspConfigName,
253
+ ],
254
+ headerParameters: [Parameters.accept],
255
+ serializer,
256
+ };
257
+ const listByServiceNextOperationSpec = {
258
+ path: "{nextLink}",
259
+ httpMethod: "GET",
260
+ responses: {
261
+ 200: {
262
+ bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,
263
+ },
264
+ default: {
265
+ bodyMapper: Mappers.CloudError,
266
+ },
267
+ },
268
+ urlParameters: [
269
+ Parameters.$host,
270
+ Parameters.resourceGroupName,
271
+ Parameters.searchServiceName,
272
+ Parameters.subscriptionId,
273
+ Parameters.nextLink,
274
+ ],
275
+ headerParameters: [Parameters.accept],
276
+ serializer,
277
+ };
278
+ //# sourceMappingURL=networkSecurityPerimeterConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkSecurityPerimeterConfigurations.js","sourceRoot":"","sources":["../../../src/operations/networkSecurityPerimeterConfigurations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAAqF;AACrF,8CAA8C;AAa9C,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAa,0CAA0C;IAGpC,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,aAAa,CAClB,iBAAyB,EACzB,iBAAyB,EACzB,OAA2E;QAE3E,MAAM,IAAI,GAAG,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;QACxF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,uBAAuB,CACjC,iBAAiB,EACjB,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,uBAAuB,CACpC,iBAAyB,EACzB,iBAAyB,EACzB,OAA2E,EAC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,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+CAA+C;SACpE;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { NetworkSecurityPerimeterConfigurations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SearchManagementClient } from \"../searchManagementClient.js\";\nimport { SimplePollerLike, OperationState, createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n NetworkSecurityPerimeterConfiguration,\n NetworkSecurityPerimeterConfigurationsListByServiceNextOptionalParams,\n NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n NetworkSecurityPerimeterConfigurationsListByServiceResponse,\n NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n NetworkSecurityPerimeterConfigurationsGetResponse,\n NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n NetworkSecurityPerimeterConfigurationsListByServiceNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing NetworkSecurityPerimeterConfigurations operations. */\nexport class NetworkSecurityPerimeterConfigurationsImpl\n implements NetworkSecurityPerimeterConfigurations\n{\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class NetworkSecurityPerimeterConfigurations class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of network security perimeter configurations for a search service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n public listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n ): PagedAsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n const iter = this.listByServicePagingAll(resourceGroupName, searchServiceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServicePagingPage(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration[]> {\n let result: NetworkSecurityPerimeterConfigurationsListByServiceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByService(resourceGroupName, searchServiceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServiceNext(\n resourceGroupName,\n searchServiceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServicePagingAll(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n ): AsyncIterableIterator<NetworkSecurityPerimeterConfiguration> {\n for await (const page of this.listByServicePagingPage(\n resourceGroupName,\n searchServiceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of network security perimeter configurations for a search service.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param options The options parameters.\n */\n private _listByService(\n resourceGroupName: string,\n searchServiceName: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsListByServiceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, options },\n listByServiceOperationSpec,\n );\n }\n\n /**\n * Gets a network security perimeter configuration.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsGetOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, nspConfigName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n async beginReconcile(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>,\n NetworkSecurityPerimeterConfigurationsReconcileResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, searchServiceName, nspConfigName, options },\n spec: reconcileOperationSpec,\n });\n const poller = await createHttpPoller<\n NetworkSecurityPerimeterConfigurationsReconcileResponse,\n OperationState<NetworkSecurityPerimeterConfigurationsReconcileResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Reconcile network security perimeter configuration for the Azure AI Search resource provider. This\n * triggers a manual resync with network security perimeter configurations by ensuring the search\n * service carries the latest configuration.\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param nspConfigName The network security perimeter configuration name.\n * @param options The options parameters.\n */\n async beginReconcileAndWait(\n resourceGroupName: string,\n searchServiceName: string,\n nspConfigName: string,\n options?: NetworkSecurityPerimeterConfigurationsReconcileOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsReconcileResponse> {\n const poller = await this.beginReconcile(\n resourceGroupName,\n searchServiceName,\n nspConfigName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByServiceNext\n * @param resourceGroupName The name of the resource group within the current subscription. You can\n * obtain this value from the Azure Resource Manager API or the portal.\n * @param searchServiceName The name of the Azure AI Search service associated with the specified\n * resource group.\n * @param nextLink The nextLink from the previous successful call to the ListByService method.\n * @param options The options parameters.\n */\n private _listByServiceNext(\n resourceGroupName: string,\n searchServiceName: string,\n nextLink: string,\n options?: NetworkSecurityPerimeterConfigurationsListByServiceNextOptionalParams,\n ): Promise<NetworkSecurityPerimeterConfigurationsListByServiceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, searchServiceName, nextLink, options },\n listByServiceNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServiceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfiguration,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nspConfigName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst reconcileOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,\n },\n 201: {\n headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,\n },\n 202: {\n headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,\n },\n 204: {\n headersMapper: Mappers.NetworkSecurityPerimeterConfigurationsReconcileHeaders,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nspConfigName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByServiceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkSecurityPerimeterConfigurationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.searchServiceName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,26 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { SearchManagementClient } from "../searchManagementClient.js";
4
+ import { Operation, OperationsListOptionalParams } from "../models/index.js";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SearchManagementClient);
13
+ /**
14
+ * Lists all of the available REST API operations of the Microsoft.Search provider.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists all of the available REST API operations of the Microsoft.Search provider.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ }
26
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EACL,SAAS,EACT,4BAA4B,EAE7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAEhD;;;OAGG;gBACS,MAAM,EAAE,sBAAsB;IAI1C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC;YAkB3E,cAAc;YASd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;CAGd"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.OperationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Class containing Operations operations. */
17
+ class OperationsImpl {
18
+ client;
19
+ /**
20
+ * Initialize a new instance of the class Operations class.
21
+ * @param client Reference to the service client
22
+ */
23
+ constructor(client) {
24
+ this.client = client;
25
+ }
26
+ /**
27
+ * Lists all of the available REST API operations of the Microsoft.Search provider.
28
+ * @param options The options parameters.
29
+ */
30
+ list(options) {
31
+ const iter = this.listPagingAll(options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings?.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listPagingPage(options, settings);
44
+ },
45
+ };
46
+ }
47
+ async *listPagingPage(options, _settings) {
48
+ let result;
49
+ result = await this._list(options);
50
+ yield result.value || [];
51
+ }
52
+ async *listPagingAll(options) {
53
+ for await (const page of this.listPagingPage(options)) {
54
+ yield* page;
55
+ }
56
+ }
57
+ /**
58
+ * Lists all of the available REST API operations of the Microsoft.Search provider.
59
+ * @param options The options parameters.
60
+ */
61
+ _list(options) {
62
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
63
+ }
64
+ }
65
+ exports.OperationsImpl = OperationsImpl;
66
+ // Operation Specifications
67
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
68
+ const listOperationSpec = {
69
+ path: "/providers/Microsoft.Search/operations",
70
+ httpMethod: "GET",
71
+ responses: {
72
+ 200: {
73
+ bodyMapper: Mappers.OperationListResult,
74
+ },
75
+ default: {
76
+ bodyMapper: Mappers.CloudError,
77
+ },
78
+ },
79
+ queryParameters: [Parameters.apiVersion],
80
+ urlParameters: [Parameters.$host],
81
+ headerParameters: [Parameters.accept],
82
+ serializer,
83
+ };
84
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAAyB;IAEhD;;;OAGG;IACH,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAsC;QAChD,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;g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generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SearchManagementClient } from \"../searchManagementClient.js\";\nimport {\n Operation,\n OperationsListOptionalParams,\n OperationsListResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: SearchManagementClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: SearchManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all of the available REST API operations of the Microsoft.Search provider.\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n result = await this._list(options);\n yield result.value || [];\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all of the available REST API operations of the Microsoft.Search provider.\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Search/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,79 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PrivateEndpointConnections } from "../operationsInterfaces/index.js";
3
+ import { SearchManagementClient } from "../searchManagementClient.js";
4
+ import { PrivateEndpointConnection, PrivateEndpointConnectionsListByServiceOptionalParams, PrivateEndpointConnectionsUpdateOptionalParams, PrivateEndpointConnectionsUpdateResponse, PrivateEndpointConnectionsGetOptionalParams, PrivateEndpointConnectionsGetResponse, PrivateEndpointConnectionsDeleteOptionalParams, PrivateEndpointConnectionsDeleteResponse } from "../models/index.js";
5
+ /** Class containing PrivateEndpointConnections operations. */
6
+ export declare class PrivateEndpointConnectionsImpl implements PrivateEndpointConnections {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class PrivateEndpointConnections class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: SearchManagementClient);
13
+ /**
14
+ * Gets a list of all private endpoint connections in the given service.
15
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
16
+ * obtain this value from the Azure Resource Manager API or the portal.
17
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
18
+ * resource group.
19
+ * @param options The options parameters.
20
+ */
21
+ listByService(resourceGroupName: string, searchServiceName: string, options?: PrivateEndpointConnectionsListByServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
22
+ private listByServicePagingPage;
23
+ private listByServicePagingAll;
24
+ /**
25
+ * Updates a private endpoint connection to the search service in the given resource group.
26
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
27
+ * obtain this value from the Azure Resource Manager API or the portal.
28
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
29
+ * resource group.
30
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
31
+ * Search service with the specified resource group.
32
+ * @param privateEndpointConnection The definition of the private endpoint connection to update.
33
+ * @param options The options parameters.
34
+ */
35
+ update(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, privateEndpointConnection: PrivateEndpointConnection, options?: PrivateEndpointConnectionsUpdateOptionalParams): Promise<PrivateEndpointConnectionsUpdateResponse>;
36
+ /**
37
+ * Gets the details of the private endpoint connection to the search service in the given resource
38
+ * group.
39
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
40
+ * obtain this value from the Azure Resource Manager API or the portal.
41
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
42
+ * resource group.
43
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
44
+ * Search service with the specified resource group.
45
+ * @param options The options parameters.
46
+ */
47
+ get(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
48
+ /**
49
+ * Disconnects the private endpoint connection and deletes it from the search service.
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 associated with the specified
53
+ * resource group.
54
+ * @param privateEndpointConnectionName The name of the private endpoint connection to the Azure AI
55
+ * Search service with the specified resource group.
56
+ * @param options The options parameters.
57
+ */
58
+ delete(resourceGroupName: string, searchServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PrivateEndpointConnectionsDeleteResponse>;
59
+ /**
60
+ * Gets a list of all private endpoint connections in the given service.
61
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
62
+ * obtain this value from the Azure Resource Manager API or the portal.
63
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
64
+ * resource group.
65
+ * @param options The options parameters.
66
+ */
67
+ private _listByService;
68
+ /**
69
+ * ListByServiceNext
70
+ * @param resourceGroupName The name of the resource group within the current subscription. You can
71
+ * obtain this value from the Azure Resource Manager API or the portal.
72
+ * @param searchServiceName The name of the Azure AI Search service associated with the specified
73
+ * resource group.
74
+ * @param nextLink The nextLink from the previous successful call to the ListByService method.
75
+ * @param options The options parameters.
76
+ */
77
+ private _listByServiceNext;
78
+ }
79
+ //# sourceMappingURL=privateEndpointConnections.d.ts.map