@azure/arm-networkfunction 2.0.2-alpha.20260306.1 → 3.0.0-beta.1

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 (592) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +10 -11
  3. package/dist/browser/api/azureTrafficCollectorContext.d.ts +22 -0
  4. package/dist/browser/api/azureTrafficCollectorContext.js +26 -0
  5. package/dist/browser/api/azureTrafficCollectorContext.js.map +1 -0
  6. package/dist/browser/api/azureTrafficCollectors/index.d.ts +3 -0
  7. package/dist/browser/api/azureTrafficCollectors/index.js +4 -0
  8. package/dist/browser/api/azureTrafficCollectors/index.js.map +1 -0
  9. package/dist/browser/api/azureTrafficCollectors/operations.d.ts +22 -0
  10. package/dist/browser/api/azureTrafficCollectors/operations.js +138 -0
  11. package/dist/browser/api/azureTrafficCollectors/operations.js.map +1 -0
  12. package/dist/browser/api/azureTrafficCollectors/options.d.ts +18 -0
  13. package/dist/browser/api/azureTrafficCollectors/options.js +4 -0
  14. package/dist/browser/api/azureTrafficCollectors/options.js.map +1 -0
  15. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
  16. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.js +4 -0
  17. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
  18. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
  19. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.js +35 -0
  20. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/operations.js.map +1 -0
  21. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
  22. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.js +4 -0
  23. package/dist/browser/api/azureTrafficCollectorsByResourceGroup/options.js.map +1 -0
  24. package/dist/browser/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
  25. package/dist/browser/api/azureTrafficCollectorsBySubscription/index.js +4 -0
  26. package/dist/browser/api/azureTrafficCollectorsBySubscription/index.js.map +1 -0
  27. package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
  28. package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.js +34 -0
  29. package/dist/browser/api/azureTrafficCollectorsBySubscription/operations.js.map +1 -0
  30. package/dist/browser/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
  31. package/dist/browser/api/azureTrafficCollectorsBySubscription/options.js +4 -0
  32. package/dist/browser/api/azureTrafficCollectorsBySubscription/options.js.map +1 -0
  33. package/dist/browser/api/collectorPolicies/index.d.ts +3 -0
  34. package/dist/browser/api/collectorPolicies/index.js +4 -0
  35. package/dist/browser/api/collectorPolicies/index.js.map +1 -0
  36. package/dist/browser/api/collectorPolicies/operations.d.ts +27 -0
  37. package/dist/browser/api/collectorPolicies/operations.js +172 -0
  38. package/dist/browser/api/collectorPolicies/operations.js.map +1 -0
  39. package/dist/browser/api/collectorPolicies/options.d.ts +21 -0
  40. package/dist/browser/api/collectorPolicies/options.js +4 -0
  41. package/dist/browser/api/collectorPolicies/options.js.map +1 -0
  42. package/dist/browser/api/index.d.ts +3 -0
  43. package/dist/browser/api/index.js +4 -0
  44. package/dist/browser/api/index.js.map +1 -0
  45. package/dist/browser/api/networkFunction/index.d.ts +3 -0
  46. package/dist/browser/api/networkFunction/index.js +4 -0
  47. package/dist/browser/api/networkFunction/index.js.map +1 -0
  48. package/dist/browser/api/networkFunction/operations.d.ts +10 -0
  49. package/dist/browser/api/networkFunction/operations.js +33 -0
  50. package/dist/browser/api/networkFunction/operations.js.map +1 -0
  51. package/dist/browser/api/networkFunction/options.d.ts +5 -0
  52. package/dist/browser/api/networkFunction/options.js +4 -0
  53. package/dist/browser/api/networkFunction/options.js.map +1 -0
  54. package/dist/browser/azureTrafficCollectorClient.d.ts +25 -22
  55. package/dist/browser/azureTrafficCollectorClient.js +41 -105
  56. package/dist/browser/azureTrafficCollectorClient.js.map +1 -1
  57. package/dist/browser/classic/azureTrafficCollectors/index.d.ts +26 -0
  58. package/dist/browser/classic/azureTrafficCollectors/index.js +34 -0
  59. package/dist/browser/classic/azureTrafficCollectors/index.js.map +1 -0
  60. package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
  61. package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.js +14 -0
  62. package/dist/browser/classic/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
  63. package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
  64. package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.js +14 -0
  65. package/dist/browser/classic/azureTrafficCollectorsBySubscription/index.js.map +1 -0
  66. package/dist/browser/classic/collectorPolicies/index.d.ts +29 -0
  67. package/dist/browser/classic/collectorPolicies/index.js +35 -0
  68. package/dist/browser/classic/collectorPolicies/index.js.map +1 -0
  69. package/dist/browser/classic/index.d.ts +6 -0
  70. package/dist/browser/classic/index.js +4 -0
  71. package/dist/browser/classic/index.js.map +1 -0
  72. package/dist/browser/classic/networkFunction/index.d.ts +11 -0
  73. package/dist/browser/classic/networkFunction/index.js +14 -0
  74. package/dist/browser/classic/networkFunction/index.js.map +1 -0
  75. package/dist/browser/index.d.ts +19 -3
  76. package/dist/browser/index.js +7 -11
  77. package/dist/browser/index.js.map +1 -1
  78. package/dist/browser/logger.d.ts +2 -0
  79. package/dist/browser/logger.js +5 -0
  80. package/dist/browser/logger.js.map +1 -0
  81. package/dist/browser/models/index.d.ts +2 -432
  82. package/dist/browser/models/index.js +3 -65
  83. package/dist/browser/models/index.js.map +1 -1
  84. package/dist/browser/models/models.d.ts +335 -0
  85. package/dist/browser/models/models.js +405 -0
  86. package/dist/browser/models/models.js.map +1 -0
  87. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  88. package/dist/browser/restorePollerHelpers.js +104 -0
  89. package/dist/browser/restorePollerHelpers.js.map +1 -0
  90. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  91. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  92. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  93. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  94. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  95. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  96. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  97. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  98. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  99. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  100. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  101. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  102. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  103. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  104. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  105. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  106. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  107. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  108. package/dist/commonjs/api/azureTrafficCollectorContext.d.ts +22 -0
  109. package/dist/commonjs/api/azureTrafficCollectorContext.js +47 -0
  110. package/dist/commonjs/api/azureTrafficCollectorContext.js.map +7 -0
  111. package/dist/commonjs/api/azureTrafficCollectors/index.d.ts +3 -0
  112. package/dist/commonjs/api/azureTrafficCollectors/index.js +34 -0
  113. package/dist/commonjs/api/azureTrafficCollectors/index.js.map +7 -0
  114. package/dist/commonjs/api/azureTrafficCollectors/operations.d.ts +22 -0
  115. package/dist/commonjs/api/azureTrafficCollectors/operations.js +208 -0
  116. package/dist/commonjs/api/azureTrafficCollectors/operations.js.map +7 -0
  117. package/dist/commonjs/api/azureTrafficCollectors/options.d.ts +18 -0
  118. package/dist/commonjs/{operationsInterfaces/azureTrafficCollectors.js → api/azureTrafficCollectors/options.js} +3 -2
  119. package/dist/commonjs/api/azureTrafficCollectors/options.js.map +7 -0
  120. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
  121. package/dist/commonjs/{operationsInterfaces/azureTrafficCollectorsByResourceGroup.js → api/azureTrafficCollectorsByResourceGroup/index.js} +13 -0
  122. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/index.js.map +7 -0
  123. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
  124. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.js +72 -0
  125. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/operations.js.map +7 -0
  126. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
  127. package/dist/commonjs/{operationsInterfaces/collectorPolicies.js → api/azureTrafficCollectorsByResourceGroup/options.js} +3 -2
  128. package/dist/commonjs/api/azureTrafficCollectorsByResourceGroup/options.js.map +7 -0
  129. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
  130. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.js +28 -0
  131. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/index.js.map +7 -0
  132. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
  133. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.js +71 -0
  134. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/operations.js.map +7 -0
  135. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
  136. package/dist/commonjs/{operationsInterfaces/azureTrafficCollectorsBySubscription.js → api/azureTrafficCollectorsBySubscription/options.js} +3 -2
  137. package/dist/commonjs/api/azureTrafficCollectorsBySubscription/options.js.map +7 -0
  138. package/dist/commonjs/api/collectorPolicies/index.d.ts +3 -0
  139. package/dist/commonjs/api/collectorPolicies/index.js +36 -0
  140. package/dist/commonjs/api/collectorPolicies/index.js.map +7 -0
  141. package/dist/commonjs/api/collectorPolicies/operations.d.ts +27 -0
  142. package/dist/commonjs/api/collectorPolicies/operations.js +271 -0
  143. package/dist/commonjs/api/collectorPolicies/operations.js.map +7 -0
  144. package/dist/commonjs/api/collectorPolicies/options.d.ts +21 -0
  145. package/dist/commonjs/api/collectorPolicies/options.js +16 -0
  146. package/dist/commonjs/api/collectorPolicies/options.js.map +7 -0
  147. package/dist/commonjs/api/index.d.ts +3 -0
  148. package/dist/commonjs/api/index.js +28 -0
  149. package/dist/commonjs/api/index.js.map +7 -0
  150. package/dist/commonjs/api/networkFunction/index.d.ts +3 -0
  151. package/dist/commonjs/api/networkFunction/index.js +28 -0
  152. package/dist/commonjs/api/networkFunction/index.js.map +7 -0
  153. package/dist/commonjs/api/networkFunction/operations.d.ts +10 -0
  154. package/dist/commonjs/api/networkFunction/operations.js +70 -0
  155. package/dist/commonjs/api/networkFunction/operations.js.map +7 -0
  156. package/dist/commonjs/api/networkFunction/options.d.ts +5 -0
  157. package/dist/commonjs/api/networkFunction/options.js +16 -0
  158. package/dist/commonjs/api/networkFunction/options.js.map +7 -0
  159. package/dist/commonjs/azureTrafficCollectorClient.d.ts +25 -22
  160. package/dist/commonjs/azureTrafficCollectorClient.js +38 -105
  161. package/dist/commonjs/azureTrafficCollectorClient.js.map +3 -3
  162. package/dist/commonjs/classic/azureTrafficCollectors/index.d.ts +26 -0
  163. package/dist/commonjs/classic/azureTrafficCollectors/index.js +70 -0
  164. package/dist/commonjs/classic/azureTrafficCollectors/index.js.map +7 -0
  165. package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
  166. package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.js +38 -0
  167. package/dist/commonjs/classic/azureTrafficCollectorsByResourceGroup/index.js.map +7 -0
  168. package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
  169. package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.js +38 -0
  170. package/dist/commonjs/classic/azureTrafficCollectorsBySubscription/index.js.map +7 -0
  171. package/dist/commonjs/classic/collectorPolicies/index.d.ts +29 -0
  172. package/dist/commonjs/classic/collectorPolicies/index.js +99 -0
  173. package/dist/commonjs/classic/collectorPolicies/index.js.map +7 -0
  174. package/dist/commonjs/classic/index.d.ts +6 -0
  175. package/dist/commonjs/{operationsInterfaces/networkFunction.js → classic/index.js} +3 -2
  176. package/dist/commonjs/classic/index.js.map +7 -0
  177. package/dist/commonjs/classic/networkFunction/index.d.ts +11 -0
  178. package/dist/commonjs/{pagingHelper.js → classic/networkFunction/index.js} +15 -20
  179. package/dist/commonjs/classic/networkFunction/index.js.map +7 -0
  180. package/dist/commonjs/index.d.ts +19 -3
  181. package/dist/commonjs/index.js +27 -8
  182. package/dist/commonjs/index.js.map +3 -3
  183. package/dist/commonjs/logger.d.ts +2 -0
  184. package/dist/commonjs/logger.js +29 -0
  185. package/dist/commonjs/logger.js.map +7 -0
  186. package/dist/commonjs/models/index.d.ts +2 -432
  187. package/dist/commonjs/models/index.js +11 -45
  188. package/dist/commonjs/models/index.js.map +4 -4
  189. package/dist/commonjs/models/models.d.ts +335 -0
  190. package/dist/commonjs/models/models.js +461 -0
  191. package/dist/commonjs/models/models.js.map +7 -0
  192. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  193. package/dist/commonjs/restorePollerHelpers.js +117 -0
  194. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  195. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  196. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  197. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  198. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  199. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  200. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  201. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  202. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  203. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  204. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  205. package/dist/commonjs/{lroImpl.js → static-helpers/serialization/check-prop-undefined.js} +12 -23
  206. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  207. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  208. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  209. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  210. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  211. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  212. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  213. package/dist/commonjs/tsdoc-metadata.json +1 -1
  214. package/dist/esm/api/azureTrafficCollectorContext.d.ts +22 -0
  215. package/dist/esm/api/azureTrafficCollectorContext.js +26 -0
  216. package/dist/esm/api/azureTrafficCollectorContext.js.map +1 -0
  217. package/dist/esm/api/azureTrafficCollectors/index.d.ts +3 -0
  218. package/dist/esm/api/azureTrafficCollectors/index.js +4 -0
  219. package/dist/esm/api/azureTrafficCollectors/index.js.map +1 -0
  220. package/dist/esm/api/azureTrafficCollectors/operations.d.ts +22 -0
  221. package/dist/esm/api/azureTrafficCollectors/operations.js +138 -0
  222. package/dist/esm/api/azureTrafficCollectors/operations.js.map +1 -0
  223. package/dist/esm/api/azureTrafficCollectors/options.d.ts +18 -0
  224. package/dist/esm/api/azureTrafficCollectors/options.js +4 -0
  225. package/dist/esm/api/azureTrafficCollectors/options.js.map +1 -0
  226. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.d.ts +3 -0
  227. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.js +4 -0
  228. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
  229. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.d.ts +10 -0
  230. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.js +35 -0
  231. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/operations.js.map +1 -0
  232. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.d.ts +5 -0
  233. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.js +4 -0
  234. package/dist/esm/api/azureTrafficCollectorsByResourceGroup/options.js.map +1 -0
  235. package/dist/esm/api/azureTrafficCollectorsBySubscription/index.d.ts +3 -0
  236. package/dist/esm/api/azureTrafficCollectorsBySubscription/index.js +4 -0
  237. package/dist/esm/api/azureTrafficCollectorsBySubscription/index.js.map +1 -0
  238. package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.d.ts +10 -0
  239. package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.js +34 -0
  240. package/dist/esm/api/azureTrafficCollectorsBySubscription/operations.js.map +1 -0
  241. package/dist/esm/api/azureTrafficCollectorsBySubscription/options.d.ts +5 -0
  242. package/dist/esm/api/azureTrafficCollectorsBySubscription/options.js +4 -0
  243. package/dist/esm/api/azureTrafficCollectorsBySubscription/options.js.map +1 -0
  244. package/dist/esm/api/collectorPolicies/index.d.ts +3 -0
  245. package/dist/esm/api/collectorPolicies/index.js +4 -0
  246. package/dist/esm/api/collectorPolicies/index.js.map +1 -0
  247. package/dist/esm/api/collectorPolicies/operations.d.ts +27 -0
  248. package/dist/esm/api/collectorPolicies/operations.js +172 -0
  249. package/dist/esm/api/collectorPolicies/operations.js.map +1 -0
  250. package/dist/esm/api/collectorPolicies/options.d.ts +21 -0
  251. package/dist/esm/api/collectorPolicies/options.js +4 -0
  252. package/dist/esm/api/collectorPolicies/options.js.map +1 -0
  253. package/dist/esm/api/index.d.ts +3 -0
  254. package/dist/esm/api/index.js +4 -0
  255. package/dist/esm/api/index.js.map +1 -0
  256. package/dist/esm/api/networkFunction/index.d.ts +3 -0
  257. package/dist/esm/api/networkFunction/index.js +4 -0
  258. package/dist/esm/api/networkFunction/index.js.map +1 -0
  259. package/dist/esm/api/networkFunction/operations.d.ts +10 -0
  260. package/dist/esm/api/networkFunction/operations.js +33 -0
  261. package/dist/esm/api/networkFunction/operations.js.map +1 -0
  262. package/dist/esm/api/networkFunction/options.d.ts +5 -0
  263. package/dist/esm/api/networkFunction/options.js +4 -0
  264. package/dist/esm/api/networkFunction/options.js.map +1 -0
  265. package/dist/esm/azureTrafficCollectorClient.d.ts +25 -22
  266. package/dist/esm/azureTrafficCollectorClient.js +48 -110
  267. package/dist/esm/azureTrafficCollectorClient.js.map +1 -7
  268. package/dist/esm/classic/azureTrafficCollectors/index.d.ts +26 -0
  269. package/dist/esm/classic/azureTrafficCollectors/index.js +34 -0
  270. package/dist/esm/classic/azureTrafficCollectors/index.js.map +1 -0
  271. package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.d.ts +11 -0
  272. package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.js +14 -0
  273. package/dist/esm/classic/azureTrafficCollectorsByResourceGroup/index.js.map +1 -0
  274. package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.d.ts +11 -0
  275. package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.js +14 -0
  276. package/dist/esm/classic/azureTrafficCollectorsBySubscription/index.js.map +1 -0
  277. package/dist/esm/classic/collectorPolicies/index.d.ts +29 -0
  278. package/dist/esm/classic/collectorPolicies/index.js +35 -0
  279. package/dist/esm/classic/collectorPolicies/index.js.map +1 -0
  280. package/dist/esm/classic/index.d.ts +6 -0
  281. package/dist/esm/classic/index.js +4 -0
  282. package/dist/esm/classic/index.js.map +1 -0
  283. package/dist/esm/classic/networkFunction/index.d.ts +11 -0
  284. package/dist/esm/classic/networkFunction/index.js +14 -0
  285. package/dist/esm/classic/networkFunction/index.js.map +1 -0
  286. package/dist/esm/index.d.ts +19 -3
  287. package/dist/esm/index.js +9 -8
  288. package/dist/esm/index.js.map +1 -7
  289. package/dist/esm/logger.d.ts +2 -0
  290. package/dist/esm/logger.js +5 -0
  291. package/dist/esm/logger.js.map +1 -0
  292. package/dist/esm/models/index.d.ts +2 -432
  293. package/dist/esm/models/index.js +4 -45
  294. package/dist/esm/models/index.js.map +1 -7
  295. package/dist/esm/models/models.d.ts +335 -0
  296. package/dist/esm/models/models.js +405 -0
  297. package/dist/esm/models/models.js.map +1 -0
  298. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  299. package/dist/esm/restorePollerHelpers.js +104 -0
  300. package/dist/esm/restorePollerHelpers.js.map +1 -0
  301. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  302. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  303. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  304. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  305. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  306. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  307. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  308. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  309. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  310. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  311. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  312. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  313. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  314. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  315. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  316. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  317. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  318. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  319. package/package.json +189 -80
  320. package/CHANGELOG.md +0 -44
  321. package/dist/browser/azureTrafficCollectorClient.d.ts.map +0 -1
  322. package/dist/browser/index.d.ts.map +0 -1
  323. package/dist/browser/lroImpl.d.ts +0 -16
  324. package/dist/browser/lroImpl.d.ts.map +0 -1
  325. package/dist/browser/lroImpl.js +0 -33
  326. package/dist/browser/lroImpl.js.map +0 -1
  327. package/dist/browser/models/index.d.ts.map +0 -1
  328. package/dist/browser/models/mappers.d.ts +0 -21
  329. package/dist/browser/models/mappers.d.ts.map +0 -1
  330. package/dist/browser/models/mappers.js +0 -534
  331. package/dist/browser/models/mappers.js.map +0 -1
  332. package/dist/browser/models/parameters.d.ts +0 -19
  333. package/dist/browser/models/parameters.d.ts.map +0 -1
  334. package/dist/browser/models/parameters.js +0 -136
  335. package/dist/browser/models/parameters.js.map +0 -1
  336. package/dist/browser/operations/azureTrafficCollectors.d.ts +0 -59
  337. package/dist/browser/operations/azureTrafficCollectors.d.ts.map +0 -1
  338. package/dist/browser/operations/azureTrafficCollectors.js +0 -258
  339. package/dist/browser/operations/azureTrafficCollectors.js.map +0 -1
  340. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
  341. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  342. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js +0 -129
  343. package/dist/browser/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  344. package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
  345. package/dist/browser/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  346. package/dist/browser/operations/azureTrafficCollectorsBySubscription.js +0 -121
  347. package/dist/browser/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
  348. package/dist/browser/operations/collectorPolicies.d.ts +0 -90
  349. package/dist/browser/operations/collectorPolicies.d.ts.map +0 -1
  350. package/dist/browser/operations/collectorPolicies.js +0 -401
  351. package/dist/browser/operations/collectorPolicies.js.map +0 -1
  352. package/dist/browser/operations/index.d.ts +0 -6
  353. package/dist/browser/operations/index.d.ts.map +0 -1
  354. package/dist/browser/operations/index.js +0 -13
  355. package/dist/browser/operations/index.js.map +0 -1
  356. package/dist/browser/operations/networkFunction.d.ts +0 -26
  357. package/dist/browser/operations/networkFunction.d.ts.map +0 -1
  358. package/dist/browser/operations/networkFunction.js +0 -79
  359. package/dist/browser/operations/networkFunction.js.map +0 -1
  360. package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
  361. package/dist/browser/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
  362. package/dist/browser/operationsInterfaces/azureTrafficCollectors.js +0 -9
  363. package/dist/browser/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
  364. package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
  365. package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  366. package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
  367. package/dist/browser/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  368. package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
  369. package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  370. package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
  371. package/dist/browser/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
  372. package/dist/browser/operationsInterfaces/collectorPolicies.d.ts +0 -65
  373. package/dist/browser/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
  374. package/dist/browser/operationsInterfaces/collectorPolicies.js +0 -9
  375. package/dist/browser/operationsInterfaces/collectorPolicies.js.map +0 -1
  376. package/dist/browser/operationsInterfaces/index.d.ts +0 -6
  377. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  378. package/dist/browser/operationsInterfaces/index.js +0 -13
  379. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  380. package/dist/browser/operationsInterfaces/networkFunction.d.ts +0 -11
  381. package/dist/browser/operationsInterfaces/networkFunction.d.ts.map +0 -1
  382. package/dist/browser/operationsInterfaces/networkFunction.js +0 -9
  383. package/dist/browser/operationsInterfaces/networkFunction.js.map +0 -1
  384. package/dist/browser/pagingHelper.d.ts +0 -13
  385. package/dist/browser/pagingHelper.d.ts.map +0 -1
  386. package/dist/browser/pagingHelper.js +0 -30
  387. package/dist/browser/pagingHelper.js.map +0 -1
  388. package/dist/commonjs/azureTrafficCollectorClient.d.ts.map +0 -1
  389. package/dist/commonjs/index.d.ts.map +0 -1
  390. package/dist/commonjs/lroImpl.d.ts +0 -16
  391. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  392. package/dist/commonjs/lroImpl.js.map +0 -7
  393. package/dist/commonjs/models/index.d.ts.map +0 -1
  394. package/dist/commonjs/models/mappers.d.ts +0 -21
  395. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  396. package/dist/commonjs/models/mappers.js +0 -588
  397. package/dist/commonjs/models/mappers.js.map +0 -7
  398. package/dist/commonjs/models/parameters.d.ts +0 -19
  399. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  400. package/dist/commonjs/models/parameters.js +0 -186
  401. package/dist/commonjs/models/parameters.js.map +0 -7
  402. package/dist/commonjs/operations/azureTrafficCollectors.d.ts +0 -59
  403. package/dist/commonjs/operations/azureTrafficCollectors.d.ts.map +0 -1
  404. package/dist/commonjs/operations/azureTrafficCollectors.js +0 -311
  405. package/dist/commonjs/operations/azureTrafficCollectors.js.map +0 -7
  406. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
  407. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  408. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js +0 -168
  409. package/dist/commonjs/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -7
  410. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
  411. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  412. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js +0 -153
  413. package/dist/commonjs/operations/azureTrafficCollectorsBySubscription.js.map +0 -7
  414. package/dist/commonjs/operations/collectorPolicies.d.ts +0 -90
  415. package/dist/commonjs/operations/collectorPolicies.d.ts.map +0 -1
  416. package/dist/commonjs/operations/collectorPolicies.js +0 -483
  417. package/dist/commonjs/operations/collectorPolicies.js.map +0 -7
  418. package/dist/commonjs/operations/index.d.ts +0 -6
  419. package/dist/commonjs/operations/index.d.ts.map +0 -1
  420. package/dist/commonjs/operations/index.js +0 -29
  421. package/dist/commonjs/operations/index.js.map +0 -7
  422. package/dist/commonjs/operations/networkFunction.d.ts +0 -26
  423. package/dist/commonjs/operations/networkFunction.d.ts.map +0 -1
  424. package/dist/commonjs/operations/networkFunction.js +0 -111
  425. package/dist/commonjs/operations/networkFunction.js.map +0 -7
  426. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
  427. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
  428. package/dist/commonjs/operationsInterfaces/azureTrafficCollectors.js.map +0 -7
  429. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
  430. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  431. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -7
  432. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
  433. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  434. package/dist/commonjs/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -7
  435. package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts +0 -65
  436. package/dist/commonjs/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
  437. package/dist/commonjs/operationsInterfaces/collectorPolicies.js.map +0 -7
  438. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -6
  439. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  440. package/dist/commonjs/operationsInterfaces/index.js +0 -29
  441. package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
  442. package/dist/commonjs/operationsInterfaces/networkFunction.d.ts +0 -11
  443. package/dist/commonjs/operationsInterfaces/networkFunction.d.ts.map +0 -1
  444. package/dist/commonjs/operationsInterfaces/networkFunction.js.map +0 -7
  445. package/dist/commonjs/pagingHelper.d.ts +0 -13
  446. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  447. package/dist/commonjs/pagingHelper.js.map +0 -7
  448. package/dist/esm/azureTrafficCollectorClient.d.ts.map +0 -1
  449. package/dist/esm/index.d.ts.map +0 -1
  450. package/dist/esm/lroImpl.d.ts +0 -16
  451. package/dist/esm/lroImpl.d.ts.map +0 -1
  452. package/dist/esm/lroImpl.js +0 -23
  453. package/dist/esm/lroImpl.js.map +0 -7
  454. package/dist/esm/models/index.d.ts.map +0 -1
  455. package/dist/esm/models/mappers.d.ts +0 -21
  456. package/dist/esm/models/mappers.d.ts.map +0 -1
  457. package/dist/esm/models/mappers.js +0 -547
  458. package/dist/esm/models/mappers.js.map +0 -7
  459. package/dist/esm/models/parameters.d.ts +0 -19
  460. package/dist/esm/models/parameters.d.ts.map +0 -1
  461. package/dist/esm/models/parameters.js +0 -151
  462. package/dist/esm/models/parameters.js.map +0 -7
  463. package/dist/esm/operations/azureTrafficCollectors.d.ts +0 -59
  464. package/dist/esm/operations/azureTrafficCollectors.d.ts.map +0 -1
  465. package/dist/esm/operations/azureTrafficCollectors.js +0 -278
  466. package/dist/esm/operations/azureTrafficCollectors.js.map +0 -7
  467. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
  468. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  469. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js +0 -135
  470. package/dist/esm/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -7
  471. package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
  472. package/dist/esm/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  473. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js +0 -120
  474. package/dist/esm/operations/azureTrafficCollectorsBySubscription.js.map +0 -7
  475. package/dist/esm/operations/collectorPolicies.d.ts +0 -90
  476. package/dist/esm/operations/collectorPolicies.d.ts.map +0 -1
  477. package/dist/esm/operations/collectorPolicies.js +0 -450
  478. package/dist/esm/operations/collectorPolicies.js.map +0 -7
  479. package/dist/esm/operations/index.d.ts +0 -6
  480. package/dist/esm/operations/index.d.ts.map +0 -1
  481. package/dist/esm/operations/index.js +0 -5
  482. package/dist/esm/operations/index.js.map +0 -7
  483. package/dist/esm/operations/networkFunction.d.ts +0 -26
  484. package/dist/esm/operations/networkFunction.d.ts.map +0 -1
  485. package/dist/esm/operations/networkFunction.js +0 -78
  486. package/dist/esm/operations/networkFunction.js.map +0 -7
  487. package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
  488. package/dist/esm/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
  489. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js +0 -0
  490. package/dist/esm/operationsInterfaces/azureTrafficCollectors.js.map +0 -7
  491. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
  492. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  493. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -0
  494. package/dist/esm/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -7
  495. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
  496. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  497. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -0
  498. package/dist/esm/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -7
  499. package/dist/esm/operationsInterfaces/collectorPolicies.d.ts +0 -65
  500. package/dist/esm/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
  501. package/dist/esm/operationsInterfaces/collectorPolicies.js +0 -0
  502. package/dist/esm/operationsInterfaces/collectorPolicies.js.map +0 -7
  503. package/dist/esm/operationsInterfaces/index.d.ts +0 -6
  504. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  505. package/dist/esm/operationsInterfaces/index.js +0 -5
  506. package/dist/esm/operationsInterfaces/index.js.map +0 -7
  507. package/dist/esm/operationsInterfaces/networkFunction.d.ts +0 -11
  508. package/dist/esm/operationsInterfaces/networkFunction.d.ts.map +0 -1
  509. package/dist/esm/operationsInterfaces/networkFunction.js +0 -0
  510. package/dist/esm/operationsInterfaces/networkFunction.js.map +0 -7
  511. package/dist/esm/pagingHelper.d.ts +0 -13
  512. package/dist/esm/pagingHelper.d.ts.map +0 -1
  513. package/dist/esm/pagingHelper.js +0 -19
  514. package/dist/esm/pagingHelper.js.map +0 -7
  515. package/dist/react-native/azureTrafficCollectorClient.d.ts +0 -24
  516. package/dist/react-native/azureTrafficCollectorClient.d.ts.map +0 -1
  517. package/dist/react-native/azureTrafficCollectorClient.js +0 -114
  518. package/dist/react-native/azureTrafficCollectorClient.js.map +0 -1
  519. package/dist/react-native/index.d.ts +0 -5
  520. package/dist/react-native/index.d.ts.map +0 -1
  521. package/dist/react-native/index.js +0 -13
  522. package/dist/react-native/index.js.map +0 -1
  523. package/dist/react-native/lroImpl.d.ts +0 -16
  524. package/dist/react-native/lroImpl.d.ts.map +0 -1
  525. package/dist/react-native/lroImpl.js +0 -33
  526. package/dist/react-native/lroImpl.js.map +0 -1
  527. package/dist/react-native/models/index.d.ts +0 -433
  528. package/dist/react-native/models/index.d.ts.map +0 -1
  529. package/dist/react-native/models/index.js +0 -66
  530. package/dist/react-native/models/index.js.map +0 -1
  531. package/dist/react-native/models/mappers.d.ts +0 -21
  532. package/dist/react-native/models/mappers.d.ts.map +0 -1
  533. package/dist/react-native/models/mappers.js +0 -534
  534. package/dist/react-native/models/mappers.js.map +0 -1
  535. package/dist/react-native/models/parameters.d.ts +0 -19
  536. package/dist/react-native/models/parameters.d.ts.map +0 -1
  537. package/dist/react-native/models/parameters.js +0 -136
  538. package/dist/react-native/models/parameters.js.map +0 -1
  539. package/dist/react-native/operations/azureTrafficCollectors.d.ts +0 -59
  540. package/dist/react-native/operations/azureTrafficCollectors.d.ts.map +0 -1
  541. package/dist/react-native/operations/azureTrafficCollectors.js +0 -258
  542. package/dist/react-native/operations/azureTrafficCollectors.js.map +0 -1
  543. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts +0 -35
  544. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  545. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js +0 -129
  546. package/dist/react-native/operations/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  547. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts +0 -32
  548. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  549. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js +0 -121
  550. package/dist/react-native/operations/azureTrafficCollectorsBySubscription.js.map +0 -1
  551. package/dist/react-native/operations/collectorPolicies.d.ts +0 -90
  552. package/dist/react-native/operations/collectorPolicies.d.ts.map +0 -1
  553. package/dist/react-native/operations/collectorPolicies.js +0 -401
  554. package/dist/react-native/operations/collectorPolicies.js.map +0 -1
  555. package/dist/react-native/operations/index.d.ts +0 -6
  556. package/dist/react-native/operations/index.d.ts.map +0 -1
  557. package/dist/react-native/operations/index.js +0 -13
  558. package/dist/react-native/operations/index.js.map +0 -1
  559. package/dist/react-native/operations/networkFunction.d.ts +0 -26
  560. package/dist/react-native/operations/networkFunction.d.ts.map +0 -1
  561. package/dist/react-native/operations/networkFunction.js +0 -79
  562. package/dist/react-native/operations/networkFunction.js.map +0 -1
  563. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts +0 -51
  564. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.d.ts.map +0 -1
  565. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js +0 -9
  566. package/dist/react-native/operationsInterfaces/azureTrafficCollectors.js.map +0 -1
  567. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts +0 -12
  568. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.d.ts.map +0 -1
  569. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js +0 -9
  570. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsByResourceGroup.js.map +0 -1
  571. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts +0 -11
  572. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.d.ts.map +0 -1
  573. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js +0 -9
  574. package/dist/react-native/operationsInterfaces/azureTrafficCollectorsBySubscription.js.map +0 -1
  575. package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts +0 -65
  576. package/dist/react-native/operationsInterfaces/collectorPolicies.d.ts.map +0 -1
  577. package/dist/react-native/operationsInterfaces/collectorPolicies.js +0 -9
  578. package/dist/react-native/operationsInterfaces/collectorPolicies.js.map +0 -1
  579. package/dist/react-native/operationsInterfaces/index.d.ts +0 -6
  580. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  581. package/dist/react-native/operationsInterfaces/index.js +0 -13
  582. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  583. package/dist/react-native/operationsInterfaces/networkFunction.d.ts +0 -11
  584. package/dist/react-native/operationsInterfaces/networkFunction.d.ts.map +0 -1
  585. package/dist/react-native/operationsInterfaces/networkFunction.js +0 -9
  586. package/dist/react-native/operationsInterfaces/networkFunction.js.map +0 -1
  587. package/dist/react-native/package.json +0 -3
  588. package/dist/react-native/pagingHelper.d.ts +0 -13
  589. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  590. package/dist/react-native/pagingHelper.js +0 -30
  591. package/dist/react-native/pagingHelper.js.map +0 -1
  592. package/review/arm-networkfunction-node.api.md +0 -392
@@ -0,0 +1,271 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var operations_exports = {};
19
+ __export(operations_exports, {
20
+ $delete: () => $delete,
21
+ _$deleteDeserialize: () => _$deleteDeserialize,
22
+ _$deleteSend: () => _$deleteSend,
23
+ _createOrUpdateDeserialize: () => _createOrUpdateDeserialize,
24
+ _createOrUpdateSend: () => _createOrUpdateSend,
25
+ _getDeserialize: () => _getDeserialize,
26
+ _getSend: () => _getSend,
27
+ _listDeserialize: () => _listDeserialize,
28
+ _listSend: () => _listSend,
29
+ _updateTagsDeserialize: () => _updateTagsDeserialize,
30
+ _updateTagsSend: () => _updateTagsSend,
31
+ createOrUpdate: () => createOrUpdate,
32
+ get: () => get,
33
+ list: () => list,
34
+ updateTags: () => updateTags
35
+ });
36
+ module.exports = __toCommonJS(operations_exports);
37
+ var import_models = require("../../models/models.js");
38
+ var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
39
+ var import_pollingHelpers = require("../../static-helpers/pollingHelpers.js");
40
+ var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
41
+ var import_core_client = require("@azure-rest/core-client");
42
+ function _listSend(context, resourceGroupName, azureTrafficCollectorName, options = { requestOptions: {} }) {
43
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
44
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies{?api%2Dversion}",
45
+ {
46
+ subscriptionId: context.subscriptionId,
47
+ resourceGroupName,
48
+ azureTrafficCollectorName,
49
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
50
+ },
51
+ {
52
+ allowReserved: options?.requestOptions?.skipUrlEncoding
53
+ }
54
+ );
55
+ return context.path(path).get({
56
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
57
+ headers: { accept: "application/json", ...options.requestOptions?.headers }
58
+ });
59
+ }
60
+ async function _listDeserialize(result) {
61
+ const expectedStatuses = ["200"];
62
+ if (!expectedStatuses.includes(result.status)) {
63
+ const error = (0, import_core_client.createRestError)(result);
64
+ if (result.body) {
65
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
66
+ }
67
+ throw error;
68
+ }
69
+ return (0, import_models._collectorPolicyListResultDeserializer)(result.body);
70
+ }
71
+ function list(context, resourceGroupName, azureTrafficCollectorName, options = { requestOptions: {} }) {
72
+ return (0, import_pagingHelpers.buildPagedAsyncIterator)(
73
+ context,
74
+ () => _listSend(context, resourceGroupName, azureTrafficCollectorName, options),
75
+ _listDeserialize,
76
+ ["200"],
77
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2022-11-01" }
78
+ );
79
+ }
80
+ function _$deleteSend(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options = { requestOptions: {} }) {
81
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
82
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}",
83
+ {
84
+ subscriptionId: context.subscriptionId,
85
+ resourceGroupName,
86
+ azureTrafficCollectorName,
87
+ collectorPolicyName,
88
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
89
+ },
90
+ {
91
+ allowReserved: options?.requestOptions?.skipUrlEncoding
92
+ }
93
+ );
94
+ return context.path(path).delete({ ...(0, import_core_client.operationOptionsToRequestParameters)(options) });
95
+ }
96
+ async function _$deleteDeserialize(result) {
97
+ const expectedStatuses = ["200", "202", "204"];
98
+ if (!expectedStatuses.includes(result.status)) {
99
+ const error = (0, import_core_client.createRestError)(result);
100
+ if (result.body) {
101
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
102
+ }
103
+ throw error;
104
+ }
105
+ return;
106
+ }
107
+ function $delete(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options = { requestOptions: {} }) {
108
+ return (0, import_pollingHelpers.getLongRunningPoller)(context, _$deleteDeserialize, ["200", "202", "204"], {
109
+ updateIntervalInMs: options?.updateIntervalInMs,
110
+ abortSignal: options?.abortSignal,
111
+ getInitialResponse: () => _$deleteSend(
112
+ context,
113
+ resourceGroupName,
114
+ azureTrafficCollectorName,
115
+ collectorPolicyName,
116
+ options
117
+ ),
118
+ resourceLocationConfig: "location",
119
+ apiVersion: context.apiVersion ?? "2022-11-01"
120
+ });
121
+ }
122
+ function _updateTagsSend(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, parameters, options = { requestOptions: {} }) {
123
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
124
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}",
125
+ {
126
+ subscriptionId: context.subscriptionId,
127
+ resourceGroupName,
128
+ azureTrafficCollectorName,
129
+ collectorPolicyName,
130
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
131
+ },
132
+ {
133
+ allowReserved: options?.requestOptions?.skipUrlEncoding
134
+ }
135
+ );
136
+ return context.path(path).patch({
137
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
138
+ contentType: "application/json",
139
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
140
+ body: (0, import_models.tagsObjectSerializer)(parameters)
141
+ });
142
+ }
143
+ async function _updateTagsDeserialize(result) {
144
+ const expectedStatuses = ["200"];
145
+ if (!expectedStatuses.includes(result.status)) {
146
+ const error = (0, import_core_client.createRestError)(result);
147
+ if (result.body) {
148
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
149
+ }
150
+ throw error;
151
+ }
152
+ return (0, import_models.collectorPolicyDeserializer)(result.body);
153
+ }
154
+ async function updateTags(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, parameters, options = { requestOptions: {} }) {
155
+ const result = await _updateTagsSend(
156
+ context,
157
+ resourceGroupName,
158
+ azureTrafficCollectorName,
159
+ collectorPolicyName,
160
+ parameters,
161
+ options
162
+ );
163
+ return _updateTagsDeserialize(result);
164
+ }
165
+ function _createOrUpdateSend(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, parameters, options = { requestOptions: {} }) {
166
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
167
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}",
168
+ {
169
+ subscriptionId: context.subscriptionId,
170
+ resourceGroupName,
171
+ azureTrafficCollectorName,
172
+ collectorPolicyName,
173
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
174
+ },
175
+ {
176
+ allowReserved: options?.requestOptions?.skipUrlEncoding
177
+ }
178
+ );
179
+ return context.path(path).put({
180
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
181
+ contentType: "application/json",
182
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
183
+ body: (0, import_models.collectorPolicySerializer)(parameters)
184
+ });
185
+ }
186
+ async function _createOrUpdateDeserialize(result) {
187
+ const expectedStatuses = ["200", "201", "202"];
188
+ if (!expectedStatuses.includes(result.status)) {
189
+ const error = (0, import_core_client.createRestError)(result);
190
+ if (result.body) {
191
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
192
+ }
193
+ throw error;
194
+ }
195
+ return (0, import_models.collectorPolicyDeserializer)(result.body);
196
+ }
197
+ function createOrUpdate(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, parameters, options = { requestOptions: {} }) {
198
+ return (0, import_pollingHelpers.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201", "202"], {
199
+ updateIntervalInMs: options?.updateIntervalInMs,
200
+ abortSignal: options?.abortSignal,
201
+ getInitialResponse: () => _createOrUpdateSend(
202
+ context,
203
+ resourceGroupName,
204
+ azureTrafficCollectorName,
205
+ collectorPolicyName,
206
+ parameters,
207
+ options
208
+ ),
209
+ resourceLocationConfig: "azure-async-operation",
210
+ apiVersion: context.apiVersion ?? "2022-11-01"
211
+ });
212
+ }
213
+ function _getSend(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options = { requestOptions: {} }) {
214
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
215
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}",
216
+ {
217
+ subscriptionId: context.subscriptionId,
218
+ resourceGroupName,
219
+ azureTrafficCollectorName,
220
+ collectorPolicyName,
221
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
222
+ },
223
+ {
224
+ allowReserved: options?.requestOptions?.skipUrlEncoding
225
+ }
226
+ );
227
+ return context.path(path).get({
228
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
229
+ headers: { accept: "application/json", ...options.requestOptions?.headers }
230
+ });
231
+ }
232
+ async function _getDeserialize(result) {
233
+ const expectedStatuses = ["200"];
234
+ if (!expectedStatuses.includes(result.status)) {
235
+ const error = (0, import_core_client.createRestError)(result);
236
+ if (result.body) {
237
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
238
+ }
239
+ throw error;
240
+ }
241
+ return (0, import_models.collectorPolicyDeserializer)(result.body);
242
+ }
243
+ async function get(context, resourceGroupName, azureTrafficCollectorName, collectorPolicyName, options = { requestOptions: {} }) {
244
+ const result = await _getSend(
245
+ context,
246
+ resourceGroupName,
247
+ azureTrafficCollectorName,
248
+ collectorPolicyName,
249
+ options
250
+ );
251
+ return _getDeserialize(result);
252
+ }
253
+ // Annotate the CommonJS export names for ESM import in node:
254
+ 0 && (module.exports = {
255
+ $delete,
256
+ _$deleteDeserialize,
257
+ _$deleteSend,
258
+ _createOrUpdateDeserialize,
259
+ _createOrUpdateSend,
260
+ _getDeserialize,
261
+ _getSend,
262
+ _listDeserialize,
263
+ _listSend,
264
+ _updateTagsDeserialize,
265
+ _updateTagsSend,
266
+ createOrUpdate,
267
+ get,
268
+ list,
269
+ updateTags
270
+ });
271
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/collectorPolicies/operations.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureTrafficCollectorContext as Client } from \"../index.js\";\nimport type {\n TagsObject,\n CollectorPolicy,\n _CollectorPolicyListResult,\n} from \"../../models/models.js\";\nimport {\n cloudErrorDeserializer,\n tagsObjectSerializer,\n collectorPolicySerializer,\n collectorPolicyDeserializer,\n _collectorPolicyListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n CollectorPoliciesListOptionalParams,\n CollectorPoliciesDeleteOptionalParams,\n CollectorPoliciesUpdateTagsOptionalParams,\n CollectorPoliciesCreateOrUpdateOptionalParams,\n CollectorPoliciesGetOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listSend(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options: CollectorPoliciesListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n azureTrafficCollectorName: azureTrafficCollectorName,\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_CollectorPolicyListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _collectorPolicyListResultDeserializer(result.body);\n}\n\n/** Return list of Collector policies in a Azure Traffic Collector */\nexport function list(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n options: CollectorPoliciesListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<CollectorPolicy> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, resourceGroupName, azureTrafficCollectorName, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2022-11-01\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options: CollectorPoliciesDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n azureTrafficCollectorName: azureTrafficCollectorName,\n collectorPolicyName: collectorPolicyName,\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"202\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a specified Collector Policy resource. */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options: CollectorPoliciesDeleteOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"200\", \"202\", \"204\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(\n context,\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n options,\n ),\n resourceLocationConfig: \"location\",\n apiVersion: context.apiVersion ?? \"2022-11-01\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateTagsSend(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: TagsObject,\n options: CollectorPoliciesUpdateTagsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n azureTrafficCollectorName: azureTrafficCollectorName,\n collectorPolicyName: collectorPolicyName,\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: tagsObjectSerializer(parameters),\n });\n}\n\nexport async function _updateTagsDeserialize(\n result: PathUncheckedResponse,\n): Promise<CollectorPolicy> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return collectorPolicyDeserializer(result.body);\n}\n\n/** Updates the specified Collector Policy tags. */\nexport async function updateTags(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: TagsObject,\n options: CollectorPoliciesUpdateTagsOptionalParams = { requestOptions: {} },\n): Promise<CollectorPolicy> {\n const result = await _updateTagsSend(\n context,\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n parameters,\n options,\n );\n return _updateTagsDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: CollectorPolicy,\n options: CollectorPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n azureTrafficCollectorName: azureTrafficCollectorName,\n collectorPolicyName: collectorPolicyName,\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: collectorPolicySerializer(parameters),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<CollectorPolicy> {\n const expectedStatuses = [\"200\", \"201\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return collectorPolicyDeserializer(result.body);\n}\n\n/** Creates or updates a Collector Policy resource */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n parameters: CollectorPolicy,\n options: CollectorPoliciesCreateOrUpdateOptionalParams = { requestOptions: {} },\n): PollerLike<OperationState<CollectorPolicy>, CollectorPolicy> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n parameters,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n apiVersion: context.apiVersion ?? \"2022-11-01\",\n }) as PollerLike<OperationState<CollectorPolicy>, CollectorPolicy>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options: CollectorPoliciesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n azureTrafficCollectorName: azureTrafficCollectorName,\n collectorPolicyName: collectorPolicyName,\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(result: PathUncheckedResponse): Promise<CollectorPolicy> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return collectorPolicyDeserializer(result.body);\n}\n\n/** Gets the collector policy in a specified Traffic Collector */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n azureTrafficCollectorName: string,\n collectorPolicyName: string,\n options: CollectorPoliciesGetOptionalParams = { requestOptions: {} },\n): Promise<CollectorPolicy> {\n const result = await _getSend(\n context,\n resourceGroupName,\n azureTrafficCollectorName,\n collectorPolicyName,\n options,\n );\n return _getDeserialize(result);\n}\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -0,0 +1,21 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface CollectorPoliciesListOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface CollectorPoliciesDeleteOptionalParams extends OperationOptions {
7
+ /** Delay to wait until next poll, in milliseconds. */
8
+ updateIntervalInMs?: number;
9
+ }
10
+ /** Optional parameters. */
11
+ export interface CollectorPoliciesUpdateTagsOptionalParams extends OperationOptions {
12
+ }
13
+ /** Optional parameters. */
14
+ export interface CollectorPoliciesCreateOrUpdateOptionalParams extends OperationOptions {
15
+ /** Delay to wait until next poll, in milliseconds. */
16
+ updateIntervalInMs?: number;
17
+ }
18
+ /** Optional parameters. */
19
+ export interface CollectorPoliciesGetOptionalParams extends OperationOptions {
20
+ }
21
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var options_exports = {};
15
+ module.exports = __toCommonJS(options_exports);
16
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/collectorPolicies/options.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CollectorPoliciesListOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesUpdateTagsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface CollectorPoliciesGetOptionalParams extends OperationOptions {}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ export type { AzureTrafficCollectorContext, AzureTrafficCollectorClientOptionalParams, } from "./azureTrafficCollectorContext.js";
2
+ export { createAzureTrafficCollector } from "./azureTrafficCollectorContext.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,28 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var api_exports = {};
19
+ __export(api_exports, {
20
+ createAzureTrafficCollector: () => import_azureTrafficCollectorContext.createAzureTrafficCollector
21
+ });
22
+ module.exports = __toCommonJS(api_exports);
23
+ var import_azureTrafficCollectorContext = require("./azureTrafficCollectorContext.js");
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ createAzureTrafficCollector
27
+ });
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/api/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n AzureTrafficCollectorContext,\n AzureTrafficCollectorClientOptionalParams,\n} from \"./azureTrafficCollectorContext.js\";\nexport { createAzureTrafficCollector } from \"./azureTrafficCollectorContext.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,0CAA4C;",
6
+ "names": []
7
+ }
@@ -0,0 +1,3 @@
1
+ export { listOperations } from "./operations.js";
2
+ export type { NetworkFunctionListOperationsOptionalParams } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,28 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var networkFunction_exports = {};
19
+ __export(networkFunction_exports, {
20
+ listOperations: () => import_operations.listOperations
21
+ });
22
+ module.exports = __toCommonJS(networkFunction_exports);
23
+ var import_operations = require("./operations.js");
24
+ // Annotate the CommonJS export names for ESM import in node:
25
+ 0 && (module.exports = {
26
+ listOperations
27
+ });
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/networkFunction/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listOperations } from \"./operations.js\";\nexport type { NetworkFunctionListOperationsOptionalParams } from \"./options.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAA+B;",
6
+ "names": []
7
+ }
@@ -0,0 +1,10 @@
1
+ import type { AzureTrafficCollectorContext as Client } from "../index.js";
2
+ import type { _OperationListResult, Operation } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { NetworkFunctionListOperationsOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listOperationsSend(context: Client, options?: NetworkFunctionListOperationsOptionalParams): StreamableMethod;
7
+ export declare function _listOperationsDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
8
+ /** Lists all of the available NetworkFunction Rest API operations. */
9
+ export declare function listOperations(context: Client, options?: NetworkFunctionListOperationsOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,70 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var operations_exports = {};
19
+ __export(operations_exports, {
20
+ _listOperationsDeserialize: () => _listOperationsDeserialize,
21
+ _listOperationsSend: () => _listOperationsSend,
22
+ listOperations: () => listOperations
23
+ });
24
+ module.exports = __toCommonJS(operations_exports);
25
+ var import_models = require("../../models/models.js");
26
+ var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
27
+ var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
28
+ var import_core_client = require("@azure-rest/core-client");
29
+ function _listOperationsSend(context, options = { requestOptions: {} }) {
30
+ const path = (0, import_urlTemplate.expandUrlTemplate)(
31
+ "/providers/Microsoft.NetworkFunction/operations{?api%2Dversion}",
32
+ {
33
+ "api%2Dversion": context.apiVersion ?? "2022-11-01"
34
+ },
35
+ {
36
+ allowReserved: options?.requestOptions?.skipUrlEncoding
37
+ }
38
+ );
39
+ return context.path(path).get({
40
+ ...(0, import_core_client.operationOptionsToRequestParameters)(options),
41
+ headers: { accept: "application/json", ...options.requestOptions?.headers }
42
+ });
43
+ }
44
+ async function _listOperationsDeserialize(result) {
45
+ const expectedStatuses = ["200"];
46
+ if (!expectedStatuses.includes(result.status)) {
47
+ const error = (0, import_core_client.createRestError)(result);
48
+ if (result.body) {
49
+ error.details = (0, import_models.cloudErrorDeserializer)(result.body);
50
+ }
51
+ throw error;
52
+ }
53
+ return (0, import_models._operationListResultDeserializer)(result.body);
54
+ }
55
+ function listOperations(context, options = { requestOptions: {} }) {
56
+ return (0, import_pagingHelpers.buildPagedAsyncIterator)(
57
+ context,
58
+ () => _listOperationsSend(context, options),
59
+ _listOperationsDeserialize,
60
+ ["200"],
61
+ { itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2022-11-01" }
62
+ );
63
+ }
64
+ // Annotate the CommonJS export names for ESM import in node:
65
+ 0 && (module.exports = {
66
+ _listOperationsDeserialize,
67
+ _listOperationsSend,
68
+ listOperations
69
+ });
70
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/networkFunction/operations.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureTrafficCollectorContext as Client } from \"../index.js\";\nimport type { _OperationListResult, Operation } from \"../../models/models.js\";\nimport { cloudErrorDeserializer, _operationListResultDeserializer } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type { NetworkFunctionListOperationsOptionalParams } from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listOperationsSend(\n context: Client,\n options: NetworkFunctionListOperationsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.NetworkFunction/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2022-11-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listOperationsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** Lists all of the available NetworkFunction Rest API operations. */\nexport function listOperations(\n context: Client,\n options: NetworkFunctionListOperationsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listOperationsSend(context, options),\n _listOperationsDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2022-11-01\" },\n );\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,oBAAyE;AAEzE,2BAAwC;AACxC,yBAAkC;AAGlC,yBAAqE;AAE9D,SAAS,oBACd,SACA,UAAuD,EAAE,gBAAgB,CAAC,EAAE,GAC1D;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,2BACpB,QAC+B;AAC/B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,QAAI,OAAO,MAAM;AACf,YAAM,cAAU,sCAAuB,OAAO,IAAI;AAAA,IACpD;AAEA,UAAM;AAAA,EACR;AAEA,aAAO,gDAAiC,OAAO,IAAI;AACrD;AAGO,SAAS,eACd,SACA,UAAuD,EAAE,gBAAgB,CAAC,EAAE,GACrC;AACvC,aAAO;AAAA,IACL;AAAA,IACA,MAAM,oBAAoB,SAAS,OAAO;AAAA,IAC1C;AAAA,IACA,CAAC,KAAK;AAAA,IACN,EAAE,UAAU,SAAS,cAAc,YAAY,YAAY,QAAQ,cAAc,aAAa;AAAA,EAChG;AACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,5 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface NetworkFunctionListOperationsOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var options_exports = {};
15
+ module.exports = __toCommonJS(options_exports);
16
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/api/networkFunction/options.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface NetworkFunctionListOperationsOptionalParams extends OperationOptions {}\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,24 +1,27 @@
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;
1
+ import type { AzureTrafficCollectorClientOptionalParams } from "./api/index.js";
2
+ import type { AzureTrafficCollectorsOperations } from "./classic/azureTrafficCollectors/index.js";
3
+ import type { AzureTrafficCollectorsByResourceGroupOperations } from "./classic/azureTrafficCollectorsByResourceGroup/index.js";
4
+ import type { AzureTrafficCollectorsBySubscriptionOperations } from "./classic/azureTrafficCollectorsBySubscription/index.js";
5
+ import type { CollectorPoliciesOperations } from "./classic/collectorPolicies/index.js";
6
+ import type { NetworkFunctionOperations } from "./classic/networkFunction/index.js";
7
+ import type { TokenCredential } from "@azure/core-auth";
8
+ import type { Pipeline } from "@azure/core-rest-pipeline";
9
+ export type { AzureTrafficCollectorClientOptionalParams } from "./api/azureTrafficCollectorContext.js";
10
+ export declare class AzureTrafficCollectorClient {
11
+ private _client;
12
+ /** The pipeline used by this client to make requests */
13
+ readonly pipeline: Pipeline;
14
+ constructor(credential: TokenCredential, options?: AzureTrafficCollectorClientOptionalParams);
15
+ constructor(credential: TokenCredential, subscriptionId: string, options?: AzureTrafficCollectorClientOptionalParams);
16
+ /** The operation groups for azureTrafficCollectorsBySubscription */
17
+ readonly azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscriptionOperations;
18
+ /** The operation groups for azureTrafficCollectorsByResourceGroup */
19
+ readonly azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroupOperations;
20
+ /** The operation groups for networkFunction */
21
+ readonly networkFunction: NetworkFunctionOperations;
22
+ /** The operation groups for collectorPolicies */
23
+ readonly collectorPolicies: CollectorPoliciesOperations;
24
+ /** The operation groups for azureTrafficCollectors */
25
+ readonly azureTrafficCollectors: AzureTrafficCollectorsOperations;
23
26
  }
24
27
  //# sourceMappingURL=azureTrafficCollectorClient.d.ts.map