@azure/arm-networkfunction 2.0.1-alpha.20250217.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
@@ -1 +0,0 @@
1
- {"version":3,"file":"networkfunction_examples.spec.js","sourceRoot":"","sources":["../../test/networkfunction_examples.spec.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AAEjF,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;IACzC,uBAAuB,EAAE;QACvB,WAAW,EAAE,kFAAkF;QAC/F,WAAW,EAAE,gFAAgF;KAC9F;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,kBAAkB,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,CAAC;AAEF,QAAQ,CAAC,sBAAsB,EAAE,GAAG,EAAE;IACpC,IAAI,QAAkB,CAAC;IACvB,IAAI,cAAsB,CAAC;IAC3B,IAAI,MAAmC,CAAC;IACxC,IAAI,QAAgB,CAAC;IACrB,IAAI,aAAqB,CAAC;IAC1B,IAAI,yBAAiC,CAAC;IAEtC,UAAU,CAAC;;YACT,QAAQ,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;YAC1C,MAAM,QAAQ,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;YACtC,cAAc,GAAG,GAAG,CAAC,eAAe,IAAI,EAAE,CAAC;YAC3C,+DAA+D;YAC/D,MAAM,UAAU,GAAG,oBAAoB,EAAE,CAAC;YAC1C,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC,CAAC;YAC1G,QAAQ,GAAG,QAAQ,CAAC;YACpB,aAAa,GAAG,UAAU,CAAC;YAC3B,yBAAyB,GAAG,KAAK,CAAC;QAEpC,CAAC;KAAA,CAAC,CAAC;IAEH,SAAS,CAAC;;YACR,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE;;YACtC,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,0BAA0B,CACxE,aAAa,EACb,yBAAyB,EACzB,QAAQ,EACR,kBAAkB,CAAC,CAAC;YACtB,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC;QACpD,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE;;YACnC,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CAAC,aAAa,EAAE,yBAAyB,CAAC,CAAC;YAC9F,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,yBAAyB,CAAC,CAAC;QACpD,CAAC;KAAA,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE;;YACtC,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;YAC7B,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,aAAa,EAAE,yBAAyB,EAAE,kBAAkB,CAAC,CAAA;QAClI,CAAC;KAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAA"}
@@ -1,164 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import * as coreClient from "@azure/core-client";
10
- import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import {
12
- PipelineRequest,
13
- PipelineResponse,
14
- SendRequest
15
- } from "@azure/core-rest-pipeline";
16
- import * as coreAuth from "@azure/core-auth";
17
- import {
18
- NetworkFunctionImpl,
19
- AzureTrafficCollectorsBySubscriptionImpl,
20
- AzureTrafficCollectorsByResourceGroupImpl,
21
- AzureTrafficCollectorsImpl,
22
- CollectorPoliciesImpl
23
- } from "./operations";
24
- import {
25
- NetworkFunction,
26
- AzureTrafficCollectorsBySubscription,
27
- AzureTrafficCollectorsByResourceGroup,
28
- AzureTrafficCollectors,
29
- CollectorPolicies
30
- } from "./operationsInterfaces";
31
- import { AzureTrafficCollectorClientOptionalParams } from "./models";
32
-
33
- export class AzureTrafficCollectorClient extends coreClient.ServiceClient {
34
- $host: string;
35
- apiVersion: string;
36
- subscriptionId: string;
37
-
38
- /**
39
- * Initializes a new instance of the AzureTrafficCollectorClient class.
40
- * @param credentials Subscription credentials which uniquely identify client subscription.
41
- * @param subscriptionId Azure Subscription ID.
42
- * @param options The parameter options
43
- */
44
- constructor(
45
- credentials: coreAuth.TokenCredential,
46
- subscriptionId: string,
47
- options?: AzureTrafficCollectorClientOptionalParams
48
- ) {
49
- if (credentials === undefined) {
50
- throw new Error("'credentials' cannot be null");
51
- }
52
- if (subscriptionId === undefined) {
53
- throw new Error("'subscriptionId' cannot be null");
54
- }
55
-
56
- // Initializing default values for options
57
- if (!options) {
58
- options = {};
59
- }
60
- const defaults: AzureTrafficCollectorClientOptionalParams = {
61
- requestContentType: "application/json; charset=utf-8",
62
- credential: credentials
63
- };
64
-
65
- const packageDetails = `azsdk-js-arm-networkfunction/2.0.1`;
66
- const userAgentPrefix =
67
- options.userAgentOptions && options.userAgentOptions.userAgentPrefix
68
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
69
- : `${packageDetails}`;
70
-
71
- const optionsWithDefaults = {
72
- ...defaults,
73
- ...options,
74
- userAgentOptions: {
75
- userAgentPrefix
76
- },
77
- endpoint:
78
- options.endpoint ?? options.baseUri ?? "https://management.azure.com"
79
- };
80
- super(optionsWithDefaults);
81
-
82
- let bearerTokenAuthenticationPolicyFound: boolean = false;
83
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
84
- const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();
85
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(
86
- (pipelinePolicy) =>
87
- pipelinePolicy.name ===
88
- coreRestPipeline.bearerTokenAuthenticationPolicyName
89
- );
90
- }
91
- if (
92
- !options ||
93
- !options.pipeline ||
94
- options.pipeline.getOrderedPolicies().length == 0 ||
95
- !bearerTokenAuthenticationPolicyFound
96
- ) {
97
- this.pipeline.removePolicy({
98
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
99
- });
100
- this.pipeline.addPolicy(
101
- coreRestPipeline.bearerTokenAuthenticationPolicy({
102
- credential: credentials,
103
- scopes:
104
- optionsWithDefaults.credentialScopes ??
105
- `${optionsWithDefaults.endpoint}/.default`,
106
- challengeCallbacks: {
107
- authorizeRequestOnChallenge:
108
- coreClient.authorizeRequestOnClaimChallenge
109
- }
110
- })
111
- );
112
- }
113
- // Parameter assignments
114
- this.subscriptionId = subscriptionId;
115
-
116
- // Assigning values to Constant parameters
117
- this.$host = options.$host || "https://management.azure.com";
118
- this.apiVersion = options.apiVersion || "2022-11-01";
119
- this.networkFunction = new NetworkFunctionImpl(this);
120
- this.azureTrafficCollectorsBySubscription = new AzureTrafficCollectorsBySubscriptionImpl(
121
- this
122
- );
123
- this.azureTrafficCollectorsByResourceGroup = new AzureTrafficCollectorsByResourceGroupImpl(
124
- this
125
- );
126
- this.azureTrafficCollectors = new AzureTrafficCollectorsImpl(this);
127
- this.collectorPolicies = new CollectorPoliciesImpl(this);
128
- this.addCustomApiVersionPolicy(options.apiVersion);
129
- }
130
-
131
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
132
- private addCustomApiVersionPolicy(apiVersion?: string) {
133
- if (!apiVersion) {
134
- return;
135
- }
136
- const apiVersionPolicy = {
137
- name: "CustomApiVersionPolicy",
138
- async sendRequest(
139
- request: PipelineRequest,
140
- next: SendRequest
141
- ): Promise<PipelineResponse> {
142
- const param = request.url.split("?");
143
- if (param.length > 1) {
144
- const newParams = param[1].split("&").map((item) => {
145
- if (item.indexOf("api-version") > -1) {
146
- return "api-version=" + apiVersion;
147
- } else {
148
- return item;
149
- }
150
- });
151
- request.url = param[0] + "?" + newParams.join("&");
152
- }
153
- return next(request);
154
- }
155
- };
156
- this.pipeline.addPolicy(apiVersionPolicy);
157
- }
158
-
159
- networkFunction: NetworkFunction;
160
- azureTrafficCollectorsBySubscription: AzureTrafficCollectorsBySubscription;
161
- azureTrafficCollectorsByResourceGroup: AzureTrafficCollectorsByResourceGroup;
162
- azureTrafficCollectors: AzureTrafficCollectors;
163
- collectorPolicies: CollectorPolicies;
164
- }
package/src/lroImpl.ts DELETED
@@ -1,34 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import { LongRunningOperation, LroResponse } from "@azure/core-lro";
10
-
11
- export class LroImpl<T> implements LongRunningOperation<T> {
12
- constructor(
13
- private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,
14
- private args: Record<string, unknown>,
15
- private spec: {
16
- readonly requestBody?: unknown;
17
- readonly path?: string;
18
- readonly httpMethod: string;
19
- } & Record<string, any>,
20
- public requestPath: string = spec.path!,
21
- public requestMethod: string = spec.httpMethod
22
- ) {}
23
- public async sendInitialRequest(): Promise<LroResponse<T>> {
24
- return this.sendOperationFn(this.args, this.spec);
25
- }
26
- public async sendPollRequest(path: string): Promise<LroResponse<T>> {
27
- const { requestBody, ...restSpec } = this.spec;
28
- return this.sendOperationFn(this.args, {
29
- ...restSpec,
30
- path,
31
- httpMethod: "GET"
32
- });
33
- }
34
- }
@@ -1,498 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import * as coreClient from "@azure/core-client";
10
-
11
- /** Result of the request to list Azure Traffic Collector operations. It contains a list of operations and a URL link to get the next set of results. */
12
- export interface OperationListResult {
13
- /** List of operations supported by the Azure Traffic Collector resource provider. */
14
- value?: Operation[];
15
- /** URL to get the next set of operation list results if there are any. */
16
- nextLink?: string;
17
- }
18
-
19
- /** Azure Traffic Collector REST API operation definition. */
20
- export interface Operation {
21
- /** Operation name: {provider}/{resource}/{operation} */
22
- name?: string;
23
- /** Indicates whether the operation is a data action */
24
- isDataAction?: boolean;
25
- /** Display metadata associated with the operation. */
26
- display?: OperationDisplay;
27
- /** Origin of the operation */
28
- origin?: string;
29
- }
30
-
31
- /** Display metadata associated with the operation. */
32
- export interface OperationDisplay {
33
- /** Service provider: Microsoft NetworkFunction. */
34
- provider?: string;
35
- /** Resource on which the operation is performed etc. */
36
- resource?: string;
37
- /** Type of operation: get, read, delete, etc. */
38
- operation?: string;
39
- /** Description of the operation. */
40
- description?: string;
41
- }
42
-
43
- /** An error response from the service. */
44
- export interface CloudError {
45
- /** An error response from the service. */
46
- error?: CloudErrorBody;
47
- }
48
-
49
- /** An error response from the service. */
50
- export interface CloudErrorBody {
51
- /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
52
- code?: string;
53
- /** A message describing the error, intended to be suitable for display in a user interface. */
54
- message?: string;
55
- /** The target of the particular error. For example, the name of the property in error. */
56
- target?: string;
57
- /** A list of additional details about the error. */
58
- details?: CloudErrorBody[];
59
- }
60
-
61
- /** Response for the ListTrafficCollectors API service call. */
62
- export interface AzureTrafficCollectorListResult {
63
- /** A list of Traffic Collector resources. */
64
- value?: AzureTrafficCollector[];
65
- /**
66
- * The URL to get the next set of results.
67
- * NOTE: This property will not be serialized. It can only be populated by the server.
68
- */
69
- readonly nextLink?: string;
70
- }
71
-
72
- /** Resource reference properties. */
73
- export interface ResourceReference {
74
- /**
75
- * Resource ID.
76
- * NOTE: This property will not be serialized. It can only be populated by the server.
77
- */
78
- readonly id?: string;
79
- }
80
-
81
- /** Common resource representation. */
82
- export interface TrackedResource {
83
- /**
84
- * Resource ID.
85
- * NOTE: This property will not be serialized. It can only be populated by the server.
86
- */
87
- readonly id?: string;
88
- /**
89
- * Resource name.
90
- * NOTE: This property will not be serialized. It can only be populated by the server.
91
- */
92
- readonly name?: string;
93
- /**
94
- * Resource type.
95
- * NOTE: This property will not be serialized. It can only be populated by the server.
96
- */
97
- readonly type?: string;
98
- /** Resource location. */
99
- location: string;
100
- /** Resource tags. */
101
- tags?: { [propertyName: string]: string };
102
- /**
103
- * Metadata pertaining to creation and last modification of the resource.
104
- * NOTE: This property will not be serialized. It can only be populated by the server.
105
- */
106
- readonly systemData?: TrackedResourceSystemData;
107
- }
108
-
109
- /** Metadata pertaining to creation and last modification of the resource. */
110
- export interface SystemData {
111
- /** The identity that created the resource. */
112
- createdBy?: string;
113
- /** The type of identity that created the resource. */
114
- createdByType?: CreatedByType;
115
- /** The timestamp of resource creation (UTC). */
116
- createdAt?: Date;
117
- /** The identity that last modified the resource. */
118
- lastModifiedBy?: string;
119
- /** The type of identity that last modified the resource. */
120
- lastModifiedByType?: CreatedByType;
121
- }
122
-
123
- /** Tags object for patch operations. */
124
- export interface TagsObject {
125
- /** Resource tags. */
126
- tags?: { [propertyName: string]: string };
127
- }
128
-
129
- /** Response for the ListCollectorPolicies API service call. */
130
- export interface CollectorPolicyListResult {
131
- /** A list of collection policies. */
132
- value?: CollectorPolicy[];
133
- /**
134
- * The URL to get the next set of results.
135
- * NOTE: This property will not be serialized. It can only be populated by the server.
136
- */
137
- readonly nextLink?: string;
138
- }
139
-
140
- /** Ingestion Policy properties. */
141
- export interface IngestionPolicyPropertiesFormat {
142
- /** The ingestion type. */
143
- ingestionType?: IngestionType;
144
- /** Ingestion Sources. */
145
- ingestionSources?: IngestionSourcesPropertiesFormat[];
146
- }
147
-
148
- /** Ingestion policy properties. */
149
- export interface IngestionSourcesPropertiesFormat {
150
- /** Ingestion source type. */
151
- sourceType?: SourceType;
152
- /** Resource ID. */
153
- resourceId?: string;
154
- }
155
-
156
- /** Emission policy properties. */
157
- export interface EmissionPoliciesPropertiesFormat {
158
- /** Emission format type. */
159
- emissionType?: EmissionType;
160
- /** Emission policy destinations. */
161
- emissionDestinations?: EmissionPolicyDestination[];
162
- }
163
-
164
- /** Emission policy destination properties. */
165
- export interface EmissionPolicyDestination {
166
- /** Emission destination type. */
167
- destinationType?: DestinationType;
168
- }
169
-
170
- /** An azure resource object */
171
- export interface ProxyResource {
172
- /**
173
- * Azure resource Id
174
- * NOTE: This property will not be serialized. It can only be populated by the server.
175
- */
176
- readonly id?: string;
177
- /**
178
- * Azure resource type
179
- * NOTE: This property will not be serialized. It can only be populated by the server.
180
- */
181
- readonly type?: string;
182
- /**
183
- * Azure resource name
184
- * NOTE: This property will not be serialized. It can only be populated by the server.
185
- */
186
- readonly name?: string;
187
- }
188
-
189
- /** Azure Traffic Collector resource. */
190
- export interface AzureTrafficCollector extends TrackedResource {
191
- /**
192
- * A unique read-only string that changes whenever the resource is updated.
193
- * NOTE: This property will not be serialized. It can only be populated by the server.
194
- */
195
- readonly etag?: string;
196
- /**
197
- * Collector Policies for Azure Traffic Collector.
198
- * NOTE: This property will not be serialized. It can only be populated by the server.
199
- */
200
- readonly collectorPolicies?: ResourceReference[];
201
- /** The virtualHub to which the Azure Traffic Collector belongs. */
202
- virtualHub?: ResourceReference;
203
- /**
204
- * The provisioning state of the application rule collection resource.
205
- * NOTE: This property will not be serialized. It can only be populated by the server.
206
- */
207
- readonly provisioningState?: ProvisioningState;
208
- }
209
-
210
- /** Collector policy resource. */
211
- export interface CollectorPolicy extends TrackedResource {
212
- /**
213
- * A unique read-only string that changes whenever the resource is updated.
214
- * NOTE: This property will not be serialized. It can only be populated by the server.
215
- */
216
- readonly etag?: string;
217
- /** Ingestion policies. */
218
- ingestionPolicy?: IngestionPolicyPropertiesFormat;
219
- /** Emission policies. */
220
- emissionPolicies?: EmissionPoliciesPropertiesFormat[];
221
- /**
222
- * The provisioning state.
223
- * NOTE: This property will not be serialized. It can only be populated by the server.
224
- */
225
- readonly provisioningState?: ProvisioningState;
226
- }
227
-
228
- /** Metadata pertaining to creation and last modification of the resource. */
229
- export interface TrackedResourceSystemData extends SystemData {}
230
-
231
- /** Known values of {@link ProvisioningState} that the service accepts. */
232
- export enum KnownProvisioningState {
233
- /** Succeeded */
234
- Succeeded = "Succeeded",
235
- /** Updating */
236
- Updating = "Updating",
237
- /** Deleting */
238
- Deleting = "Deleting",
239
- /** Failed */
240
- Failed = "Failed"
241
- }
242
-
243
- /**
244
- * Defines values for ProvisioningState. \
245
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
246
- * this enum contains the known values that the service supports.
247
- * ### Known values supported by the service
248
- * **Succeeded** \
249
- * **Updating** \
250
- * **Deleting** \
251
- * **Failed**
252
- */
253
- export type ProvisioningState = string;
254
-
255
- /** Known values of {@link CreatedByType} that the service accepts. */
256
- export enum KnownCreatedByType {
257
- /** User */
258
- User = "User",
259
- /** Application */
260
- Application = "Application",
261
- /** ManagedIdentity */
262
- ManagedIdentity = "ManagedIdentity",
263
- /** Key */
264
- Key = "Key"
265
- }
266
-
267
- /**
268
- * Defines values for CreatedByType. \
269
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
270
- * this enum contains the known values that the service supports.
271
- * ### Known values supported by the service
272
- * **User** \
273
- * **Application** \
274
- * **ManagedIdentity** \
275
- * **Key**
276
- */
277
- export type CreatedByType = string;
278
-
279
- /** Known values of {@link IngestionType} that the service accepts. */
280
- export enum KnownIngestionType {
281
- /** Ipfix */
282
- Ipfix = "IPFIX"
283
- }
284
-
285
- /**
286
- * Defines values for IngestionType. \
287
- * {@link KnownIngestionType} can be used interchangeably with IngestionType,
288
- * this enum contains the known values that the service supports.
289
- * ### Known values supported by the service
290
- * **IPFIX**
291
- */
292
- export type IngestionType = string;
293
-
294
- /** Known values of {@link SourceType} that the service accepts. */
295
- export enum KnownSourceType {
296
- /** Resource */
297
- Resource = "Resource"
298
- }
299
-
300
- /**
301
- * Defines values for SourceType. \
302
- * {@link KnownSourceType} can be used interchangeably with SourceType,
303
- * this enum contains the known values that the service supports.
304
- * ### Known values supported by the service
305
- * **Resource**
306
- */
307
- export type SourceType = string;
308
-
309
- /** Known values of {@link EmissionType} that the service accepts. */
310
- export enum KnownEmissionType {
311
- /** Ipfix */
312
- Ipfix = "IPFIX"
313
- }
314
-
315
- /**
316
- * Defines values for EmissionType. \
317
- * {@link KnownEmissionType} can be used interchangeably with EmissionType,
318
- * this enum contains the known values that the service supports.
319
- * ### Known values supported by the service
320
- * **IPFIX**
321
- */
322
- export type EmissionType = string;
323
-
324
- /** Known values of {@link DestinationType} that the service accepts. */
325
- export enum KnownDestinationType {
326
- /** AzureMonitor */
327
- AzureMonitor = "AzureMonitor"
328
- }
329
-
330
- /**
331
- * Defines values for DestinationType. \
332
- * {@link KnownDestinationType} can be used interchangeably with DestinationType,
333
- * this enum contains the known values that the service supports.
334
- * ### Known values supported by the service
335
- * **AzureMonitor**
336
- */
337
- export type DestinationType = string;
338
-
339
- /** Known values of {@link ApiVersionParameter} that the service accepts. */
340
- export enum KnownApiVersionParameter {
341
- /** TwoThousandTwentyTwo0501 */
342
- TwoThousandTwentyTwo0501 = "2022-05-01",
343
- /** TwoThousandTwentyTwo0801 */
344
- TwoThousandTwentyTwo0801 = "2022-08-01",
345
- /** TwoThousandTwentyTwo1101 */
346
- TwoThousandTwentyTwo1101 = "2022-11-01"
347
- }
348
-
349
- /**
350
- * Defines values for ApiVersionParameter. \
351
- * {@link KnownApiVersionParameter} can be used interchangeably with ApiVersionParameter,
352
- * this enum contains the known values that the service supports.
353
- * ### Known values supported by the service
354
- * **2022-05-01** \
355
- * **2022-08-01** \
356
- * **2022-11-01**
357
- */
358
- export type ApiVersionParameter = string;
359
-
360
- /** Optional parameters. */
361
- export interface NetworkFunctionListOperationsOptionalParams
362
- extends coreClient.OperationOptions {}
363
-
364
- /** Contains response data for the listOperations operation. */
365
- export type NetworkFunctionListOperationsResponse = OperationListResult;
366
-
367
- /** Optional parameters. */
368
- export interface AzureTrafficCollectorsBySubscriptionListOptionalParams
369
- extends coreClient.OperationOptions {}
370
-
371
- /** Contains response data for the list operation. */
372
- export type AzureTrafficCollectorsBySubscriptionListResponse = AzureTrafficCollectorListResult;
373
-
374
- /** Optional parameters. */
375
- export interface AzureTrafficCollectorsBySubscriptionListNextOptionalParams
376
- extends coreClient.OperationOptions {}
377
-
378
- /** Contains response data for the listNext operation. */
379
- export type AzureTrafficCollectorsBySubscriptionListNextResponse = AzureTrafficCollectorListResult;
380
-
381
- /** Optional parameters. */
382
- export interface AzureTrafficCollectorsByResourceGroupListOptionalParams
383
- extends coreClient.OperationOptions {}
384
-
385
- /** Contains response data for the list operation. */
386
- export type AzureTrafficCollectorsByResourceGroupListResponse = AzureTrafficCollectorListResult;
387
-
388
- /** Optional parameters. */
389
- export interface AzureTrafficCollectorsByResourceGroupListNextOptionalParams
390
- extends coreClient.OperationOptions {}
391
-
392
- /** Contains response data for the listNext operation. */
393
- export type AzureTrafficCollectorsByResourceGroupListNextResponse = AzureTrafficCollectorListResult;
394
-
395
- /** Optional parameters. */
396
- export interface AzureTrafficCollectorsGetOptionalParams
397
- extends coreClient.OperationOptions {}
398
-
399
- /** Contains response data for the get operation. */
400
- export type AzureTrafficCollectorsGetResponse = AzureTrafficCollector;
401
-
402
- /** Optional parameters. */
403
- export interface AzureTrafficCollectorsCreateOrUpdateOptionalParams
404
- extends coreClient.OperationOptions {
405
- /** Resource tags. */
406
- tags?: { [propertyName: string]: string };
407
- /** The virtualHub to which the Azure Traffic Collector belongs. */
408
- virtualHub?: ResourceReference;
409
- /** Delay to wait until next poll, in milliseconds. */
410
- updateIntervalInMs?: number;
411
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
412
- resumeFrom?: string;
413
- }
414
-
415
- /** Contains response data for the createOrUpdate operation. */
416
- export type AzureTrafficCollectorsCreateOrUpdateResponse = AzureTrafficCollector;
417
-
418
- /** Optional parameters. */
419
- export interface AzureTrafficCollectorsDeleteOptionalParams
420
- extends coreClient.OperationOptions {
421
- /** Delay to wait until next poll, in milliseconds. */
422
- updateIntervalInMs?: number;
423
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
424
- resumeFrom?: string;
425
- }
426
-
427
- /** Optional parameters. */
428
- export interface AzureTrafficCollectorsUpdateTagsOptionalParams
429
- extends coreClient.OperationOptions {}
430
-
431
- /** Contains response data for the updateTags operation. */
432
- export type AzureTrafficCollectorsUpdateTagsResponse = AzureTrafficCollector;
433
-
434
- /** Optional parameters. */
435
- export interface CollectorPoliciesListOptionalParams
436
- extends coreClient.OperationOptions {}
437
-
438
- /** Contains response data for the list operation. */
439
- export type CollectorPoliciesListResponse = CollectorPolicyListResult;
440
-
441
- /** Optional parameters. */
442
- export interface CollectorPoliciesGetOptionalParams
443
- extends coreClient.OperationOptions {}
444
-
445
- /** Contains response data for the get operation. */
446
- export type CollectorPoliciesGetResponse = CollectorPolicy;
447
-
448
- /** Optional parameters. */
449
- export interface CollectorPoliciesCreateOrUpdateOptionalParams
450
- extends coreClient.OperationOptions {
451
- /** Resource tags. */
452
- tags?: { [propertyName: string]: string };
453
- /** Ingestion policies. */
454
- ingestionPolicy?: IngestionPolicyPropertiesFormat;
455
- /** Emission policies. */
456
- emissionPolicies?: EmissionPoliciesPropertiesFormat[];
457
- /** Delay to wait until next poll, in milliseconds. */
458
- updateIntervalInMs?: number;
459
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
460
- resumeFrom?: string;
461
- }
462
-
463
- /** Contains response data for the createOrUpdate operation. */
464
- export type CollectorPoliciesCreateOrUpdateResponse = CollectorPolicy;
465
-
466
- /** Optional parameters. */
467
- export interface CollectorPoliciesDeleteOptionalParams
468
- extends coreClient.OperationOptions {
469
- /** Delay to wait until next poll, in milliseconds. */
470
- updateIntervalInMs?: number;
471
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
472
- resumeFrom?: string;
473
- }
474
-
475
- /** Optional parameters. */
476
- export interface CollectorPoliciesUpdateTagsOptionalParams
477
- extends coreClient.OperationOptions {}
478
-
479
- /** Contains response data for the updateTags operation. */
480
- export type CollectorPoliciesUpdateTagsResponse = CollectorPolicy;
481
-
482
- /** Optional parameters. */
483
- export interface CollectorPoliciesListNextOptionalParams
484
- extends coreClient.OperationOptions {}
485
-
486
- /** Contains response data for the listNext operation. */
487
- export type CollectorPoliciesListNextResponse = CollectorPolicyListResult;
488
-
489
- /** Optional parameters. */
490
- export interface AzureTrafficCollectorClientOptionalParams
491
- extends coreClient.ServiceClientOptions {
492
- /** server parameter */
493
- $host?: string;
494
- /** Api Version */
495
- apiVersion?: string;
496
- /** Overrides client endpoint. */
497
- endpoint?: string;
498
- }