@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
@@ -1,144 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
- import {
12
- SearchService,
13
- ServicesListByResourceGroupOptionalParams,
14
- ServicesListBySubscriptionOptionalParams,
15
- ServicesCreateOrUpdateOptionalParams,
16
- ServicesCreateOrUpdateResponse,
17
- SearchServiceUpdate,
18
- ServicesUpdateOptionalParams,
19
- ServicesUpdateResponse,
20
- ServicesGetOptionalParams,
21
- ServicesGetResponse,
22
- ServicesDeleteOptionalParams,
23
- ServicesCheckNameAvailabilityOptionalParams,
24
- ServicesCheckNameAvailabilityResponse,
25
- } from "../models";
26
-
27
- /// <reference lib="esnext.asynciterable" />
28
- /** Interface representing a Services. */
29
- export interface Services {
30
- /**
31
- * Gets a list of all Search services in the given resource group.
32
- * @param resourceGroupName The name of the resource group within the current subscription. You can
33
- * obtain this value from the Azure Resource Manager API or the portal.
34
- * @param options The options parameters.
35
- */
36
- listByResourceGroup(
37
- resourceGroupName: string,
38
- options?: ServicesListByResourceGroupOptionalParams,
39
- ): PagedAsyncIterableIterator<SearchService>;
40
- /**
41
- * Gets a list of all Search services in the given subscription.
42
- * @param options The options parameters.
43
- */
44
- listBySubscription(
45
- options?: ServicesListBySubscriptionOptionalParams,
46
- ): PagedAsyncIterableIterator<SearchService>;
47
- /**
48
- * Creates or updates a search service in the given resource group. If the search service already
49
- * exists, all properties will be updated with the given values.
50
- * @param resourceGroupName The name of the resource group within the current subscription. You can
51
- * obtain this value from the Azure Resource Manager API or the portal.
52
- * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
53
- * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
54
- * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
55
- * length. Search service names must be globally unique since they are part of the service URI
56
- * (https://<name>.search.windows.net). You cannot change the service name after the service is
57
- * created.
58
- * @param service The definition of the search service to create or update.
59
- * @param options The options parameters.
60
- */
61
- beginCreateOrUpdate(
62
- resourceGroupName: string,
63
- searchServiceName: string,
64
- service: SearchService,
65
- options?: ServicesCreateOrUpdateOptionalParams,
66
- ): Promise<
67
- SimplePollerLike<
68
- OperationState<ServicesCreateOrUpdateResponse>,
69
- ServicesCreateOrUpdateResponse
70
- >
71
- >;
72
- /**
73
- * Creates or updates a search service in the given resource group. If the search service already
74
- * exists, all properties will be updated with the given values.
75
- * @param resourceGroupName The name of the resource group within the current subscription. You can
76
- * obtain this value from the Azure Resource Manager API or the portal.
77
- * @param searchServiceName The name of the Azure AI Search service to create or update. Search service
78
- * names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or
79
- * last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in
80
- * length. Search service names must be globally unique since they are part of the service URI
81
- * (https://<name>.search.windows.net). You cannot change the service name after the service is
82
- * created.
83
- * @param service The definition of the search service to create or update.
84
- * @param options The options parameters.
85
- */
86
- beginCreateOrUpdateAndWait(
87
- resourceGroupName: string,
88
- searchServiceName: string,
89
- service: SearchService,
90
- options?: ServicesCreateOrUpdateOptionalParams,
91
- ): Promise<ServicesCreateOrUpdateResponse>;
92
- /**
93
- * Updates an existing search service in the given resource group.
94
- * @param resourceGroupName The name of the resource group within the current subscription. You can
95
- * obtain this value from the Azure Resource Manager API or the portal.
96
- * @param searchServiceName The name of the Azure AI Search service to update.
97
- * @param service The definition of the search service to update.
98
- * @param options The options parameters.
99
- */
100
- update(
101
- resourceGroupName: string,
102
- searchServiceName: string,
103
- service: SearchServiceUpdate,
104
- options?: ServicesUpdateOptionalParams,
105
- ): Promise<ServicesUpdateResponse>;
106
- /**
107
- * Gets the search service with the given name in the given resource group.
108
- * @param resourceGroupName The name of the resource group within the current subscription. You can
109
- * obtain this value from the Azure Resource Manager API or the portal.
110
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
111
- * resource group.
112
- * @param options The options parameters.
113
- */
114
- get(
115
- resourceGroupName: string,
116
- searchServiceName: string,
117
- options?: ServicesGetOptionalParams,
118
- ): Promise<ServicesGetResponse>;
119
- /**
120
- * Deletes a search service in the given resource group, along with its associated resources.
121
- * @param resourceGroupName The name of the resource group within the current subscription. You can
122
- * obtain this value from the Azure Resource Manager API or the portal.
123
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
124
- * resource group.
125
- * @param options The options parameters.
126
- */
127
- delete(
128
- resourceGroupName: string,
129
- searchServiceName: string,
130
- options?: ServicesDeleteOptionalParams,
131
- ): Promise<void>;
132
- /**
133
- * Checks whether or not the given search service name is available for use. Search service names must
134
- * be globally unique since they are part of the service URI (https://<name>.search.windows.net).
135
- * @param name The search service name to validate. Search service names must only contain lowercase
136
- * letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain
137
- * consecutive dashes, and must be between 2 and 60 characters in length.
138
- * @param options The options parameters.
139
- */
140
- checkNameAvailability(
141
- name: string,
142
- options?: ServicesCheckNameAvailabilityOptionalParams,
143
- ): Promise<ServicesCheckNameAvailabilityResponse>;
144
- }
@@ -1,131 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import { SimplePollerLike, OperationState } from "@azure/core-lro";
11
- import {
12
- SharedPrivateLinkResource,
13
- SharedPrivateLinkResourcesListByServiceOptionalParams,
14
- SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,
15
- SharedPrivateLinkResourcesCreateOrUpdateResponse,
16
- SharedPrivateLinkResourcesGetOptionalParams,
17
- SharedPrivateLinkResourcesGetResponse,
18
- SharedPrivateLinkResourcesDeleteOptionalParams,
19
- } from "../models";
20
-
21
- /// <reference lib="esnext.asynciterable" />
22
- /** Interface representing a SharedPrivateLinkResources. */
23
- export interface SharedPrivateLinkResources {
24
- /**
25
- * Gets a list of all shared private link resources managed by the given service.
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 options The options parameters.
31
- */
32
- listByService(
33
- resourceGroupName: string,
34
- searchServiceName: string,
35
- options?: SharedPrivateLinkResourcesListByServiceOptionalParams,
36
- ): PagedAsyncIterableIterator<SharedPrivateLinkResource>;
37
- /**
38
- * Initiates the creation or update of a shared private link resource managed by the search service in
39
- * the given resource group.
40
- * @param resourceGroupName The name of the resource group within the current subscription. You can
41
- * obtain this value from the Azure Resource Manager API or the portal.
42
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
43
- * resource group.
44
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
45
- * Azure AI Search service within the specified resource group.
46
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
47
- * update.
48
- * @param options The options parameters.
49
- */
50
- beginCreateOrUpdate(
51
- resourceGroupName: string,
52
- searchServiceName: string,
53
- sharedPrivateLinkResourceName: string,
54
- sharedPrivateLinkResource: SharedPrivateLinkResource,
55
- options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,
56
- ): Promise<
57
- SimplePollerLike<
58
- OperationState<SharedPrivateLinkResourcesCreateOrUpdateResponse>,
59
- SharedPrivateLinkResourcesCreateOrUpdateResponse
60
- >
61
- >;
62
- /**
63
- * Initiates the creation or update of a shared private link resource managed by the search service in
64
- * the given resource group.
65
- * @param resourceGroupName The name of the resource group within the current subscription. You can
66
- * obtain this value from the Azure Resource Manager API or the portal.
67
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
68
- * resource group.
69
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
70
- * Azure AI Search service within the specified resource group.
71
- * @param sharedPrivateLinkResource The definition of the shared private link resource to create or
72
- * update.
73
- * @param options The options parameters.
74
- */
75
- beginCreateOrUpdateAndWait(
76
- resourceGroupName: string,
77
- searchServiceName: string,
78
- sharedPrivateLinkResourceName: string,
79
- sharedPrivateLinkResource: SharedPrivateLinkResource,
80
- options?: SharedPrivateLinkResourcesCreateOrUpdateOptionalParams,
81
- ): Promise<SharedPrivateLinkResourcesCreateOrUpdateResponse>;
82
- /**
83
- * Gets the details of the shared private link resource managed by the search service in the given
84
- * resource group.
85
- * @param resourceGroupName The name of the resource group within the current subscription. You can
86
- * obtain this value from the Azure Resource Manager API or the portal.
87
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
88
- * resource group.
89
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
90
- * Azure AI Search service within the specified resource group.
91
- * @param options The options parameters.
92
- */
93
- get(
94
- resourceGroupName: string,
95
- searchServiceName: string,
96
- sharedPrivateLinkResourceName: string,
97
- options?: SharedPrivateLinkResourcesGetOptionalParams,
98
- ): Promise<SharedPrivateLinkResourcesGetResponse>;
99
- /**
100
- * Initiates the deletion of the shared private link resource from the search service.
101
- * @param resourceGroupName The name of the resource group within the current subscription. You can
102
- * obtain this value from the Azure Resource Manager API or the portal.
103
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
104
- * resource group.
105
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
106
- * Azure AI Search service within the specified resource group.
107
- * @param options The options parameters.
108
- */
109
- beginDelete(
110
- resourceGroupName: string,
111
- searchServiceName: string,
112
- sharedPrivateLinkResourceName: string,
113
- options?: SharedPrivateLinkResourcesDeleteOptionalParams,
114
- ): Promise<SimplePollerLike<OperationState<void>, void>>;
115
- /**
116
- * Initiates the deletion of the shared private link resource from the search service.
117
- * @param resourceGroupName The name of the resource group within the current subscription. You can
118
- * obtain this value from the Azure Resource Manager API or the portal.
119
- * @param searchServiceName The name of the Azure AI Search service associated with the specified
120
- * resource group.
121
- * @param sharedPrivateLinkResourceName The name of the shared private link resource managed by the
122
- * Azure AI Search service within the specified resource group.
123
- * @param options The options parameters.
124
- */
125
- beginDeleteAndWait(
126
- resourceGroupName: string,
127
- searchServiceName: string,
128
- sharedPrivateLinkResourceName: string,
129
- options?: SharedPrivateLinkResourcesDeleteOptionalParams,
130
- ): Promise<void>;
131
- }
@@ -1,27 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
- import {
11
- QuotaUsageResult,
12
- UsagesListBySubscriptionOptionalParams,
13
- } from "../models";
14
-
15
- /// <reference lib="esnext.asynciterable" />
16
- /** Interface representing a Usages. */
17
- export interface Usages {
18
- /**
19
- * Get a list of all Azure AI Search quota usages across the subscription.
20
- * @param location The unique location name for a Microsoft Azure geographic region.
21
- * @param options The options parameters.
22
- */
23
- listBySubscription(
24
- location: string,
25
- options?: UsagesListBySubscriptionOptionalParams,
26
- ): PagedAsyncIterableIterator<QuotaUsageResult>;
27
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export interface PageInfo {
10
- continuationToken?: string;
11
- }
12
-
13
- const pageMap = new WeakMap<object, PageInfo>();
14
-
15
- /**
16
- * Given the last `.value` produced by the `byPage` iterator,
17
- * returns a continuation token that can be used to begin paging from
18
- * that point later.
19
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
20
- * @returns The continuation token that can be passed into byPage() during future calls.
21
- */
22
- export function getContinuationToken(page: unknown): string | undefined {
23
- if (typeof page !== "object" || page === null) {
24
- return undefined;
25
- }
26
- return pageMap.get(page)?.continuationToken;
27
- }
28
-
29
- export function setContinuationToken(
30
- page: unknown,
31
- continuationToken: string | undefined,
32
- ): void {
33
- if (typeof page !== "object" || page === null || !continuationToken) {
34
- return;
35
- }
36
- const pageInfo = pageMap.get(page) ?? {};
37
- pageInfo.continuationToken = continuationToken;
38
- pageMap.set(page, pageInfo);
39
- }
@@ -1,226 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import * as coreClient from "@azure/core-client";
10
- import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import {
12
- PipelineRequest,
13
- PipelineResponse,
14
- SendRequest,
15
- } from "@azure/core-rest-pipeline";
16
- import * as coreAuth from "@azure/core-auth";
17
- import {
18
- OperationsImpl,
19
- AdminKeysImpl,
20
- QueryKeysImpl,
21
- ServicesImpl,
22
- PrivateLinkResourcesImpl,
23
- PrivateEndpointConnectionsImpl,
24
- SharedPrivateLinkResourcesImpl,
25
- UsagesImpl,
26
- NetworkSecurityPerimeterConfigurationsImpl,
27
- } from "./operations";
28
- import {
29
- Operations,
30
- AdminKeys,
31
- QueryKeys,
32
- Services,
33
- PrivateLinkResources,
34
- PrivateEndpointConnections,
35
- SharedPrivateLinkResources,
36
- Usages,
37
- NetworkSecurityPerimeterConfigurations,
38
- } from "./operationsInterfaces";
39
- import * as Parameters from "./models/parameters";
40
- import * as Mappers from "./models/mappers";
41
- import {
42
- SearchManagementClientOptionalParams,
43
- UsageBySubscriptionSkuOptionalParams,
44
- UsageBySubscriptionSkuResponse,
45
- } from "./models";
46
-
47
- export class SearchManagementClient extends coreClient.ServiceClient {
48
- $host: string;
49
- apiVersion: string;
50
- subscriptionId: string;
51
-
52
- /**
53
- * Initializes a new instance of the SearchManagementClient class.
54
- * @param credentials Subscription credentials which uniquely identify client subscription.
55
- * @param subscriptionId The unique identifier for a Microsoft Azure subscription. You can obtain this
56
- * value from the Azure Resource Manager API or the portal.
57
- * @param options The parameter options
58
- */
59
- constructor(
60
- credentials: coreAuth.TokenCredential,
61
- subscriptionId: string,
62
- options?: SearchManagementClientOptionalParams,
63
- ) {
64
- if (credentials === undefined) {
65
- throw new Error("'credentials' cannot be null");
66
- }
67
- if (subscriptionId === undefined) {
68
- throw new Error("'subscriptionId' cannot be null");
69
- }
70
-
71
- // Initializing default values for options
72
- if (!options) {
73
- options = {};
74
- }
75
- const defaults: SearchManagementClientOptionalParams = {
76
- requestContentType: "application/json; charset=utf-8",
77
- credential: credentials,
78
- };
79
-
80
- const packageDetails = `azsdk-js-arm-search/3.3.0-beta.1`;
81
- const userAgentPrefix =
82
- options.userAgentOptions && options.userAgentOptions.userAgentPrefix
83
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
84
- : `${packageDetails}`;
85
-
86
- const optionsWithDefaults = {
87
- ...defaults,
88
- ...options,
89
- userAgentOptions: {
90
- userAgentPrefix,
91
- },
92
- endpoint:
93
- options.endpoint ?? options.baseUri ?? "https://management.azure.com",
94
- };
95
- super(optionsWithDefaults);
96
-
97
- let bearerTokenAuthenticationPolicyFound: boolean = false;
98
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
99
- const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =
100
- options.pipeline.getOrderedPolicies();
101
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
102
- (pipelinePolicy) =>
103
- pipelinePolicy.name ===
104
- coreRestPipeline.bearerTokenAuthenticationPolicyName,
105
- );
106
- }
107
- if (
108
- !options ||
109
- !options.pipeline ||
110
- options.pipeline.getOrderedPolicies().length == 0 ||
111
- !bearerTokenAuthenticationPolicyFound
112
- ) {
113
- this.pipeline.removePolicy({
114
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
115
- });
116
- this.pipeline.addPolicy(
117
- coreRestPipeline.bearerTokenAuthenticationPolicy({
118
- credential: credentials,
119
- scopes:
120
- optionsWithDefaults.credentialScopes ??
121
- `${optionsWithDefaults.endpoint}/.default`,
122
- challengeCallbacks: {
123
- authorizeRequestOnChallenge:
124
- coreClient.authorizeRequestOnClaimChallenge,
125
- },
126
- }),
127
- );
128
- }
129
- // Parameter assignments
130
- this.subscriptionId = subscriptionId;
131
-
132
- // Assigning values to Constant parameters
133
- this.$host = options.$host || "https://management.azure.com";
134
- this.apiVersion = options.apiVersion || "2024-03-01-preview";
135
- this.operations = new OperationsImpl(this);
136
- this.adminKeys = new AdminKeysImpl(this);
137
- this.queryKeys = new QueryKeysImpl(this);
138
- this.services = new ServicesImpl(this);
139
- this.privateLinkResources = new PrivateLinkResourcesImpl(this);
140
- this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);
141
- this.sharedPrivateLinkResources = new SharedPrivateLinkResourcesImpl(this);
142
- this.usages = new UsagesImpl(this);
143
- this.networkSecurityPerimeterConfigurations =
144
- new NetworkSecurityPerimeterConfigurationsImpl(this);
145
- this.addCustomApiVersionPolicy(options.apiVersion);
146
- }
147
-
148
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
149
- private addCustomApiVersionPolicy(apiVersion?: string) {
150
- if (!apiVersion) {
151
- return;
152
- }
153
- const apiVersionPolicy = {
154
- name: "CustomApiVersionPolicy",
155
- async sendRequest(
156
- request: PipelineRequest,
157
- next: SendRequest,
158
- ): Promise<PipelineResponse> {
159
- const param = request.url.split("?");
160
- if (param.length > 1) {
161
- const newParams = param[1].split("&").map((item) => {
162
- if (item.indexOf("api-version") > -1) {
163
- return "api-version=" + apiVersion;
164
- } else {
165
- return item;
166
- }
167
- });
168
- request.url = param[0] + "?" + newParams.join("&");
169
- }
170
- return next(request);
171
- },
172
- };
173
- this.pipeline.addPolicy(apiVersionPolicy);
174
- }
175
-
176
- /**
177
- * Gets the quota usage for a search sku in the given subscription.
178
- * @param location The unique location name for a Microsoft Azure geographic region.
179
- * @param skuName The unique SKU name that identifies a billable tier.
180
- * @param options The options parameters.
181
- */
182
- usageBySubscriptionSku(
183
- location: string,
184
- skuName: string,
185
- options?: UsageBySubscriptionSkuOptionalParams,
186
- ): Promise<UsageBySubscriptionSkuResponse> {
187
- return this.sendOperationRequest(
188
- { location, skuName, options },
189
- usageBySubscriptionSkuOperationSpec,
190
- );
191
- }
192
-
193
- operations: Operations;
194
- adminKeys: AdminKeys;
195
- queryKeys: QueryKeys;
196
- services: Services;
197
- privateLinkResources: PrivateLinkResources;
198
- privateEndpointConnections: PrivateEndpointConnections;
199
- sharedPrivateLinkResources: SharedPrivateLinkResources;
200
- usages: Usages;
201
- networkSecurityPerimeterConfigurations: NetworkSecurityPerimeterConfigurations;
202
- }
203
- // Operation Specifications
204
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
205
-
206
- const usageBySubscriptionSkuOperationSpec: coreClient.OperationSpec = {
207
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Search/locations/{location}/usages/{skuName}",
208
- httpMethod: "GET",
209
- responses: {
210
- 200: {
211
- bodyMapper: Mappers.QuotaUsageResult,
212
- },
213
- default: {
214
- bodyMapper: Mappers.CloudError,
215
- },
216
- },
217
- queryParameters: [Parameters.apiVersion],
218
- urlParameters: [
219
- Parameters.$host,
220
- Parameters.subscriptionId,
221
- Parameters.location,
222
- Parameters.skuName,
223
- ],
224
- headerParameters: [Parameters.accept, Parameters.clientRequestId],
225
- serializer,
226
- };
package/tsconfig.json DELETED
@@ -1,33 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "module": "es6",
4
- "moduleResolution": "node",
5
- "strict": true,
6
- "target": "es6",
7
- "sourceMap": true,
8
- "declarationMap": true,
9
- "esModuleInterop": true,
10
- "allowSyntheticDefaultImports": true,
11
- "forceConsistentCasingInFileNames": true,
12
- "lib": [
13
- "es6",
14
- "dom"
15
- ],
16
- "declaration": true,
17
- "outDir": "./dist-esm",
18
- "importHelpers": true,
19
- "paths": {
20
- "@azure/arm-search": [
21
- "./src/index"
22
- ]
23
- }
24
- },
25
- "include": [
26
- "./src/**/*.ts",
27
- "./test/**/*.ts",
28
- "samples-dev/**/*.ts"
29
- ],
30
- "exclude": [
31
- "node_modules"
32
- ]
33
- }
File without changes