@azure/arm-servicefabricmesh 3.0.0-beta.4 → 3.0.0-beta.5

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 (692) hide show
  1. package/CHANGELOG.md +12 -2
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  4. package/dist/browser/index.d.ts +5 -0
  5. package/dist/browser/index.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/index.js +4 -4
  7. package/dist/browser/index.js.map +1 -0
  8. package/{dist-esm/src → dist/browser}/models/index.d.ts +68 -68
  9. package/dist/browser/models/index.d.ts.map +1 -0
  10. package/dist/browser/models/index.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/models/mappers.js +225 -96
  12. package/dist/browser/models/mappers.js.map +1 -0
  13. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  14. package/dist/browser/models/parameters.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/application.d.ts +3 -3
  16. package/dist/browser/operations/application.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/application.js +48 -78
  18. package/dist/browser/operations/application.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/codePackage.d.ts +3 -3
  20. package/dist/browser/operations/codePackage.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/codePackage.js +3 -2
  22. package/dist/browser/operations/codePackage.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/gateway.d.ts +3 -3
  24. package/dist/browser/operations/gateway.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/gateway.js +48 -78
  26. package/dist/browser/operations/gateway.js.map +1 -0
  27. package/dist/browser/operations/index.d.ts +11 -0
  28. package/dist/browser/operations/index.d.ts.map +1 -0
  29. package/dist/browser/operations/index.js +18 -0
  30. package/dist/browser/operations/index.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/network.d.ts +3 -3
  32. package/dist/browser/operations/network.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/network.js +48 -78
  34. package/dist/browser/operations/network.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  36. package/dist/browser/operations/operations.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -41
  38. package/dist/browser/operations/operations.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/secret.d.ts +3 -3
  40. package/dist/browser/operations/secret.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/secret.js +48 -78
  42. package/dist/browser/operations/secret.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/secretValueOperations.d.ts +3 -3
  44. package/dist/browser/operations/secretValueOperations.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/secretValueOperations.js +26 -41
  46. package/dist/browser/operations/secretValueOperations.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operations/service.d.ts +3 -3
  48. package/dist/browser/operations/service.d.ts.map +1 -0
  49. package/{dist-esm/src → dist/browser}/operations/service.js +26 -41
  50. package/dist/browser/operations/service.js.map +1 -0
  51. package/{dist-esm/src → dist/browser}/operations/serviceReplica.d.ts +3 -3
  52. package/dist/browser/operations/serviceReplica.d.ts.map +1 -0
  53. package/{dist-esm/src → dist/browser}/operations/serviceReplica.js +26 -41
  54. package/dist/browser/operations/serviceReplica.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operations/volume.d.ts +3 -3
  56. package/dist/browser/operations/volume.d.ts.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operations/volume.js +48 -78
  58. package/dist/browser/operations/volume.js.map +1 -0
  59. package/{dist-esm/src → dist/browser}/operationsInterfaces/application.d.ts +1 -1
  60. package/dist/browser/operationsInterfaces/application.d.ts.map +1 -0
  61. package/dist/browser/operationsInterfaces/application.js.map +1 -0
  62. package/{dist-esm/src → dist/browser}/operationsInterfaces/codePackage.d.ts +1 -1
  63. package/dist/browser/operationsInterfaces/codePackage.d.ts.map +1 -0
  64. package/dist/browser/operationsInterfaces/codePackage.js.map +1 -0
  65. package/{dist-esm/src → dist/browser}/operationsInterfaces/gateway.d.ts +1 -1
  66. package/dist/browser/operationsInterfaces/gateway.d.ts.map +1 -0
  67. package/dist/browser/operationsInterfaces/gateway.js.map +1 -0
  68. package/dist/browser/operationsInterfaces/index.d.ts +11 -0
  69. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/index.js +18 -0
  71. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/network.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/network.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/network.js.map +1 -0
  75. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  76. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  77. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  78. package/{dist-esm/src → dist/browser}/operationsInterfaces/secret.d.ts +1 -1
  79. package/dist/browser/operationsInterfaces/secret.d.ts.map +1 -0
  80. package/dist/browser/operationsInterfaces/secret.js.map +1 -0
  81. package/{dist-esm/src → dist/browser}/operationsInterfaces/secretValueOperations.d.ts +1 -1
  82. package/dist/browser/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  83. package/dist/browser/operationsInterfaces/secretValueOperations.js.map +1 -0
  84. package/{dist-esm/src → dist/browser}/operationsInterfaces/service.d.ts +1 -1
  85. package/dist/browser/operationsInterfaces/service.d.ts.map +1 -0
  86. package/dist/browser/operationsInterfaces/service.js.map +1 -0
  87. package/{dist-esm/src → dist/browser}/operationsInterfaces/serviceReplica.d.ts +1 -1
  88. package/dist/browser/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  89. package/dist/browser/operationsInterfaces/serviceReplica.js.map +1 -0
  90. package/{dist-esm/src → dist/browser}/operationsInterfaces/volume.d.ts +1 -1
  91. package/dist/browser/operationsInterfaces/volume.d.ts.map +1 -0
  92. package/dist/browser/operationsInterfaces/volume.js.map +1 -0
  93. package/dist/browser/package.json +3 -0
  94. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  95. package/dist/browser/pagingHelper.js.map +1 -0
  96. package/{dist-esm/src → dist/browser}/serviceFabricMeshManagementClient.d.ts +2 -2
  97. package/dist/browser/serviceFabricMeshManagementClient.d.ts.map +1 -0
  98. package/{dist-esm/src → dist/browser}/serviceFabricMeshManagementClient.js +39 -24
  99. package/dist/browser/serviceFabricMeshManagementClient.js.map +1 -0
  100. package/dist/commonjs/index.d.ts +5 -0
  101. package/dist/commonjs/index.d.ts.map +1 -0
  102. package/dist/commonjs/index.js +19 -0
  103. package/dist/commonjs/index.js.map +1 -0
  104. package/{types/arm-servicefabricmesh.d.ts → dist/commonjs/models/index.d.ts} +1386 -1971
  105. package/dist/commonjs/models/index.d.ts.map +1 -0
  106. package/dist/commonjs/models/index.js +129 -0
  107. package/dist/commonjs/models/index.js.map +1 -0
  108. package/dist/commonjs/models/mappers.d.ts +105 -0
  109. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  110. package/dist/commonjs/models/mappers.js +2627 -0
  111. package/dist/commonjs/models/mappers.js.map +1 -0
  112. package/dist/commonjs/models/parameters.d.ts +25 -0
  113. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  114. package/dist/commonjs/models/parameters.js +218 -0
  115. package/dist/commonjs/models/parameters.js.map +1 -0
  116. package/dist/commonjs/operations/application.d.ts +82 -0
  117. package/dist/commonjs/operations/application.d.ts.map +1 -0
  118. package/dist/commonjs/operations/application.js +336 -0
  119. package/dist/commonjs/operations/application.js.map +1 -0
  120. package/dist/commonjs/operations/codePackage.d.ts +23 -0
  121. package/dist/commonjs/operations/codePackage.d.ts.map +1 -0
  122. package/dist/commonjs/operations/codePackage.js +72 -0
  123. package/dist/commonjs/operations/codePackage.js.map +1 -0
  124. package/dist/commonjs/operations/gateway.d.ts +83 -0
  125. package/dist/commonjs/operations/gateway.d.ts.map +1 -0
  126. package/dist/commonjs/operations/gateway.js +337 -0
  127. package/dist/commonjs/operations/gateway.js.map +1 -0
  128. package/dist/commonjs/operations/index.d.ts +11 -0
  129. package/dist/commonjs/operations/index.d.ts.map +1 -0
  130. package/dist/commonjs/operations/index.js +21 -0
  131. package/dist/commonjs/operations/index.js.map +1 -0
  132. package/dist/commonjs/operations/network.d.ts +82 -0
  133. package/dist/commonjs/operations/network.d.ts.map +1 -0
  134. package/dist/commonjs/operations/network.js +336 -0
  135. package/dist/commonjs/operations/network.js.map +1 -0
  136. package/dist/commonjs/operations/operations.d.ts +32 -0
  137. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  138. package/dist/commonjs/operations/operations.js +121 -0
  139. package/dist/commonjs/operations/operations.js.map +1 -0
  140. package/dist/commonjs/operations/secret.d.ts +81 -0
  141. package/dist/commonjs/operations/secret.d.ts.map +1 -0
  142. package/dist/commonjs/operations/secret.js +335 -0
  143. package/dist/commonjs/operations/secret.js.map +1 -0
  144. package/dist/commonjs/operations/secretValueOperations.d.ts +81 -0
  145. package/dist/commonjs/operations/secretValueOperations.d.ts.map +1 -0
  146. package/dist/commonjs/operations/secretValueOperations.js +304 -0
  147. package/dist/commonjs/operations/secretValueOperations.js.map +1 -0
  148. package/dist/commonjs/operations/service.d.ts +49 -0
  149. package/dist/commonjs/operations/service.d.ts.map +1 -0
  150. package/dist/commonjs/operations/service.js +178 -0
  151. package/dist/commonjs/operations/service.js.map +1 -0
  152. package/dist/commonjs/operations/serviceReplica.d.ts +53 -0
  153. package/dist/commonjs/operations/serviceReplica.d.ts.map +1 -0
  154. package/dist/commonjs/operations/serviceReplica.js +197 -0
  155. package/dist/commonjs/operations/serviceReplica.js.map +1 -0
  156. package/dist/commonjs/operations/volume.d.ts +81 -0
  157. package/dist/commonjs/operations/volume.d.ts.map +1 -0
  158. package/dist/commonjs/operations/volume.js +335 -0
  159. package/dist/commonjs/operations/volume.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/application.d.ts +44 -0
  161. package/dist/commonjs/operationsInterfaces/application.d.ts.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/application.js +10 -0
  163. package/dist/commonjs/operationsInterfaces/application.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/codePackage.d.ts +15 -0
  165. package/dist/commonjs/operationsInterfaces/codePackage.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/codePackage.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/codePackage.js.map +1 -0
  168. package/dist/commonjs/operationsInterfaces/gateway.d.ts +45 -0
  169. package/dist/commonjs/operationsInterfaces/gateway.d.ts.map +1 -0
  170. package/dist/commonjs/operationsInterfaces/gateway.js +10 -0
  171. package/dist/commonjs/operationsInterfaces/gateway.js.map +1 -0
  172. package/dist/commonjs/operationsInterfaces/index.d.ts +11 -0
  173. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  174. package/dist/commonjs/operationsInterfaces/index.js +21 -0
  175. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  176. package/dist/commonjs/operationsInterfaces/network.d.ts +44 -0
  177. package/dist/commonjs/operationsInterfaces/network.d.ts.map +1 -0
  178. package/dist/commonjs/operationsInterfaces/network.js +10 -0
  179. package/dist/commonjs/operationsInterfaces/network.js.map +1 -0
  180. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  181. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  182. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  183. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  184. package/dist/commonjs/operationsInterfaces/secret.d.ts +43 -0
  185. package/dist/commonjs/operationsInterfaces/secret.d.ts.map +1 -0
  186. package/dist/commonjs/operationsInterfaces/secret.js +10 -0
  187. package/dist/commonjs/operationsInterfaces/secret.js.map +1 -0
  188. package/dist/commonjs/operationsInterfaces/secretValueOperations.d.ts +55 -0
  189. package/dist/commonjs/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  190. package/dist/commonjs/operationsInterfaces/secretValueOperations.js +10 -0
  191. package/dist/commonjs/operationsInterfaces/secretValueOperations.js.map +1 -0
  192. package/dist/commonjs/operationsInterfaces/service.d.ts +23 -0
  193. package/dist/commonjs/operationsInterfaces/service.d.ts.map +1 -0
  194. package/dist/commonjs/operationsInterfaces/service.js +10 -0
  195. package/dist/commonjs/operationsInterfaces/service.js.map +1 -0
  196. package/dist/commonjs/operationsInterfaces/serviceReplica.d.ts +25 -0
  197. package/dist/commonjs/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  198. package/dist/commonjs/operationsInterfaces/serviceReplica.js +10 -0
  199. package/dist/commonjs/operationsInterfaces/serviceReplica.js.map +1 -0
  200. package/dist/commonjs/operationsInterfaces/volume.d.ts +43 -0
  201. package/dist/commonjs/operationsInterfaces/volume.d.ts.map +1 -0
  202. package/dist/commonjs/operationsInterfaces/volume.js +10 -0
  203. package/dist/commonjs/operationsInterfaces/volume.js.map +1 -0
  204. package/dist/commonjs/package.json +3 -0
  205. package/dist/commonjs/pagingHelper.d.ts +13 -0
  206. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  207. package/dist/commonjs/pagingHelper.js +34 -0
  208. package/dist/commonjs/pagingHelper.js.map +1 -0
  209. package/dist/commonjs/serviceFabricMeshManagementClient.d.ts +29 -0
  210. package/dist/commonjs/serviceFabricMeshManagementClient.d.ts.map +1 -0
  211. package/dist/commonjs/serviceFabricMeshManagementClient.js +129 -0
  212. package/dist/commonjs/serviceFabricMeshManagementClient.js.map +1 -0
  213. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  214. package/dist/esm/index.d.ts +5 -0
  215. package/dist/esm/index.d.ts.map +1 -0
  216. package/{src/index.ts → dist/esm/index.js} +5 -5
  217. package/dist/esm/index.js.map +1 -0
  218. package/dist/esm/models/index.d.ts +1386 -0
  219. package/dist/esm/models/index.d.ts.map +1 -0
  220. package/dist/esm/models/index.js +126 -0
  221. package/dist/esm/models/index.js.map +1 -0
  222. package/dist/esm/models/mappers.d.ts +105 -0
  223. package/dist/esm/models/mappers.d.ts.map +1 -0
  224. package/dist/esm/models/mappers.js +2623 -0
  225. package/dist/esm/models/mappers.js.map +1 -0
  226. package/dist/esm/models/parameters.d.ts +25 -0
  227. package/dist/esm/models/parameters.d.ts.map +1 -0
  228. package/dist/esm/models/parameters.js +215 -0
  229. package/dist/esm/models/parameters.js.map +1 -0
  230. package/dist/esm/operations/application.d.ts +82 -0
  231. package/dist/esm/operations/application.d.ts.map +1 -0
  232. package/dist/esm/operations/application.js +331 -0
  233. package/dist/esm/operations/application.js.map +1 -0
  234. package/dist/esm/operations/codePackage.d.ts +23 -0
  235. package/dist/esm/operations/codePackage.d.ts.map +1 -0
  236. package/dist/esm/operations/codePackage.js +67 -0
  237. package/dist/esm/operations/codePackage.js.map +1 -0
  238. package/dist/esm/operations/gateway.d.ts +83 -0
  239. package/dist/esm/operations/gateway.d.ts.map +1 -0
  240. package/dist/esm/operations/gateway.js +332 -0
  241. package/dist/esm/operations/gateway.js.map +1 -0
  242. package/dist/esm/operations/index.d.ts +11 -0
  243. package/dist/esm/operations/index.d.ts.map +1 -0
  244. package/dist/esm/operations/index.js +18 -0
  245. package/dist/esm/operations/index.js.map +1 -0
  246. package/dist/esm/operations/network.d.ts +82 -0
  247. package/dist/esm/operations/network.d.ts.map +1 -0
  248. package/dist/esm/operations/network.js +331 -0
  249. package/dist/esm/operations/network.js.map +1 -0
  250. package/dist/esm/operations/operations.d.ts +32 -0
  251. package/dist/esm/operations/operations.d.ts.map +1 -0
  252. package/dist/esm/operations/operations.js +116 -0
  253. package/dist/esm/operations/operations.js.map +1 -0
  254. package/dist/esm/operations/secret.d.ts +81 -0
  255. package/dist/esm/operations/secret.d.ts.map +1 -0
  256. package/dist/esm/operations/secret.js +330 -0
  257. package/dist/esm/operations/secret.js.map +1 -0
  258. package/dist/esm/operations/secretValueOperations.d.ts +81 -0
  259. package/dist/esm/operations/secretValueOperations.d.ts.map +1 -0
  260. package/dist/esm/operations/secretValueOperations.js +299 -0
  261. package/dist/esm/operations/secretValueOperations.js.map +1 -0
  262. package/dist/esm/operations/service.d.ts +49 -0
  263. package/dist/esm/operations/service.d.ts.map +1 -0
  264. package/dist/esm/operations/service.js +173 -0
  265. package/dist/esm/operations/service.js.map +1 -0
  266. package/dist/esm/operations/serviceReplica.d.ts +53 -0
  267. package/dist/esm/operations/serviceReplica.d.ts.map +1 -0
  268. package/dist/esm/operations/serviceReplica.js +192 -0
  269. package/dist/esm/operations/serviceReplica.js.map +1 -0
  270. package/dist/esm/operations/volume.d.ts +81 -0
  271. package/dist/esm/operations/volume.d.ts.map +1 -0
  272. package/dist/esm/operations/volume.js +330 -0
  273. package/dist/esm/operations/volume.js.map +1 -0
  274. package/dist/esm/operationsInterfaces/application.d.ts +44 -0
  275. package/dist/esm/operationsInterfaces/application.d.ts.map +1 -0
  276. package/dist/esm/operationsInterfaces/application.js +9 -0
  277. package/dist/esm/operationsInterfaces/application.js.map +1 -0
  278. package/dist/esm/operationsInterfaces/codePackage.d.ts +15 -0
  279. package/dist/esm/operationsInterfaces/codePackage.d.ts.map +1 -0
  280. package/dist/esm/operationsInterfaces/codePackage.js +9 -0
  281. package/dist/esm/operationsInterfaces/codePackage.js.map +1 -0
  282. package/dist/esm/operationsInterfaces/gateway.d.ts +45 -0
  283. package/dist/esm/operationsInterfaces/gateway.d.ts.map +1 -0
  284. package/dist/esm/operationsInterfaces/gateway.js +9 -0
  285. package/dist/esm/operationsInterfaces/gateway.js.map +1 -0
  286. package/dist/esm/operationsInterfaces/index.d.ts +11 -0
  287. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  288. package/dist/esm/operationsInterfaces/index.js +18 -0
  289. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  290. package/dist/esm/operationsInterfaces/network.d.ts +44 -0
  291. package/dist/esm/operationsInterfaces/network.d.ts.map +1 -0
  292. package/dist/esm/operationsInterfaces/network.js +9 -0
  293. package/dist/esm/operationsInterfaces/network.js.map +1 -0
  294. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  295. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  296. package/dist/esm/operationsInterfaces/operations.js +9 -0
  297. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  298. package/dist/esm/operationsInterfaces/secret.d.ts +43 -0
  299. package/dist/esm/operationsInterfaces/secret.d.ts.map +1 -0
  300. package/dist/esm/operationsInterfaces/secret.js +9 -0
  301. package/dist/esm/operationsInterfaces/secret.js.map +1 -0
  302. package/dist/esm/operationsInterfaces/secretValueOperations.d.ts +55 -0
  303. package/dist/esm/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  304. package/dist/esm/operationsInterfaces/secretValueOperations.js +9 -0
  305. package/dist/esm/operationsInterfaces/secretValueOperations.js.map +1 -0
  306. package/dist/esm/operationsInterfaces/service.d.ts +23 -0
  307. package/dist/esm/operationsInterfaces/service.d.ts.map +1 -0
  308. package/dist/esm/operationsInterfaces/service.js +9 -0
  309. package/dist/esm/operationsInterfaces/service.js.map +1 -0
  310. package/dist/esm/operationsInterfaces/serviceReplica.d.ts +25 -0
  311. package/dist/esm/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  312. package/dist/esm/operationsInterfaces/serviceReplica.js +9 -0
  313. package/dist/esm/operationsInterfaces/serviceReplica.js.map +1 -0
  314. package/dist/esm/operationsInterfaces/volume.d.ts +43 -0
  315. package/dist/esm/operationsInterfaces/volume.d.ts.map +1 -0
  316. package/dist/esm/operationsInterfaces/volume.js +9 -0
  317. package/dist/esm/operationsInterfaces/volume.js.map +1 -0
  318. package/dist/esm/package.json +3 -0
  319. package/dist/esm/pagingHelper.d.ts +13 -0
  320. package/dist/esm/pagingHelper.d.ts.map +1 -0
  321. package/dist/esm/pagingHelper.js +30 -0
  322. package/dist/esm/pagingHelper.js.map +1 -0
  323. package/dist/esm/serviceFabricMeshManagementClient.d.ts +29 -0
  324. package/dist/esm/serviceFabricMeshManagementClient.d.ts.map +1 -0
  325. package/dist/esm/serviceFabricMeshManagementClient.js +124 -0
  326. package/dist/esm/serviceFabricMeshManagementClient.js.map +1 -0
  327. package/dist/react-native/index.d.ts +5 -0
  328. package/dist/react-native/index.d.ts.map +1 -0
  329. package/dist/react-native/index.js +13 -0
  330. package/dist/react-native/index.js.map +1 -0
  331. package/dist/react-native/models/index.d.ts +1386 -0
  332. package/dist/react-native/models/index.d.ts.map +1 -0
  333. package/dist/react-native/models/index.js +126 -0
  334. package/dist/react-native/models/index.js.map +1 -0
  335. package/dist/react-native/models/mappers.d.ts +105 -0
  336. package/dist/react-native/models/mappers.d.ts.map +1 -0
  337. package/dist/react-native/models/mappers.js +2623 -0
  338. package/dist/react-native/models/mappers.js.map +1 -0
  339. package/dist/react-native/models/parameters.d.ts +25 -0
  340. package/dist/react-native/models/parameters.d.ts.map +1 -0
  341. package/dist/react-native/models/parameters.js +215 -0
  342. package/dist/react-native/models/parameters.js.map +1 -0
  343. package/dist/react-native/operations/application.d.ts +82 -0
  344. package/dist/react-native/operations/application.d.ts.map +1 -0
  345. package/dist/react-native/operations/application.js +331 -0
  346. package/dist/react-native/operations/application.js.map +1 -0
  347. package/dist/react-native/operations/codePackage.d.ts +23 -0
  348. package/dist/react-native/operations/codePackage.d.ts.map +1 -0
  349. package/dist/react-native/operations/codePackage.js +67 -0
  350. package/dist/react-native/operations/codePackage.js.map +1 -0
  351. package/dist/react-native/operations/gateway.d.ts +83 -0
  352. package/dist/react-native/operations/gateway.d.ts.map +1 -0
  353. package/dist/react-native/operations/gateway.js +332 -0
  354. package/dist/react-native/operations/gateway.js.map +1 -0
  355. package/dist/react-native/operations/index.d.ts +11 -0
  356. package/dist/react-native/operations/index.d.ts.map +1 -0
  357. package/dist/react-native/operations/index.js +18 -0
  358. package/dist/react-native/operations/index.js.map +1 -0
  359. package/dist/react-native/operations/network.d.ts +82 -0
  360. package/dist/react-native/operations/network.d.ts.map +1 -0
  361. package/dist/react-native/operations/network.js +331 -0
  362. package/dist/react-native/operations/network.js.map +1 -0
  363. package/dist/react-native/operations/operations.d.ts +32 -0
  364. package/dist/react-native/operations/operations.d.ts.map +1 -0
  365. package/dist/react-native/operations/operations.js +116 -0
  366. package/dist/react-native/operations/operations.js.map +1 -0
  367. package/dist/react-native/operations/secret.d.ts +81 -0
  368. package/dist/react-native/operations/secret.d.ts.map +1 -0
  369. package/dist/react-native/operations/secret.js +330 -0
  370. package/dist/react-native/operations/secret.js.map +1 -0
  371. package/dist/react-native/operations/secretValueOperations.d.ts +81 -0
  372. package/dist/react-native/operations/secretValueOperations.d.ts.map +1 -0
  373. package/dist/react-native/operations/secretValueOperations.js +299 -0
  374. package/dist/react-native/operations/secretValueOperations.js.map +1 -0
  375. package/dist/react-native/operations/service.d.ts +49 -0
  376. package/dist/react-native/operations/service.d.ts.map +1 -0
  377. package/dist/react-native/operations/service.js +173 -0
  378. package/dist/react-native/operations/service.js.map +1 -0
  379. package/dist/react-native/operations/serviceReplica.d.ts +53 -0
  380. package/dist/react-native/operations/serviceReplica.d.ts.map +1 -0
  381. package/dist/react-native/operations/serviceReplica.js +192 -0
  382. package/dist/react-native/operations/serviceReplica.js.map +1 -0
  383. package/dist/react-native/operations/volume.d.ts +81 -0
  384. package/dist/react-native/operations/volume.d.ts.map +1 -0
  385. package/dist/react-native/operations/volume.js +330 -0
  386. package/dist/react-native/operations/volume.js.map +1 -0
  387. package/dist/react-native/operationsInterfaces/application.d.ts +44 -0
  388. package/dist/react-native/operationsInterfaces/application.d.ts.map +1 -0
  389. package/dist/react-native/operationsInterfaces/application.js +9 -0
  390. package/dist/react-native/operationsInterfaces/application.js.map +1 -0
  391. package/dist/react-native/operationsInterfaces/codePackage.d.ts +15 -0
  392. package/dist/react-native/operationsInterfaces/codePackage.d.ts.map +1 -0
  393. package/dist/react-native/operationsInterfaces/codePackage.js +9 -0
  394. package/dist/react-native/operationsInterfaces/codePackage.js.map +1 -0
  395. package/dist/react-native/operationsInterfaces/gateway.d.ts +45 -0
  396. package/dist/react-native/operationsInterfaces/gateway.d.ts.map +1 -0
  397. package/dist/react-native/operationsInterfaces/gateway.js +9 -0
  398. package/dist/react-native/operationsInterfaces/gateway.js.map +1 -0
  399. package/dist/react-native/operationsInterfaces/index.d.ts +11 -0
  400. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  401. package/dist/react-native/operationsInterfaces/index.js +18 -0
  402. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  403. package/dist/react-native/operationsInterfaces/network.d.ts +44 -0
  404. package/dist/react-native/operationsInterfaces/network.d.ts.map +1 -0
  405. package/dist/react-native/operationsInterfaces/network.js +9 -0
  406. package/dist/react-native/operationsInterfaces/network.js.map +1 -0
  407. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  408. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  409. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  410. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  411. package/dist/react-native/operationsInterfaces/secret.d.ts +43 -0
  412. package/dist/react-native/operationsInterfaces/secret.d.ts.map +1 -0
  413. package/dist/react-native/operationsInterfaces/secret.js +9 -0
  414. package/dist/react-native/operationsInterfaces/secret.js.map +1 -0
  415. package/dist/react-native/operationsInterfaces/secretValueOperations.d.ts +55 -0
  416. package/dist/react-native/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  417. package/dist/react-native/operationsInterfaces/secretValueOperations.js +9 -0
  418. package/dist/react-native/operationsInterfaces/secretValueOperations.js.map +1 -0
  419. package/dist/react-native/operationsInterfaces/service.d.ts +23 -0
  420. package/dist/react-native/operationsInterfaces/service.d.ts.map +1 -0
  421. package/dist/react-native/operationsInterfaces/service.js +9 -0
  422. package/dist/react-native/operationsInterfaces/service.js.map +1 -0
  423. package/dist/react-native/operationsInterfaces/serviceReplica.d.ts +25 -0
  424. package/dist/react-native/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  425. package/dist/react-native/operationsInterfaces/serviceReplica.js +9 -0
  426. package/dist/react-native/operationsInterfaces/serviceReplica.js.map +1 -0
  427. package/dist/react-native/operationsInterfaces/volume.d.ts +43 -0
  428. package/dist/react-native/operationsInterfaces/volume.d.ts.map +1 -0
  429. package/dist/react-native/operationsInterfaces/volume.js +9 -0
  430. package/dist/react-native/operationsInterfaces/volume.js.map +1 -0
  431. package/dist/react-native/package.json +3 -0
  432. package/dist/react-native/pagingHelper.d.ts +13 -0
  433. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  434. package/dist/react-native/pagingHelper.js +30 -0
  435. package/dist/react-native/pagingHelper.js.map +1 -0
  436. package/dist/react-native/serviceFabricMeshManagementClient.d.ts +29 -0
  437. package/dist/react-native/serviceFabricMeshManagementClient.d.ts.map +1 -0
  438. package/dist/react-native/serviceFabricMeshManagementClient.js +124 -0
  439. package/dist/react-native/serviceFabricMeshManagementClient.js.map +1 -0
  440. package/package.json +82 -71
  441. package/dist/index.js +0 -5755
  442. package/dist/index.js.map +0 -1
  443. package/dist/index.min.js +0 -1
  444. package/dist/index.min.js.map +0 -1
  445. package/dist-esm/samples-dev/applicationCreateSample.d.ts +0 -2
  446. package/dist-esm/samples-dev/applicationCreateSample.d.ts.map +0 -1
  447. package/dist-esm/samples-dev/applicationCreateSample.js +0 -66
  448. package/dist-esm/samples-dev/applicationCreateSample.js.map +0 -1
  449. package/dist-esm/samples-dev/applicationDeleteSample.d.ts +0 -2
  450. package/dist-esm/samples-dev/applicationDeleteSample.d.ts.map +0 -1
  451. package/dist-esm/samples-dev/applicationDeleteSample.js +0 -39
  452. package/dist-esm/samples-dev/applicationDeleteSample.js.map +0 -1
  453. package/dist-esm/samples-dev/applicationGetSample.d.ts +0 -2
  454. package/dist-esm/samples-dev/applicationGetSample.d.ts.map +0 -1
  455. package/dist-esm/samples-dev/applicationGetSample.js +0 -39
  456. package/dist-esm/samples-dev/applicationGetSample.js.map +0 -1
  457. package/dist-esm/samples-dev/applicationListByResourceGroupSample.d.ts +0 -2
  458. package/dist-esm/samples-dev/applicationListByResourceGroupSample.d.ts.map +0 -1
  459. package/dist-esm/samples-dev/applicationListByResourceGroupSample.js +0 -52
  460. package/dist-esm/samples-dev/applicationListByResourceGroupSample.js.map +0 -1
  461. package/dist-esm/samples-dev/applicationListBySubscriptionSample.d.ts +0 -2
  462. package/dist-esm/samples-dev/applicationListBySubscriptionSample.d.ts.map +0 -1
  463. package/dist-esm/samples-dev/applicationListBySubscriptionSample.js +0 -51
  464. package/dist-esm/samples-dev/applicationListBySubscriptionSample.js.map +0 -1
  465. package/dist-esm/samples-dev/codePackageGetContainerLogsSample.d.ts +0 -2
  466. package/dist-esm/samples-dev/codePackageGetContainerLogsSample.d.ts.map +0 -1
  467. package/dist-esm/samples-dev/codePackageGetContainerLogsSample.js +0 -42
  468. package/dist-esm/samples-dev/codePackageGetContainerLogsSample.js.map +0 -1
  469. package/dist-esm/samples-dev/gatewayCreateSample.d.ts +0 -2
  470. package/dist-esm/samples-dev/gatewayCreateSample.d.ts.map +0 -1
  471. package/dist-esm/samples-dev/gatewayCreateSample.js +0 -84
  472. package/dist-esm/samples-dev/gatewayCreateSample.js.map +0 -1
  473. package/dist-esm/samples-dev/gatewayDeleteSample.d.ts +0 -2
  474. package/dist-esm/samples-dev/gatewayDeleteSample.d.ts.map +0 -1
  475. package/dist-esm/samples-dev/gatewayDeleteSample.js +0 -39
  476. package/dist-esm/samples-dev/gatewayDeleteSample.js.map +0 -1
  477. package/dist-esm/samples-dev/gatewayGetSample.d.ts +0 -2
  478. package/dist-esm/samples-dev/gatewayGetSample.d.ts.map +0 -1
  479. package/dist-esm/samples-dev/gatewayGetSample.js +0 -39
  480. package/dist-esm/samples-dev/gatewayGetSample.js.map +0 -1
  481. package/dist-esm/samples-dev/gatewayListByResourceGroupSample.d.ts +0 -2
  482. package/dist-esm/samples-dev/gatewayListByResourceGroupSample.d.ts.map +0 -1
  483. package/dist-esm/samples-dev/gatewayListByResourceGroupSample.js +0 -52
  484. package/dist-esm/samples-dev/gatewayListByResourceGroupSample.js.map +0 -1
  485. package/dist-esm/samples-dev/gatewayListBySubscriptionSample.d.ts +0 -2
  486. package/dist-esm/samples-dev/gatewayListBySubscriptionSample.d.ts.map +0 -1
  487. package/dist-esm/samples-dev/gatewayListBySubscriptionSample.js +0 -51
  488. package/dist-esm/samples-dev/gatewayListBySubscriptionSample.js.map +0 -1
  489. package/dist-esm/samples-dev/networkCreateSample.d.ts +0 -2
  490. package/dist-esm/samples-dev/networkCreateSample.d.ts.map +0 -1
  491. package/dist-esm/samples-dev/networkCreateSample.js +0 -48
  492. package/dist-esm/samples-dev/networkCreateSample.js.map +0 -1
  493. package/dist-esm/samples-dev/networkDeleteSample.d.ts +0 -2
  494. package/dist-esm/samples-dev/networkDeleteSample.d.ts.map +0 -1
  495. package/dist-esm/samples-dev/networkDeleteSample.js +0 -39
  496. package/dist-esm/samples-dev/networkDeleteSample.js.map +0 -1
  497. package/dist-esm/samples-dev/networkGetSample.d.ts +0 -2
  498. package/dist-esm/samples-dev/networkGetSample.d.ts.map +0 -1
  499. package/dist-esm/samples-dev/networkGetSample.js +0 -39
  500. package/dist-esm/samples-dev/networkGetSample.js.map +0 -1
  501. package/dist-esm/samples-dev/networkListByResourceGroupSample.d.ts +0 -2
  502. package/dist-esm/samples-dev/networkListByResourceGroupSample.d.ts.map +0 -1
  503. package/dist-esm/samples-dev/networkListByResourceGroupSample.js +0 -52
  504. package/dist-esm/samples-dev/networkListByResourceGroupSample.js.map +0 -1
  505. package/dist-esm/samples-dev/networkListBySubscriptionSample.d.ts +0 -2
  506. package/dist-esm/samples-dev/networkListBySubscriptionSample.d.ts.map +0 -1
  507. package/dist-esm/samples-dev/networkListBySubscriptionSample.js +0 -51
  508. package/dist-esm/samples-dev/networkListBySubscriptionSample.js.map +0 -1
  509. package/dist-esm/samples-dev/secretCreateSample.d.ts +0 -2
  510. package/dist-esm/samples-dev/secretCreateSample.d.ts.map +0 -1
  511. package/dist-esm/samples-dev/secretCreateSample.js +0 -48
  512. package/dist-esm/samples-dev/secretCreateSample.js.map +0 -1
  513. package/dist-esm/samples-dev/secretDeleteSample.d.ts +0 -2
  514. package/dist-esm/samples-dev/secretDeleteSample.d.ts.map +0 -1
  515. package/dist-esm/samples-dev/secretDeleteSample.js +0 -39
  516. package/dist-esm/samples-dev/secretDeleteSample.js.map +0 -1
  517. package/dist-esm/samples-dev/secretGetSample.d.ts +0 -2
  518. package/dist-esm/samples-dev/secretGetSample.d.ts.map +0 -1
  519. package/dist-esm/samples-dev/secretGetSample.js +0 -39
  520. package/dist-esm/samples-dev/secretGetSample.js.map +0 -1
  521. package/dist-esm/samples-dev/secretListByResourceGroupSample.d.ts +0 -2
  522. package/dist-esm/samples-dev/secretListByResourceGroupSample.d.ts.map +0 -1
  523. package/dist-esm/samples-dev/secretListByResourceGroupSample.js +0 -52
  524. package/dist-esm/samples-dev/secretListByResourceGroupSample.js.map +0 -1
  525. package/dist-esm/samples-dev/secretListBySubscriptionSample.d.ts +0 -2
  526. package/dist-esm/samples-dev/secretListBySubscriptionSample.d.ts.map +0 -1
  527. package/dist-esm/samples-dev/secretListBySubscriptionSample.js +0 -51
  528. package/dist-esm/samples-dev/secretListBySubscriptionSample.js.map +0 -1
  529. package/dist-esm/samples-dev/secretValueCreateSample.d.ts +0 -2
  530. package/dist-esm/samples-dev/secretValueCreateSample.d.ts.map +0 -1
  531. package/dist-esm/samples-dev/secretValueCreateSample.js +0 -45
  532. package/dist-esm/samples-dev/secretValueCreateSample.js.map +0 -1
  533. package/dist-esm/samples-dev/secretValueDeleteSample.d.ts +0 -2
  534. package/dist-esm/samples-dev/secretValueDeleteSample.d.ts.map +0 -1
  535. package/dist-esm/samples-dev/secretValueDeleteSample.js +0 -40
  536. package/dist-esm/samples-dev/secretValueDeleteSample.js.map +0 -1
  537. package/dist-esm/samples-dev/secretValueGetSample.d.ts +0 -2
  538. package/dist-esm/samples-dev/secretValueGetSample.d.ts.map +0 -1
  539. package/dist-esm/samples-dev/secretValueGetSample.js +0 -40
  540. package/dist-esm/samples-dev/secretValueGetSample.js.map +0 -1
  541. package/dist-esm/samples-dev/secretValueListSample.d.ts +0 -2
  542. package/dist-esm/samples-dev/secretValueListSample.d.ts.map +0 -1
  543. package/dist-esm/samples-dev/secretValueListSample.js +0 -53
  544. package/dist-esm/samples-dev/secretValueListSample.js.map +0 -1
  545. package/dist-esm/samples-dev/secretValueListValueSample.d.ts +0 -2
  546. package/dist-esm/samples-dev/secretValueListValueSample.d.ts.map +0 -1
  547. package/dist-esm/samples-dev/secretValueListValueSample.js +0 -40
  548. package/dist-esm/samples-dev/secretValueListValueSample.js.map +0 -1
  549. package/dist-esm/samples-dev/serviceGetSample.d.ts +0 -2
  550. package/dist-esm/samples-dev/serviceGetSample.d.ts.map +0 -1
  551. package/dist-esm/samples-dev/serviceGetSample.js +0 -40
  552. package/dist-esm/samples-dev/serviceGetSample.js.map +0 -1
  553. package/dist-esm/samples-dev/serviceListSample.d.ts +0 -2
  554. package/dist-esm/samples-dev/serviceListSample.d.ts.map +0 -1
  555. package/dist-esm/samples-dev/serviceListSample.js +0 -53
  556. package/dist-esm/samples-dev/serviceListSample.js.map +0 -1
  557. package/dist-esm/samples-dev/serviceReplicaGetSample.d.ts +0 -2
  558. package/dist-esm/samples-dev/serviceReplicaGetSample.d.ts.map +0 -1
  559. package/dist-esm/samples-dev/serviceReplicaGetSample.js +0 -41
  560. package/dist-esm/samples-dev/serviceReplicaGetSample.js.map +0 -1
  561. package/dist-esm/samples-dev/serviceReplicaListSample.d.ts +0 -2
  562. package/dist-esm/samples-dev/serviceReplicaListSample.d.ts.map +0 -1
  563. package/dist-esm/samples-dev/serviceReplicaListSample.js +0 -54
  564. package/dist-esm/samples-dev/serviceReplicaListSample.js.map +0 -1
  565. package/dist-esm/samples-dev/volumeCreateSample.d.ts +0 -2
  566. package/dist-esm/samples-dev/volumeCreateSample.d.ts.map +0 -1
  567. package/dist-esm/samples-dev/volumeCreateSample.js +0 -50
  568. package/dist-esm/samples-dev/volumeCreateSample.js.map +0 -1
  569. package/dist-esm/samples-dev/volumeDeleteSample.d.ts +0 -2
  570. package/dist-esm/samples-dev/volumeDeleteSample.d.ts.map +0 -1
  571. package/dist-esm/samples-dev/volumeDeleteSample.js +0 -39
  572. package/dist-esm/samples-dev/volumeDeleteSample.js.map +0 -1
  573. package/dist-esm/samples-dev/volumeGetSample.d.ts +0 -2
  574. package/dist-esm/samples-dev/volumeGetSample.d.ts.map +0 -1
  575. package/dist-esm/samples-dev/volumeGetSample.js +0 -39
  576. package/dist-esm/samples-dev/volumeGetSample.js.map +0 -1
  577. package/dist-esm/samples-dev/volumeListByResourceGroupSample.d.ts +0 -2
  578. package/dist-esm/samples-dev/volumeListByResourceGroupSample.d.ts.map +0 -1
  579. package/dist-esm/samples-dev/volumeListByResourceGroupSample.js +0 -52
  580. package/dist-esm/samples-dev/volumeListByResourceGroupSample.js.map +0 -1
  581. package/dist-esm/samples-dev/volumeListBySubscriptionSample.d.ts +0 -2
  582. package/dist-esm/samples-dev/volumeListBySubscriptionSample.d.ts.map +0 -1
  583. package/dist-esm/samples-dev/volumeListBySubscriptionSample.js +0 -51
  584. package/dist-esm/samples-dev/volumeListBySubscriptionSample.js.map +0 -1
  585. package/dist-esm/src/index.d.ts +0 -6
  586. package/dist-esm/src/index.d.ts.map +0 -1
  587. package/dist-esm/src/index.js.map +0 -1
  588. package/dist-esm/src/models/index.d.ts.map +0 -1
  589. package/dist-esm/src/models/index.js.map +0 -1
  590. package/dist-esm/src/models/mappers.js.map +0 -1
  591. package/dist-esm/src/models/parameters.js.map +0 -1
  592. package/dist-esm/src/operations/application.d.ts.map +0 -1
  593. package/dist-esm/src/operations/application.js.map +0 -1
  594. package/dist-esm/src/operations/codePackage.d.ts.map +0 -1
  595. package/dist-esm/src/operations/codePackage.js.map +0 -1
  596. package/dist-esm/src/operations/gateway.d.ts.map +0 -1
  597. package/dist-esm/src/operations/gateway.js.map +0 -1
  598. package/dist-esm/src/operations/index.d.ts +0 -11
  599. package/dist-esm/src/operations/index.d.ts.map +0 -1
  600. package/dist-esm/src/operations/index.js +0 -18
  601. package/dist-esm/src/operations/index.js.map +0 -1
  602. package/dist-esm/src/operations/network.d.ts.map +0 -1
  603. package/dist-esm/src/operations/network.js.map +0 -1
  604. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  605. package/dist-esm/src/operations/operations.js.map +0 -1
  606. package/dist-esm/src/operations/secret.d.ts.map +0 -1
  607. package/dist-esm/src/operations/secret.js.map +0 -1
  608. package/dist-esm/src/operations/secretValueOperations.d.ts.map +0 -1
  609. package/dist-esm/src/operations/secretValueOperations.js.map +0 -1
  610. package/dist-esm/src/operations/service.d.ts.map +0 -1
  611. package/dist-esm/src/operations/service.js.map +0 -1
  612. package/dist-esm/src/operations/serviceReplica.d.ts.map +0 -1
  613. package/dist-esm/src/operations/serviceReplica.js.map +0 -1
  614. package/dist-esm/src/operations/volume.d.ts.map +0 -1
  615. package/dist-esm/src/operations/volume.js.map +0 -1
  616. package/dist-esm/src/operationsInterfaces/application.d.ts.map +0 -1
  617. package/dist-esm/src/operationsInterfaces/application.js.map +0 -1
  618. package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +0 -1
  619. package/dist-esm/src/operationsInterfaces/codePackage.js.map +0 -1
  620. package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +0 -1
  621. package/dist-esm/src/operationsInterfaces/gateway.js.map +0 -1
  622. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
  623. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  624. package/dist-esm/src/operationsInterfaces/index.js +0 -18
  625. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  626. package/dist-esm/src/operationsInterfaces/network.d.ts.map +0 -1
  627. package/dist-esm/src/operationsInterfaces/network.js.map +0 -1
  628. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  629. package/dist-esm/src/operationsInterfaces/secret.d.ts.map +0 -1
  630. package/dist-esm/src/operationsInterfaces/secret.js.map +0 -1
  631. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +0 -1
  632. package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +0 -1
  633. package/dist-esm/src/operationsInterfaces/service.d.ts.map +0 -1
  634. package/dist-esm/src/operationsInterfaces/service.js.map +0 -1
  635. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +0 -1
  636. package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +0 -1
  637. package/dist-esm/src/operationsInterfaces/volume.d.ts.map +0 -1
  638. package/dist-esm/src/operationsInterfaces/volume.js.map +0 -1
  639. package/dist-esm/src/pagingHelper.js.map +0 -1
  640. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +0 -1
  641. package/dist-esm/src/serviceFabricMeshManagementClient.js.map +0 -1
  642. package/dist-esm/test/sampleTest.d.ts +0 -2
  643. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  644. package/dist-esm/test/sampleTest.js +0 -38
  645. package/dist-esm/test/sampleTest.js.map +0 -1
  646. package/rollup.config.js +0 -122
  647. package/src/models/index.ts +0 -1629
  648. package/src/models/mappers.ts +0 -2716
  649. package/src/models/parameters.ts +0 -250
  650. package/src/operations/application.ts +0 -445
  651. package/src/operations/codePackage.ts +0 -88
  652. package/src/operations/gateway.ts +0 -446
  653. package/src/operations/index.ts +0 -18
  654. package/src/operations/network.ts +0 -445
  655. package/src/operations/operations.ts +0 -149
  656. package/src/operations/secret.ts +0 -444
  657. package/src/operations/secretValueOperations.ts +0 -412
  658. package/src/operations/service.ts +0 -254
  659. package/src/operations/serviceReplica.ts +0 -284
  660. package/src/operations/volume.ts +0 -444
  661. package/src/operationsInterfaces/application.ts +0 -80
  662. package/src/operationsInterfaces/codePackage.ts +0 -33
  663. package/src/operationsInterfaces/gateway.ts +0 -81
  664. package/src/operationsInterfaces/index.ts +0 -18
  665. package/src/operationsInterfaces/network.ts +0 -80
  666. package/src/operationsInterfaces/operations.ts +0 -22
  667. package/src/operationsInterfaces/secret.ts +0 -79
  668. package/src/operationsInterfaces/secretValueOperations.ts +0 -99
  669. package/src/operationsInterfaces/service.ts +0 -46
  670. package/src/operationsInterfaces/serviceReplica.ts +0 -50
  671. package/src/operationsInterfaces/volume.ts +0 -79
  672. package/src/pagingHelper.ts +0 -39
  673. package/src/serviceFabricMeshManagementClient.ts +0 -180
  674. package/tsconfig.json +0 -33
  675. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  676. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  677. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  678. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  679. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  680. /package/{dist-esm/src → dist/browser}/operationsInterfaces/application.js +0 -0
  681. /package/{dist-esm/src → dist/browser}/operationsInterfaces/codePackage.js +0 -0
  682. /package/{dist-esm/src → dist/browser}/operationsInterfaces/gateway.js +0 -0
  683. /package/{dist-esm/src → dist/browser}/operationsInterfaces/network.js +0 -0
  684. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  685. /package/{dist-esm/src → dist/browser}/operationsInterfaces/secret.js +0 -0
  686. /package/{dist-esm/src → dist/browser}/operationsInterfaces/secretValueOperations.js +0 -0
  687. /package/{dist-esm/src → dist/browser}/operationsInterfaces/service.js +0 -0
  688. /package/{dist-esm/src → dist/browser}/operationsInterfaces/serviceReplica.js +0 -0
  689. /package/{dist-esm/src → dist/browser}/operationsInterfaces/volume.js +0 -0
  690. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  691. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  692. /package/review/{arm-servicefabricmesh.api.md → arm-servicefabricmesh-node.api.md} +0 -0
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Gateway operations. */
15
14
  export class GatewayImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Gateway class.
18
18
  * @param client Reference to the service client
@@ -36,50 +36,35 @@ export class GatewayImpl {
36
36
  return this;
37
37
  },
38
38
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ if (settings?.maxPageSize) {
40
40
  throw new Error("maxPageSize is not supported by this operation.");
41
41
  }
42
42
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
43
43
  }
44
44
  };
45
45
  }
46
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
46
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._listByResourceGroup(resourceGroupName, options);
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield page;
62
+ }
65
63
  }
66
- listByResourceGroupPagingAll(resourceGroupName, options) {
67
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
64
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
65
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
66
+ yield* page;
67
+ }
83
68
  }
84
69
  /**
85
70
  * Gets the information about all gateway resources in a given resource group. The information include
@@ -96,50 +81,35 @@ export class GatewayImpl {
96
81
  return this;
97
82
  },
98
83
  byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
84
+ if (settings?.maxPageSize) {
100
85
  throw new Error("maxPageSize is not supported by this operation.");
101
86
  }
102
87
  return this.listBySubscriptionPagingPage(options, settings);
103
88
  }
104
89
  };
105
90
  }
106
- listBySubscriptionPagingPage(options, settings) {
107
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listBySubscription(options));
112
- let page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
119
- continuationToken = result.nextLink;
120
- let page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
91
+ async *listBySubscriptionPagingPage(options, settings) {
92
+ let result;
93
+ let continuationToken = settings?.continuationToken;
94
+ if (!continuationToken) {
95
+ result = await this._listBySubscription(options);
96
+ let page = result.value || [];
97
+ continuationToken = result.nextLink;
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
101
+ while (continuationToken) {
102
+ result = await this._listBySubscriptionNext(continuationToken, options);
103
+ continuationToken = result.nextLink;
104
+ let page = result.value || [];
105
+ setContinuationToken(page, continuationToken);
106
+ yield page;
107
+ }
125
108
  }
126
- listBySubscriptionPagingAll(options) {
127
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
128
- var e_2, _a;
129
- try {
130
- for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
131
- const page = _c.value;
132
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
133
- }
134
- }
135
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
136
- finally {
137
- try {
138
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
139
- }
140
- finally { if (e_2) throw e_2.error; }
141
- }
142
- });
109
+ async *listBySubscriptionPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
111
+ yield* page;
112
+ }
143
113
  }
144
114
  /**
145
115
  * Creates a gateway resource with the specified name, description and properties. If a gateway
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../../src/operations/gateway.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,K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OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,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 { Gateway } 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 { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n GatewayResourceDescription,\n GatewayListByResourceGroupNextOptionalParams,\n GatewayListByResourceGroupOptionalParams,\n GatewayListByResourceGroupResponse,\n GatewayListBySubscriptionNextOptionalParams,\n GatewayListBySubscriptionOptionalParams,\n GatewayListBySubscriptionResponse,\n GatewayCreateOptionalParams,\n GatewayCreateResponse,\n GatewayGetOptionalParams,\n GatewayGetResponse,\n GatewayDeleteOptionalParams,\n GatewayListByResourceGroupNextResponse,\n GatewayListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Gateway operations. */\nexport class GatewayImpl implements Gateway {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Gateway class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the Gateway.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<GatewayResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<GatewayResourceDescription[]> {\n let result: GatewayListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): AsyncIterableIterator<GatewayResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the gateway.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: GatewayListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<GatewayResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: GatewayListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<GatewayResourceDescription[]> {\n let result: GatewayListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: GatewayListBySubscriptionOptionalParams\n ): AsyncIterableIterator<GatewayResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a gateway resource with the specified name, description and properties. If a gateway\n * resource with the same name exists, then it is updated with the specified description and\n * properties. Use gateway resources to create a gateway for public connectivity for services within\n * your application.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param gatewayResourceDescription Description for creating a Gateway resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n gatewayResourceName: string,\n gatewayResourceDescription: GatewayResourceDescription,\n options?: GatewayCreateOptionalParams\n ): Promise<GatewayCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n gatewayResourceName,\n gatewayResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the gateway resource with the given name. The information include the\n * description and other properties of the gateway.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n gatewayResourceName: string,\n options?: GatewayGetOptionalParams\n ): Promise<GatewayGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, gatewayResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the gateway resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param gatewayResourceName The identity of the gateway.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n gatewayResourceName: string,\n options?: GatewayDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, gatewayResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the Gateway.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: GatewayListByResourceGroupOptionalParams\n ): Promise<GatewayListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all gateway resources in a given resource group. The information include\n * the description and other properties of the gateway.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: GatewayListBySubscriptionOptionalParams\n ): Promise<GatewayListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: GatewayListByResourceGroupNextOptionalParams\n ): Promise<GatewayListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: GatewayListBySubscriptionNextOptionalParams\n ): Promise<GatewayListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescription\n },\n 201: {\n bodyMapper: Mappers.GatewayResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.gatewayResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.gatewayResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.gatewayResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways/{gatewayResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.gatewayResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/gateways\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/gateways\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GatewayResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,11 @@
1
+ export * from "./operations.js";
2
+ export * from "./secret.js";
3
+ export * from "./secretValueOperations.js";
4
+ export * from "./volume.js";
5
+ export * from "./network.js";
6
+ export * from "./gateway.js";
7
+ export * from "./application.js";
8
+ export * from "./service.js";
9
+ export * from "./serviceReplica.js";
10
+ export * from "./codePackage.js";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ export * from "./operations.js";
9
+ export * from "./secret.js";
10
+ export * from "./secretValueOperations.js";
11
+ export * from "./volume.js";
12
+ export * from "./network.js";
13
+ export * from "./gateway.js";
14
+ export * from "./application.js";
15
+ export * from "./service.js";
16
+ export * from "./serviceReplica.js";
17
+ export * from "./codePackage.js";
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./secret.js\";\nexport * from \"./secretValueOperations.js\";\nexport * from \"./volume.js\";\nexport * from \"./network.js\";\nexport * from \"./gateway.js\";\nexport * from \"./application.js\";\nexport * from \"./service.js\";\nexport * from \"./serviceReplica.js\";\nexport * from \"./codePackage.js\";\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Network } from "../operationsInterfaces";
3
- import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
4
- import { NetworkResourceDescription, NetworkListByResourceGroupOptionalParams, NetworkListBySubscriptionOptionalParams, NetworkCreateOptionalParams, NetworkCreateResponse, NetworkGetOptionalParams, NetworkGetResponse, NetworkDeleteOptionalParams } from "../models";
2
+ import { Network } from "../operationsInterfaces/index.js";
3
+ import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
4
+ import { NetworkResourceDescription, NetworkListByResourceGroupOptionalParams, NetworkListBySubscriptionOptionalParams, NetworkCreateOptionalParams, NetworkCreateResponse, NetworkGetOptionalParams, NetworkGetResponse, NetworkDeleteOptionalParams } from "../models/index.js";
5
5
  /** Class containing Network operations. */
6
6
  export declare class NetworkImpl implements Network {
7
7
  private readonly client;
@@ -0,0 +1 @@
1
+ {"version":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AAC,EAAE,2BAA2B,GACpC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;OAKG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Network operations. */
15
14
  export class NetworkImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Network class.
18
18
  * @param client Reference to the service client
@@ -36,50 +36,35 @@ export class NetworkImpl {
36
36
  return this;
37
37
  },
38
38
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ if (settings?.maxPageSize) {
40
40
  throw new Error("maxPageSize is not supported by this operation.");
41
41
  }
42
42
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
43
43
  }
44
44
  };
45
45
  }
46
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
47
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
46
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._listByResourceGroup(resourceGroupName, options);
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield page;
62
+ }
65
63
  }
66
- listByResourceGroupPagingAll(resourceGroupName, options) {
67
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
64
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
65
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
66
+ yield* page;
67
+ }
83
68
  }
84
69
  /**
85
70
  * Gets the information about all network resources in a given resource group. The information include
@@ -96,50 +81,35 @@ export class NetworkImpl {
96
81
  return this;
97
82
  },
98
83
  byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
84
+ if (settings?.maxPageSize) {
100
85
  throw new Error("maxPageSize is not supported by this operation.");
101
86
  }
102
87
  return this.listBySubscriptionPagingPage(options, settings);
103
88
  }
104
89
  };
105
90
  }
106
- listBySubscriptionPagingPage(options, settings) {
107
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listBySubscription(options));
112
- let page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
119
- continuationToken = result.nextLink;
120
- let page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
91
+ async *listBySubscriptionPagingPage(options, settings) {
92
+ let result;
93
+ let continuationToken = settings?.continuationToken;
94
+ if (!continuationToken) {
95
+ result = await this._listBySubscription(options);
96
+ let page = result.value || [];
97
+ continuationToken = result.nextLink;
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
101
+ while (continuationToken) {
102
+ result = await this._listBySubscriptionNext(continuationToken, options);
103
+ continuationToken = result.nextLink;
104
+ let page = result.value || [];
105
+ setContinuationToken(page, continuationToken);
106
+ yield page;
107
+ }
125
108
  }
126
- listBySubscriptionPagingAll(options) {
127
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
128
- var e_2, _a;
129
- try {
130
- for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
131
- const page = _c.value;
132
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
133
- }
134
- }
135
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
136
- finally {
137
- try {
138
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
139
- }
140
- finally { if (e_2) throw e_2.error; }
141
- }
142
- });
109
+ async *listBySubscriptionPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
111
+ yield* page;
112
+ }
143
113
  }
144
114
  /**
145
115
  * Creates a network resource with the specified name, description and properties. If a network
@@ -0,0 +1 @@
1
+ {"version":3,"file":"network.js","sourceRoot":"","sources":["../../../src/operations/network.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;AAmBtD,4CAA4C;AAC5C,2CAA2C;AAC3C,MAAM,OAAO,WAAW;IACL,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAkD;QAElD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,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,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,6BAA6B,CAC1C,iBAAyB,EACzB,OAAkD,EAClD,QAAuB;QAEvB,IAAI,MAA0C,CAAC;QAC/C,IAAI,iBAAiB,GAAG,QAAQ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AC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,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 { Network } 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 { ServiceFabricMeshManagementClient } from \"../serviceFabricMeshManagementClient.js\";\nimport {\n NetworkResourceDescription,\n NetworkListByResourceGroupNextOptionalParams,\n NetworkListByResourceGroupOptionalParams,\n NetworkListByResourceGroupResponse,\n NetworkListBySubscriptionNextOptionalParams,\n NetworkListBySubscriptionOptionalParams,\n NetworkListBySubscriptionResponse,\n NetworkCreateOptionalParams,\n NetworkCreateResponse,\n NetworkGetOptionalParams,\n NetworkGetResponse,\n NetworkDeleteOptionalParams,\n NetworkListByResourceGroupNextResponse,\n NetworkListBySubscriptionNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Network operations. */\nexport class NetworkImpl implements Network {\n private readonly client: ServiceFabricMeshManagementClient;\n\n /**\n * Initialize a new instance of the class Network class.\n * @param client Reference to the service client\n */\n constructor(client: ServiceFabricMeshManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the Network.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<NetworkResourceDescription> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<NetworkResourceDescription[]> {\n let result: NetworkListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): AsyncIterableIterator<NetworkResourceDescription> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the network.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: NetworkListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<NetworkResourceDescription> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: NetworkListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<NetworkResourceDescription[]> {\n let result: NetworkListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: NetworkListBySubscriptionOptionalParams\n ): AsyncIterableIterator<NetworkResourceDescription> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Creates a network resource with the specified name, description and properties. If a network\n * resource with the same name exists, then it is updated with the specified description and\n * properties.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param networkResourceDescription Description for creating a Network resource.\n * @param options The options parameters.\n */\n create(\n resourceGroupName: string,\n networkResourceName: string,\n networkResourceDescription: NetworkResourceDescription,\n options?: NetworkCreateOptionalParams\n ): Promise<NetworkCreateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n networkResourceName,\n networkResourceDescription,\n options\n },\n createOperationSpec\n );\n }\n\n /**\n * Gets the information about the network resource with the given name. The information include the\n * description and other properties of the network.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n networkResourceName: string,\n options?: NetworkGetOptionalParams\n ): Promise<NetworkGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, networkResourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes the network resource identified by the name.\n * @param resourceGroupName Azure resource group name\n * @param networkResourceName The identity of the network.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n networkResourceName: string,\n options?: NetworkDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, networkResourceName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the Network.\n * @param resourceGroupName Azure resource group name\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: NetworkListByResourceGroupOptionalParams\n ): Promise<NetworkListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the information about all network resources in a given resource group. The information include\n * the description and other properties of the network.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: NetworkListBySubscriptionOptionalParams\n ): Promise<NetworkListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName Azure resource group name\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: NetworkListByResourceGroupNextOptionalParams\n ): Promise<NetworkListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: NetworkListBySubscriptionNextOptionalParams\n ): Promise<NetworkListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescription\n },\n 201: {\n bodyMapper: Mappers.NetworkResourceDescription\n },\n 202: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n requestBody: Parameters.networkResourceDescription,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.networkResourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescription\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.networkResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks/{networkResourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.networkResourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/networks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/networks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.NetworkResourceDescriptionList\n },\n default: {\n bodyMapper: Mappers.ErrorModel\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -1,7 +1,7 @@
1
1
  import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operations } from "../operationsInterfaces";
3
- import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient";
4
- import { OperationResult, OperationsListOptionalParams } from "../models";
2
+ import { Operations } from "../operationsInterfaces/index.js";
3
+ import { ServiceFabricMeshManagementClient } from "../serviceFabricMeshManagementClient.js";
4
+ import { OperationResult, OperationsListOptionalParams } from "../models/index.js";
5
5
  /** Class containing Operations operations. */
6
6
  export declare class OperationsImpl implements Operations {
7
7
  private readonly client;
@@ -0,0 +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,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,eAAe,EAEf,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,eAAe,CAAC;YAkB/B,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -5,14 +5,14 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  /// <reference lib="esnext.asynciterable" />
14
13
  /** Class containing Operations operations. */
15
14
  export class OperationsImpl {
15
+ client;
16
16
  /**
17
17
  * Initialize a new instance of the class Operations class.
18
18
  * @param client Reference to the service client
@@ -34,50 +34,35 @@ export class OperationsImpl {
34
34
  return this;
35
35
  },
36
36
  byPage: (settings) => {
37
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37
+ if (settings?.maxPageSize) {
38
38
  throw new Error("maxPageSize is not supported by this operation.");
39
39
  }
40
40
  return this.listPagingPage(options, settings);
41
41
  }
42
42
  };
43
43
  }
44
- listPagingPage(options, settings) {
45
- return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
- let result;
47
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
- if (!continuationToken) {
49
- result = yield __await(this._list(options));
50
- let page = result.value || [];
51
- continuationToken = result.nextLink;
52
- setContinuationToken(page, continuationToken);
53
- yield yield __await(page);
54
- }
55
- while (continuationToken) {
56
- result = yield __await(this._listNext(continuationToken, options));
57
- continuationToken = result.nextLink;
58
- let page = result.value || [];
59
- setContinuationToken(page, continuationToken);
60
- yield yield __await(page);
61
- }
62
- });
44
+ async *listPagingPage(options, settings) {
45
+ let result;
46
+ let continuationToken = settings?.continuationToken;
47
+ if (!continuationToken) {
48
+ result = await this._list(options);
49
+ let page = result.value || [];
50
+ continuationToken = result.nextLink;
51
+ setContinuationToken(page, continuationToken);
52
+ yield page;
53
+ }
54
+ while (continuationToken) {
55
+ result = await this._listNext(continuationToken, options);
56
+ continuationToken = result.nextLink;
57
+ let page = result.value || [];
58
+ setContinuationToken(page, continuationToken);
59
+ yield page;
60
+ }
63
61
  }
64
- listPagingAll(options) {
65
- return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
- var e_1, _a;
67
- try {
68
- for (var _b = __asyncValues(this.listPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
69
- const page = _c.value;
70
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
71
- }
72
- }
73
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
74
- finally {
75
- try {
76
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
77
- }
78
- finally { if (e_1) throw e_1.error; }
79
- }
80
- });
62
+ async *listPagingAll(options) {
63
+ for await (const page of this.listPagingPage(options)) {
64
+ yield* page;
65
+ }
81
66
  }
82
67
  /**
83
68
  * Lists all the available operations provided by Service Fabric SeaBreeze resource provider.