@azure/arm-networkfunction 2.0.1-alpha.20250214.1 → 2.0.1-alpha.20250218.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/README.md +21 -14
  2. package/{dist-esm/src → dist/browser}/azureTrafficCollectorClient.d.ts +2 -2
  3. package/dist/browser/azureTrafficCollectorClient.d.ts.map +1 -0
  4. package/{dist-esm/src → dist/browser}/azureTrafficCollectorClient.js +15 -18
  5. package/dist/browser/azureTrafficCollectorClient.js.map +1 -0
  6. package/dist/browser/index.d.ts +5 -0
  7. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  8. package/{dist-esm/src → dist/browser}/index.js +4 -4
  9. package/dist/browser/index.js.map +1 -0
  10. package/dist/browser/lroImpl.js +25 -0
  11. package/dist/browser/lroImpl.js.map +1 -0
  12. package/dist/browser/models/index.js.map +1 -0
  13. package/dist/browser/models/mappers.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  15. package/dist/browser/models/parameters.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectors.d.ts +3 -3
  17. package/dist/browser/operations/azureTrafficCollectors.d.ts.map +1 -0
  18. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectors.js +69 -78
  19. package/dist/browser/operations/azureTrafficCollectors.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsByResourceGroup.d.ts +3 -3
  21. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsByResourceGroup.js +3 -3
  23. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsBySubscription.d.ts +3 -3
  25. package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/azureTrafficCollectorsBySubscription.js +3 -3
  27. package/dist/browser/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/collectorPolicies.d.ts +3 -3
  29. package/dist/browser/operations/collectorPolicies.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/collectorPolicies.js +82 -90
  31. package/dist/browser/operations/collectorPolicies.js.map +1 -0
  32. package/dist/browser/operations/index.d.ts +6 -0
  33. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  34. package/dist/browser/operations/index.js +13 -0
  35. package/dist/browser/operations/index.js.map +1 -0
  36. package/{dist-esm/src → dist/browser}/operations/networkFunction.d.ts +3 -3
  37. package/dist/browser/operations/networkFunction.d.ts.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operations/networkFunction.js +2 -2
  39. package/dist/browser/operations/networkFunction.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectors.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +1 -1
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -1
  45. package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +1 -1
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -1
  48. package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operationsInterfaces/collectorPolicies.d.ts +1 -1
  50. package/dist/browser/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
  51. package/dist/browser/operationsInterfaces/collectorPolicies.js.map +1 -0
  52. package/dist/browser/operationsInterfaces/index.d.ts +6 -0
  53. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  54. package/dist/browser/operationsInterfaces/index.js +13 -0
  55. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  56. package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.d.ts +1 -1
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.d.ts.map +1 -1
  58. package/dist/browser/operationsInterfaces/networkFunction.js.map +1 -0
  59. package/dist/browser/package.json +3 -0
  60. package/dist/browser/pagingHelper.js.map +1 -0
  61. package/dist/commonjs/azureTrafficCollectorClient.d.ts +24 -0
  62. package/dist/commonjs/azureTrafficCollectorClient.d.ts.map +1 -0
  63. package/dist/commonjs/azureTrafficCollectorClient.js +106 -0
  64. package/dist/commonjs/azureTrafficCollectorClient.js.map +1 -0
  65. package/dist/commonjs/index.d.ts +5 -0
  66. package/dist/commonjs/index.d.ts.map +1 -0
  67. package/dist/commonjs/index.js +19 -0
  68. package/dist/commonjs/index.js.map +1 -0
  69. package/dist/commonjs/lroImpl.d.ts +16 -0
  70. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  71. package/dist/commonjs/lroImpl.js +29 -0
  72. package/dist/commonjs/lroImpl.js.map +1 -0
  73. package/dist/commonjs/models/index.d.ts +433 -0
  74. package/dist/commonjs/models/index.d.ts.map +1 -0
  75. package/dist/commonjs/models/index.js +69 -0
  76. package/dist/commonjs/models/index.js.map +1 -0
  77. package/dist/commonjs/models/mappers.d.ts +21 -0
  78. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  79. package/dist/commonjs/models/mappers.js +523 -0
  80. package/dist/commonjs/models/mappers.js.map +1 -0
  81. package/dist/commonjs/models/parameters.d.ts +19 -0
  82. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  83. package/dist/commonjs/models/parameters.js +139 -0
  84. package/dist/commonjs/models/parameters.js.map +1 -0
  85. package/dist/commonjs/operations/azureTrafficCollectors.d.ts +59 -0
  86. package/dist/commonjs/operations/azureTrafficCollectors.d.ts.map +1 -0
  87. package/dist/commonjs/operations/azureTrafficCollectors.js +252 -0
  88. package/dist/commonjs/operations/azureTrafficCollectors.js.map +1 -0
  89. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
  90. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  91. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +150 -0
  92. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  93. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
  94. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  95. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +142 -0
  96. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
  97. package/dist/commonjs/operations/collectorPolicies.d.ts +90 -0
  98. package/dist/commonjs/operations/collectorPolicies.d.ts.map +1 -0
  99. package/dist/commonjs/operations/collectorPolicies.js +412 -0
  100. package/dist/commonjs/operations/collectorPolicies.js.map +1 -0
  101. package/dist/commonjs/operations/index.d.ts +6 -0
  102. package/dist/commonjs/operations/index.d.ts.map +1 -0
  103. package/dist/commonjs/operations/index.js +16 -0
  104. package/dist/commonjs/operations/index.js.map +1 -0
  105. package/dist/commonjs/operations/networkFunction.d.ts +26 -0
  106. package/dist/commonjs/operations/networkFunction.d.ts.map +1 -0
  107. package/dist/commonjs/operations/networkFunction.js +100 -0
  108. package/dist/commonjs/operations/networkFunction.js.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
  110. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js +10 -0
  112. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
  113. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
  114. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  115. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +10 -0
  116. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  117. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
  118. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  119. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js +10 -0
  120. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
  121. package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts +65 -0
  122. package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
  123. package/dist/commonjs/operationsInterfaces/collectorPolicies.js +10 -0
  124. package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +1 -0
  125. package/dist/commonjs/operationsInterfaces/index.d.ts +6 -0
  126. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  127. package/dist/commonjs/operationsInterfaces/index.js +16 -0
  128. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  129. package/dist/commonjs/operationsInterfaces/networkFunction.d.ts +11 -0
  130. package/dist/commonjs/operationsInterfaces/networkFunction.d.ts.map +1 -0
  131. package/dist/commonjs/operationsInterfaces/networkFunction.js +10 -0
  132. package/dist/commonjs/operationsInterfaces/networkFunction.js.map +1 -0
  133. package/dist/commonjs/package.json +3 -0
  134. package/dist/commonjs/pagingHelper.d.ts +13 -0
  135. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  136. package/dist/commonjs/pagingHelper.js +36 -0
  137. package/dist/commonjs/pagingHelper.js.map +1 -0
  138. package/dist/esm/azureTrafficCollectorClient.d.ts +24 -0
  139. package/dist/esm/azureTrafficCollectorClient.d.ts.map +1 -0
  140. package/dist/esm/azureTrafficCollectorClient.js +101 -0
  141. package/dist/esm/azureTrafficCollectorClient.js.map +1 -0
  142. package/dist/esm/index.d.ts +5 -0
  143. package/dist/esm/index.d.ts.map +1 -0
  144. package/{src/index.ts → dist/esm/index.js} +5 -5
  145. package/dist/esm/index.js.map +1 -0
  146. package/dist/esm/lroImpl.d.ts +16 -0
  147. package/dist/esm/lroImpl.d.ts.map +1 -0
  148. package/dist/esm/lroImpl.js +25 -0
  149. package/dist/esm/lroImpl.js.map +1 -0
  150. package/dist/esm/models/index.d.ts +433 -0
  151. package/dist/esm/models/index.d.ts.map +1 -0
  152. package/dist/esm/models/index.js +66 -0
  153. package/dist/esm/models/index.js.map +1 -0
  154. package/dist/esm/models/mappers.d.ts +21 -0
  155. package/dist/esm/models/mappers.d.ts.map +1 -0
  156. package/dist/esm/models/mappers.js +520 -0
  157. package/dist/esm/models/mappers.js.map +1 -0
  158. package/dist/esm/models/parameters.d.ts +19 -0
  159. package/dist/esm/models/parameters.d.ts.map +1 -0
  160. package/dist/esm/models/parameters.js +136 -0
  161. package/dist/esm/models/parameters.js.map +1 -0
  162. package/dist/esm/operations/azureTrafficCollectors.d.ts +59 -0
  163. package/dist/esm/operations/azureTrafficCollectors.d.ts.map +1 -0
  164. package/dist/esm/operations/azureTrafficCollectors.js +247 -0
  165. package/dist/esm/operations/azureTrafficCollectors.js.map +1 -0
  166. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
  167. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  168. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +146 -0
  169. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  170. package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
  171. package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  172. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +138 -0
  173. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
  174. package/dist/esm/operations/collectorPolicies.d.ts +90 -0
  175. package/dist/esm/operations/collectorPolicies.d.ts.map +1 -0
  176. package/dist/esm/operations/collectorPolicies.js +408 -0
  177. package/dist/esm/operations/collectorPolicies.js.map +1 -0
  178. package/dist/esm/operations/index.d.ts +6 -0
  179. package/dist/esm/operations/index.d.ts.map +1 -0
  180. package/dist/esm/operations/index.js +13 -0
  181. package/dist/esm/operations/index.js.map +1 -0
  182. package/dist/esm/operations/networkFunction.d.ts +26 -0
  183. package/dist/esm/operations/networkFunction.d.ts.map +1 -0
  184. package/dist/esm/operations/networkFunction.js +96 -0
  185. package/dist/esm/operations/networkFunction.js.map +1 -0
  186. package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
  187. package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
  188. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +9 -0
  189. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
  190. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
  191. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  192. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +9 -0
  193. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  194. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
  195. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  196. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +9 -0
  197. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
  198. package/dist/esm/operationsInterfaces/collectorPolicies.d.ts +65 -0
  199. package/dist/esm/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
  200. package/dist/esm/operationsInterfaces/collectorPolicies.js +9 -0
  201. package/dist/esm/operationsInterfaces/collectorPolicies.js.map +1 -0
  202. package/dist/esm/operationsInterfaces/index.d.ts +6 -0
  203. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  204. package/dist/esm/operationsInterfaces/index.js +13 -0
  205. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  206. package/dist/esm/operationsInterfaces/networkFunction.d.ts +11 -0
  207. package/dist/esm/operationsInterfaces/networkFunction.d.ts.map +1 -0
  208. package/dist/esm/operationsInterfaces/networkFunction.js +9 -0
  209. package/dist/esm/operationsInterfaces/networkFunction.js.map +1 -0
  210. package/dist/esm/package.json +3 -0
  211. package/dist/esm/pagingHelper.d.ts +13 -0
  212. package/dist/esm/pagingHelper.d.ts.map +1 -0
  213. package/dist/esm/pagingHelper.js +32 -0
  214. package/dist/esm/pagingHelper.js.map +1 -0
  215. package/dist/react-native/azureTrafficCollectorClient.d.ts +24 -0
  216. package/dist/react-native/azureTrafficCollectorClient.d.ts.map +1 -0
  217. package/dist/react-native/azureTrafficCollectorClient.js +101 -0
  218. package/dist/react-native/azureTrafficCollectorClient.js.map +1 -0
  219. package/dist/react-native/index.d.ts +5 -0
  220. package/dist/react-native/index.d.ts.map +1 -0
  221. package/dist/react-native/index.js +13 -0
  222. package/dist/react-native/index.js.map +1 -0
  223. package/dist/react-native/lroImpl.d.ts +16 -0
  224. package/dist/react-native/lroImpl.d.ts.map +1 -0
  225. package/dist/react-native/lroImpl.js +25 -0
  226. package/dist/react-native/lroImpl.js.map +1 -0
  227. package/dist/react-native/models/index.d.ts +433 -0
  228. package/dist/react-native/models/index.d.ts.map +1 -0
  229. package/dist/react-native/models/index.js +66 -0
  230. package/dist/react-native/models/index.js.map +1 -0
  231. package/dist/react-native/models/mappers.d.ts +21 -0
  232. package/dist/react-native/models/mappers.d.ts.map +1 -0
  233. package/dist/react-native/models/mappers.js +520 -0
  234. package/dist/react-native/models/mappers.js.map +1 -0
  235. package/dist/react-native/models/parameters.d.ts +19 -0
  236. package/dist/react-native/models/parameters.d.ts.map +1 -0
  237. package/dist/react-native/models/parameters.js +136 -0
  238. package/dist/react-native/models/parameters.js.map +1 -0
  239. package/dist/react-native/operations/azureTrafficCollectors.d.ts +59 -0
  240. package/dist/react-native/operations/azureTrafficCollectors.d.ts.map +1 -0
  241. package/dist/react-native/operations/azureTrafficCollectors.js +247 -0
  242. package/dist/react-native/operations/azureTrafficCollectors.js.map +1 -0
  243. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts +35 -0
  244. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  245. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js +146 -0
  246. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  247. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts +32 -0
  248. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  249. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js +138 -0
  250. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js.map +1 -0
  251. package/dist/react-native/operations/collectorPolicies.d.ts +90 -0
  252. package/dist/react-native/operations/collectorPolicies.d.ts.map +1 -0
  253. package/dist/react-native/operations/collectorPolicies.js +408 -0
  254. package/dist/react-native/operations/collectorPolicies.js.map +1 -0
  255. package/dist/react-native/operations/index.d.ts +6 -0
  256. package/dist/react-native/operations/index.d.ts.map +1 -0
  257. package/dist/react-native/operations/index.js +13 -0
  258. package/dist/react-native/operations/index.js.map +1 -0
  259. package/dist/react-native/operations/networkFunction.d.ts +26 -0
  260. package/dist/react-native/operations/networkFunction.d.ts.map +1 -0
  261. package/dist/react-native/operations/networkFunction.js +96 -0
  262. package/dist/react-native/operations/networkFunction.js.map +1 -0
  263. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts +51 -0
  264. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts.map +1 -0
  265. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js +9 -0
  266. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js.map +1 -0
  267. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +12 -0
  268. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +1 -0
  269. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +9 -0
  270. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +1 -0
  271. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +11 -0
  272. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +1 -0
  273. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js +9 -0
  274. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +1 -0
  275. package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts +65 -0
  276. package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts.map +1 -0
  277. package/dist/react-native/operationsInterfaces/collectorPolicies.js +9 -0
  278. package/dist/react-native/operationsInterfaces/collectorPolicies.js.map +1 -0
  279. package/dist/react-native/operationsInterfaces/index.d.ts +6 -0
  280. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  281. package/dist/react-native/operationsInterfaces/index.js +13 -0
  282. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  283. package/dist/react-native/operationsInterfaces/networkFunction.d.ts +11 -0
  284. package/dist/react-native/operationsInterfaces/networkFunction.d.ts.map +1 -0
  285. package/dist/react-native/operationsInterfaces/networkFunction.js +9 -0
  286. package/dist/react-native/operationsInterfaces/networkFunction.js.map +1 -0
  287. package/dist/react-native/package.json +3 -0
  288. package/dist/react-native/pagingHelper.d.ts +13 -0
  289. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  290. package/dist/react-native/pagingHelper.js +32 -0
  291. package/dist/react-native/pagingHelper.js.map +1 -0
  292. package/package.json +70 -41
  293. package/dist/index.js +0 -1933
  294. package/dist/index.js.map +0 -1
  295. package/dist/index.min.js +0 -1
  296. package/dist/index.min.js.map +0 -1
  297. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts +0 -2
  298. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.d.ts.map +0 -1
  299. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js +0 -44
  300. package/dist-esm/samples-dev/azureTrafficCollectorsByResourceGroupListSample.js.map +0 -1
  301. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts +0 -2
  302. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.d.ts.map +0 -1
  303. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js +0 -43
  304. package/dist-esm/samples-dev/azureTrafficCollectorsBySubscriptionListSample.js.map +0 -1
  305. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts +0 -2
  306. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.d.ts.map +0 -1
  307. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js +0 -25
  308. package/dist-esm/samples-dev/azureTrafficCollectorsCreateOrUpdateSample.js.map +0 -1
  309. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts +0 -2
  310. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.d.ts.map +0 -1
  311. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js +0 -29
  312. package/dist-esm/samples-dev/azureTrafficCollectorsDeleteSample.js.map +0 -1
  313. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts +0 -2
  314. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.d.ts.map +0 -1
  315. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js +0 -29
  316. package/dist-esm/samples-dev/azureTrafficCollectorsGetSample.js.map +0 -1
  317. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts +0 -2
  318. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.d.ts.map +0 -1
  319. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js +0 -23
  320. package/dist-esm/samples-dev/azureTrafficCollectorsUpdateTagsSample.js.map +0 -1
  321. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts +0 -2
  322. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.d.ts.map +0 -1
  323. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js +0 -31
  324. package/dist-esm/samples-dev/collectorPoliciesCreateOrUpdateSample.js.map +0 -1
  325. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts +0 -2
  326. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.d.ts.map +0 -1
  327. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js +0 -30
  328. package/dist-esm/samples-dev/collectorPoliciesDeleteSample.js.map +0 -1
  329. package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts +0 -2
  330. package/dist-esm/samples-dev/collectorPoliciesGetSample.d.ts.map +0 -1
  331. package/dist-esm/samples-dev/collectorPoliciesGetSample.js +0 -30
  332. package/dist-esm/samples-dev/collectorPoliciesGetSample.js.map +0 -1
  333. package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts +0 -2
  334. package/dist-esm/samples-dev/collectorPoliciesListSample.d.ts.map +0 -1
  335. package/dist-esm/samples-dev/collectorPoliciesListSample.js +0 -45
  336. package/dist-esm/samples-dev/collectorPoliciesListSample.js.map +0 -1
  337. package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.d.ts +0 -2
  338. package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.d.ts.map +0 -1
  339. package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.js +0 -24
  340. package/dist-esm/samples-dev/collectorPoliciesUpdateTagsSample.js.map +0 -1
  341. package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts +0 -2
  342. package/dist-esm/samples-dev/networkFunctionListOperationsSample.d.ts.map +0 -1
  343. package/dist-esm/samples-dev/networkFunctionListOperationsSample.js +0 -43
  344. package/dist-esm/samples-dev/networkFunctionListOperationsSample.js.map +0 -1
  345. package/dist-esm/src/azureTrafficCollectorClient.d.ts.map +0 -1
  346. package/dist-esm/src/azureTrafficCollectorClient.js.map +0 -1
  347. package/dist-esm/src/index.d.ts +0 -5
  348. package/dist-esm/src/index.js.map +0 -1
  349. package/dist-esm/src/lroImpl.js +0 -29
  350. package/dist-esm/src/lroImpl.js.map +0 -1
  351. package/dist-esm/src/models/index.js.map +0 -1
  352. package/dist-esm/src/models/mappers.js.map +0 -1
  353. package/dist-esm/src/models/parameters.js.map +0 -1
  354. package/dist-esm/src/operations/azureTrafficCollectors.d.ts.map +0 -1
  355. package/dist-esm/src/operations/azureTrafficCollectors.js.map +0 -1
  356. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  357. package/dist-esm/src/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  358. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  359. package/dist-esm/src/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
  360. package/dist-esm/src/operations/collectorPolicies.d.ts.map +0 -1
  361. package/dist-esm/src/operations/collectorPolicies.js.map +0 -1
  362. package/dist-esm/src/operations/index.d.ts +0 -6
  363. package/dist-esm/src/operations/index.js +0 -13
  364. package/dist-esm/src/operations/index.js.map +0 -1
  365. package/dist-esm/src/operations/networkFunction.d.ts.map +0 -1
  366. package/dist-esm/src/operations/networkFunction.js.map +0 -1
  367. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
  368. package/dist-esm/src/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
  369. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  370. package/dist-esm/src/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
  371. package/dist-esm/src/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
  372. package/dist-esm/src/operationsInterfaces/collectorPolicies.js.map +0 -1
  373. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -6
  374. package/dist-esm/src/operationsInterfaces/index.js +0 -13
  375. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  376. package/dist-esm/src/operationsInterfaces/networkFunction.js.map +0 -1
  377. package/dist-esm/src/pagingHelper.js.map +0 -1
  378. package/dist-esm/test/networkfunction_examples.spec.d.ts +0 -4
  379. package/dist-esm/test/networkfunction_examples.spec.d.ts.map +0 -1
  380. package/dist-esm/test/networkfunction_examples.spec.js +0 -73
  381. package/dist-esm/test/networkfunction_examples.spec.js.map +0 -1
  382. package/src/azureTrafficCollectorClient.ts +0 -164
  383. package/src/lroImpl.ts +0 -34
  384. package/src/models/index.ts +0 -498
  385. package/src/models/mappers.ts +0 -554
  386. package/src/models/parameters.ts +0 -162
  387. package/src/operations/azureTrafficCollectors.ts +0 -362
  388. package/src/operations/azureTrafficCollectorsByResourceGroup.ts +0 -176
  389. package/src/operations/azureTrafficCollectorsBySubscription.ts +0 -156
  390. package/src/operations/collectorPolicies.ts +0 -575
  391. package/src/operations/index.ts +0 -13
  392. package/src/operations/networkFunction.ts +0 -106
  393. package/src/operationsInterfaces/azureTrafficCollectors.ts +0 -100
  394. package/src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts +0 -27
  395. package/src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts +0 -25
  396. package/src/operationsInterfaces/collectorPolicies.ts +0 -127
  397. package/src/operationsInterfaces/index.ts +0 -13
  398. package/src/operationsInterfaces/networkFunction.ts +0 -25
  399. package/src/pagingHelper.ts +0 -39
  400. package/tsconfig.json +0 -33
  401. package/types/arm-networkfunction.d.ts +0 -668
  402. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  403. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  404. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  405. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  406. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  407. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  408. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  409. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  410. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  411. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  412. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectors.js +0 -0
  413. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -0
  414. /package/{dist-esm/src → dist/browser}/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -0
  415. /package/{dist-esm/src → dist/browser}/operationsInterfaces/collectorPolicies.js +0 -0
  416. /package/{dist-esm/src → dist/browser}/operationsInterfaces/networkFunction.js +0 -0
  417. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  418. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  419. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
  420. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,51 @@
1
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
2
+ import { AzureTrafficCollectorsGetOptionalParams, AzureTrafficCollectorsGetResponse, AzureTrafficCollectorsCreateOrUpdateOptionalParams, AzureTrafficCollectorsCreateOrUpdateResponse, AzureTrafficCollectorsDeleteOptionalParams, TagsObject, AzureTrafficCollectorsUpdateTagsOptionalParams, AzureTrafficCollectorsUpdateTagsResponse } from "../models/index.js";
3
+ /** Interface representing a AzureTrafficCollectors. */
4
+ export interface AzureTrafficCollectors {
5
+ /**
6
+ * Gets the specified Azure Traffic Collector in a specified resource group
7
+ * @param resourceGroupName The name of the resource group.
8
+ * @param azureTrafficCollectorName Azure Traffic Collector name
9
+ * @param options The options parameters.
10
+ */
11
+ get(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsGetOptionalParams): Promise<AzureTrafficCollectorsGetResponse>;
12
+ /**
13
+ * Creates or updates a Azure Traffic Collector resource
14
+ * @param resourceGroupName The name of the resource group.
15
+ * @param azureTrafficCollectorName Azure Traffic Collector name
16
+ * @param location Resource location.
17
+ * @param options The options parameters.
18
+ */
19
+ beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>, AzureTrafficCollectorsCreateOrUpdateResponse>>;
20
+ /**
21
+ * Creates or updates a Azure Traffic Collector resource
22
+ * @param resourceGroupName The name of the resource group.
23
+ * @param azureTrafficCollectorName Azure Traffic Collector name
24
+ * @param location Resource location.
25
+ * @param options The options parameters.
26
+ */
27
+ beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, location: string, options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams): Promise<AzureTrafficCollectorsCreateOrUpdateResponse>;
28
+ /**
29
+ * Deletes a specified Azure Traffic Collector resource.
30
+ * @param resourceGroupName The name of the resource group.
31
+ * @param azureTrafficCollectorName Azure Traffic Collector name
32
+ * @param options The options parameters.
33
+ */
34
+ beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
35
+ /**
36
+ * Deletes a specified Azure Traffic Collector resource.
37
+ * @param resourceGroupName The name of the resource group.
38
+ * @param azureTrafficCollectorName Azure Traffic Collector name
39
+ * @param options The options parameters.
40
+ */
41
+ beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, options?: AzureTrafficCollectorsDeleteOptionalParams): Promise<void>;
42
+ /**
43
+ * Updates the specified Azure Traffic Collector tags.
44
+ * @param resourceGroupName The name of the resource group.
45
+ * @param azureTrafficCollectorName Azure Traffic Collector name
46
+ * @param parameters Parameters supplied to update Azure Traffic Collector tags.
47
+ * @param options The options parameters.
48
+ */
49
+ updateTags(resourceGroupName: string, azureTrafficCollectorName: string, parameters: TagsObject, options?: AzureTrafficCollectorsUpdateTagsOptionalParams): Promise<AzureTrafficCollectorsUpdateTagsResponse>;
50
+ }
51
+ //# sourceMappingURL=azureTrafficCollectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectors.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectors.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,uCAAuC,EACvC,iCAAiC,EACjC,kDAAkD,EAClD,4CAA4C,EAC5C,0CAA0C,EAC1C,UAAU,EACV,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC;;;;;OAKG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC,CAAC;IAC9C;;;;;;OAMG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,4CAA4C,CAAC,EAChE,4CAA4C,CAC7C,CACF,CAAC;IACF;;;;;;OAMG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC,CAAC;IACzD;;;;;OAKG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;OAKG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;OAMG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,8CAA8C,GACvD,OAAO,CAAC,wCAAwC,CAAC,CAAC;CACtD"}
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=azureTrafficCollectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectors.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectors.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n AzureTrafficCollectorsGetOptionalParams,\n AzureTrafficCollectorsGetResponse,\n AzureTrafficCollectorsCreateOrUpdateOptionalParams,\n AzureTrafficCollectorsCreateOrUpdateResponse,\n AzureTrafficCollectorsDeleteOptionalParams,\n TagsObject,\n AzureTrafficCollectorsUpdateTagsOptionalParams,\n AzureTrafficCollectorsUpdateTagsResponse\n} from \"../models/index.js\";\n\n/** Interface representing a AzureTrafficCollectors. */\nexport interface AzureTrafficCollectors {\n /**\n * Gets the specified Azure Traffic Collector in a specified resource group\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsGetOptionalParams\n ): Promise<AzureTrafficCollectorsGetResponse>;\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<AzureTrafficCollectorsCreateOrUpdateResponse>,\n AzureTrafficCollectorsCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Azure Traffic Collector resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n location: string,\n options?: AzureTrafficCollectorsCreateOrUpdateOptionalParams\n ): Promise<AzureTrafficCollectorsCreateOrUpdateResponse>;\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes a specified Azure Traffic Collector resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: AzureTrafficCollectorsDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the specified Azure Traffic Collector tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param parameters Parameters supplied to update Azure Traffic Collector tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n parameters: TagsObject,\n options?: AzureTrafficCollectorsUpdateTagsOptionalParams\n ): Promise<AzureTrafficCollectorsUpdateTagsResponse>;\n}\n"]}
@@ -0,0 +1,12 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AzureTrafficCollector, AzureTrafficCollectorsByResourceGroupListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a AzureTrafficCollectorsByResourceGroup. */
4
+ export interface AzureTrafficCollectorsByResourceGroup {
5
+ /**
6
+ * Return list of Azure Traffic Collectors in a Resource Group
7
+ * @param resourceGroupName The name of the resource group.
8
+ * @param options The options parameters.
9
+ */
10
+ list(resourceGroupName: string, options?: AzureTrafficCollectorsByResourceGroupListOptionalParams): PagedAsyncIterableIterator<AzureTrafficCollector>;
11
+ }
12
+ //# sourceMappingURL=azureTrafficCollectorsByResourceGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorsByResourceGroup.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,uDAAuD,EACxD,MAAM,oBAAoB,CAAC;AAG5B,sEAAsE;AACtE,MAAM,WAAW,qCAAqC;IACpD;;;;OAIG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;CACtD"}
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=azureTrafficCollectorsByResourceGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorsByResourceGroup.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsByResourceGroup.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsByResourceGroupListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureTrafficCollectorsByResourceGroup. */\nexport interface AzureTrafficCollectorsByResourceGroup {\n /**\n * Return list of Azure Traffic Collectors in a Resource Group\n * @param resourceGroupName The name of the resource group.\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n options?: AzureTrafficCollectorsByResourceGroupListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector>;\n}\n"]}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { AzureTrafficCollector, AzureTrafficCollectorsBySubscriptionListOptionalParams } from "../models/index.js";
3
+ /** Interface representing a AzureTrafficCollectorsBySubscription. */
4
+ export interface AzureTrafficCollectorsBySubscription {
5
+ /**
6
+ * Return list of Azure Traffic Collectors in a subscription
7
+ * @param options The options parameters.
8
+ */
9
+ list(options?: AzureTrafficCollectorsBySubscriptionListOptionalParams): PagedAsyncIterableIterator<AzureTrafficCollector>;
10
+ }
11
+ //# sourceMappingURL=azureTrafficCollectorsBySubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorsBySubscription.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,sDAAsD,EACvD,MAAM,oBAAoB,CAAC;AAG5B,qEAAqE;AACrE,MAAM,WAAW,oCAAoC;IACnD;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,sDAAsD,GAC/D,0BAA0B,CAAC,qBAAqB,CAAC,CAAC;CACtD"}
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=azureTrafficCollectorsBySubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorsBySubscription.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/azureTrafficCollectorsBySubscription.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n AzureTrafficCollector,\n AzureTrafficCollectorsBySubscriptionListOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a AzureTrafficCollectorsBySubscription. */\nexport interface AzureTrafficCollectorsBySubscription {\n /**\n * Return list of Azure Traffic Collectors in a subscription\n * @param options The options parameters.\n */\n list(\n options?: AzureTrafficCollectorsBySubscriptionListOptionalParams\n ): PagedAsyncIterableIterator<AzureTrafficCollector>;\n}\n"]}
@@ -0,0 +1,65 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
3
+ import { CollectorPolicy, CollectorPoliciesListOptionalParams, CollectorPoliciesGetOptionalParams, CollectorPoliciesGetResponse, CollectorPoliciesCreateOrUpdateOptionalParams, CollectorPoliciesCreateOrUpdateResponse, CollectorPoliciesDeleteOptionalParams, TagsObject, CollectorPoliciesUpdateTagsOptionalParams, CollectorPoliciesUpdateTagsResponse } from "../models/index.js";
4
+ /** Interface representing a CollectorPolicies. */
5
+ export interface CollectorPolicies {
6
+ /**
7
+ * Return list of Collector policies in a Azure Traffic Collector
8
+ * @param resourceGroupName The name of the resource group.
9
+ * @param azureTrafficCollectorName Azure Traffic Collector name
10
+ * @param options The options parameters.
11
+ */
12
+ list(resourceGroupName: string, azureTrafficCollectorName: string, options?: CollectorPoliciesListOptionalParams): PagedAsyncIterableIterator<CollectorPolicy>;
13
+ /**
14
+ * Gets the collector policy in a specified Traffic Collector
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param azureTrafficCollectorName Azure Traffic Collector name
17
+ * @param collectorPolicyName Collector Policy Name
18
+ * @param options The options parameters.
19
+ */
20
+ get(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesGetOptionalParams): Promise<CollectorPoliciesGetResponse>;
21
+ /**
22
+ * Creates or updates a Collector Policy resource
23
+ * @param resourceGroupName The name of the resource group.
24
+ * @param azureTrafficCollectorName Azure Traffic Collector name
25
+ * @param collectorPolicyName Collector Policy Name
26
+ * @param location Resource location.
27
+ * @param options The options parameters.
28
+ */
29
+ beginCreateOrUpdate(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, location: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CollectorPoliciesCreateOrUpdateResponse>, CollectorPoliciesCreateOrUpdateResponse>>;
30
+ /**
31
+ * Creates or updates a Collector Policy resource
32
+ * @param resourceGroupName The name of the resource group.
33
+ * @param azureTrafficCollectorName Azure Traffic Collector name
34
+ * @param collectorPolicyName Collector Policy Name
35
+ * @param location Resource location.
36
+ * @param options The options parameters.
37
+ */
38
+ beginCreateOrUpdateAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, location: string, options?: CollectorPoliciesCreateOrUpdateOptionalParams): Promise<CollectorPoliciesCreateOrUpdateResponse>;
39
+ /**
40
+ * Deletes a specified Collector Policy resource.
41
+ * @param resourceGroupName The name of the resource group.
42
+ * @param azureTrafficCollectorName Azure Traffic Collector name
43
+ * @param collectorPolicyName Collector Policy Name
44
+ * @param options The options parameters.
45
+ */
46
+ beginDelete(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
47
+ /**
48
+ * Deletes a specified Collector Policy resource.
49
+ * @param resourceGroupName The name of the resource group.
50
+ * @param azureTrafficCollectorName Azure Traffic Collector name
51
+ * @param collectorPolicyName Collector Policy Name
52
+ * @param options The options parameters.
53
+ */
54
+ beginDeleteAndWait(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, options?: CollectorPoliciesDeleteOptionalParams): Promise<void>;
55
+ /**
56
+ * Updates the specified Collector Policy tags.
57
+ * @param resourceGroupName The name of the resource group.
58
+ * @param azureTrafficCollectorName Azure Traffic Collector name
59
+ * @param collectorPolicyName Collector Policy Name
60
+ * @param parameters Parameters supplied to update Collector Policy tags.
61
+ * @param options The options parameters.
62
+ */
63
+ updateTags(resourceGroupName: string, azureTrafficCollectorName: string, collectorPolicyName: string, parameters: TagsObject, options?: CollectorPoliciesUpdateTagsOptionalParams): Promise<CollectorPoliciesUpdateTagsResponse>;
64
+ }
65
+ //# sourceMappingURL=collectorPolicies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectorPolicies.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/collectorPolicies.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EACL,eAAe,EACf,mCAAmC,EACnC,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,UAAU,EACV,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC;;;;;OAKG;IACH,IAAI,CACF,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,eAAe,CAAC,CAAC;IAC/C;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC,CAAC;IACzC;;;;;;;OAOG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,uCAAuC,CAAC,EAC3D,uCAAuC,CACxC,CACF,CAAC;IACF;;;;;;;OAOG;IACH,0BAA0B,CACxB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACpD;;;;;;OAMG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,UAAU,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IACvD;;;;;;OAMG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC,CAAC;IACjB;;;;;;;OAOG;IACH,UAAU,CACR,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=collectorPolicies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectorPolicies.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/collectorPolicies.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n CollectorPolicy,\n CollectorPoliciesListOptionalParams,\n CollectorPoliciesGetOptionalParams,\n CollectorPoliciesGetResponse,\n CollectorPoliciesCreateOrUpdateOptionalParams,\n CollectorPoliciesCreateOrUpdateResponse,\n CollectorPoliciesDeleteOptionalParams,\n TagsObject,\n CollectorPoliciesUpdateTagsOptionalParams,\n CollectorPoliciesUpdateTagsResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a CollectorPolicies. */\nexport interface CollectorPolicies {\n /**\n * Return list of Collector policies in a Azure Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param options The options parameters.\n */\n list(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options?: CollectorPoliciesListOptionalParams\n ): PagedAsyncIterableIterator<CollectorPolicy>;\n /**\n * Gets the collector policy in a specified Traffic Collector\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesGetOptionalParams\n ): Promise<CollectorPoliciesGetResponse>;\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CollectorPoliciesCreateOrUpdateResponse>,\n CollectorPoliciesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates or updates a Collector Policy resource\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param location Resource location.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n location: string,\n options?: CollectorPoliciesCreateOrUpdateOptionalParams\n ): Promise<CollectorPoliciesCreateOrUpdateResponse>;\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Deletes a specified Collector Policy resource.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options?: CollectorPoliciesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Updates the specified Collector Policy tags.\n * @param resourceGroupName The name of the resource group.\n * @param azureTrafficCollectorName Azure Traffic Collector name\n * @param collectorPolicyName Collector Policy Name\n * @param parameters Parameters supplied to update Collector Policy tags.\n * @param options The options parameters.\n */\n updateTags(\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: TagsObject,\n options?: CollectorPoliciesUpdateTagsOptionalParams\n ): Promise<CollectorPoliciesUpdateTagsResponse>;\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export * from "./networkFunction.js";
2
+ export * from "./azureTrafficCollectorsBySubscription.js";
3
+ export * from "./azureTrafficCollectorsByResourceGroup.js";
4
+ export * from "./azureTrafficCollectors.js";
5
+ export * from "./collectorPolicies.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,16 @@
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("./networkFunction.js"), exports);
12
+ tslib_1.__exportStar(require("./azureTrafficCollectorsBySubscription.js"), exports);
13
+ tslib_1.__exportStar(require("./azureTrafficCollectorsByResourceGroup.js"), exports);
14
+ tslib_1.__exportStar(require("./azureTrafficCollectors.js"), exports);
15
+ tslib_1.__exportStar(require("./collectorPolicies.js"), exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAEH,+DAAqC;AACrC,oFAA0D;AAC1D,qFAA2D;AAC3D,sEAA4C;AAC5C,iEAAuC","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 \"./networkFunction.js\";\nexport * from \"./azureTrafficCollectorsBySubscription.js\";\nexport * from \"./azureTrafficCollectorsByResourceGroup.js\";\nexport * from \"./azureTrafficCollectors.js\";\nexport * from \"./collectorPolicies.js\";\n"]}
@@ -0,0 +1,11 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operation, NetworkFunctionListOperationsOptionalParams } from "../models/index.js";
3
+ /** Interface representing a NetworkFunction. */
4
+ export interface NetworkFunction {
5
+ /**
6
+ * Lists all of the available NetworkFunction Rest API operations.
7
+ * @param options The options parameters.
8
+ */
9
+ listOperations(options?: NetworkFunctionListOperationsOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ }
11
+ //# sourceMappingURL=networkFunction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkFunction.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkFunction.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,SAAS,EACT,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,cAAc,CACZ,OAAO,CAAC,EAAE,2CAA2C,GACpD,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -0,0 +1,10 @@
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
+ //# sourceMappingURL=networkFunction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkFunction.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/networkFunction.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Operation,\n NetworkFunctionListOperationsOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a NetworkFunction. */\nexport interface NetworkFunction {\n /**\n * Lists all of the available NetworkFunction Rest API operations.\n * @param options The options parameters.\n */\n listOperations(\n options?: NetworkFunctionListOperationsOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given a result page from a pageable operation, returns a
6
+ * continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page A result object from calling .byPage() on a paged operation.
9
+ * @returns The continuation token that can be passed into byPage().
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,36 @@
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.getContinuationToken = getContinuationToken;
11
+ exports.setContinuationToken = setContinuationToken;
12
+ const pageMap = new WeakMap();
13
+ /**
14
+ * Given a result page from a pageable operation, returns a
15
+ * continuation token that can be used to begin paging from
16
+ * that point later.
17
+ * @param page A result object from calling .byPage() on a paged operation.
18
+ * @returns The continuation token that can be passed into byPage().
19
+ */
20
+ function getContinuationToken(page) {
21
+ var _a;
22
+ if (typeof page !== "object" || page === null) {
23
+ return undefined;
24
+ }
25
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
26
+ }
27
+ function setContinuationToken(page, continuationToken) {
28
+ var _a;
29
+ if (typeof page !== "object" || page === null || !continuationToken) {
30
+ return;
31
+ }
32
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
33
+ pageInfo.continuationToken = continuationToken;
34
+ pageMap.set(page, pageInfo);
35
+ }
36
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAeH,oDAKC;AAED,oDAUC;AA1BD,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAgB,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given a result page from a pageable operation, returns a\n * continuation token that can be used to begin paging from\n * that point later.\n * @param page A result object from calling .byPage() on a paged operation.\n * @returns The continuation token that can be passed into byPage().\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { NetworkFunction, AzureTrafficCollectorsBySubscription, AzureTrafficCollectorsByResourceGroup, AzureTrafficCollectors, CollectorPolicies } from "./operationsInterfaces/index.js";
4
+ import { AzureTrafficCollectorClientOptionalParams } from "./models/index.js";
5
+ export declare class AzureTrafficCollectorClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the AzureTrafficCollectorClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId Azure Subscription ID.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureTrafficCollectorClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ networkFunction: NetworkFunction;
19
+ azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;
20
+ azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;
21
+ azureTrafficCollectors: AzureTrafficCollectors;
22
+ collectorPolicies: CollectorPolicies;
23
+ }
24
+ //# sourceMappingURL=azureTrafficCollectorClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorClient.d.ts","sourceRoot":"","sources":["../../src/azureTrafficCollectorClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAQ7C,OAAO,EACL,eAAe,EACf,oCAAoC,EACpC,qCAAqC,EACrC,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,yCAAyC,EAAE,MAAM,mBAAmB,CAAC;AAE9E,qBAAa,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,yCAAyC;IAoFrD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,oCAAoC,EAAE,oCAAoC,CAAC;IAC3E,qCAAqC,EAAE,qCAAqC,CAAC;IAC7E,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,iBAAiB,EAAE,iBAAiB,CAAC;CACtC"}
@@ -0,0 +1,101 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { NetworkFunctionImpl, AzureTrafficCollectorsBySubscriptionImpl, AzureTrafficCollectorsByResourceGroupImpl, AzureTrafficCollectorsImpl, CollectorPoliciesImpl } from "./operations/index.js";
11
+ export class AzureTrafficCollectorClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the AzureTrafficCollectorClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId Azure Subscription ID.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials
33
+ };
34
+ const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
60
+ }
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2022-11-01";
68
+ this.networkFunction = new NetworkFunctionImpl(this);
69
+ this.azureTrafficCollectorsBySubscription = new AzureTrafficCollectorsBySubscriptionImpl(this);
70
+ this.azureTrafficCollectorsByResourceGroup = new AzureTrafficCollectorsByResourceGroupImpl(this);
71
+ this.azureTrafficCollectors = new AzureTrafficCollectorsImpl(this);
72
+ this.collectorPolicies = new CollectorPoliciesImpl(this);
73
+ this.addCustomApiVersionPolicy(options.apiVersion);
74
+ }
75
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
76
+ addCustomApiVersionPolicy(apiVersion) {
77
+ if (!apiVersion) {
78
+ return;
79
+ }
80
+ const apiVersionPolicy = {
81
+ name: "CustomApiVersionPolicy",
82
+ async sendRequest(request, next) {
83
+ const param = request.url.split("?");
84
+ if (param.length > 1) {
85
+ const newParams = param[1].split("&").map((item) => {
86
+ if (item.indexOf("api-version") > -1) {
87
+ return "api-version=" + apiVersion;
88
+ }
89
+ else {
90
+ return item;
91
+ }
92
+ });
93
+ request.url = param[0] + "?" + newParams.join("&");
94
+ }
95
+ return next(request);
96
+ }
97
+ };
98
+ this.pipeline.addPolicy(apiVersionPolicy);
99
+ }
100
+ }
101
+ //# sourceMappingURL=azureTrafficCollectorClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azureTrafficCollectorClient.js","sourceRoot":"","sources":["../../src/azureTrafficCollectorClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mBAAmB,EACnB,wCAAwC,EACxC,yCAAyC,EACzC,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAU/B,MAAM,OAAO,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IAKvE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAmD;;QAEnD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA8C;YAC1D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,oCAAoC,CAAC;QAC5D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,QAAQ,EACN,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,GACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,KAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,MAAA,mBAAmB,CAAC,gBAAgB,mCACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,eAAe,GAAG,IAAI,mBAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,oCAAoC,GAAG,IAAI,wCAAwC,CACtF,IAAI,CACL,CAAC;QACF,IAAI,CAAC,qCAAqC,GAAG,IAAI,yCAAyC,CACxF,IAAI,CACL,CAAC;QACF,IAAI,CAAC,sBAAsB,GAAG,IAAI,0BAA0B,CAAC,IAAI,CAAC,CAAC;QACnE,IAAI,CAAC,iBAAiB,GAAG,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAOF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n NetworkFunctionImpl,\n AzureTrafficCollectorsBySubscriptionImpl,\n AzureTrafficCollectorsByResourceGroupImpl,\n AzureTrafficCollectorsImpl,\n CollectorPoliciesImpl\n} from \"./operations/index.js\";\nimport {\n NetworkFunction,\n AzureTrafficCollectorsBySubscription,\n AzureTrafficCollectorsByResourceGroup,\n AzureTrafficCollectors,\n CollectorPolicies\n} from \"./operationsInterfaces/index.js\";\nimport { AzureTrafficCollectorClientOptionalParams } from \"./models/index.js\";\n\nexport class AzureTrafficCollectorClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the AzureTrafficCollectorClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Azure Subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: AzureTrafficCollectorClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: AzureTrafficCollectorClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2022-11-01\";\n this.networkFunction = new NetworkFunctionImpl(this);\n this.azureTrafficCollectorsBySubscription = new AzureTrafficCollectorsBySubscriptionImpl(\n this\n );\n this.azureTrafficCollectorsByResourceGroup = new AzureTrafficCollectorsByResourceGroupImpl(\n this\n );\n this.azureTrafficCollectors = new AzureTrafficCollectorsImpl(this);\n this.collectorPolicies = new CollectorPoliciesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n networkFunction: NetworkFunction;\n azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;\n azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;\n azureTrafficCollectors: AzureTrafficCollectors;\n collectorPolicies: CollectorPolicies;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { AzureTrafficCollectorClient } from "./azureTrafficCollectorClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC"}
@@ -5,9 +5,9 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
-
9
8
  /// <reference lib="esnext.asynciterable" />
10
- export { getContinuationToken } from "./pagingHelper";
11
- export * from "./models";
12
- export { AzureTrafficCollectorClient } from "./azureTrafficCollectorClient";
13
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { AzureTrafficCollectorClient } from "./azureTrafficCollectorClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { AzureTrafficCollectorClient } from \"./azureTrafficCollectorClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -0,0 +1,16 @@
1
+ import { LongRunningOperation, LroResponse } from "@azure/core-lro";
2
+ export declare class LroImpl<T> implements LongRunningOperation<T> {
3
+ private sendOperationFn;
4
+ private args;
5
+ private spec;
6
+ requestPath: string;
7
+ requestMethod: string;
8
+ constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
9
+ readonly requestBody?: unknown;
10
+ readonly path?: string;
11
+ readonly httpMethod: string;
12
+ } & Record<string, any>, requestPath?: string, requestMethod?: string);
13
+ sendInitialRequest(): Promise<LroResponse<T>>;
14
+ sendPollRequest(path: string): Promise<LroResponse<T>>;
15
+ }
16
+ //# sourceMappingURL=lroImpl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}