@azure/arm-paloaltonetworksngfw 1.1.2-alpha.20251110.1 → 1.2.0-alpha.20251111.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 (654) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -2
  3. package/dist/browser/index.d.ts.map +1 -1
  4. package/dist/browser/index.js +4 -7
  5. package/dist/browser/index.js.map +1 -1
  6. package/dist/browser/lroImpl.d.ts +1 -1
  7. package/dist/browser/lroImpl.d.ts.map +1 -1
  8. package/dist/browser/lroImpl.js +4 -2
  9. package/dist/browser/lroImpl.js.map +1 -1
  10. package/dist/browser/models/index.d.ts +457 -73
  11. package/dist/browser/models/index.d.ts.map +1 -1
  12. package/dist/browser/models/index.js +18 -7
  13. package/dist/browser/models/index.js.map +1 -1
  14. package/dist/browser/models/mappers.d.ts +37 -3
  15. package/dist/browser/models/mappers.d.ts.map +1 -1
  16. package/dist/browser/models/mappers.js +2011 -1186
  17. package/dist/browser/models/mappers.js.map +1 -1
  18. package/dist/browser/models/parameters.d.ts +2 -1
  19. package/dist/browser/models/parameters.d.ts.map +1 -1
  20. package/dist/browser/models/parameters.js +89 -87
  21. package/dist/browser/models/parameters.js.map +1 -1
  22. package/dist/browser/operations/certificateObjectGlobalRulestack.d.ts +5 -5
  23. package/dist/browser/operations/certificateObjectGlobalRulestack.d.ts.map +1 -1
  24. package/dist/browser/operations/certificateObjectGlobalRulestack.js +43 -64
  25. package/dist/browser/operations/certificateObjectGlobalRulestack.js.map +1 -1
  26. package/dist/browser/operations/certificateObjectLocalRulestack.d.ts +5 -5
  27. package/dist/browser/operations/certificateObjectLocalRulestack.d.ts.map +1 -1
  28. package/dist/browser/operations/certificateObjectLocalRulestack.js +45 -50
  29. package/dist/browser/operations/certificateObjectLocalRulestack.js.map +1 -1
  30. package/dist/browser/operations/firewallStatus.d.ts +4 -4
  31. package/dist/browser/operations/firewallStatus.d.ts.map +1 -1
  32. package/dist/browser/operations/firewallStatus.js +20 -25
  33. package/dist/browser/operations/firewallStatus.js.map +1 -1
  34. package/dist/browser/operations/firewalls.d.ts +5 -5
  35. package/dist/browser/operations/firewalls.d.ts.map +1 -1
  36. package/dist/browser/operations/firewalls.js +80 -93
  37. package/dist/browser/operations/firewalls.js.map +1 -1
  38. package/dist/browser/operations/fqdnListGlobalRulestack.d.ts +5 -5
  39. package/dist/browser/operations/fqdnListGlobalRulestack.d.ts.map +1 -1
  40. package/dist/browser/operations/fqdnListGlobalRulestack.js +43 -64
  41. package/dist/browser/operations/fqdnListGlobalRulestack.js.map +1 -1
  42. package/dist/browser/operations/fqdnListLocalRulestack.d.ts +5 -5
  43. package/dist/browser/operations/fqdnListLocalRulestack.d.ts.map +1 -1
  44. package/dist/browser/operations/fqdnListLocalRulestack.js +45 -50
  45. package/dist/browser/operations/fqdnListLocalRulestack.js.map +1 -1
  46. package/dist/browser/operations/globalRulestack.d.ts +5 -5
  47. package/dist/browser/operations/globalRulestack.d.ts.map +1 -1
  48. package/dist/browser/operations/globalRulestack.js +86 -101
  49. package/dist/browser/operations/globalRulestack.js.map +1 -1
  50. package/dist/browser/operations/index.d.ts +3 -1
  51. package/dist/browser/operations/index.d.ts.map +1 -1
  52. package/dist/browser/operations/index.js +7 -8
  53. package/dist/browser/operations/index.js.map +1 -1
  54. package/dist/browser/operations/localRules.d.ts +5 -5
  55. package/dist/browser/operations/localRules.d.ts.map +1 -1
  56. package/dist/browser/operations/localRules.js +60 -65
  57. package/dist/browser/operations/localRules.js.map +1 -1
  58. package/dist/browser/operations/localRulestacks.d.ts +60 -8
  59. package/dist/browser/operations/localRulestacks.d.ts.map +1 -1
  60. package/dist/browser/operations/localRulestacks.js +350 -141
  61. package/dist/browser/operations/localRulestacks.js.map +1 -1
  62. package/dist/browser/operations/metricsObjectFirewall.d.ts +76 -0
  63. package/dist/browser/operations/metricsObjectFirewall.d.ts.map +1 -0
  64. package/dist/browser/operations/metricsObjectFirewall.js +338 -0
  65. package/dist/browser/operations/metricsObjectFirewall.js.map +1 -0
  66. package/dist/browser/operations/operations.d.ts +4 -4
  67. package/dist/browser/operations/operations.d.ts.map +1 -1
  68. package/dist/browser/operations/operations.js +13 -18
  69. package/dist/browser/operations/operations.js.map +1 -1
  70. package/dist/browser/operations/paloAltoNetworksCloudngfwOperations.d.ts +21 -0
  71. package/dist/browser/operations/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  72. package/dist/browser/operations/paloAltoNetworksCloudngfwOperations.js +100 -0
  73. package/dist/browser/operations/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  74. package/dist/browser/operations/postRules.d.ts +5 -5
  75. package/dist/browser/operations/postRules.d.ts.map +1 -1
  76. package/dist/browser/operations/postRules.js +57 -90
  77. package/dist/browser/operations/postRules.js.map +1 -1
  78. package/dist/browser/operations/preRules.d.ts +5 -5
  79. package/dist/browser/operations/preRules.d.ts.map +1 -1
  80. package/dist/browser/operations/preRules.js +58 -91
  81. package/dist/browser/operations/preRules.js.map +1 -1
  82. package/dist/browser/operations/prefixListGlobalRulestack.d.ts +5 -5
  83. package/dist/browser/operations/prefixListGlobalRulestack.d.ts.map +1 -1
  84. package/dist/browser/operations/prefixListGlobalRulestack.js +44 -65
  85. package/dist/browser/operations/prefixListGlobalRulestack.js.map +1 -1
  86. package/dist/browser/operations/prefixListLocalRulestack.d.ts +5 -5
  87. package/dist/browser/operations/prefixListLocalRulestack.d.ts.map +1 -1
  88. package/dist/browser/operations/prefixListLocalRulestack.js +45 -50
  89. package/dist/browser/operations/prefixListLocalRulestack.js.map +1 -1
  90. package/dist/browser/operationsInterfaces/certificateObjectGlobalRulestack.d.ts +3 -3
  91. package/dist/browser/operationsInterfaces/certificateObjectGlobalRulestack.d.ts.map +1 -1
  92. package/dist/browser/operationsInterfaces/certificateObjectGlobalRulestack.js +2 -7
  93. package/dist/browser/operationsInterfaces/certificateObjectGlobalRulestack.js.map +1 -1
  94. package/dist/browser/operationsInterfaces/certificateObjectLocalRulestack.d.ts +3 -3
  95. package/dist/browser/operationsInterfaces/certificateObjectLocalRulestack.d.ts.map +1 -1
  96. package/dist/browser/operationsInterfaces/certificateObjectLocalRulestack.js +2 -7
  97. package/dist/browser/operationsInterfaces/certificateObjectLocalRulestack.js.map +1 -1
  98. package/dist/browser/operationsInterfaces/firewallStatus.d.ts +2 -2
  99. package/dist/browser/operationsInterfaces/firewallStatus.d.ts.map +1 -1
  100. package/dist/browser/operationsInterfaces/firewallStatus.js +2 -7
  101. package/dist/browser/operationsInterfaces/firewallStatus.js.map +1 -1
  102. package/dist/browser/operationsInterfaces/firewalls.d.ts +3 -3
  103. package/dist/browser/operationsInterfaces/firewalls.d.ts.map +1 -1
  104. package/dist/browser/operationsInterfaces/firewalls.js +2 -7
  105. package/dist/browser/operationsInterfaces/firewalls.js.map +1 -1
  106. package/dist/browser/operationsInterfaces/fqdnListGlobalRulestack.d.ts +3 -3
  107. package/dist/browser/operationsInterfaces/fqdnListGlobalRulestack.d.ts.map +1 -1
  108. package/dist/browser/operationsInterfaces/fqdnListGlobalRulestack.js +2 -7
  109. package/dist/browser/operationsInterfaces/fqdnListGlobalRulestack.js.map +1 -1
  110. package/dist/browser/operationsInterfaces/fqdnListLocalRulestack.d.ts +3 -3
  111. package/dist/browser/operationsInterfaces/fqdnListLocalRulestack.d.ts.map +1 -1
  112. package/dist/browser/operationsInterfaces/fqdnListLocalRulestack.js +2 -7
  113. package/dist/browser/operationsInterfaces/fqdnListLocalRulestack.js.map +1 -1
  114. package/dist/browser/operationsInterfaces/globalRulestack.d.ts +3 -3
  115. package/dist/browser/operationsInterfaces/globalRulestack.d.ts.map +1 -1
  116. package/dist/browser/operationsInterfaces/globalRulestack.js +2 -7
  117. package/dist/browser/operationsInterfaces/globalRulestack.js.map +1 -1
  118. package/dist/browser/operationsInterfaces/index.d.ts +3 -1
  119. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
  120. package/dist/browser/operationsInterfaces/index.js +7 -8
  121. package/dist/browser/operationsInterfaces/index.js.map +1 -1
  122. package/dist/browser/operationsInterfaces/localRules.d.ts +3 -3
  123. package/dist/browser/operationsInterfaces/localRules.d.ts.map +1 -1
  124. package/dist/browser/operationsInterfaces/localRules.js +2 -7
  125. package/dist/browser/operationsInterfaces/localRules.js.map +1 -1
  126. package/dist/browser/operationsInterfaces/localRulestacks.d.ts +24 -24
  127. package/dist/browser/operationsInterfaces/localRulestacks.d.ts.map +1 -1
  128. package/dist/browser/operationsInterfaces/localRulestacks.js +2 -7
  129. package/dist/browser/operationsInterfaces/localRulestacks.js.map +1 -1
  130. package/dist/browser/operationsInterfaces/metricsObjectFirewall.d.ts +51 -0
  131. package/dist/browser/operationsInterfaces/metricsObjectFirewall.d.ts.map +1 -0
  132. package/dist/browser/operationsInterfaces/metricsObjectFirewall.js +4 -0
  133. package/dist/browser/operationsInterfaces/metricsObjectFirewall.js.map +1 -0
  134. package/dist/browser/operationsInterfaces/operations.d.ts +2 -2
  135. package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
  136. package/dist/browser/operationsInterfaces/operations.js +2 -7
  137. package/dist/browser/operationsInterfaces/operations.js.map +1 -1
  138. package/dist/browser/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts +13 -0
  139. package/dist/browser/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  140. package/dist/browser/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js +4 -0
  141. package/dist/browser/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  142. package/dist/browser/operationsInterfaces/postRules.d.ts +3 -3
  143. package/dist/browser/operationsInterfaces/postRules.d.ts.map +1 -1
  144. package/dist/browser/operationsInterfaces/postRules.js +2 -7
  145. package/dist/browser/operationsInterfaces/postRules.js.map +1 -1
  146. package/dist/browser/operationsInterfaces/preRules.d.ts +3 -3
  147. package/dist/browser/operationsInterfaces/preRules.d.ts.map +1 -1
  148. package/dist/browser/operationsInterfaces/preRules.js +2 -7
  149. package/dist/browser/operationsInterfaces/preRules.js.map +1 -1
  150. package/dist/browser/operationsInterfaces/prefixListGlobalRulestack.d.ts +3 -3
  151. package/dist/browser/operationsInterfaces/prefixListGlobalRulestack.d.ts.map +1 -1
  152. package/dist/browser/operationsInterfaces/prefixListGlobalRulestack.js +2 -7
  153. package/dist/browser/operationsInterfaces/prefixListGlobalRulestack.js.map +1 -1
  154. package/dist/browser/operationsInterfaces/prefixListLocalRulestack.d.ts +3 -3
  155. package/dist/browser/operationsInterfaces/prefixListLocalRulestack.d.ts.map +1 -1
  156. package/dist/browser/operationsInterfaces/prefixListLocalRulestack.js +2 -7
  157. package/dist/browser/operationsInterfaces/prefixListLocalRulestack.js.map +1 -1
  158. package/dist/browser/pagingHelper.d.ts.map +1 -1
  159. package/dist/browser/pagingHelper.js +2 -7
  160. package/dist/browser/pagingHelper.js.map +1 -1
  161. package/dist/browser/paloAltoNetworksCloudngfw.d.ts +6 -4
  162. package/dist/browser/paloAltoNetworksCloudngfw.d.ts.map +1 -1
  163. package/dist/browser/paloAltoNetworksCloudngfw.js +22 -23
  164. package/dist/browser/paloAltoNetworksCloudngfw.js.map +1 -1
  165. package/dist/commonjs/index.d.ts.map +1 -1
  166. package/dist/commonjs/index.js +4 -7
  167. package/dist/commonjs/index.js.map +1 -1
  168. package/dist/commonjs/lroImpl.d.ts +1 -1
  169. package/dist/commonjs/lroImpl.d.ts.map +1 -1
  170. package/dist/commonjs/lroImpl.js +4 -2
  171. package/dist/commonjs/lroImpl.js.map +1 -1
  172. package/dist/commonjs/models/index.d.ts +457 -73
  173. package/dist/commonjs/models/index.d.ts.map +1 -1
  174. package/dist/commonjs/models/index.js +19 -8
  175. package/dist/commonjs/models/index.js.map +1 -1
  176. package/dist/commonjs/models/mappers.d.ts +37 -3
  177. package/dist/commonjs/models/mappers.d.ts.map +1 -1
  178. package/dist/commonjs/models/mappers.js +2014 -1188
  179. package/dist/commonjs/models/mappers.js.map +1 -1
  180. package/dist/commonjs/models/parameters.d.ts +2 -1
  181. package/dist/commonjs/models/parameters.d.ts.map +1 -1
  182. package/dist/commonjs/models/parameters.js +89 -87
  183. package/dist/commonjs/models/parameters.js.map +1 -1
  184. package/dist/commonjs/operations/certificateObjectGlobalRulestack.d.ts +5 -5
  185. package/dist/commonjs/operations/certificateObjectGlobalRulestack.d.ts.map +1 -1
  186. package/dist/commonjs/operations/certificateObjectGlobalRulestack.js +43 -64
  187. package/dist/commonjs/operations/certificateObjectGlobalRulestack.js.map +1 -1
  188. package/dist/commonjs/operations/certificateObjectLocalRulestack.d.ts +5 -5
  189. package/dist/commonjs/operations/certificateObjectLocalRulestack.d.ts.map +1 -1
  190. package/dist/commonjs/operations/certificateObjectLocalRulestack.js +45 -50
  191. package/dist/commonjs/operations/certificateObjectLocalRulestack.js.map +1 -1
  192. package/dist/commonjs/operations/firewallStatus.d.ts +4 -4
  193. package/dist/commonjs/operations/firewallStatus.d.ts.map +1 -1
  194. package/dist/commonjs/operations/firewallStatus.js +20 -25
  195. package/dist/commonjs/operations/firewallStatus.js.map +1 -1
  196. package/dist/commonjs/operations/firewalls.d.ts +5 -5
  197. package/dist/commonjs/operations/firewalls.d.ts.map +1 -1
  198. package/dist/commonjs/operations/firewalls.js +80 -93
  199. package/dist/commonjs/operations/firewalls.js.map +1 -1
  200. package/dist/commonjs/operations/fqdnListGlobalRulestack.d.ts +5 -5
  201. package/dist/commonjs/operations/fqdnListGlobalRulestack.d.ts.map +1 -1
  202. package/dist/commonjs/operations/fqdnListGlobalRulestack.js +43 -64
  203. package/dist/commonjs/operations/fqdnListGlobalRulestack.js.map +1 -1
  204. package/dist/commonjs/operations/fqdnListLocalRulestack.d.ts +5 -5
  205. package/dist/commonjs/operations/fqdnListLocalRulestack.d.ts.map +1 -1
  206. package/dist/commonjs/operations/fqdnListLocalRulestack.js +45 -50
  207. package/dist/commonjs/operations/fqdnListLocalRulestack.js.map +1 -1
  208. package/dist/commonjs/operations/globalRulestack.d.ts +5 -5
  209. package/dist/commonjs/operations/globalRulestack.d.ts.map +1 -1
  210. package/dist/commonjs/operations/globalRulestack.js +86 -101
  211. package/dist/commonjs/operations/globalRulestack.js.map +1 -1
  212. package/dist/commonjs/operations/index.d.ts +3 -1
  213. package/dist/commonjs/operations/index.d.ts.map +1 -1
  214. package/dist/commonjs/operations/index.js +7 -8
  215. package/dist/commonjs/operations/index.js.map +1 -1
  216. package/dist/commonjs/operations/localRules.d.ts +5 -5
  217. package/dist/commonjs/operations/localRules.d.ts.map +1 -1
  218. package/dist/commonjs/operations/localRules.js +60 -65
  219. package/dist/commonjs/operations/localRules.js.map +1 -1
  220. package/dist/commonjs/operations/localRulestacks.d.ts +60 -8
  221. package/dist/commonjs/operations/localRulestacks.d.ts.map +1 -1
  222. package/dist/commonjs/operations/localRulestacks.js +350 -141
  223. package/dist/commonjs/operations/localRulestacks.js.map +1 -1
  224. package/dist/commonjs/operations/metricsObjectFirewall.d.ts +76 -0
  225. package/dist/commonjs/operations/metricsObjectFirewall.d.ts.map +1 -0
  226. package/dist/commonjs/operations/metricsObjectFirewall.js +343 -0
  227. package/dist/commonjs/operations/metricsObjectFirewall.js.map +1 -0
  228. package/dist/commonjs/operations/operations.d.ts +4 -4
  229. package/dist/commonjs/operations/operations.d.ts.map +1 -1
  230. package/dist/commonjs/operations/operations.js +13 -18
  231. package/dist/commonjs/operations/operations.js.map +1 -1
  232. package/dist/commonjs/operations/paloAltoNetworksCloudngfwOperations.d.ts +21 -0
  233. package/dist/commonjs/operations/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  234. package/dist/commonjs/operations/paloAltoNetworksCloudngfwOperations.js +105 -0
  235. package/dist/commonjs/operations/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  236. package/dist/commonjs/operations/postRules.d.ts +5 -5
  237. package/dist/commonjs/operations/postRules.d.ts.map +1 -1
  238. package/dist/commonjs/operations/postRules.js +57 -90
  239. package/dist/commonjs/operations/postRules.js.map +1 -1
  240. package/dist/commonjs/operations/preRules.d.ts +5 -5
  241. package/dist/commonjs/operations/preRules.d.ts.map +1 -1
  242. package/dist/commonjs/operations/preRules.js +58 -91
  243. package/dist/commonjs/operations/preRules.js.map +1 -1
  244. package/dist/commonjs/operations/prefixListGlobalRulestack.d.ts +5 -5
  245. package/dist/commonjs/operations/prefixListGlobalRulestack.d.ts.map +1 -1
  246. package/dist/commonjs/operations/prefixListGlobalRulestack.js +44 -65
  247. package/dist/commonjs/operations/prefixListGlobalRulestack.js.map +1 -1
  248. package/dist/commonjs/operations/prefixListLocalRulestack.d.ts +5 -5
  249. package/dist/commonjs/operations/prefixListLocalRulestack.d.ts.map +1 -1
  250. package/dist/commonjs/operations/prefixListLocalRulestack.js +45 -50
  251. package/dist/commonjs/operations/prefixListLocalRulestack.js.map +1 -1
  252. package/dist/commonjs/operationsInterfaces/certificateObjectGlobalRulestack.d.ts +3 -3
  253. package/dist/commonjs/operationsInterfaces/certificateObjectGlobalRulestack.d.ts.map +1 -1
  254. package/dist/commonjs/operationsInterfaces/certificateObjectGlobalRulestack.js +2 -7
  255. package/dist/commonjs/operationsInterfaces/certificateObjectGlobalRulestack.js.map +1 -1
  256. package/dist/commonjs/operationsInterfaces/certificateObjectLocalRulestack.d.ts +3 -3
  257. package/dist/commonjs/operationsInterfaces/certificateObjectLocalRulestack.d.ts.map +1 -1
  258. package/dist/commonjs/operationsInterfaces/certificateObjectLocalRulestack.js +2 -7
  259. package/dist/commonjs/operationsInterfaces/certificateObjectLocalRulestack.js.map +1 -1
  260. package/dist/commonjs/operationsInterfaces/firewallStatus.d.ts +2 -2
  261. package/dist/commonjs/operationsInterfaces/firewallStatus.d.ts.map +1 -1
  262. package/dist/commonjs/operationsInterfaces/firewallStatus.js +2 -7
  263. package/dist/commonjs/operationsInterfaces/firewallStatus.js.map +1 -1
  264. package/dist/commonjs/operationsInterfaces/firewalls.d.ts +3 -3
  265. package/dist/commonjs/operationsInterfaces/firewalls.d.ts.map +1 -1
  266. package/dist/commonjs/operationsInterfaces/firewalls.js +2 -7
  267. package/dist/commonjs/operationsInterfaces/firewalls.js.map +1 -1
  268. package/dist/commonjs/operationsInterfaces/fqdnListGlobalRulestack.d.ts +3 -3
  269. package/dist/commonjs/operationsInterfaces/fqdnListGlobalRulestack.d.ts.map +1 -1
  270. package/dist/commonjs/operationsInterfaces/fqdnListGlobalRulestack.js +2 -7
  271. package/dist/commonjs/operationsInterfaces/fqdnListGlobalRulestack.js.map +1 -1
  272. package/dist/commonjs/operationsInterfaces/fqdnListLocalRulestack.d.ts +3 -3
  273. package/dist/commonjs/operationsInterfaces/fqdnListLocalRulestack.d.ts.map +1 -1
  274. package/dist/commonjs/operationsInterfaces/fqdnListLocalRulestack.js +2 -7
  275. package/dist/commonjs/operationsInterfaces/fqdnListLocalRulestack.js.map +1 -1
  276. package/dist/commonjs/operationsInterfaces/globalRulestack.d.ts +3 -3
  277. package/dist/commonjs/operationsInterfaces/globalRulestack.d.ts.map +1 -1
  278. package/dist/commonjs/operationsInterfaces/globalRulestack.js +2 -7
  279. package/dist/commonjs/operationsInterfaces/globalRulestack.js.map +1 -1
  280. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -1
  281. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
  282. package/dist/commonjs/operationsInterfaces/index.js +7 -8
  283. package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
  284. package/dist/commonjs/operationsInterfaces/localRules.d.ts +3 -3
  285. package/dist/commonjs/operationsInterfaces/localRules.d.ts.map +1 -1
  286. package/dist/commonjs/operationsInterfaces/localRules.js +2 -7
  287. package/dist/commonjs/operationsInterfaces/localRules.js.map +1 -1
  288. package/dist/commonjs/operationsInterfaces/localRulestacks.d.ts +24 -24
  289. package/dist/commonjs/operationsInterfaces/localRulestacks.d.ts.map +1 -1
  290. package/dist/commonjs/operationsInterfaces/localRulestacks.js +2 -7
  291. package/dist/commonjs/operationsInterfaces/localRulestacks.js.map +1 -1
  292. package/dist/commonjs/operationsInterfaces/metricsObjectFirewall.d.ts +51 -0
  293. package/dist/commonjs/operationsInterfaces/metricsObjectFirewall.d.ts.map +1 -0
  294. package/dist/commonjs/operationsInterfaces/metricsObjectFirewall.js +5 -0
  295. package/dist/commonjs/operationsInterfaces/metricsObjectFirewall.js.map +1 -0
  296. package/dist/commonjs/operationsInterfaces/operations.d.ts +2 -2
  297. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
  298. package/dist/commonjs/operationsInterfaces/operations.js +2 -7
  299. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
  300. package/dist/commonjs/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts +13 -0
  301. package/dist/commonjs/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  302. package/dist/commonjs/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js +5 -0
  303. package/dist/commonjs/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  304. package/dist/commonjs/operationsInterfaces/postRules.d.ts +3 -3
  305. package/dist/commonjs/operationsInterfaces/postRules.d.ts.map +1 -1
  306. package/dist/commonjs/operationsInterfaces/postRules.js +2 -7
  307. package/dist/commonjs/operationsInterfaces/postRules.js.map +1 -1
  308. package/dist/commonjs/operationsInterfaces/preRules.d.ts +3 -3
  309. package/dist/commonjs/operationsInterfaces/preRules.d.ts.map +1 -1
  310. package/dist/commonjs/operationsInterfaces/preRules.js +2 -7
  311. package/dist/commonjs/operationsInterfaces/preRules.js.map +1 -1
  312. package/dist/commonjs/operationsInterfaces/prefixListGlobalRulestack.d.ts +3 -3
  313. package/dist/commonjs/operationsInterfaces/prefixListGlobalRulestack.d.ts.map +1 -1
  314. package/dist/commonjs/operationsInterfaces/prefixListGlobalRulestack.js +2 -7
  315. package/dist/commonjs/operationsInterfaces/prefixListGlobalRulestack.js.map +1 -1
  316. package/dist/commonjs/operationsInterfaces/prefixListLocalRulestack.d.ts +3 -3
  317. package/dist/commonjs/operationsInterfaces/prefixListLocalRulestack.d.ts.map +1 -1
  318. package/dist/commonjs/operationsInterfaces/prefixListLocalRulestack.js +2 -7
  319. package/dist/commonjs/operationsInterfaces/prefixListLocalRulestack.js.map +1 -1
  320. package/dist/commonjs/pagingHelper.d.ts.map +1 -1
  321. package/dist/commonjs/pagingHelper.js +2 -7
  322. package/dist/commonjs/pagingHelper.js.map +1 -1
  323. package/dist/commonjs/paloAltoNetworksCloudngfw.d.ts +6 -4
  324. package/dist/commonjs/paloAltoNetworksCloudngfw.d.ts.map +1 -1
  325. package/dist/commonjs/paloAltoNetworksCloudngfw.js +21 -22
  326. package/dist/commonjs/paloAltoNetworksCloudngfw.js.map +1 -1
  327. package/dist/commonjs/tsdoc-metadata.json +1 -1
  328. package/dist/esm/index.d.ts.map +1 -1
  329. package/dist/esm/index.js +4 -7
  330. package/dist/esm/index.js.map +1 -1
  331. package/dist/esm/lroImpl.d.ts +1 -1
  332. package/dist/esm/lroImpl.d.ts.map +1 -1
  333. package/dist/esm/lroImpl.js +4 -2
  334. package/dist/esm/lroImpl.js.map +1 -1
  335. package/dist/esm/models/index.d.ts +457 -73
  336. package/dist/esm/models/index.d.ts.map +1 -1
  337. package/dist/esm/models/index.js +18 -7
  338. package/dist/esm/models/index.js.map +1 -1
  339. package/dist/esm/models/mappers.d.ts +37 -3
  340. package/dist/esm/models/mappers.d.ts.map +1 -1
  341. package/dist/esm/models/mappers.js +2011 -1186
  342. package/dist/esm/models/mappers.js.map +1 -1
  343. package/dist/esm/models/parameters.d.ts +2 -1
  344. package/dist/esm/models/parameters.d.ts.map +1 -1
  345. package/dist/esm/models/parameters.js +89 -87
  346. package/dist/esm/models/parameters.js.map +1 -1
  347. package/dist/esm/operations/certificateObjectGlobalRulestack.d.ts +5 -5
  348. package/dist/esm/operations/certificateObjectGlobalRulestack.d.ts.map +1 -1
  349. package/dist/esm/operations/certificateObjectGlobalRulestack.js +43 -64
  350. package/dist/esm/operations/certificateObjectGlobalRulestack.js.map +1 -1
  351. package/dist/esm/operations/certificateObjectLocalRulestack.d.ts +5 -5
  352. package/dist/esm/operations/certificateObjectLocalRulestack.d.ts.map +1 -1
  353. package/dist/esm/operations/certificateObjectLocalRulestack.js +45 -50
  354. package/dist/esm/operations/certificateObjectLocalRulestack.js.map +1 -1
  355. package/dist/esm/operations/firewallStatus.d.ts +4 -4
  356. package/dist/esm/operations/firewallStatus.d.ts.map +1 -1
  357. package/dist/esm/operations/firewallStatus.js +20 -25
  358. package/dist/esm/operations/firewallStatus.js.map +1 -1
  359. package/dist/esm/operations/firewalls.d.ts +5 -5
  360. package/dist/esm/operations/firewalls.d.ts.map +1 -1
  361. package/dist/esm/operations/firewalls.js +80 -93
  362. package/dist/esm/operations/firewalls.js.map +1 -1
  363. package/dist/esm/operations/fqdnListGlobalRulestack.d.ts +5 -5
  364. package/dist/esm/operations/fqdnListGlobalRulestack.d.ts.map +1 -1
  365. package/dist/esm/operations/fqdnListGlobalRulestack.js +43 -64
  366. package/dist/esm/operations/fqdnListGlobalRulestack.js.map +1 -1
  367. package/dist/esm/operations/fqdnListLocalRulestack.d.ts +5 -5
  368. package/dist/esm/operations/fqdnListLocalRulestack.d.ts.map +1 -1
  369. package/dist/esm/operations/fqdnListLocalRulestack.js +45 -50
  370. package/dist/esm/operations/fqdnListLocalRulestack.js.map +1 -1
  371. package/dist/esm/operations/globalRulestack.d.ts +5 -5
  372. package/dist/esm/operations/globalRulestack.d.ts.map +1 -1
  373. package/dist/esm/operations/globalRulestack.js +86 -101
  374. package/dist/esm/operations/globalRulestack.js.map +1 -1
  375. package/dist/esm/operations/index.d.ts +3 -1
  376. package/dist/esm/operations/index.d.ts.map +1 -1
  377. package/dist/esm/operations/index.js +7 -8
  378. package/dist/esm/operations/index.js.map +1 -1
  379. package/dist/esm/operations/localRules.d.ts +5 -5
  380. package/dist/esm/operations/localRules.d.ts.map +1 -1
  381. package/dist/esm/operations/localRules.js +60 -65
  382. package/dist/esm/operations/localRules.js.map +1 -1
  383. package/dist/esm/operations/localRulestacks.d.ts +60 -8
  384. package/dist/esm/operations/localRulestacks.d.ts.map +1 -1
  385. package/dist/esm/operations/localRulestacks.js +350 -141
  386. package/dist/esm/operations/localRulestacks.js.map +1 -1
  387. package/dist/esm/operations/metricsObjectFirewall.d.ts +76 -0
  388. package/dist/esm/operations/metricsObjectFirewall.d.ts.map +1 -0
  389. package/dist/esm/operations/metricsObjectFirewall.js +338 -0
  390. package/dist/esm/operations/metricsObjectFirewall.js.map +1 -0
  391. package/dist/esm/operations/operations.d.ts +4 -4
  392. package/dist/esm/operations/operations.d.ts.map +1 -1
  393. package/dist/esm/operations/operations.js +13 -18
  394. package/dist/esm/operations/operations.js.map +1 -1
  395. package/dist/esm/operations/paloAltoNetworksCloudngfwOperations.d.ts +21 -0
  396. package/dist/esm/operations/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  397. package/dist/esm/operations/paloAltoNetworksCloudngfwOperations.js +100 -0
  398. package/dist/esm/operations/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  399. package/dist/esm/operations/postRules.d.ts +5 -5
  400. package/dist/esm/operations/postRules.d.ts.map +1 -1
  401. package/dist/esm/operations/postRules.js +57 -90
  402. package/dist/esm/operations/postRules.js.map +1 -1
  403. package/dist/esm/operations/preRules.d.ts +5 -5
  404. package/dist/esm/operations/preRules.d.ts.map +1 -1
  405. package/dist/esm/operations/preRules.js +58 -91
  406. package/dist/esm/operations/preRules.js.map +1 -1
  407. package/dist/esm/operations/prefixListGlobalRulestack.d.ts +5 -5
  408. package/dist/esm/operations/prefixListGlobalRulestack.d.ts.map +1 -1
  409. package/dist/esm/operations/prefixListGlobalRulestack.js +44 -65
  410. package/dist/esm/operations/prefixListGlobalRulestack.js.map +1 -1
  411. package/dist/esm/operations/prefixListLocalRulestack.d.ts +5 -5
  412. package/dist/esm/operations/prefixListLocalRulestack.d.ts.map +1 -1
  413. package/dist/esm/operations/prefixListLocalRulestack.js +45 -50
  414. package/dist/esm/operations/prefixListLocalRulestack.js.map +1 -1
  415. package/dist/esm/operationsInterfaces/certificateObjectGlobalRulestack.d.ts +3 -3
  416. package/dist/esm/operationsInterfaces/certificateObjectGlobalRulestack.d.ts.map +1 -1
  417. package/dist/esm/operationsInterfaces/certificateObjectGlobalRulestack.js +2 -7
  418. package/dist/esm/operationsInterfaces/certificateObjectGlobalRulestack.js.map +1 -1
  419. package/dist/esm/operationsInterfaces/certificateObjectLocalRulestack.d.ts +3 -3
  420. package/dist/esm/operationsInterfaces/certificateObjectLocalRulestack.d.ts.map +1 -1
  421. package/dist/esm/operationsInterfaces/certificateObjectLocalRulestack.js +2 -7
  422. package/dist/esm/operationsInterfaces/certificateObjectLocalRulestack.js.map +1 -1
  423. package/dist/esm/operationsInterfaces/firewallStatus.d.ts +2 -2
  424. package/dist/esm/operationsInterfaces/firewallStatus.d.ts.map +1 -1
  425. package/dist/esm/operationsInterfaces/firewallStatus.js +2 -7
  426. package/dist/esm/operationsInterfaces/firewallStatus.js.map +1 -1
  427. package/dist/esm/operationsInterfaces/firewalls.d.ts +3 -3
  428. package/dist/esm/operationsInterfaces/firewalls.d.ts.map +1 -1
  429. package/dist/esm/operationsInterfaces/firewalls.js +2 -7
  430. package/dist/esm/operationsInterfaces/firewalls.js.map +1 -1
  431. package/dist/esm/operationsInterfaces/fqdnListGlobalRulestack.d.ts +3 -3
  432. package/dist/esm/operationsInterfaces/fqdnListGlobalRulestack.d.ts.map +1 -1
  433. package/dist/esm/operationsInterfaces/fqdnListGlobalRulestack.js +2 -7
  434. package/dist/esm/operationsInterfaces/fqdnListGlobalRulestack.js.map +1 -1
  435. package/dist/esm/operationsInterfaces/fqdnListLocalRulestack.d.ts +3 -3
  436. package/dist/esm/operationsInterfaces/fqdnListLocalRulestack.d.ts.map +1 -1
  437. package/dist/esm/operationsInterfaces/fqdnListLocalRulestack.js +2 -7
  438. package/dist/esm/operationsInterfaces/fqdnListLocalRulestack.js.map +1 -1
  439. package/dist/esm/operationsInterfaces/globalRulestack.d.ts +3 -3
  440. package/dist/esm/operationsInterfaces/globalRulestack.d.ts.map +1 -1
  441. package/dist/esm/operationsInterfaces/globalRulestack.js +2 -7
  442. package/dist/esm/operationsInterfaces/globalRulestack.js.map +1 -1
  443. package/dist/esm/operationsInterfaces/index.d.ts +3 -1
  444. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
  445. package/dist/esm/operationsInterfaces/index.js +7 -8
  446. package/dist/esm/operationsInterfaces/index.js.map +1 -1
  447. package/dist/esm/operationsInterfaces/localRules.d.ts +3 -3
  448. package/dist/esm/operationsInterfaces/localRules.d.ts.map +1 -1
  449. package/dist/esm/operationsInterfaces/localRules.js +2 -7
  450. package/dist/esm/operationsInterfaces/localRules.js.map +1 -1
  451. package/dist/esm/operationsInterfaces/localRulestacks.d.ts +24 -24
  452. package/dist/esm/operationsInterfaces/localRulestacks.d.ts.map +1 -1
  453. package/dist/esm/operationsInterfaces/localRulestacks.js +2 -7
  454. package/dist/esm/operationsInterfaces/localRulestacks.js.map +1 -1
  455. package/dist/esm/operationsInterfaces/metricsObjectFirewall.d.ts +51 -0
  456. package/dist/esm/operationsInterfaces/metricsObjectFirewall.d.ts.map +1 -0
  457. package/dist/esm/operationsInterfaces/metricsObjectFirewall.js +4 -0
  458. package/dist/esm/operationsInterfaces/metricsObjectFirewall.js.map +1 -0
  459. package/dist/esm/operationsInterfaces/operations.d.ts +2 -2
  460. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
  461. package/dist/esm/operationsInterfaces/operations.js +2 -7
  462. package/dist/esm/operationsInterfaces/operations.js.map +1 -1
  463. package/dist/esm/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts +13 -0
  464. package/dist/esm/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  465. package/dist/esm/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js +4 -0
  466. package/dist/esm/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  467. package/dist/esm/operationsInterfaces/postRules.d.ts +3 -3
  468. package/dist/esm/operationsInterfaces/postRules.d.ts.map +1 -1
  469. package/dist/esm/operationsInterfaces/postRules.js +2 -7
  470. package/dist/esm/operationsInterfaces/postRules.js.map +1 -1
  471. package/dist/esm/operationsInterfaces/preRules.d.ts +3 -3
  472. package/dist/esm/operationsInterfaces/preRules.d.ts.map +1 -1
  473. package/dist/esm/operationsInterfaces/preRules.js +2 -7
  474. package/dist/esm/operationsInterfaces/preRules.js.map +1 -1
  475. package/dist/esm/operationsInterfaces/prefixListGlobalRulestack.d.ts +3 -3
  476. package/dist/esm/operationsInterfaces/prefixListGlobalRulestack.d.ts.map +1 -1
  477. package/dist/esm/operationsInterfaces/prefixListGlobalRulestack.js +2 -7
  478. package/dist/esm/operationsInterfaces/prefixListGlobalRulestack.js.map +1 -1
  479. package/dist/esm/operationsInterfaces/prefixListLocalRulestack.d.ts +3 -3
  480. package/dist/esm/operationsInterfaces/prefixListLocalRulestack.d.ts.map +1 -1
  481. package/dist/esm/operationsInterfaces/prefixListLocalRulestack.js +2 -7
  482. package/dist/esm/operationsInterfaces/prefixListLocalRulestack.js.map +1 -1
  483. package/dist/esm/pagingHelper.d.ts.map +1 -1
  484. package/dist/esm/pagingHelper.js +2 -7
  485. package/dist/esm/pagingHelper.js.map +1 -1
  486. package/dist/esm/paloAltoNetworksCloudngfw.d.ts +6 -4
  487. package/dist/esm/paloAltoNetworksCloudngfw.d.ts.map +1 -1
  488. package/dist/esm/paloAltoNetworksCloudngfw.js +22 -23
  489. package/dist/esm/paloAltoNetworksCloudngfw.js.map +1 -1
  490. package/dist/react-native/index.d.ts.map +1 -1
  491. package/dist/react-native/index.js +4 -7
  492. package/dist/react-native/index.js.map +1 -1
  493. package/dist/react-native/lroImpl.d.ts +1 -1
  494. package/dist/react-native/lroImpl.d.ts.map +1 -1
  495. package/dist/react-native/lroImpl.js +4 -2
  496. package/dist/react-native/lroImpl.js.map +1 -1
  497. package/dist/react-native/models/index.d.ts +457 -73
  498. package/dist/react-native/models/index.d.ts.map +1 -1
  499. package/dist/react-native/models/index.js +18 -7
  500. package/dist/react-native/models/index.js.map +1 -1
  501. package/dist/react-native/models/mappers.d.ts +37 -3
  502. package/dist/react-native/models/mappers.d.ts.map +1 -1
  503. package/dist/react-native/models/mappers.js +2011 -1186
  504. package/dist/react-native/models/mappers.js.map +1 -1
  505. package/dist/react-native/models/parameters.d.ts +2 -1
  506. package/dist/react-native/models/parameters.d.ts.map +1 -1
  507. package/dist/react-native/models/parameters.js +89 -87
  508. package/dist/react-native/models/parameters.js.map +1 -1
  509. package/dist/react-native/operations/certificateObjectGlobalRulestack.d.ts +5 -5
  510. package/dist/react-native/operations/certificateObjectGlobalRulestack.d.ts.map +1 -1
  511. package/dist/react-native/operations/certificateObjectGlobalRulestack.js +43 -64
  512. package/dist/react-native/operations/certificateObjectGlobalRulestack.js.map +1 -1
  513. package/dist/react-native/operations/certificateObjectLocalRulestack.d.ts +5 -5
  514. package/dist/react-native/operations/certificateObjectLocalRulestack.d.ts.map +1 -1
  515. package/dist/react-native/operations/certificateObjectLocalRulestack.js +45 -50
  516. package/dist/react-native/operations/certificateObjectLocalRulestack.js.map +1 -1
  517. package/dist/react-native/operations/firewallStatus.d.ts +4 -4
  518. package/dist/react-native/operations/firewallStatus.d.ts.map +1 -1
  519. package/dist/react-native/operations/firewallStatus.js +20 -25
  520. package/dist/react-native/operations/firewallStatus.js.map +1 -1
  521. package/dist/react-native/operations/firewalls.d.ts +5 -5
  522. package/dist/react-native/operations/firewalls.d.ts.map +1 -1
  523. package/dist/react-native/operations/firewalls.js +80 -93
  524. package/dist/react-native/operations/firewalls.js.map +1 -1
  525. package/dist/react-native/operations/fqdnListGlobalRulestack.d.ts +5 -5
  526. package/dist/react-native/operations/fqdnListGlobalRulestack.d.ts.map +1 -1
  527. package/dist/react-native/operations/fqdnListGlobalRulestack.js +43 -64
  528. package/dist/react-native/operations/fqdnListGlobalRulestack.js.map +1 -1
  529. package/dist/react-native/operations/fqdnListLocalRulestack.d.ts +5 -5
  530. package/dist/react-native/operations/fqdnListLocalRulestack.d.ts.map +1 -1
  531. package/dist/react-native/operations/fqdnListLocalRulestack.js +45 -50
  532. package/dist/react-native/operations/fqdnListLocalRulestack.js.map +1 -1
  533. package/dist/react-native/operations/globalRulestack.d.ts +5 -5
  534. package/dist/react-native/operations/globalRulestack.d.ts.map +1 -1
  535. package/dist/react-native/operations/globalRulestack.js +86 -101
  536. package/dist/react-native/operations/globalRulestack.js.map +1 -1
  537. package/dist/react-native/operations/index.d.ts +3 -1
  538. package/dist/react-native/operations/index.d.ts.map +1 -1
  539. package/dist/react-native/operations/index.js +7 -8
  540. package/dist/react-native/operations/index.js.map +1 -1
  541. package/dist/react-native/operations/localRules.d.ts +5 -5
  542. package/dist/react-native/operations/localRules.d.ts.map +1 -1
  543. package/dist/react-native/operations/localRules.js +60 -65
  544. package/dist/react-native/operations/localRules.js.map +1 -1
  545. package/dist/react-native/operations/localRulestacks.d.ts +60 -8
  546. package/dist/react-native/operations/localRulestacks.d.ts.map +1 -1
  547. package/dist/react-native/operations/localRulestacks.js +350 -141
  548. package/dist/react-native/operations/localRulestacks.js.map +1 -1
  549. package/dist/react-native/operations/metricsObjectFirewall.d.ts +76 -0
  550. package/dist/react-native/operations/metricsObjectFirewall.d.ts.map +1 -0
  551. package/dist/react-native/operations/metricsObjectFirewall.js +338 -0
  552. package/dist/react-native/operations/metricsObjectFirewall.js.map +1 -0
  553. package/dist/react-native/operations/operations.d.ts +4 -4
  554. package/dist/react-native/operations/operations.d.ts.map +1 -1
  555. package/dist/react-native/operations/operations.js +13 -18
  556. package/dist/react-native/operations/operations.js.map +1 -1
  557. package/dist/react-native/operations/paloAltoNetworksCloudngfwOperations.d.ts +21 -0
  558. package/dist/react-native/operations/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  559. package/dist/react-native/operations/paloAltoNetworksCloudngfwOperations.js +100 -0
  560. package/dist/react-native/operations/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  561. package/dist/react-native/operations/postRules.d.ts +5 -5
  562. package/dist/react-native/operations/postRules.d.ts.map +1 -1
  563. package/dist/react-native/operations/postRules.js +57 -90
  564. package/dist/react-native/operations/postRules.js.map +1 -1
  565. package/dist/react-native/operations/preRules.d.ts +5 -5
  566. package/dist/react-native/operations/preRules.d.ts.map +1 -1
  567. package/dist/react-native/operations/preRules.js +58 -91
  568. package/dist/react-native/operations/preRules.js.map +1 -1
  569. package/dist/react-native/operations/prefixListGlobalRulestack.d.ts +5 -5
  570. package/dist/react-native/operations/prefixListGlobalRulestack.d.ts.map +1 -1
  571. package/dist/react-native/operations/prefixListGlobalRulestack.js +44 -65
  572. package/dist/react-native/operations/prefixListGlobalRulestack.js.map +1 -1
  573. package/dist/react-native/operations/prefixListLocalRulestack.d.ts +5 -5
  574. package/dist/react-native/operations/prefixListLocalRulestack.d.ts.map +1 -1
  575. package/dist/react-native/operations/prefixListLocalRulestack.js +45 -50
  576. package/dist/react-native/operations/prefixListLocalRulestack.js.map +1 -1
  577. package/dist/react-native/operationsInterfaces/certificateObjectGlobalRulestack.d.ts +3 -3
  578. package/dist/react-native/operationsInterfaces/certificateObjectGlobalRulestack.d.ts.map +1 -1
  579. package/dist/react-native/operationsInterfaces/certificateObjectGlobalRulestack.js +2 -7
  580. package/dist/react-native/operationsInterfaces/certificateObjectGlobalRulestack.js.map +1 -1
  581. package/dist/react-native/operationsInterfaces/certificateObjectLocalRulestack.d.ts +3 -3
  582. package/dist/react-native/operationsInterfaces/certificateObjectLocalRulestack.d.ts.map +1 -1
  583. package/dist/react-native/operationsInterfaces/certificateObjectLocalRulestack.js +2 -7
  584. package/dist/react-native/operationsInterfaces/certificateObjectLocalRulestack.js.map +1 -1
  585. package/dist/react-native/operationsInterfaces/firewallStatus.d.ts +2 -2
  586. package/dist/react-native/operationsInterfaces/firewallStatus.d.ts.map +1 -1
  587. package/dist/react-native/operationsInterfaces/firewallStatus.js +2 -7
  588. package/dist/react-native/operationsInterfaces/firewallStatus.js.map +1 -1
  589. package/dist/react-native/operationsInterfaces/firewalls.d.ts +3 -3
  590. package/dist/react-native/operationsInterfaces/firewalls.d.ts.map +1 -1
  591. package/dist/react-native/operationsInterfaces/firewalls.js +2 -7
  592. package/dist/react-native/operationsInterfaces/firewalls.js.map +1 -1
  593. package/dist/react-native/operationsInterfaces/fqdnListGlobalRulestack.d.ts +3 -3
  594. package/dist/react-native/operationsInterfaces/fqdnListGlobalRulestack.d.ts.map +1 -1
  595. package/dist/react-native/operationsInterfaces/fqdnListGlobalRulestack.js +2 -7
  596. package/dist/react-native/operationsInterfaces/fqdnListGlobalRulestack.js.map +1 -1
  597. package/dist/react-native/operationsInterfaces/fqdnListLocalRulestack.d.ts +3 -3
  598. package/dist/react-native/operationsInterfaces/fqdnListLocalRulestack.d.ts.map +1 -1
  599. package/dist/react-native/operationsInterfaces/fqdnListLocalRulestack.js +2 -7
  600. package/dist/react-native/operationsInterfaces/fqdnListLocalRulestack.js.map +1 -1
  601. package/dist/react-native/operationsInterfaces/globalRulestack.d.ts +3 -3
  602. package/dist/react-native/operationsInterfaces/globalRulestack.d.ts.map +1 -1
  603. package/dist/react-native/operationsInterfaces/globalRulestack.js +2 -7
  604. package/dist/react-native/operationsInterfaces/globalRulestack.js.map +1 -1
  605. package/dist/react-native/operationsInterfaces/index.d.ts +3 -1
  606. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
  607. package/dist/react-native/operationsInterfaces/index.js +7 -8
  608. package/dist/react-native/operationsInterfaces/index.js.map +1 -1
  609. package/dist/react-native/operationsInterfaces/localRules.d.ts +3 -3
  610. package/dist/react-native/operationsInterfaces/localRules.d.ts.map +1 -1
  611. package/dist/react-native/operationsInterfaces/localRules.js +2 -7
  612. package/dist/react-native/operationsInterfaces/localRules.js.map +1 -1
  613. package/dist/react-native/operationsInterfaces/localRulestacks.d.ts +24 -24
  614. package/dist/react-native/operationsInterfaces/localRulestacks.d.ts.map +1 -1
  615. package/dist/react-native/operationsInterfaces/localRulestacks.js +2 -7
  616. package/dist/react-native/operationsInterfaces/localRulestacks.js.map +1 -1
  617. package/dist/react-native/operationsInterfaces/metricsObjectFirewall.d.ts +51 -0
  618. package/dist/react-native/operationsInterfaces/metricsObjectFirewall.d.ts.map +1 -0
  619. package/dist/react-native/operationsInterfaces/metricsObjectFirewall.js +4 -0
  620. package/dist/react-native/operationsInterfaces/metricsObjectFirewall.js.map +1 -0
  621. package/dist/react-native/operationsInterfaces/operations.d.ts +2 -2
  622. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
  623. package/dist/react-native/operationsInterfaces/operations.js +2 -7
  624. package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
  625. package/dist/react-native/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts +13 -0
  626. package/dist/react-native/operationsInterfaces/paloAltoNetworksCloudngfwOperations.d.ts.map +1 -0
  627. package/dist/react-native/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js +4 -0
  628. package/dist/react-native/operationsInterfaces/paloAltoNetworksCloudngfwOperations.js.map +1 -0
  629. package/dist/react-native/operationsInterfaces/postRules.d.ts +3 -3
  630. package/dist/react-native/operationsInterfaces/postRules.d.ts.map +1 -1
  631. package/dist/react-native/operationsInterfaces/postRules.js +2 -7
  632. package/dist/react-native/operationsInterfaces/postRules.js.map +1 -1
  633. package/dist/react-native/operationsInterfaces/preRules.d.ts +3 -3
  634. package/dist/react-native/operationsInterfaces/preRules.d.ts.map +1 -1
  635. package/dist/react-native/operationsInterfaces/preRules.js +2 -7
  636. package/dist/react-native/operationsInterfaces/preRules.js.map +1 -1
  637. package/dist/react-native/operationsInterfaces/prefixListGlobalRulestack.d.ts +3 -3
  638. package/dist/react-native/operationsInterfaces/prefixListGlobalRulestack.d.ts.map +1 -1
  639. package/dist/react-native/operationsInterfaces/prefixListGlobalRulestack.js +2 -7
  640. package/dist/react-native/operationsInterfaces/prefixListGlobalRulestack.js.map +1 -1
  641. package/dist/react-native/operationsInterfaces/prefixListLocalRulestack.d.ts +3 -3
  642. package/dist/react-native/operationsInterfaces/prefixListLocalRulestack.d.ts.map +1 -1
  643. package/dist/react-native/operationsInterfaces/prefixListLocalRulestack.js +2 -7
  644. package/dist/react-native/operationsInterfaces/prefixListLocalRulestack.js.map +1 -1
  645. package/dist/react-native/pagingHelper.d.ts.map +1 -1
  646. package/dist/react-native/pagingHelper.js +2 -7
  647. package/dist/react-native/pagingHelper.js.map +1 -1
  648. package/dist/react-native/paloAltoNetworksCloudngfw.d.ts +6 -4
  649. package/dist/react-native/paloAltoNetworksCloudngfw.d.ts.map +1 -1
  650. package/dist/react-native/paloAltoNetworksCloudngfw.js +22 -23
  651. package/dist/react-native/paloAltoNetworksCloudngfw.js.map +1 -1
  652. package/package.json +37 -36
  653. package/CHANGELOG.md +0 -28
  654. package/review/arm-paloaltonetworksngfw-node.api.md +0 -2026
@@ -0,0 +1,338 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { setContinuationToken } from "../pagingHelper.js";
4
+ import * as coreClient from "@azure/core-client";
5
+ import * as Mappers from "../models/mappers.js";
6
+ import * as Parameters from "../models/parameters.js";
7
+ import { createHttpPoller } from "@azure/core-lro";
8
+ import { createLroSpec } from "../lroImpl.js";
9
+ /// <reference lib="esnext.asynciterable" />
10
+ /** Class containing MetricsObjectFirewall operations. */
11
+ export class MetricsObjectFirewallImpl {
12
+ client;
13
+ /**
14
+ * Initialize a new instance of the class MetricsObjectFirewall class.
15
+ * @param client Reference to the service client
16
+ */
17
+ constructor(client) {
18
+ this.client = client;
19
+ }
20
+ /**
21
+ * List MetricsObjectFirewallResource resources by Firewalls
22
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
+ * @param firewallName Firewall resource name
24
+ * @param options The options parameters.
25
+ */
26
+ listByFirewalls(resourceGroupName, firewallName, options) {
27
+ const iter = this.listByFirewallsPagingAll(resourceGroupName, firewallName, options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: (settings) => {
36
+ if (settings?.maxPageSize) {
37
+ throw new Error("maxPageSize is not supported by this operation.");
38
+ }
39
+ return this.listByFirewallsPagingPage(resourceGroupName, firewallName, options, settings);
40
+ },
41
+ };
42
+ }
43
+ async *listByFirewallsPagingPage(resourceGroupName, firewallName, options, settings) {
44
+ let result;
45
+ let continuationToken = settings?.continuationToken;
46
+ if (!continuationToken) {
47
+ result = await this._listByFirewalls(resourceGroupName, firewallName, options);
48
+ const page = result.value || [];
49
+ continuationToken = result.nextLink;
50
+ setContinuationToken(page, continuationToken);
51
+ yield page;
52
+ }
53
+ while (continuationToken) {
54
+ result = await this._listByFirewallsNext(resourceGroupName, firewallName, continuationToken, options);
55
+ continuationToken = result.nextLink;
56
+ const page = result.value || [];
57
+ setContinuationToken(page, continuationToken);
58
+ yield page;
59
+ }
60
+ }
61
+ async *listByFirewallsPagingAll(resourceGroupName, firewallName, options) {
62
+ for await (const page of this.listByFirewallsPagingPage(resourceGroupName, firewallName, options)) {
63
+ yield* page;
64
+ }
65
+ }
66
+ /**
67
+ * List MetricsObjectFirewallResource resources by Firewalls
68
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
69
+ * @param firewallName Firewall resource name
70
+ * @param options The options parameters.
71
+ */
72
+ _listByFirewalls(resourceGroupName, firewallName, options) {
73
+ return this.client.sendOperationRequest({ resourceGroupName, firewallName, options }, listByFirewallsOperationSpec);
74
+ }
75
+ /**
76
+ * Get a MetricsObjectFirewallResource
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param firewallName Firewall resource name
79
+ * @param options The options parameters.
80
+ */
81
+ get(resourceGroupName, firewallName, options) {
82
+ return this.client.sendOperationRequest({ resourceGroupName, firewallName, options }, getOperationSpec);
83
+ }
84
+ /**
85
+ * Create a MetricsObjectFirewallResource
86
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
87
+ * @param firewallName Firewall resource name
88
+ * @param resource Resource create parameters.
89
+ * @param options The options parameters.
90
+ */
91
+ async beginCreateOrUpdate(resourceGroupName, firewallName, resource, options) {
92
+ const directSendOperation = async (args, spec) => {
93
+ return this.client.sendOperationRequest(args, spec);
94
+ };
95
+ const sendOperationFn = async (args, spec) => {
96
+ let currentRawResponse = undefined;
97
+ const providedCallback = args.options?.onResponse;
98
+ const callback = (rawResponse, flatResponse) => {
99
+ currentRawResponse = rawResponse;
100
+ providedCallback?.(rawResponse, flatResponse);
101
+ };
102
+ const updatedArgs = {
103
+ ...args,
104
+ options: {
105
+ ...args.options,
106
+ onResponse: callback,
107
+ },
108
+ };
109
+ const flatResponse = await directSendOperation(updatedArgs, spec);
110
+ return {
111
+ flatResponse,
112
+ rawResponse: {
113
+ statusCode: currentRawResponse.status,
114
+ body: currentRawResponse.parsedBody,
115
+ headers: currentRawResponse.headers.toJSON(),
116
+ },
117
+ };
118
+ };
119
+ const lro = createLroSpec({
120
+ sendOperationFn,
121
+ args: { resourceGroupName, firewallName, resource, options },
122
+ spec: createOrUpdateOperationSpec,
123
+ });
124
+ const poller = await createHttpPoller(lro, {
125
+ restoreFrom: options?.resumeFrom,
126
+ intervalInMs: options?.updateIntervalInMs,
127
+ resourceLocationConfig: "azure-async-operation",
128
+ });
129
+ await poller.poll();
130
+ return poller;
131
+ }
132
+ /**
133
+ * Create a MetricsObjectFirewallResource
134
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
135
+ * @param firewallName Firewall resource name
136
+ * @param resource Resource create parameters.
137
+ * @param options The options parameters.
138
+ */
139
+ async beginCreateOrUpdateAndWait(resourceGroupName, firewallName, resource, options) {
140
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, firewallName, resource, options);
141
+ return poller.pollUntilDone();
142
+ }
143
+ /**
144
+ * Delete a MetricsObjectFirewallResource
145
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
146
+ * @param firewallName Firewall resource name
147
+ * @param options The options parameters.
148
+ */
149
+ async beginDelete(resourceGroupName, firewallName, options) {
150
+ const directSendOperation = async (args, spec) => {
151
+ return this.client.sendOperationRequest(args, spec);
152
+ };
153
+ const sendOperationFn = async (args, spec) => {
154
+ let currentRawResponse = undefined;
155
+ const providedCallback = args.options?.onResponse;
156
+ const callback = (rawResponse, flatResponse) => {
157
+ currentRawResponse = rawResponse;
158
+ providedCallback?.(rawResponse, flatResponse);
159
+ };
160
+ const updatedArgs = {
161
+ ...args,
162
+ options: {
163
+ ...args.options,
164
+ onResponse: callback,
165
+ },
166
+ };
167
+ const flatResponse = await directSendOperation(updatedArgs, spec);
168
+ return {
169
+ flatResponse,
170
+ rawResponse: {
171
+ statusCode: currentRawResponse.status,
172
+ body: currentRawResponse.parsedBody,
173
+ headers: currentRawResponse.headers.toJSON(),
174
+ },
175
+ };
176
+ };
177
+ const lro = createLroSpec({
178
+ sendOperationFn,
179
+ args: { resourceGroupName, firewallName, options },
180
+ spec: deleteOperationSpec,
181
+ });
182
+ const poller = await createHttpPoller(lro, {
183
+ restoreFrom: options?.resumeFrom,
184
+ intervalInMs: options?.updateIntervalInMs,
185
+ resourceLocationConfig: "azure-async-operation",
186
+ });
187
+ await poller.poll();
188
+ return poller;
189
+ }
190
+ /**
191
+ * Delete a MetricsObjectFirewallResource
192
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
+ * @param firewallName Firewall resource name
194
+ * @param options The options parameters.
195
+ */
196
+ async beginDeleteAndWait(resourceGroupName, firewallName, options) {
197
+ const poller = await this.beginDelete(resourceGroupName, firewallName, options);
198
+ return poller.pollUntilDone();
199
+ }
200
+ /**
201
+ * ListByFirewallsNext
202
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
203
+ * @param firewallName Firewall resource name
204
+ * @param nextLink The nextLink from the previous successful call to the ListByFirewalls method.
205
+ * @param options The options parameters.
206
+ */
207
+ _listByFirewallsNext(resourceGroupName, firewallName, nextLink, options) {
208
+ return this.client.sendOperationRequest({ resourceGroupName, firewallName, nextLink, options }, listByFirewallsNextOperationSpec);
209
+ }
210
+ }
211
+ // Operation Specifications
212
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
213
+ const listByFirewallsOperationSpec = {
214
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics",
215
+ httpMethod: "GET",
216
+ responses: {
217
+ 200: {
218
+ bodyMapper: Mappers.MetricsObjectFirewallResourceListResult,
219
+ },
220
+ default: {
221
+ bodyMapper: Mappers.ErrorResponse,
222
+ },
223
+ },
224
+ queryParameters: [Parameters.apiVersion],
225
+ urlParameters: [
226
+ Parameters.$host,
227
+ Parameters.subscriptionId,
228
+ Parameters.resourceGroupName,
229
+ Parameters.firewallName1,
230
+ ],
231
+ headerParameters: [Parameters.accept],
232
+ serializer,
233
+ };
234
+ const getOperationSpec = {
235
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default",
236
+ httpMethod: "GET",
237
+ responses: {
238
+ 200: {
239
+ bodyMapper: Mappers.MetricsObjectFirewallResource,
240
+ },
241
+ default: {
242
+ bodyMapper: Mappers.ErrorResponse,
243
+ },
244
+ },
245
+ queryParameters: [Parameters.apiVersion],
246
+ urlParameters: [
247
+ Parameters.$host,
248
+ Parameters.subscriptionId,
249
+ Parameters.resourceGroupName,
250
+ Parameters.firewallName1,
251
+ ],
252
+ headerParameters: [Parameters.accept],
253
+ serializer,
254
+ };
255
+ const createOrUpdateOperationSpec = {
256
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default",
257
+ httpMethod: "PUT",
258
+ responses: {
259
+ 200: {
260
+ bodyMapper: Mappers.MetricsObjectFirewallResource,
261
+ },
262
+ 201: {
263
+ bodyMapper: Mappers.MetricsObjectFirewallResource,
264
+ },
265
+ 202: {
266
+ bodyMapper: Mappers.MetricsObjectFirewallResource,
267
+ },
268
+ 204: {
269
+ bodyMapper: Mappers.MetricsObjectFirewallResource,
270
+ },
271
+ default: {
272
+ bodyMapper: Mappers.ErrorResponse,
273
+ },
274
+ },
275
+ requestBody: Parameters.resource8,
276
+ queryParameters: [Parameters.apiVersion],
277
+ urlParameters: [
278
+ Parameters.$host,
279
+ Parameters.subscriptionId,
280
+ Parameters.resourceGroupName,
281
+ Parameters.firewallName1,
282
+ ],
283
+ headerParameters: [Parameters.accept, Parameters.contentType],
284
+ mediaType: "json",
285
+ serializer,
286
+ };
287
+ const deleteOperationSpec = {
288
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default",
289
+ httpMethod: "DELETE",
290
+ responses: {
291
+ 200: {
292
+ headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,
293
+ },
294
+ 201: {
295
+ headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,
296
+ },
297
+ 202: {
298
+ headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,
299
+ },
300
+ 204: {
301
+ headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,
302
+ },
303
+ default: {
304
+ bodyMapper: Mappers.ErrorResponse,
305
+ },
306
+ },
307
+ queryParameters: [Parameters.apiVersion],
308
+ urlParameters: [
309
+ Parameters.$host,
310
+ Parameters.subscriptionId,
311
+ Parameters.resourceGroupName,
312
+ Parameters.firewallName1,
313
+ ],
314
+ headerParameters: [Parameters.accept],
315
+ serializer,
316
+ };
317
+ const listByFirewallsNextOperationSpec = {
318
+ path: "{nextLink}",
319
+ httpMethod: "GET",
320
+ responses: {
321
+ 200: {
322
+ bodyMapper: Mappers.MetricsObjectFirewallResourceListResult,
323
+ },
324
+ default: {
325
+ bodyMapper: Mappers.ErrorResponse,
326
+ },
327
+ },
328
+ urlParameters: [
329
+ Parameters.$host,
330
+ Parameters.nextLink,
331
+ Parameters.subscriptionId,
332
+ Parameters.resourceGroupName,
333
+ Parameters.firewallName1,
334
+ ],
335
+ headerParameters: [Parameters.accept],
336
+ serializer,
337
+ };
338
+ //# sourceMappingURL=metricsObjectFirewall.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metricsObjectFirewall.js","sourceRoot":"","sources":["../../../src/operations/metricsObjectFirewall.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAMlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAe9C,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAA4B;IAEnD;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,eAAe,CACpB,iBAAyB,EACzB,YAAoB,EACpB,OAA4D;QAE5D,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;QACrF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,yBAAyB,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,CAAC,CA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aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uCAAuC;SAC5D;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { MetricsObjectFirewall } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { PaloAltoNetworksCloudngfw } from \"../paloAltoNetworksCloudngfw.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n MetricsObjectFirewallResource,\n MetricsObjectFirewallListByFirewallsNextOptionalParams,\n MetricsObjectFirewallListByFirewallsOptionalParams,\n MetricsObjectFirewallListByFirewallsResponse,\n MetricsObjectFirewallGetOptionalParams,\n MetricsObjectFirewallGetResponse,\n MetricsObjectFirewallCreateOrUpdateOptionalParams,\n MetricsObjectFirewallCreateOrUpdateResponse,\n MetricsObjectFirewallDeleteOptionalParams,\n MetricsObjectFirewallDeleteResponse,\n MetricsObjectFirewallListByFirewallsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing MetricsObjectFirewall operations. */\nexport class MetricsObjectFirewallImpl implements MetricsObjectFirewall {\n private readonly client: PaloAltoNetworksCloudngfw;\n\n /**\n * Initialize a new instance of the class MetricsObjectFirewall class.\n * @param client Reference to the service client\n */\n constructor(client: PaloAltoNetworksCloudngfw) {\n this.client = client;\n }\n\n /**\n * List MetricsObjectFirewallResource resources by Firewalls\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param options The options parameters.\n */\n public listByFirewalls(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallListByFirewallsOptionalParams,\n ): PagedAsyncIterableIterator<MetricsObjectFirewallResource> {\n const iter = this.listByFirewallsPagingAll(resourceGroupName, firewallName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFirewallsPagingPage(resourceGroupName, firewallName, options, settings);\n },\n };\n }\n\n private async *listByFirewallsPagingPage(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallListByFirewallsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<MetricsObjectFirewallResource[]> {\n let result: MetricsObjectFirewallListByFirewallsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFirewalls(resourceGroupName, firewallName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFirewallsNext(\n resourceGroupName,\n firewallName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFirewallsPagingAll(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallListByFirewallsOptionalParams,\n ): AsyncIterableIterator<MetricsObjectFirewallResource> {\n for await (const page of this.listByFirewallsPagingPage(\n resourceGroupName,\n firewallName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * List MetricsObjectFirewallResource resources by Firewalls\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param options The options parameters.\n */\n private _listByFirewalls(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallListByFirewallsOptionalParams,\n ): Promise<MetricsObjectFirewallListByFirewallsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, firewallName, options },\n listByFirewallsOperationSpec,\n );\n }\n\n /**\n * Get a MetricsObjectFirewallResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallGetOptionalParams,\n ): Promise<MetricsObjectFirewallGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, firewallName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create a MetricsObjectFirewallResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n firewallName: string,\n resource: MetricsObjectFirewallResource,\n options?: MetricsObjectFirewallCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MetricsObjectFirewallCreateOrUpdateResponse>,\n MetricsObjectFirewallCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MetricsObjectFirewallCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, firewallName, resource, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n MetricsObjectFirewallCreateOrUpdateResponse,\n OperationState<MetricsObjectFirewallCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a MetricsObjectFirewallResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n firewallName: string,\n resource: MetricsObjectFirewallResource,\n options?: MetricsObjectFirewallCreateOrUpdateOptionalParams,\n ): Promise<MetricsObjectFirewallCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n firewallName,\n resource,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete a MetricsObjectFirewallResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<MetricsObjectFirewallDeleteResponse>,\n MetricsObjectFirewallDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<MetricsObjectFirewallDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, firewallName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n MetricsObjectFirewallDeleteResponse,\n OperationState<MetricsObjectFirewallDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a MetricsObjectFirewallResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n firewallName: string,\n options?: MetricsObjectFirewallDeleteOptionalParams,\n ): Promise<MetricsObjectFirewallDeleteResponse> {\n const poller = await this.beginDelete(resourceGroupName, firewallName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListByFirewallsNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param firewallName Firewall resource name\n * @param nextLink The nextLink from the previous successful call to the ListByFirewalls method.\n * @param options The options parameters.\n */\n private _listByFirewallsNext(\n resourceGroupName: string,\n firewallName: string,\n nextLink: string,\n options?: MetricsObjectFirewallListByFirewallsNextOptionalParams,\n ): Promise<MetricsObjectFirewallListByFirewallsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, firewallName, nextLink, options },\n listByFirewallsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFirewallsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsObjectFirewallResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.firewallName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsObjectFirewallResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.firewallName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsObjectFirewallResource,\n },\n 201: {\n bodyMapper: Mappers.MetricsObjectFirewallResource,\n },\n 202: {\n bodyMapper: Mappers.MetricsObjectFirewallResource,\n },\n 204: {\n bodyMapper: Mappers.MetricsObjectFirewallResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.resource8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.firewallName1,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/firewalls/{firewallName}/metrics/default\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.MetricsObjectFirewallDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.firewallName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByFirewallsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.MetricsObjectFirewallResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.firewallName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -1,7 +1,7 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces/index.js";
3
- import { PaloAltoNetworksCloudngfw } from "../paloAltoNetworksCloudngfw.js";
4
- import { Operation, OperationsListOptionalParams } from "../models/index.js";
1
+ import type { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import type { Operations } from "../operationsInterfaces/index.js";
3
+ import type { PaloAltoNetworksCloudngfw } from "../paloAltoNetworksCloudngfw.js";
4
+ import type { Operation, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,KAAK,EACV,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C;;;OAGG;IACI,IAAI,CAAC,OAAO,CAAC,EAAE,4BAA4B,GAAG,0BAA0B,CAAC,SAAS,CAAC;YAkB3E,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAIb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
@@ -1,10 +1,5 @@
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
- */
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
8
3
  import { setContinuationToken } from "../pagingHelper.js";
9
4
  import * as coreClient from "@azure/core-client";
10
5
  import * as Mappers from "../models/mappers.js";
@@ -38,7 +33,7 @@ export class OperationsImpl {
38
33
  throw new Error("maxPageSize is not supported by this operation.");
39
34
  }
40
35
  return this.listPagingPage(options, settings);
41
- }
36
+ },
42
37
  };
43
38
  }
44
39
  async *listPagingPage(options, settings) {
@@ -46,7 +41,7 @@ export class OperationsImpl {
46
41
  let continuationToken = settings?.continuationToken;
47
42
  if (!continuationToken) {
48
43
  result = await this._list(options);
49
- let page = result.value || [];
44
+ const page = result.value || [];
50
45
  continuationToken = result.nextLink;
51
46
  setContinuationToken(page, continuationToken);
52
47
  yield page;
@@ -54,7 +49,7 @@ export class OperationsImpl {
54
49
  while (continuationToken) {
55
50
  result = await this._listNext(continuationToken, options);
56
51
  continuationToken = result.nextLink;
57
- let page = result.value || [];
52
+ const page = result.value || [];
58
53
  setContinuationToken(page, continuationToken);
59
54
  yield page;
60
55
  }
@@ -87,30 +82,30 @@ const listOperationSpec = {
87
82
  httpMethod: "GET",
88
83
  responses: {
89
84
  200: {
90
- bodyMapper: Mappers.OperationListResult
85
+ bodyMapper: Mappers.OperationListResult,
91
86
  },
92
87
  default: {
93
- bodyMapper: Mappers.ErrorResponse
94
- }
88
+ bodyMapper: Mappers.ErrorResponse,
89
+ },
95
90
  },
96
91
  queryParameters: [Parameters.apiVersion],
97
92
  urlParameters: [Parameters.$host],
98
93
  headerParameters: [Parameters.accept],
99
- serializer
94
+ serializer,
100
95
  };
101
96
  const listNextOperationSpec = {
102
97
  path: "{nextLink}",
103
98
  httpMethod: "GET",
104
99
  responses: {
105
100
  200: {
106
- bodyMapper: Mappers.OperationListResult
101
+ bodyMapper: Mappers.OperationListResult,
107
102
  },
108
103
  default: {
109
- bodyMapper: Mappers.ErrorResponse
110
- }
104
+ bodyMapper: Mappers.ErrorResponse,
105
+ },
111
106
  },
112
107
  urlParameters: [Parameters.$host, Parameters.nextLink],
113
108
  headerParameters: [Parameters.accept],
114
- serializer
109
+ serializer,
115
110
  };
116
111
  //# sourceMappingURL=operations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,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S,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PaloAltoNetworksCloudngfw } from \"../paloAltoNetworksCloudngfw.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: PaloAltoNetworksCloudngfw;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: PaloAltoNetworksCloudngfw) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/PaloAltoNetworks.Cloudngfw/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":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,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport type { PaloAltoNetworksCloudngfw } from \"../paloAltoNetworksCloudngfw.js\";\nimport type {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: PaloAltoNetworksCloudngfw;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: PaloAltoNetworksCloudngfw) {\n this.client = client;\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n public list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List the operations for the provider\n * @param options The options parameters.\n */\n private _list(options?: OperationsListOptionalParams): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/PaloAltoNetworks.Cloudngfw/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,21 @@
1
+ import type { PaloAltoNetworksCloudngfwOperations } from "../operationsInterfaces/index.js";
2
+ import type { PaloAltoNetworksCloudngfw } from "../paloAltoNetworksCloudngfw.js";
3
+ import type { PaloAltoNetworksCloudngfwOperationsCreateProductSerialNumberOptionalParams, PaloAltoNetworksCloudngfwOperationsCreateProductSerialNumberResponse, PaloAltoNetworksCloudngfwOperationsListCloudManagerTenantsOptionalParams, PaloAltoNetworksCloudngfwOperationsListCloudManagerTenantsResponse, PaloAltoNetworksCloudngfwOperationsListProductSerialNumberStatusOptionalParams, PaloAltoNetworksCloudngfwOperationsListProductSerialNumberStatusResponse, PaloAltoNetworksCloudngfwOperationsListSupportInfoOptionalParams, PaloAltoNetworksCloudngfwOperationsListSupportInfoResponse } from "../models/index.js";
4
+ /** Class containing PaloAltoNetworksCloudngfwOperations operations. */
5
+ export declare class PaloAltoNetworksCloudngfwOperationsImpl implements PaloAltoNetworksCloudngfwOperations {
6
+ private readonly client;
7
+ /**
8
+ * Initialize a new instance of the class PaloAltoNetworksCloudngfwOperations class.
9
+ * @param client Reference to the service client
10
+ */
11
+ constructor(client: PaloAltoNetworksCloudngfw);
12
+ /** @param options The options parameters. */
13
+ createProductSerialNumber(options?: PaloAltoNetworksCloudngfwOperationsCreateProductSerialNumberOptionalParams): Promise<PaloAltoNetworksCloudngfwOperationsCreateProductSerialNumberResponse>;
14
+ /** @param options The options parameters. */
15
+ listCloudManagerTenants(options?: PaloAltoNetworksCloudngfwOperationsListCloudManagerTenantsOptionalParams): Promise<PaloAltoNetworksCloudngfwOperationsListCloudManagerTenantsResponse>;
16
+ /** @param options The options parameters. */
17
+ listProductSerialNumberStatus(options?: PaloAltoNetworksCloudngfwOperationsListProductSerialNumberStatusOptionalParams): Promise<PaloAltoNetworksCloudngfwOperationsListProductSerialNumberStatusResponse>;
18
+ /** @param options The options parameters. */
19
+ listSupportInfo(options?: PaloAltoNetworksCloudngfwOperationsListSupportInfoOptionalParams): Promise<PaloAltoNetworksCloudngfwOperationsListSupportInfoResponse>;
20
+ }
21
+ //# sourceMappingURL=paloAltoNetworksCloudngfwOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paloAltoNetworksCloudngfwOperations.d.ts","sourceRoot":"","sources":["../../../src/operations/paloAltoNetworksCloudngfwOperations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,kCAAkC,CAAC;AAI5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,KAAK,EACV,0EAA0E,EAC1E,oEAAoE,EACpE,wEAAwE,EACxE,kEAAkE,EAClE,8EAA8E,EAC9E,wEAAwE,EACxE,gEAAgE,EAChE,0DAA0D,EAC3D,MAAM,oBAAoB,CAAC;AAE5B,uEAAuE;AACvE,qBAAa,uCACX,YAAW,mCAAmC;IAE9C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IAEnD;;;OAGG;gBACS,MAAM,EAAE,yBAAyB;IAI7C,6CAA6C;IAC7C,yBAAyB,CACvB,OAAO,CAAC,EAAE,0EAA0E,GACnF,OAAO,CAAC,oEAAoE,CAAC;IAIhF,6CAA6C;IAC7C,uBAAuB,CACrB,OAAO,CAAC,EAAE,wEAAwE,GACjF,OAAO,CAAC,kEAAkE,CAAC;IAI9E,6CAA6C;IAC7C,6BAA6B,CAC3B,OAAO,CAAC,EAAE,8EAA8E,GACvF,OAAO,CAAC,wEAAwE,CAAC;IAOpF,6CAA6C;IAC7C,eAAe,CACb,OAAO,CAAC,EAAE,gEAAgE,GACzE,OAAO,CAAC,0DAA0D,CAAC;CAGvE"}
@@ -0,0 +1,100 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import * as coreClient from "@azure/core-client";
4
+ import * as Mappers from "../models/mappers.js";
5
+ import * as Parameters from "../models/parameters.js";
6
+ /** Class containing PaloAltoNetworksCloudngfwOperations operations. */
7
+ export class PaloAltoNetworksCloudngfwOperationsImpl {
8
+ client;
9
+ /**
10
+ * Initialize a new instance of the class PaloAltoNetworksCloudngfwOperations class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client) {
14
+ this.client = client;
15
+ }
16
+ /** @param options The options parameters. */
17
+ createProductSerialNumber(options) {
18
+ return this.client.sendOperationRequest({ options }, createProductSerialNumberOperationSpec);
19
+ }
20
+ /** @param options The options parameters. */
21
+ listCloudManagerTenants(options) {
22
+ return this.client.sendOperationRequest({ options }, listCloudManagerTenantsOperationSpec);
23
+ }
24
+ /** @param options The options parameters. */
25
+ listProductSerialNumberStatus(options) {
26
+ return this.client.sendOperationRequest({ options }, listProductSerialNumberStatusOperationSpec);
27
+ }
28
+ /** @param options The options parameters. */
29
+ listSupportInfo(options) {
30
+ return this.client.sendOperationRequest({ options }, listSupportInfoOperationSpec);
31
+ }
32
+ }
33
+ // Operation Specifications
34
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
35
+ const createProductSerialNumberOperationSpec = {
36
+ path: "/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/createProductSerialNumber",
37
+ httpMethod: "POST",
38
+ responses: {
39
+ 200: {
40
+ bodyMapper: Mappers.ProductSerialNumberRequestStatus,
41
+ },
42
+ default: {
43
+ bodyMapper: Mappers.ErrorResponse,
44
+ },
45
+ },
46
+ queryParameters: [Parameters.apiVersion],
47
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
48
+ headerParameters: [Parameters.accept],
49
+ serializer,
50
+ };
51
+ const listCloudManagerTenantsOperationSpec = {
52
+ path: "/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/listCloudManagerTenants",
53
+ httpMethod: "POST",
54
+ responses: {
55
+ 200: {
56
+ bodyMapper: Mappers.CloudManagerTenantList,
57
+ },
58
+ default: {
59
+ bodyMapper: Mappers.ErrorResponse,
60
+ },
61
+ },
62
+ queryParameters: [Parameters.apiVersion],
63
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
64
+ headerParameters: [Parameters.accept],
65
+ serializer,
66
+ };
67
+ const listProductSerialNumberStatusOperationSpec = {
68
+ path: "/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/listProductSerialNumberStatus",
69
+ httpMethod: "POST",
70
+ responses: {
71
+ 200: {
72
+ bodyMapper: Mappers.ProductSerialNumberStatus,
73
+ },
74
+ 404: {},
75
+ default: {
76
+ bodyMapper: Mappers.ErrorResponse,
77
+ },
78
+ },
79
+ queryParameters: [Parameters.apiVersion],
80
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
81
+ headerParameters: [Parameters.accept],
82
+ serializer,
83
+ };
84
+ const listSupportInfoOperationSpec = {
85
+ path: "/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/listSupportInfo",
86
+ httpMethod: "POST",
87
+ responses: {
88
+ 200: {
89
+ bodyMapper: Mappers.SupportInfoModel,
90
+ },
91
+ default: {
92
+ bodyMapper: Mappers.ErrorResponse,
93
+ },
94
+ },
95
+ queryParameters: [Parameters.apiVersion],
96
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
97
+ headerParameters: [Parameters.accept],
98
+ serializer,
99
+ };
100
+ //# sourceMappingURL=paloAltoNetworksCloudngfwOperations.js.map