@azure/arm-resources 5.2.1-alpha.20250211.1 → 5.2.1-alpha.20250219.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (572) hide show
  1. package/README.md +21 -12
  2. package/dist/browser/index.d.ts +5 -0
  3. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  4. package/{dist-esm/src → dist/browser}/index.js +4 -4
  5. package/dist/browser/index.js.map +1 -0
  6. package/dist/browser/lroImpl.js.map +1 -0
  7. package/dist/browser/models/index.js.map +1 -0
  8. package/dist/browser/models/mappers.js.map +1 -0
  9. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  10. package/dist/browser/models/parameters.js.map +1 -0
  11. package/{dist-esm/src → dist/browser}/operations/deploymentOperations.d.ts +3 -3
  12. package/dist/browser/operations/deploymentOperations.d.ts.map +1 -0
  13. package/{dist-esm/src → dist/browser}/operations/deploymentOperations.js +3 -3
  14. package/dist/browser/operations/deploymentOperations.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/deployments.d.ts +3 -3
  16. package/dist/browser/operations/deployments.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/deployments.js +693 -769
  18. package/dist/browser/operations/deployments.js.map +1 -0
  19. package/dist/browser/operations/index.d.ts +9 -0
  20. package/dist/browser/operations/index.d.ts.map +1 -0
  21. package/dist/browser/operations/index.js +16 -0
  22. package/dist/browser/operations/index.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  24. package/dist/browser/operations/operations.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/operations.js +3 -3
  26. package/dist/browser/operations/operations.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/providerResourceTypes.d.ts +3 -3
  28. package/dist/browser/operations/providerResourceTypes.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/providerResourceTypes.js +2 -2
  30. package/dist/browser/operations/providerResourceTypes.js.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/providers.d.ts +3 -3
  32. package/dist/browser/operations/providers.d.ts.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operations/providers.js +3 -3
  34. package/dist/browser/operations/providers.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operations/resourceGroups.d.ts +3 -3
  36. package/dist/browser/operations/resourceGroups.d.ts.map +1 -0
  37. package/{dist-esm/src → dist/browser}/operations/resourceGroups.js +78 -86
  38. package/dist/browser/operations/resourceGroups.js.map +1 -0
  39. package/{dist-esm/src → dist/browser}/operations/resources.d.ts +3 -3
  40. package/dist/browser/operations/resources.d.ts.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operations/resources.js +319 -351
  42. package/dist/browser/operations/resources.js.map +1 -0
  43. package/{dist-esm/src → dist/browser}/operations/tagsOperations.d.ts +3 -3
  44. package/dist/browser/operations/tagsOperations.d.ts.map +1 -0
  45. package/{dist-esm/src → dist/browser}/operations/tagsOperations.js +3 -3
  46. package/dist/browser/operations/tagsOperations.js.map +1 -0
  47. package/{dist-esm/src → dist/browser}/operationsInterfaces/deploymentOperations.d.ts +1 -1
  48. package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
  49. package/dist/browser/operationsInterfaces/deploymentOperations.js.map +1 -0
  50. package/{dist-esm/src → dist/browser}/operationsInterfaces/deployments.d.ts +1 -1
  51. package/dist/browser/operationsInterfaces/deployments.d.ts.map +1 -0
  52. package/dist/browser/operationsInterfaces/deployments.js.map +1 -0
  53. package/dist/browser/operationsInterfaces/index.d.ts +9 -0
  54. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  55. package/dist/browser/operationsInterfaces/index.js +16 -0
  56. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  57. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  59. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  60. package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.d.ts +1 -1
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.d.ts.map +1 -1
  62. package/dist/browser/operationsInterfaces/providerResourceTypes.js.map +1 -0
  63. package/{dist-esm/src → dist/browser}/operationsInterfaces/providers.d.ts +1 -1
  64. package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -0
  65. package/dist/browser/operationsInterfaces/providers.js.map +1 -0
  66. package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceGroups.d.ts +1 -1
  67. package/dist/browser/operationsInterfaces/resourceGroups.d.ts.map +1 -0
  68. package/dist/browser/operationsInterfaces/resourceGroups.js.map +1 -0
  69. package/{dist-esm/src → dist/browser}/operationsInterfaces/resources.d.ts +1 -1
  70. package/dist/browser/operationsInterfaces/resources.d.ts.map +1 -0
  71. package/dist/browser/operationsInterfaces/resources.js.map +1 -0
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/tagsOperations.d.ts +1 -1
  73. package/dist/browser/operationsInterfaces/tagsOperations.d.ts.map +1 -0
  74. package/dist/browser/operationsInterfaces/tagsOperations.js.map +1 -0
  75. package/dist/browser/package.json +3 -0
  76. package/dist/browser/pagingHelper.js.map +1 -0
  77. package/{dist-esm/src → dist/browser}/resourceManagementClient.d.ts +2 -2
  78. package/dist/browser/resourceManagementClient.d.ts.map +1 -0
  79. package/{dist-esm/src → dist/browser}/resourceManagementClient.js +15 -18
  80. package/dist/browser/resourceManagementClient.js.map +1 -0
  81. package/dist/commonjs/index.d.ts +5 -0
  82. package/dist/commonjs/index.d.ts.map +1 -0
  83. package/dist/commonjs/index.js +19 -0
  84. package/dist/commonjs/index.js.map +1 -0
  85. package/dist/commonjs/lroImpl.d.ts +11 -0
  86. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  87. package/dist/commonjs/lroImpl.js +17 -0
  88. package/dist/commonjs/lroImpl.js.map +1 -0
  89. package/dist/commonjs/models/index.d.ts +1977 -0
  90. package/dist/commonjs/models/index.d.ts.map +1 -0
  91. package/dist/commonjs/models/index.js +105 -0
  92. package/dist/commonjs/models/index.js.map +1 -0
  93. package/dist/commonjs/models/mappers.d.ts +88 -0
  94. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  95. package/dist/commonjs/models/mappers.js +2753 -0
  96. package/dist/commonjs/models/mappers.js.map +1 -0
  97. package/dist/commonjs/models/parameters.d.ts +40 -0
  98. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  99. package/dist/commonjs/models/parameters.js +349 -0
  100. package/dist/commonjs/models/parameters.js.map +1 -0
  101. package/dist/commonjs/operations/deploymentOperations.d.ts +168 -0
  102. package/dist/commonjs/operations/deploymentOperations.d.ts.map +1 -0
  103. package/dist/commonjs/operations/deploymentOperations.js +786 -0
  104. package/dist/commonjs/operations/deploymentOperations.js.map +1 -0
  105. package/dist/commonjs/operations/deployments.d.ts +628 -0
  106. package/dist/commonjs/operations/deployments.d.ts.map +1 -0
  107. package/dist/commonjs/operations/deployments.js +2770 -0
  108. package/dist/commonjs/operations/deployments.js.map +1 -0
  109. package/dist/commonjs/operations/index.d.ts +9 -0
  110. package/dist/commonjs/operations/index.d.ts.map +1 -0
  111. package/dist/commonjs/operations/index.js +19 -0
  112. package/dist/commonjs/operations/index.js.map +1 -0
  113. package/dist/commonjs/operations/operations.d.ts +32 -0
  114. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  115. package/dist/commonjs/operations/operations.js +137 -0
  116. package/dist/commonjs/operations/operations.js.map +1 -0
  117. package/dist/commonjs/operations/providerResourceTypes.d.ts +19 -0
  118. package/dist/commonjs/operations/providerResourceTypes.d.ts.map +1 -0
  119. package/dist/commonjs/operations/providerResourceTypes.js +56 -0
  120. package/dist/commonjs/operations/providerResourceTypes.js.map +1 -0
  121. package/dist/commonjs/operations/providers.d.ts +87 -0
  122. package/dist/commonjs/operations/providers.d.ts.map +1 -0
  123. package/dist/commonjs/operations/providers.js +413 -0
  124. package/dist/commonjs/operations/providers.js.map +1 -0
  125. package/dist/commonjs/operations/resourceGroups.d.ts +91 -0
  126. package/dist/commonjs/operations/resourceGroups.d.ts.map +1 -0
  127. package/dist/commonjs/operations/resourceGroups.js +422 -0
  128. package/dist/commonjs/operations/resourceGroups.js.map +1 -0
  129. package/dist/commonjs/operations/resources.d.ts +278 -0
  130. package/dist/commonjs/operations/resources.d.ts.map +1 -0
  131. package/dist/commonjs/operations/resources.js +1132 -0
  132. package/dist/commonjs/operations/resources.js.map +1 -0
  133. package/dist/commonjs/operations/tagsOperations.d.ts +102 -0
  134. package/dist/commonjs/operations/tagsOperations.d.ts.map +1 -0
  135. package/dist/commonjs/operations/tagsOperations.js +379 -0
  136. package/dist/commonjs/operations/tagsOperations.js.map +1 -0
  137. package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +77 -0
  138. package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
  139. package/dist/commonjs/operationsInterfaces/deploymentOperations.js +10 -0
  140. package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +1 -0
  141. package/dist/commonjs/operationsInterfaces/deployments.d.ts +545 -0
  142. package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +1 -0
  143. package/dist/commonjs/operationsInterfaces/deployments.js +10 -0
  144. package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -0
  145. package/dist/commonjs/operationsInterfaces/index.d.ts +9 -0
  146. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  147. package/dist/commonjs/operationsInterfaces/index.js +19 -0
  148. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  149. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  150. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  151. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  152. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  153. package/dist/commonjs/operationsInterfaces/providerResourceTypes.d.ts +11 -0
  154. package/dist/commonjs/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
  155. package/dist/commonjs/operationsInterfaces/providerResourceTypes.js +10 -0
  156. package/dist/commonjs/operationsInterfaces/providerResourceTypes.js.map +1 -0
  157. package/dist/commonjs/operationsInterfaces/providers.d.ts +53 -0
  158. package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -0
  159. package/dist/commonjs/operationsInterfaces/providers.js +10 -0
  160. package/dist/commonjs/operationsInterfaces/providers.js.map +1 -0
  161. package/dist/commonjs/operationsInterfaces/resourceGroups.d.ts +70 -0
  162. package/dist/commonjs/operationsInterfaces/resourceGroups.d.ts.map +1 -0
  163. package/dist/commonjs/operationsInterfaces/resourceGroups.js +10 -0
  164. package/dist/commonjs/operationsInterfaces/resourceGroups.js.map +1 -0
  165. package/dist/commonjs/operationsInterfaces/resources.d.ts +242 -0
  166. package/dist/commonjs/operationsInterfaces/resources.d.ts.map +1 -0
  167. package/dist/commonjs/operationsInterfaces/resources.js +10 -0
  168. package/dist/commonjs/operationsInterfaces/resources.js.map +1 -0
  169. package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts +78 -0
  170. package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts.map +1 -0
  171. package/dist/commonjs/operationsInterfaces/tagsOperations.js +10 -0
  172. package/dist/commonjs/operationsInterfaces/tagsOperations.js.map +1 -0
  173. package/dist/commonjs/package.json +3 -0
  174. package/dist/commonjs/pagingHelper.d.ts +13 -0
  175. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  176. package/dist/commonjs/pagingHelper.js +36 -0
  177. package/dist/commonjs/pagingHelper.js.map +1 -0
  178. package/dist/commonjs/resourceManagementClient.d.ts +27 -0
  179. package/dist/commonjs/resourceManagementClient.d.ts.map +1 -0
  180. package/dist/commonjs/resourceManagementClient.js +109 -0
  181. package/dist/commonjs/resourceManagementClient.js.map +1 -0
  182. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  183. package/dist/esm/index.d.ts +5 -0
  184. package/dist/esm/index.d.ts.map +1 -0
  185. package/{src/index.ts → dist/esm/index.js} +5 -5
  186. package/dist/esm/index.js.map +1 -0
  187. package/dist/esm/lroImpl.d.ts +11 -0
  188. package/dist/esm/lroImpl.d.ts.map +1 -0
  189. package/dist/esm/lroImpl.js +14 -0
  190. package/dist/esm/lroImpl.js.map +1 -0
  191. package/dist/esm/models/index.d.ts +1977 -0
  192. package/dist/esm/models/index.d.ts.map +1 -0
  193. package/dist/esm/models/index.js +102 -0
  194. package/dist/esm/models/index.js.map +1 -0
  195. package/dist/esm/models/mappers.d.ts +88 -0
  196. package/dist/esm/models/mappers.d.ts.map +1 -0
  197. package/dist/esm/models/mappers.js +2749 -0
  198. package/dist/esm/models/mappers.js.map +1 -0
  199. package/dist/esm/models/parameters.d.ts +40 -0
  200. package/dist/esm/models/parameters.d.ts.map +1 -0
  201. package/dist/esm/models/parameters.js +346 -0
  202. package/dist/esm/models/parameters.js.map +1 -0
  203. package/dist/esm/operations/deploymentOperations.d.ts +168 -0
  204. package/dist/esm/operations/deploymentOperations.d.ts.map +1 -0
  205. package/dist/esm/operations/deploymentOperations.js +782 -0
  206. package/dist/esm/operations/deploymentOperations.js.map +1 -0
  207. package/dist/esm/operations/deployments.d.ts +628 -0
  208. package/dist/esm/operations/deployments.d.ts.map +1 -0
  209. package/dist/esm/operations/deployments.js +2766 -0
  210. package/dist/esm/operations/deployments.js.map +1 -0
  211. package/dist/esm/operations/index.d.ts +9 -0
  212. package/dist/esm/operations/index.d.ts.map +1 -0
  213. package/dist/esm/operations/index.js +16 -0
  214. package/dist/esm/operations/index.js.map +1 -0
  215. package/dist/esm/operations/operations.d.ts +32 -0
  216. package/dist/esm/operations/operations.d.ts.map +1 -0
  217. package/dist/esm/operations/operations.js +133 -0
  218. package/dist/esm/operations/operations.js.map +1 -0
  219. package/dist/esm/operations/providerResourceTypes.d.ts +19 -0
  220. package/dist/esm/operations/providerResourceTypes.d.ts.map +1 -0
  221. package/dist/esm/operations/providerResourceTypes.js +51 -0
  222. package/dist/esm/operations/providerResourceTypes.js.map +1 -0
  223. package/dist/esm/operations/providers.d.ts +87 -0
  224. package/dist/esm/operations/providers.d.ts.map +1 -0
  225. package/dist/esm/operations/providers.js +409 -0
  226. package/dist/esm/operations/providers.js.map +1 -0
  227. package/dist/esm/operations/resourceGroups.d.ts +91 -0
  228. package/dist/esm/operations/resourceGroups.d.ts.map +1 -0
  229. package/dist/esm/operations/resourceGroups.js +418 -0
  230. package/dist/esm/operations/resourceGroups.js.map +1 -0
  231. package/dist/esm/operations/resources.d.ts +278 -0
  232. package/dist/esm/operations/resources.d.ts.map +1 -0
  233. package/dist/esm/operations/resources.js +1128 -0
  234. package/dist/esm/operations/resources.js.map +1 -0
  235. package/dist/esm/operations/tagsOperations.d.ts +102 -0
  236. package/dist/esm/operations/tagsOperations.d.ts.map +1 -0
  237. package/dist/esm/operations/tagsOperations.js +375 -0
  238. package/dist/esm/operations/tagsOperations.js.map +1 -0
  239. package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +77 -0
  240. package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
  241. package/dist/esm/operationsInterfaces/deploymentOperations.js +9 -0
  242. package/dist/esm/operationsInterfaces/deploymentOperations.js.map +1 -0
  243. package/dist/esm/operationsInterfaces/deployments.d.ts +545 -0
  244. package/dist/esm/operationsInterfaces/deployments.d.ts.map +1 -0
  245. package/dist/esm/operationsInterfaces/deployments.js +9 -0
  246. package/dist/esm/operationsInterfaces/deployments.js.map +1 -0
  247. package/dist/esm/operationsInterfaces/index.d.ts +9 -0
  248. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  249. package/dist/esm/operationsInterfaces/index.js +16 -0
  250. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  251. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  252. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  253. package/dist/esm/operationsInterfaces/operations.js +9 -0
  254. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  255. package/dist/esm/operationsInterfaces/providerResourceTypes.d.ts +11 -0
  256. package/dist/esm/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
  257. package/dist/esm/operationsInterfaces/providerResourceTypes.js +9 -0
  258. package/dist/esm/operationsInterfaces/providerResourceTypes.js.map +1 -0
  259. package/dist/esm/operationsInterfaces/providers.d.ts +53 -0
  260. package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -0
  261. package/dist/esm/operationsInterfaces/providers.js +9 -0
  262. package/dist/esm/operationsInterfaces/providers.js.map +1 -0
  263. package/dist/esm/operationsInterfaces/resourceGroups.d.ts +70 -0
  264. package/dist/esm/operationsInterfaces/resourceGroups.d.ts.map +1 -0
  265. package/dist/esm/operationsInterfaces/resourceGroups.js +9 -0
  266. package/dist/esm/operationsInterfaces/resourceGroups.js.map +1 -0
  267. package/dist/esm/operationsInterfaces/resources.d.ts +242 -0
  268. package/dist/esm/operationsInterfaces/resources.d.ts.map +1 -0
  269. package/dist/esm/operationsInterfaces/resources.js +9 -0
  270. package/dist/esm/operationsInterfaces/resources.js.map +1 -0
  271. package/dist/esm/operationsInterfaces/tagsOperations.d.ts +78 -0
  272. package/dist/esm/operationsInterfaces/tagsOperations.d.ts.map +1 -0
  273. package/dist/esm/operationsInterfaces/tagsOperations.js +9 -0
  274. package/dist/esm/operationsInterfaces/tagsOperations.js.map +1 -0
  275. package/dist/esm/package.json +3 -0
  276. package/dist/esm/pagingHelper.d.ts +13 -0
  277. package/dist/esm/pagingHelper.d.ts.map +1 -0
  278. package/dist/esm/pagingHelper.js +32 -0
  279. package/dist/esm/pagingHelper.js.map +1 -0
  280. package/dist/esm/resourceManagementClient.d.ts +27 -0
  281. package/dist/esm/resourceManagementClient.d.ts.map +1 -0
  282. package/dist/esm/resourceManagementClient.js +104 -0
  283. package/dist/esm/resourceManagementClient.js.map +1 -0
  284. package/dist/react-native/index.d.ts +5 -0
  285. package/dist/react-native/index.d.ts.map +1 -0
  286. package/dist/react-native/index.js +13 -0
  287. package/dist/react-native/index.js.map +1 -0
  288. package/dist/react-native/lroImpl.d.ts +11 -0
  289. package/dist/react-native/lroImpl.d.ts.map +1 -0
  290. package/dist/react-native/lroImpl.js +14 -0
  291. package/dist/react-native/lroImpl.js.map +1 -0
  292. package/dist/react-native/models/index.d.ts +1977 -0
  293. package/dist/react-native/models/index.d.ts.map +1 -0
  294. package/dist/react-native/models/index.js +102 -0
  295. package/dist/react-native/models/index.js.map +1 -0
  296. package/dist/react-native/models/mappers.d.ts +88 -0
  297. package/dist/react-native/models/mappers.d.ts.map +1 -0
  298. package/dist/react-native/models/mappers.js +2749 -0
  299. package/dist/react-native/models/mappers.js.map +1 -0
  300. package/dist/react-native/models/parameters.d.ts +40 -0
  301. package/dist/react-native/models/parameters.d.ts.map +1 -0
  302. package/dist/react-native/models/parameters.js +346 -0
  303. package/dist/react-native/models/parameters.js.map +1 -0
  304. package/dist/react-native/operations/deploymentOperations.d.ts +168 -0
  305. package/dist/react-native/operations/deploymentOperations.d.ts.map +1 -0
  306. package/dist/react-native/operations/deploymentOperations.js +782 -0
  307. package/dist/react-native/operations/deploymentOperations.js.map +1 -0
  308. package/dist/react-native/operations/deployments.d.ts +628 -0
  309. package/dist/react-native/operations/deployments.d.ts.map +1 -0
  310. package/dist/react-native/operations/deployments.js +2766 -0
  311. package/dist/react-native/operations/deployments.js.map +1 -0
  312. package/dist/react-native/operations/index.d.ts +9 -0
  313. package/dist/react-native/operations/index.d.ts.map +1 -0
  314. package/dist/react-native/operations/index.js +16 -0
  315. package/dist/react-native/operations/index.js.map +1 -0
  316. package/dist/react-native/operations/operations.d.ts +32 -0
  317. package/dist/react-native/operations/operations.d.ts.map +1 -0
  318. package/dist/react-native/operations/operations.js +133 -0
  319. package/dist/react-native/operations/operations.js.map +1 -0
  320. package/dist/react-native/operations/providerResourceTypes.d.ts +19 -0
  321. package/dist/react-native/operations/providerResourceTypes.d.ts.map +1 -0
  322. package/dist/react-native/operations/providerResourceTypes.js +51 -0
  323. package/dist/react-native/operations/providerResourceTypes.js.map +1 -0
  324. package/dist/react-native/operations/providers.d.ts +87 -0
  325. package/dist/react-native/operations/providers.d.ts.map +1 -0
  326. package/dist/react-native/operations/providers.js +409 -0
  327. package/dist/react-native/operations/providers.js.map +1 -0
  328. package/dist/react-native/operations/resourceGroups.d.ts +91 -0
  329. package/dist/react-native/operations/resourceGroups.d.ts.map +1 -0
  330. package/dist/react-native/operations/resourceGroups.js +418 -0
  331. package/dist/react-native/operations/resourceGroups.js.map +1 -0
  332. package/dist/react-native/operations/resources.d.ts +278 -0
  333. package/dist/react-native/operations/resources.d.ts.map +1 -0
  334. package/dist/react-native/operations/resources.js +1128 -0
  335. package/dist/react-native/operations/resources.js.map +1 -0
  336. package/dist/react-native/operations/tagsOperations.d.ts +102 -0
  337. package/dist/react-native/operations/tagsOperations.d.ts.map +1 -0
  338. package/dist/react-native/operations/tagsOperations.js +375 -0
  339. package/dist/react-native/operations/tagsOperations.js.map +1 -0
  340. package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +77 -0
  341. package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +1 -0
  342. package/dist/react-native/operationsInterfaces/deploymentOperations.js +9 -0
  343. package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +1 -0
  344. package/dist/react-native/operationsInterfaces/deployments.d.ts +545 -0
  345. package/dist/react-native/operationsInterfaces/deployments.d.ts.map +1 -0
  346. package/dist/react-native/operationsInterfaces/deployments.js +9 -0
  347. package/dist/react-native/operationsInterfaces/deployments.js.map +1 -0
  348. package/dist/react-native/operationsInterfaces/index.d.ts +9 -0
  349. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  350. package/dist/react-native/operationsInterfaces/index.js +16 -0
  351. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  352. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  353. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  354. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  355. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  356. package/dist/react-native/operationsInterfaces/providerResourceTypes.d.ts +11 -0
  357. package/dist/react-native/operationsInterfaces/providerResourceTypes.d.ts.map +1 -0
  358. package/dist/react-native/operationsInterfaces/providerResourceTypes.js +9 -0
  359. package/dist/react-native/operationsInterfaces/providerResourceTypes.js.map +1 -0
  360. package/dist/react-native/operationsInterfaces/providers.d.ts +53 -0
  361. package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -0
  362. package/dist/react-native/operationsInterfaces/providers.js +9 -0
  363. package/dist/react-native/operationsInterfaces/providers.js.map +1 -0
  364. package/dist/react-native/operationsInterfaces/resourceGroups.d.ts +70 -0
  365. package/dist/react-native/operationsInterfaces/resourceGroups.d.ts.map +1 -0
  366. package/dist/react-native/operationsInterfaces/resourceGroups.js +9 -0
  367. package/dist/react-native/operationsInterfaces/resourceGroups.js.map +1 -0
  368. package/dist/react-native/operationsInterfaces/resources.d.ts +242 -0
  369. package/dist/react-native/operationsInterfaces/resources.d.ts.map +1 -0
  370. package/dist/react-native/operationsInterfaces/resources.js +9 -0
  371. package/dist/react-native/operationsInterfaces/resources.js.map +1 -0
  372. package/dist/react-native/operationsInterfaces/tagsOperations.d.ts +78 -0
  373. package/dist/react-native/operationsInterfaces/tagsOperations.d.ts.map +1 -0
  374. package/dist/react-native/operationsInterfaces/tagsOperations.js +9 -0
  375. package/dist/react-native/operationsInterfaces/tagsOperations.js.map +1 -0
  376. package/dist/react-native/package.json +3 -0
  377. package/dist/react-native/pagingHelper.d.ts +13 -0
  378. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  379. package/dist/react-native/pagingHelper.js +32 -0
  380. package/dist/react-native/pagingHelper.js.map +1 -0
  381. package/dist/react-native/resourceManagementClient.d.ts +27 -0
  382. package/dist/react-native/resourceManagementClient.d.ts.map +1 -0
  383. package/dist/react-native/resourceManagementClient.js +104 -0
  384. package/dist/react-native/resourceManagementClient.js.map +1 -0
  385. package/package.json +67 -36
  386. package/dist/index.js +0 -9600
  387. package/dist/index.js.map +0 -1
  388. package/dist/index.min.js +0 -1
  389. package/dist/index.min.js.map +0 -1
  390. package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.js +0 -48
  393. package/dist-esm/samples-dev/deploymentsCalculateTemplateHashSample.js.map +0 -1
  394. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.js +0 -37
  397. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtManagementGroupScopeSample.js.map +0 -1
  398. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.js +0 -38
  401. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtScopeSample.js.map +0 -1
  402. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.js +0 -38
  405. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtSubscriptionScopeSample.js.map +0 -1
  406. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.js +0 -37
  409. package/dist-esm/samples-dev/deploymentsCreateOrUpdateAtTenantScopeSample.js.map +0 -1
  410. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js +0 -121
  413. package/dist-esm/samples-dev/deploymentsCreateOrUpdateSample.js.map +0 -1
  414. package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.js +0 -33
  417. package/dist-esm/samples-dev/deploymentsWhatIfAtManagementGroupScopeSample.js.map +0 -1
  418. package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.js +0 -32
  421. package/dist-esm/samples-dev/deploymentsWhatIfAtSubscriptionScopeSample.js.map +0 -1
  422. package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.js +0 -32
  425. package/dist-esm/samples-dev/deploymentsWhatIfAtTenantScopeSample.js.map +0 -1
  426. package/dist-esm/samples-dev/deploymentsWhatIfSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/deploymentsWhatIfSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/deploymentsWhatIfSample.js +0 -32
  429. package/dist-esm/samples-dev/deploymentsWhatIfSample.js.map +0 -1
  430. package/dist-esm/samples-dev/providerResourceTypesListSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/providerResourceTypesListSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/providerResourceTypesListSample.js +0 -35
  433. package/dist-esm/samples-dev/providerResourceTypesListSample.js.map +0 -1
  434. package/dist-esm/samples-dev/providersGetAtTenantScopeSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/providersGetAtTenantScopeSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/providersGetAtTenantScopeSample.js +0 -30
  437. package/dist-esm/samples-dev/providersGetAtTenantScopeSample.js.map +0 -1
  438. package/dist-esm/samples-dev/providersGetSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/providersGetSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/providersGetSample.js +0 -35
  441. package/dist-esm/samples-dev/providersGetSample.js.map +0 -1
  442. package/dist-esm/samples-dev/providersListSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/providersListSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/providersListSample.js +0 -50
  445. package/dist-esm/samples-dev/providersListSample.js.map +0 -1
  446. package/dist-esm/samples-dev/providersProviderPermissionsSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/providersProviderPermissionsSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/providersProviderPermissionsSample.js +0 -35
  449. package/dist-esm/samples-dev/providersProviderPermissionsSample.js.map +0 -1
  450. package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.js +0 -29
  453. package/dist-esm/samples-dev/resourceGroupsCreateOrUpdateSample.js.map +0 -1
  454. package/dist-esm/samples-dev/resourceGroupsDeleteSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/resourceGroupsDeleteSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/resourceGroupsDeleteSample.js +0 -49
  457. package/dist-esm/samples-dev/resourceGroupsDeleteSample.js.map +0 -1
  458. package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.js +0 -55
  461. package/dist-esm/samples-dev/resourceGroupsExportTemplateSample.js.map +0 -1
  462. package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.js +0 -51
  465. package/dist-esm/samples-dev/tagsCreateOrUpdateAtScopeSample.js.map +0 -1
  466. package/dist-esm/samples-dev/tagsGetAtScopeSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/tagsGetAtScopeSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/tagsGetAtScopeSample.js +0 -52
  469. package/dist-esm/samples-dev/tagsGetAtScopeSample.js.map +0 -1
  470. package/dist-esm/src/index.d.ts +0 -5
  471. package/dist-esm/src/index.js.map +0 -1
  472. package/dist-esm/src/lroImpl.js.map +0 -1
  473. package/dist-esm/src/models/index.js.map +0 -1
  474. package/dist-esm/src/models/mappers.js.map +0 -1
  475. package/dist-esm/src/models/parameters.js.map +0 -1
  476. package/dist-esm/src/operations/deploymentOperations.d.ts.map +0 -1
  477. package/dist-esm/src/operations/deploymentOperations.js.map +0 -1
  478. package/dist-esm/src/operations/deployments.d.ts.map +0 -1
  479. package/dist-esm/src/operations/deployments.js.map +0 -1
  480. package/dist-esm/src/operations/index.d.ts +0 -9
  481. package/dist-esm/src/operations/index.d.ts.map +0 -1
  482. package/dist-esm/src/operations/index.js +0 -16
  483. package/dist-esm/src/operations/index.js.map +0 -1
  484. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  485. package/dist-esm/src/operations/operations.js.map +0 -1
  486. package/dist-esm/src/operations/providerResourceTypes.d.ts.map +0 -1
  487. package/dist-esm/src/operations/providerResourceTypes.js.map +0 -1
  488. package/dist-esm/src/operations/providers.d.ts.map +0 -1
  489. package/dist-esm/src/operations/providers.js.map +0 -1
  490. package/dist-esm/src/operations/resourceGroups.d.ts.map +0 -1
  491. package/dist-esm/src/operations/resourceGroups.js.map +0 -1
  492. package/dist-esm/src/operations/resources.d.ts.map +0 -1
  493. package/dist-esm/src/operations/resources.js.map +0 -1
  494. package/dist-esm/src/operations/tagsOperations.d.ts.map +0 -1
  495. package/dist-esm/src/operations/tagsOperations.js.map +0 -1
  496. package/dist-esm/src/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
  497. package/dist-esm/src/operationsInterfaces/deploymentOperations.js.map +0 -1
  498. package/dist-esm/src/operationsInterfaces/deployments.d.ts.map +0 -1
  499. package/dist-esm/src/operationsInterfaces/deployments.js.map +0 -1
  500. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -9
  501. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  502. package/dist-esm/src/operationsInterfaces/index.js +0 -16
  503. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  505. package/dist-esm/src/operationsInterfaces/providerResourceTypes.js.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/providers.d.ts.map +0 -1
  507. package/dist-esm/src/operationsInterfaces/providers.js.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/resourceGroups.d.ts.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/resourceGroups.js.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/resources.d.ts.map +0 -1
  511. package/dist-esm/src/operationsInterfaces/resources.js.map +0 -1
  512. package/dist-esm/src/operationsInterfaces/tagsOperations.d.ts.map +0 -1
  513. package/dist-esm/src/operationsInterfaces/tagsOperations.js.map +0 -1
  514. package/dist-esm/src/pagingHelper.js.map +0 -1
  515. package/dist-esm/src/resourceManagementClient.d.ts.map +0 -1
  516. package/dist-esm/src/resourceManagementClient.js.map +0 -1
  517. package/dist-esm/test/cae_mock_test.d.ts +0 -2
  518. package/dist-esm/test/cae_mock_test.d.ts.map +0 -1
  519. package/dist-esm/test/cae_mock_test.js +0 -120
  520. package/dist-esm/test/cae_mock_test.js.map +0 -1
  521. package/dist-esm/test/resources_examples.d.ts +0 -4
  522. package/dist-esm/test/resources_examples.d.ts.map +0 -1
  523. package/dist-esm/test/resources_examples.js +0 -225
  524. package/dist-esm/test/resources_examples.js.map +0 -1
  525. package/src/lroImpl.ts +0 -38
  526. package/src/models/index.ts +0 -2347
  527. package/src/models/mappers.ts +0 -2852
  528. package/src/models/parameters.ts +0 -402
  529. package/src/operations/deploymentOperations.ts +0 -1016
  530. package/src/operations/deployments.ts +0 -3849
  531. package/src/operations/index.ts +0 -16
  532. package/src/operations/operations.ts +0 -149
  533. package/src/operations/providerResourceTypes.ts +0 -69
  534. package/src/operations/providers.ts +0 -493
  535. package/src/operations/resourceGroups.ts +0 -546
  536. package/src/operations/resources.ts +0 -1568
  537. package/src/operations/tagsOperations.ts +0 -463
  538. package/src/operationsInterfaces/deploymentOperations.ts +0 -144
  539. package/src/operationsInterfaces/deployments.ts +0 -957
  540. package/src/operationsInterfaces/index.ts +0 -16
  541. package/src/operationsInterfaces/operations.ts +0 -22
  542. package/src/operationsInterfaces/providerResourceTypes.ts +0 -25
  543. package/src/operationsInterfaces/providers.ts +0 -100
  544. package/src/operationsInterfaces/resourceGroups.ts +0 -130
  545. package/src/operationsInterfaces/resources.ts +0 -422
  546. package/src/operationsInterfaces/tagsOperations.ts +0 -132
  547. package/src/pagingHelper.ts +0 -39
  548. package/src/resourceManagementClient.ts +0 -172
  549. package/tsconfig.json +0 -33
  550. package/types/arm-resources.d.ts +0 -3398
  551. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  552. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  553. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  554. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  555. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  556. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  557. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  558. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  559. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  560. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  561. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  562. /package/{dist-esm/src → dist/browser}/operationsInterfaces/deploymentOperations.js +0 -0
  563. /package/{dist-esm/src → dist/browser}/operationsInterfaces/deployments.js +0 -0
  564. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  565. /package/{dist-esm/src → dist/browser}/operationsInterfaces/providerResourceTypes.js +0 -0
  566. /package/{dist-esm/src → dist/browser}/operationsInterfaces/providers.js +0 -0
  567. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceGroups.js +0 -0
  568. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resources.js +0 -0
  569. /package/{dist-esm/src → dist/browser}/operationsInterfaces/tagsOperations.js +0 -0
  570. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  571. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  572. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -0,0 +1,242 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
3
+ import { GenericResourceExpanded, ResourcesListByResourceGroupOptionalParams, ResourcesListOptionalParams, ResourcesMoveInfo, ResourcesMoveResourcesOptionalParams, ResourcesValidateMoveResourcesOptionalParams, ResourcesCheckExistenceOptionalParams, ResourcesCheckExistenceResponse, ResourcesDeleteOptionalParams, GenericResource, ResourcesCreateOrUpdateOptionalParams, ResourcesCreateOrUpdateResponse, ResourcesUpdateOptionalParams, ResourcesUpdateResponse, ResourcesGetOptionalParams, ResourcesGetResponse, ResourcesCheckExistenceByIdOptionalParams, ResourcesCheckExistenceByIdResponse, ResourcesDeleteByIdOptionalParams, ResourcesCreateOrUpdateByIdOptionalParams, ResourcesCreateOrUpdateByIdResponse, ResourcesUpdateByIdOptionalParams, ResourcesUpdateByIdResponse, ResourcesGetByIdOptionalParams, ResourcesGetByIdResponse } from "../models/index.js";
4
+ /** Interface representing a Resources. */
5
+ export interface Resources {
6
+ /**
7
+ * Get all the resources for a resource group.
8
+ * @param resourceGroupName The resource group with the resources to get.
9
+ * @param options The options parameters.
10
+ */
11
+ listByResourceGroup(resourceGroupName: string, options?: ResourcesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<GenericResourceExpanded>;
12
+ /**
13
+ * Get all the resources in a subscription.
14
+ * @param options The options parameters.
15
+ */
16
+ list(options?: ResourcesListOptionalParams): PagedAsyncIterableIterator<GenericResourceExpanded>;
17
+ /**
18
+ * The resources to be moved must be in the same source resource group in the source subscription being
19
+ * used. The target resource group may be in a different subscription. When moving resources, both the
20
+ * source group and the target group are locked for the duration of the operation. Write and delete
21
+ * operations are blocked on the groups until the move completes.
22
+ * @param sourceResourceGroupName The name of the resource group from the source subscription
23
+ * containing the resources to be moved.
24
+ * @param parameters Parameters for moving resources.
25
+ * @param options The options parameters.
26
+ */
27
+ beginMoveResources(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesMoveResourcesOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
28
+ /**
29
+ * The resources to be moved must be in the same source resource group in the source subscription being
30
+ * used. The target resource group may be in a different subscription. When moving resources, both the
31
+ * source group and the target group are locked for the duration of the operation. Write and delete
32
+ * operations are blocked on the groups until the move completes.
33
+ * @param sourceResourceGroupName The name of the resource group from the source subscription
34
+ * containing the resources to be moved.
35
+ * @param parameters Parameters for moving resources.
36
+ * @param options The options parameters.
37
+ */
38
+ beginMoveResourcesAndWait(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesMoveResourcesOptionalParams): Promise<void>;
39
+ /**
40
+ * This operation checks whether the specified resources can be moved to the target. The resources to
41
+ * be moved must be in the same source resource group in the source subscription being used. The target
42
+ * resource group may be in a different subscription. If validation succeeds, it returns HTTP response
43
+ * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an
44
+ * error message. Retrieve the URL in the Location header value to check the result of the long-running
45
+ * operation.
46
+ * @param sourceResourceGroupName The name of the resource group from the source subscription
47
+ * containing the resources to be validated for move.
48
+ * @param parameters Parameters for moving resources.
49
+ * @param options The options parameters.
50
+ */
51
+ beginValidateMoveResources(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesValidateMoveResourcesOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
52
+ /**
53
+ * This operation checks whether the specified resources can be moved to the target. The resources to
54
+ * be moved must be in the same source resource group in the source subscription being used. The target
55
+ * resource group may be in a different subscription. If validation succeeds, it returns HTTP response
56
+ * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an
57
+ * error message. Retrieve the URL in the Location header value to check the result of the long-running
58
+ * operation.
59
+ * @param sourceResourceGroupName The name of the resource group from the source subscription
60
+ * containing the resources to be validated for move.
61
+ * @param parameters Parameters for moving resources.
62
+ * @param options The options parameters.
63
+ */
64
+ beginValidateMoveResourcesAndWait(sourceResourceGroupName: string, parameters: ResourcesMoveInfo, options?: ResourcesValidateMoveResourcesOptionalParams): Promise<void>;
65
+ /**
66
+ * Checks whether a resource exists.
67
+ * @param resourceGroupName The name of the resource group containing the resource to check. The name
68
+ * is case insensitive.
69
+ * @param resourceProviderNamespace The resource provider of the resource to check.
70
+ * @param parentResourcePath The parent resource identity.
71
+ * @param resourceType The resource type.
72
+ * @param resourceName The name of the resource to check whether it exists.
73
+ * @param apiVersion The API version to use for the operation.
74
+ * @param options The options parameters.
75
+ */
76
+ checkExistence(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesCheckExistenceOptionalParams): Promise<ResourcesCheckExistenceResponse>;
77
+ /**
78
+ * Deletes a resource.
79
+ * @param resourceGroupName The name of the resource group that contains the resource to delete. The
80
+ * name is case insensitive.
81
+ * @param resourceProviderNamespace The namespace of the resource provider.
82
+ * @param parentResourcePath The parent resource identity.
83
+ * @param resourceType The resource type.
84
+ * @param resourceName The name of the resource to delete.
85
+ * @param apiVersion The API version to use for the operation.
86
+ * @param options The options parameters.
87
+ */
88
+ beginDelete(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
89
+ /**
90
+ * Deletes a resource.
91
+ * @param resourceGroupName The name of the resource group that contains the resource to delete. The
92
+ * name is case insensitive.
93
+ * @param resourceProviderNamespace The namespace of the resource provider.
94
+ * @param parentResourcePath The parent resource identity.
95
+ * @param resourceType The resource type.
96
+ * @param resourceName The name of the resource to delete.
97
+ * @param apiVersion The API version to use for the operation.
98
+ * @param options The options parameters.
99
+ */
100
+ beginDeleteAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesDeleteOptionalParams): Promise<void>;
101
+ /**
102
+ * Creates a resource.
103
+ * @param resourceGroupName The name of the resource group for the resource. The name is case
104
+ * insensitive.
105
+ * @param resourceProviderNamespace The namespace of the resource provider.
106
+ * @param parentResourcePath The parent resource identity.
107
+ * @param resourceType The resource type of the resource to create.
108
+ * @param resourceName The name of the resource to create.
109
+ * @param apiVersion The API version to use for the operation.
110
+ * @param parameters Parameters for creating or updating the resource.
111
+ * @param options The options parameters.
112
+ */
113
+ beginCreateOrUpdate(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesCreateOrUpdateResponse>, ResourcesCreateOrUpdateResponse>>;
114
+ /**
115
+ * Creates a resource.
116
+ * @param resourceGroupName The name of the resource group for the resource. The name is case
117
+ * insensitive.
118
+ * @param resourceProviderNamespace The namespace of the resource provider.
119
+ * @param parentResourcePath The parent resource identity.
120
+ * @param resourceType The resource type of the resource to create.
121
+ * @param resourceName The name of the resource to create.
122
+ * @param apiVersion The API version to use for the operation.
123
+ * @param parameters Parameters for creating or updating the resource.
124
+ * @param options The options parameters.
125
+ */
126
+ beginCreateOrUpdateAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateOptionalParams): Promise<ResourcesCreateOrUpdateResponse>;
127
+ /**
128
+ * Updates a resource.
129
+ * @param resourceGroupName The name of the resource group for the resource. The name is case
130
+ * insensitive.
131
+ * @param resourceProviderNamespace The namespace of the resource provider.
132
+ * @param parentResourcePath The parent resource identity.
133
+ * @param resourceType The resource type of the resource to update.
134
+ * @param resourceName The name of the resource to update.
135
+ * @param apiVersion The API version to use for the operation.
136
+ * @param parameters Parameters for updating the resource.
137
+ * @param options The options parameters.
138
+ */
139
+ beginUpdate(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesUpdateResponse>, ResourcesUpdateResponse>>;
140
+ /**
141
+ * Updates a resource.
142
+ * @param resourceGroupName The name of the resource group for the resource. The name is case
143
+ * insensitive.
144
+ * @param resourceProviderNamespace The namespace of the resource provider.
145
+ * @param parentResourcePath The parent resource identity.
146
+ * @param resourceType The resource type of the resource to update.
147
+ * @param resourceName The name of the resource to update.
148
+ * @param apiVersion The API version to use for the operation.
149
+ * @param parameters Parameters for updating the resource.
150
+ * @param options The options parameters.
151
+ */
152
+ beginUpdateAndWait(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateOptionalParams): Promise<ResourcesUpdateResponse>;
153
+ /**
154
+ * Gets a resource.
155
+ * @param resourceGroupName The name of the resource group containing the resource to get. The name is
156
+ * case insensitive.
157
+ * @param resourceProviderNamespace The namespace of the resource provider.
158
+ * @param parentResourcePath The parent resource identity.
159
+ * @param resourceType The resource type of the resource.
160
+ * @param resourceName The name of the resource to get.
161
+ * @param apiVersion The API version to use for the operation.
162
+ * @param options The options parameters.
163
+ */
164
+ get(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, apiVersion: string, options?: ResourcesGetOptionalParams): Promise<ResourcesGetResponse>;
165
+ /**
166
+ * Checks by ID whether a resource exists.
167
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
168
+ * type. Use the format,
169
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
170
+ * @param apiVersion The API version to use for the operation.
171
+ * @param options The options parameters.
172
+ */
173
+ checkExistenceById(resourceId: string, apiVersion: string, options?: ResourcesCheckExistenceByIdOptionalParams): Promise<ResourcesCheckExistenceByIdResponse>;
174
+ /**
175
+ * Deletes a resource by ID.
176
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
177
+ * type. Use the format,
178
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
179
+ * @param apiVersion The API version to use for the operation.
180
+ * @param options The options parameters.
181
+ */
182
+ beginDeleteById(resourceId: string, apiVersion: string, options?: ResourcesDeleteByIdOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
183
+ /**
184
+ * Deletes a resource by ID.
185
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
186
+ * type. Use the format,
187
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
188
+ * @param apiVersion The API version to use for the operation.
189
+ * @param options The options parameters.
190
+ */
191
+ beginDeleteByIdAndWait(resourceId: string, apiVersion: string, options?: ResourcesDeleteByIdOptionalParams): Promise<void>;
192
+ /**
193
+ * Create a resource by ID.
194
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
195
+ * type. Use the format,
196
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
197
+ * @param apiVersion The API version to use for the operation.
198
+ * @param parameters Create or update resource parameters.
199
+ * @param options The options parameters.
200
+ */
201
+ beginCreateOrUpdateById(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesCreateOrUpdateByIdResponse>, ResourcesCreateOrUpdateByIdResponse>>;
202
+ /**
203
+ * Create a resource by ID.
204
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
205
+ * type. Use the format,
206
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
207
+ * @param apiVersion The API version to use for the operation.
208
+ * @param parameters Create or update resource parameters.
209
+ * @param options The options parameters.
210
+ */
211
+ beginCreateOrUpdateByIdAndWait(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesCreateOrUpdateByIdOptionalParams): Promise<ResourcesCreateOrUpdateByIdResponse>;
212
+ /**
213
+ * Updates a resource by ID.
214
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
215
+ * type. Use the format,
216
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
217
+ * @param apiVersion The API version to use for the operation.
218
+ * @param parameters Update resource parameters.
219
+ * @param options The options parameters.
220
+ */
221
+ beginUpdateById(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateByIdOptionalParams): Promise<SimplePollerLike<OperationState<ResourcesUpdateByIdResponse>, ResourcesUpdateByIdResponse>>;
222
+ /**
223
+ * Updates a resource by ID.
224
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
225
+ * type. Use the format,
226
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
227
+ * @param apiVersion The API version to use for the operation.
228
+ * @param parameters Update resource parameters.
229
+ * @param options The options parameters.
230
+ */
231
+ beginUpdateByIdAndWait(resourceId: string, apiVersion: string, parameters: GenericResource, options?: ResourcesUpdateByIdOptionalParams): Promise<ResourcesUpdateByIdResponse>;
232
+ /**
233
+ * Gets a resource by ID.
234
+ * @param resourceId The fully qualified ID of the resource, including the resource name and resource
235
+ * type. Use the format,
236
+ * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
237
+ * @param apiVersion The API version to use for the operation.
238
+ * @param options The options parameters.
239
+ */
240
+ getById(resourceId: string, apiVersion: string, options?: ResourcesGetByIdOptionalParams): Promise<ResourcesGetByIdResponse>;
241
+ }
242
+ //# sourceMappingURL=resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/resources.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,uBAAuB,EACvB,0CAA0C,EAC1C,2BAA2B,EAC3B,iBAAiB,EACjB,oCAAoC,EACpC,4CAA4C,EAC5C,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,eAAe,EACf,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACvB,0BAA0B,EAC1B,oBAAoB,EACpB,yCAAyC,EACzC,mCAAmC,EACnC,iCAAiC,EACjC,yCAAyC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
+ * 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 {};
9
+ //# sourceMappingURL=resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/resources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n GenericResourceExpanded,\n ResourcesListByResourceGroupOptionalParams,\n ResourcesListOptionalParams,\n ResourcesMoveInfo,\n ResourcesMoveResourcesOptionalParams,\n ResourcesValidateMoveResourcesOptionalParams,\n ResourcesCheckExistenceOptionalParams,\n ResourcesCheckExistenceResponse,\n ResourcesDeleteOptionalParams,\n GenericResource,\n ResourcesCreateOrUpdateOptionalParams,\n ResourcesCreateOrUpdateResponse,\n ResourcesUpdateOptionalParams,\n ResourcesUpdateResponse,\n ResourcesGetOptionalParams,\n ResourcesGetResponse,\n ResourcesCheckExistenceByIdOptionalParams,\n ResourcesCheckExistenceByIdResponse,\n ResourcesDeleteByIdOptionalParams,\n ResourcesCreateOrUpdateByIdOptionalParams,\n ResourcesCreateOrUpdateByIdResponse,\n ResourcesUpdateByIdOptionalParams,\n ResourcesUpdateByIdResponse,\n ResourcesGetByIdOptionalParams,\n ResourcesGetByIdResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Resources. */\nexport interface Resources {\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<GenericResourceExpanded>;\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n list(\n options?: ResourcesListOptionalParams\n ): PagedAsyncIterableIterator<GenericResourceExpanded>;\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams\n ): Promise<void>;\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginValidateMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n beginValidateMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams\n ): Promise<void>;\n /**\n * Checks whether a resource exists.\n * @param resourceGroupName The name of the resource group containing the resource to check. The name\n * is case insensitive.\n * @param resourceProviderNamespace The resource provider of the resource to check.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to check whether it exists.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistence(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceOptionalParams\n ): Promise<ResourcesCheckExistenceResponse>;\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateResponse>,\n ResourcesCreateOrUpdateResponse\n >\n >;\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams\n ): Promise<ResourcesCreateOrUpdateResponse>;\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateResponse>,\n ResourcesUpdateResponse\n >\n >;\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams\n ): Promise<ResourcesUpdateResponse>;\n /**\n * Gets a resource.\n * @param resourceGroupName The name of the resource group containing the resource to get. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesGetOptionalParams\n ): Promise<ResourcesGetResponse>;\n /**\n * Checks by ID whether a resource exists.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistenceById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceByIdOptionalParams\n ): Promise<ResourcesCheckExistenceByIdResponse>;\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n beginDeleteByIdAndWait(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams\n ): Promise<void>;\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateByIdResponse>,\n ResourcesCreateOrUpdateByIdResponse\n >\n >;\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n beginCreateOrUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams\n ): Promise<ResourcesCreateOrUpdateByIdResponse>;\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n beginUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateByIdResponse>,\n ResourcesUpdateByIdResponse\n >\n >;\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n beginUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams\n ): Promise<ResourcesUpdateByIdResponse>;\n /**\n * Gets a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n getById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesGetByIdOptionalParams\n ): Promise<ResourcesGetByIdResponse>;\n}\n"]}
@@ -0,0 +1,78 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { TagDetails, TagsListOptionalParams, TagsDeleteValueOptionalParams, TagsCreateOrUpdateValueOptionalParams, TagsCreateOrUpdateValueResponse, TagsCreateOrUpdateOptionalParams, TagsCreateOrUpdateResponse, TagsDeleteOptionalParams, TagsResource, TagsCreateOrUpdateAtScopeOptionalParams, TagsCreateOrUpdateAtScopeResponse, TagsPatchResource, TagsUpdateAtScopeOptionalParams, TagsUpdateAtScopeResponse, TagsGetAtScopeOptionalParams, TagsGetAtScopeResponse, TagsDeleteAtScopeOptionalParams } from "../models/index.js";
3
+ /** Interface representing a TagsOperations. */
4
+ export interface TagsOperations {
5
+ /**
6
+ * This operation performs a union of predefined tags, resource tags, resource group tags and
7
+ * subscription tags, and returns a summary of usage for each tag name and value under the given
8
+ * subscription. In case of a large number of tags, this operation may return a previously cached
9
+ * result.
10
+ * @param options The options parameters.
11
+ */
12
+ list(options?: TagsListOptionalParams): PagedAsyncIterableIterator<TagDetails>;
13
+ /**
14
+ * This operation allows deleting a value from the list of predefined values for an existing predefined
15
+ * tag name. The value being deleted must not be in use as a tag value for the given tag name for any
16
+ * resource.
17
+ * @param tagName The name of the tag.
18
+ * @param tagValue The value of the tag to delete.
19
+ * @param options The options parameters.
20
+ */
21
+ deleteValue(tagName: string, tagValue: string, options?: TagsDeleteValueOptionalParams): Promise<void>;
22
+ /**
23
+ * This operation allows adding a value to the list of predefined values for an existing predefined tag
24
+ * name. A tag value can have a maximum of 256 characters.
25
+ * @param tagName The name of the tag.
26
+ * @param tagValue The value of the tag to create.
27
+ * @param options The options parameters.
28
+ */
29
+ createOrUpdateValue(tagName: string, tagValue: string, options?: TagsCreateOrUpdateValueOptionalParams): Promise<TagsCreateOrUpdateValueResponse>;
30
+ /**
31
+ * This operation allows adding a name to the list of predefined tag names for the given subscription.
32
+ * A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the
33
+ * following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.
34
+ * @param tagName The name of the tag to create.
35
+ * @param options The options parameters.
36
+ */
37
+ createOrUpdate(tagName: string, options?: TagsCreateOrUpdateOptionalParams): Promise<TagsCreateOrUpdateResponse>;
38
+ /**
39
+ * This operation allows deleting a name from the list of predefined tag names for the given
40
+ * subscription. The name being deleted must not be in use as a tag name for any resource. All
41
+ * predefined values for the given name must have already been deleted.
42
+ * @param tagName The name of the tag.
43
+ * @param options The options parameters.
44
+ */
45
+ delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;
46
+ /**
47
+ * This operation allows adding or replacing the entire set of tags on the specified resource or
48
+ * subscription. The specified entity can have a maximum of 50 tags.
49
+ * @param scope The resource scope.
50
+ * @param parameters Wrapper resource for tags API requests and responses.
51
+ * @param options The options parameters.
52
+ */
53
+ createOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
54
+ /**
55
+ * This operation allows replacing, merging or selectively deleting tags on the specified resource or
56
+ * subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The
57
+ * 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows
58
+ * adding tags with new names and updating the values of tags with existing names. The 'delete' option
59
+ * allows selectively deleting tags based on given names or name/value pairs.
60
+ * @param scope The resource scope.
61
+ * @param parameters Wrapper resource for tags patch API request only.
62
+ * @param options The options parameters.
63
+ */
64
+ updateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
65
+ /**
66
+ * Gets the entire set of tags on a resource or subscription.
67
+ * @param scope The resource scope.
68
+ * @param options The options parameters.
69
+ */
70
+ getAtScope(scope: string, options?: TagsGetAtScopeOptionalParams): Promise<TagsGetAtScopeResponse>;
71
+ /**
72
+ * Deletes the entire set of tags on a resource or subscription.
73
+ * @param scope The resource scope.
74
+ * @param options The options parameters.
75
+ */
76
+ deleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
77
+ }
78
+ //# sourceMappingURL=tagsOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tagsOperations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tagsOperations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;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,GACxC,OAAO,CAAC,yBAAyB,CAAC,CAAC;IACtC;;;;OAIG;IACH,UAAU,CACR,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACnC;;;;OAIG;IACH,aAAa,CACX,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,IAAI,CAAC,CAAC;CAClB"}
@@ -0,0 +1,9 @@
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 {};
9
+ //# sourceMappingURL=tagsOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tagsOperations.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tagsOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n TagDetails,\n TagsListOptionalParams,\n TagsDeleteValueOptionalParams,\n TagsCreateOrUpdateValueOptionalParams,\n TagsCreateOrUpdateValueResponse,\n TagsCreateOrUpdateOptionalParams,\n TagsCreateOrUpdateResponse,\n TagsDeleteOptionalParams,\n TagsResource,\n TagsCreateOrUpdateAtScopeOptionalParams,\n TagsCreateOrUpdateAtScopeResponse,\n TagsPatchResource,\n TagsUpdateAtScopeOptionalParams,\n TagsUpdateAtScopeResponse,\n TagsGetAtScopeOptionalParams,\n TagsGetAtScopeResponse,\n TagsDeleteAtScopeOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a TagsOperations. */\nexport interface TagsOperations {\n /**\n * This operation performs a union of predefined tags, resource tags, resource group tags and\n * subscription tags, and returns a summary of usage for each tag name and value under the given\n * subscription. In case of a large number of tags, this operation may return a previously cached\n * result.\n * @param options The options parameters.\n */\n list(\n options?: TagsListOptionalParams\n ): PagedAsyncIterableIterator<TagDetails>;\n /**\n * This operation allows deleting a value from the list of predefined values for an existing predefined\n * tag name. The value being deleted must not be in use as a tag value for the given tag name for any\n * resource.\n * @param tagName The name of the tag.\n * @param tagValue The value of the tag to delete.\n * @param options The options parameters.\n */\n deleteValue(\n tagName: string,\n tagValue: string,\n options?: TagsDeleteValueOptionalParams\n ): Promise<void>;\n /**\n * This operation allows adding a value to the list of predefined values for an existing predefined tag\n * name. A tag value can have a maximum of 256 characters.\n * @param tagName The name of the tag.\n * @param tagValue The value of the tag to create.\n * @param options The options parameters.\n */\n createOrUpdateValue(\n tagName: string,\n tagValue: string,\n options?: TagsCreateOrUpdateValueOptionalParams\n ): Promise<TagsCreateOrUpdateValueResponse>;\n /**\n * This operation allows adding a name to the list of predefined tag names for the given subscription.\n * A tag name can have a maximum of 512 characters and is case-insensitive. Tag names cannot have the\n * following prefixes which are reserved for Azure use: 'microsoft', 'azure', 'windows'.\n * @param tagName The name of the tag to create.\n * @param options The options parameters.\n */\n createOrUpdate(\n tagName: string,\n options?: TagsCreateOrUpdateOptionalParams\n ): Promise<TagsCreateOrUpdateResponse>;\n /**\n * This operation allows deleting a name from the list of predefined tag names for the given\n * subscription. The name being deleted must not be in use as a tag name for any resource. All\n * predefined values for the given name must have already been deleted.\n * @param tagName The name of the tag.\n * @param options The options parameters.\n */\n delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;\n /**\n * This operation allows adding or replacing the entire set of tags on the specified resource or\n * subscription. The specified entity can have a maximum of 50 tags.\n * @param scope The resource scope.\n * @param parameters Wrapper resource for tags API requests and responses.\n * @param options The options parameters.\n */\n createOrUpdateAtScope(\n scope: string,\n parameters: TagsResource,\n options?: TagsCreateOrUpdateAtScopeOptionalParams\n ): Promise<TagsCreateOrUpdateAtScopeResponse>;\n /**\n * This operation allows replacing, merging or selectively deleting tags on the specified resource or\n * subscription. The specified entity can have a maximum of 50 tags at the end of the operation. The\n * 'replace' option replaces the entire set of existing tags with a new set. The 'merge' option allows\n * adding tags with new names and updating the values of tags with existing names. The 'delete' option\n * allows selectively deleting tags based on given names or name/value pairs.\n * @param scope The resource scope.\n * @param parameters Wrapper resource for tags patch API request only.\n * @param options The options parameters.\n */\n updateAtScope(\n scope: string,\n parameters: TagsPatchResource,\n options?: TagsUpdateAtScopeOptionalParams\n ): Promise<TagsUpdateAtScopeResponse>;\n /**\n * Gets the entire set of tags on a resource or subscription.\n * @param scope The resource scope.\n * @param options The options parameters.\n */\n getAtScope(\n scope: string,\n options?: TagsGetAtScopeOptionalParams\n ): Promise<TagsGetAtScopeResponse>;\n /**\n * Deletes the entire set of tags on a resource or subscription.\n * @param scope The resource scope.\n * @param options The options parameters.\n */\n deleteAtScope(\n scope: string,\n options?: TagsDeleteAtScopeOptionalParams\n ): Promise<void>;\n}\n"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,13 @@
1
+ export interface PageInfo {
2
+ continuationToken?: string;
3
+ }
4
+ /**
5
+ * Given the last `.value` produced by the `byPage` iterator,
6
+ * returns a continuation token that can be used to begin paging from
7
+ * that point later.
8
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
+ * @returns The continuation token that can be passed into byPage() during future calls.
10
+ */
11
+ export declare function getContinuationToken(page: unknown): string | undefined;
12
+ export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
+ //# sourceMappingURL=pagingHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}
@@ -0,0 +1,32 @@
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
+ const pageMap = new WeakMap();
9
+ /**
10
+ * Given the last `.value` produced by the `byPage` iterator,
11
+ * returns a continuation token that can be used to begin paging from
12
+ * that point later.
13
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
14
+ * @returns The continuation token that can be passed into byPage() during future calls.
15
+ */
16
+ export function getContinuationToken(page) {
17
+ var _a;
18
+ if (typeof page !== "object" || page === null) {
19
+ return undefined;
20
+ }
21
+ return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
22
+ }
23
+ export function setContinuationToken(page, continuationToken) {
24
+ var _a;
25
+ if (typeof page !== "object" || page === null || !continuationToken) {
26
+ return;
27
+ }
28
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
29
+ pageInfo.continuationToken = continuationToken;
30
+ pageMap.set(page, pageInfo);
31
+ }
32
+ //# sourceMappingURL=pagingHelper.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
@@ -0,0 +1,27 @@
1
+ import * as coreClient from "@azure/core-client";
2
+ import * as coreAuth from "@azure/core-auth";
3
+ import { Operations, Deployments, Providers, ProviderResourceTypes, Resources, ResourceGroups, TagsOperations, DeploymentOperations } from "./operationsInterfaces/index.js";
4
+ import { ResourceManagementClientOptionalParams } from "./models/index.js";
5
+ export declare class ResourceManagementClient extends coreClient.ServiceClient {
6
+ $host: string;
7
+ apiVersion: string;
8
+ subscriptionId: string;
9
+ /**
10
+ * Initializes a new instance of the ResourceManagementClient class.
11
+ * @param credentials Subscription credentials which uniquely identify client subscription.
12
+ * @param subscriptionId The Microsoft Azure subscription ID.
13
+ * @param options The parameter options
14
+ */
15
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
18
+ operations: Operations;
19
+ deployments: Deployments;
20
+ providers: Providers;
21
+ providerResourceTypes: ProviderResourceTypes;
22
+ resources: Resources;
23
+ resourceGroups: ResourceGroups;
24
+ tagsOperations: TagsOperations;
25
+ deploymentOperations: DeploymentOperations;
26
+ }
27
+ //# sourceMappingURL=resourceManagementClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resourceManagementClient.d.ts","sourceRoot":"","sources":["../../src/resourceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAW7C,OAAO,EACL,UAAU,EACV,WAAW,EACX,SAAS,EACT,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mBAAmB,CAAC;AAE3E,qBAAa,wBAAyB,SAAQ,UAAU,CAAC,aAAa;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IAEvB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,sCAAsC;IAmFlD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,SAAS,EAAE,SAAS,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,oBAAoB,EAAE,oBAAoB,CAAC;CAC5C"}
@@ -0,0 +1,104 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import * as coreClient from "@azure/core-client";
9
+ import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
+ import { OperationsImpl, DeploymentsImpl, ProvidersImpl, ProviderResourceTypesImpl, ResourcesImpl, ResourceGroupsImpl, TagsOperationsImpl, DeploymentOperationsImpl } from "./operations/index.js";
11
+ export class ResourceManagementClient extends coreClient.ServiceClient {
12
+ /**
13
+ * Initializes a new instance of the ResourceManagementClient class.
14
+ * @param credentials Subscription credentials which uniquely identify client subscription.
15
+ * @param subscriptionId The Microsoft Azure subscription ID.
16
+ * @param options The parameter options
17
+ */
18
+ constructor(credentials, subscriptionId, options) {
19
+ var _a, _b, _c;
20
+ if (credentials === undefined) {
21
+ throw new Error("'credentials' cannot be null");
22
+ }
23
+ if (subscriptionId === undefined) {
24
+ throw new Error("'subscriptionId' cannot be null");
25
+ }
26
+ // Initializing default values for options
27
+ if (!options) {
28
+ options = {};
29
+ }
30
+ const defaults = {
31
+ requestContentType: "application/json; charset=utf-8",
32
+ credential: credentials
33
+ };
34
+ const packageDetails = `azsdk-js-arm-resources/5.2.1`;
35
+ const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
+ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
+ : `${packageDetails}`;
38
+ const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
39
+ userAgentPrefix
40
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ super(optionsWithDefaults);
42
+ let bearerTokenAuthenticationPolicyFound = false;
43
+ if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
44
+ const pipelinePolicies = options.pipeline.getOrderedPolicies();
45
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ coreRestPipeline.bearerTokenAuthenticationPolicyName);
47
+ }
48
+ if (!options ||
49
+ !options.pipeline ||
50
+ options.pipeline.getOrderedPolicies().length == 0 ||
51
+ !bearerTokenAuthenticationPolicyFound) {
52
+ this.pipeline.removePolicy({
53
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
54
+ });
55
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
56
+ credential: credentials,
57
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
58
+ challengeCallbacks: {
59
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
60
+ }
61
+ }));
62
+ }
63
+ // Parameter assignments
64
+ this.subscriptionId = subscriptionId;
65
+ // Assigning values to Constant parameters
66
+ this.$host = options.$host || "https://management.azure.com";
67
+ this.apiVersion = options.apiVersion || "2021-04-01";
68
+ this.operations = new OperationsImpl(this);
69
+ this.deployments = new DeploymentsImpl(this);
70
+ this.providers = new ProvidersImpl(this);
71
+ this.providerResourceTypes = new ProviderResourceTypesImpl(this);
72
+ this.resources = new ResourcesImpl(this);
73
+ this.resourceGroups = new ResourceGroupsImpl(this);
74
+ this.tagsOperations = new TagsOperationsImpl(this);
75
+ this.deploymentOperations = new DeploymentOperationsImpl(this);
76
+ this.addCustomApiVersionPolicy(options.apiVersion);
77
+ }
78
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
79
+ addCustomApiVersionPolicy(apiVersion) {
80
+ if (!apiVersion) {
81
+ return;
82
+ }
83
+ const apiVersionPolicy = {
84
+ name: "CustomApiVersionPolicy",
85
+ async sendRequest(request, next) {
86
+ const param = request.url.split("?");
87
+ if (param.length > 1) {
88
+ const newParams = param[1].split("&").map((item) => {
89
+ if (item.indexOf("api-version") > -1) {
90
+ return "api-version=" + apiVersion;
91
+ }
92
+ else {
93
+ return item;
94
+ }
95
+ });
96
+ request.url = param[0] + "?" + newParams.join("&");
97
+ }
98
+ return next(request);
99
+ }
100
+ };
101
+ this.pipeline.addPolicy(apiVersionPolicy);
102
+ }
103
+ }
104
+ //# sourceMappingURL=resourceManagementClient.js.map