@azure/arm-resourcemover 2.2.0-alpha.20250217.1 → 2.2.0-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 (408) 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/browser/operations/index.d.ts +5 -0
  12. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  13. package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
  14. package/dist/browser/operations/index.js.map +1 -0
  15. package/{dist-esm/src → dist/browser}/operations/moveCollections.d.ts +3 -3
  16. package/dist/browser/operations/moveCollections.d.ts.map +1 -0
  17. package/{dist-esm/src → dist/browser}/operations/moveCollections.js +264 -292
  18. package/dist/browser/operations/moveCollections.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/operations/moveResources.d.ts +3 -3
  20. package/dist/browser/operations/moveResources.d.ts.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/moveResources.js +89 -97
  22. package/dist/browser/operations/moveResources.js.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/operationsDiscoveryOperations.d.ts +3 -3
  24. package/dist/browser/operations/operationsDiscoveryOperations.d.ts.map +1 -0
  25. package/{dist-esm/src → dist/browser}/operations/operationsDiscoveryOperations.js +2 -2
  26. package/dist/browser/operations/operationsDiscoveryOperations.js.map +1 -0
  27. package/{dist-esm/src → dist/browser}/operations/unresolvedDependencies.d.ts +3 -3
  28. package/dist/browser/operations/unresolvedDependencies.d.ts.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/unresolvedDependencies.js +3 -3
  30. package/dist/browser/operations/unresolvedDependencies.js.map +1 -0
  31. package/dist/browser/operationsInterfaces/index.d.ts +5 -0
  32. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
  34. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  35. package/{dist-esm/src → dist/browser}/operationsInterfaces/moveCollections.d.ts +1 -1
  36. package/dist/browser/operationsInterfaces/moveCollections.d.ts.map +1 -0
  37. package/dist/browser/operationsInterfaces/moveCollections.js.map +1 -0
  38. package/{dist-esm/src → dist/browser}/operationsInterfaces/moveResources.d.ts +1 -1
  39. package/dist/browser/operationsInterfaces/moveResources.d.ts.map +1 -0
  40. package/dist/browser/operationsInterfaces/moveResources.js.map +1 -0
  41. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.d.ts +1 -1
  42. package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -1
  43. package/dist/browser/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operationsInterfaces/unresolvedDependencies.d.ts +1 -1
  45. package/dist/browser/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
  46. package/dist/browser/operationsInterfaces/unresolvedDependencies.js.map +1 -0
  47. package/dist/browser/package.json +3 -0
  48. package/dist/browser/pagingHelper.js.map +1 -0
  49. package/{dist-esm/src → dist/browser}/resourceMoverServiceAPI.d.ts +2 -2
  50. package/dist/browser/resourceMoverServiceAPI.d.ts.map +1 -0
  51. package/{dist-esm/src → dist/browser}/resourceMoverServiceAPI.js +15 -18
  52. package/dist/browser/resourceMoverServiceAPI.js.map +1 -0
  53. package/dist/commonjs/index.d.ts +5 -0
  54. package/dist/commonjs/index.d.ts.map +1 -0
  55. package/dist/commonjs/index.js +19 -0
  56. package/dist/commonjs/index.js.map +1 -0
  57. package/dist/commonjs/lroImpl.d.ts +11 -0
  58. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  59. package/dist/commonjs/lroImpl.js +17 -0
  60. package/dist/commonjs/lroImpl.js.map +1 -0
  61. package/{types/arm-resourcemover.d.ts → dist/commonjs/models/index.d.ts} +1338 -1752
  62. package/dist/commonjs/models/index.d.ts.map +1 -0
  63. package/dist/commonjs/models/index.js +145 -0
  64. package/dist/commonjs/models/index.js.map +1 -0
  65. package/dist/commonjs/models/mappers.d.ts +88 -0
  66. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  67. package/dist/commonjs/models/mappers.js +2024 -0
  68. package/dist/commonjs/models/mappers.js.map +1 -0
  69. package/dist/commonjs/models/parameters.d.ts +23 -0
  70. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  71. package/dist/commonjs/models/parameters.js +176 -0
  72. package/dist/commonjs/models/parameters.js.map +1 -0
  73. package/dist/commonjs/operations/index.d.ts +5 -0
  74. package/dist/commonjs/operations/index.d.ts.map +1 -0
  75. package/dist/commonjs/operations/index.js +15 -0
  76. package/dist/commonjs/operations/index.js.map +1 -0
  77. package/dist/commonjs/operations/moveCollections.d.ts +211 -0
  78. package/dist/commonjs/operations/moveCollections.d.ts.map +1 -0
  79. package/dist/commonjs/operations/moveCollections.js +1004 -0
  80. package/dist/commonjs/operations/moveCollections.js.map +1 -0
  81. package/dist/commonjs/operations/moveResources.d.ts +79 -0
  82. package/dist/commonjs/operations/moveResources.d.ts.map +1 -0
  83. package/dist/commonjs/operations/moveResources.js +370 -0
  84. package/dist/commonjs/operations/moveResources.js.map +1 -0
  85. package/dist/commonjs/operations/operationsDiscoveryOperations.d.ts +15 -0
  86. package/dist/commonjs/operations/operationsDiscoveryOperations.d.ts.map +1 -0
  87. package/dist/commonjs/operations/operationsDiscoveryOperations.js +48 -0
  88. package/dist/commonjs/operations/operationsDiscoveryOperations.js.map +1 -0
  89. package/dist/commonjs/operations/unresolvedDependencies.d.ts +38 -0
  90. package/dist/commonjs/operations/unresolvedDependencies.d.ts.map +1 -0
  91. package/dist/commonjs/operations/unresolvedDependencies.js +159 -0
  92. package/dist/commonjs/operations/unresolvedDependencies.js.map +1 -0
  93. package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
  94. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  95. package/dist/commonjs/operationsInterfaces/index.js +15 -0
  96. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  97. package/dist/commonjs/operationsInterfaces/moveCollections.d.ts +173 -0
  98. package/dist/commonjs/operationsInterfaces/moveCollections.d.ts.map +1 -0
  99. package/dist/commonjs/operationsInterfaces/moveCollections.js +10 -0
  100. package/dist/commonjs/operationsInterfaces/moveCollections.js.map +1 -0
  101. package/dist/commonjs/operationsInterfaces/moveResources.d.ts +54 -0
  102. package/dist/commonjs/operationsInterfaces/moveResources.d.ts.map +1 -0
  103. package/dist/commonjs/operationsInterfaces/moveResources.js +10 -0
  104. package/dist/commonjs/operationsInterfaces/moveResources.js.map +1 -0
  105. package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
  106. package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
  107. package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.js +10 -0
  108. package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
  109. package/dist/commonjs/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
  110. package/dist/commonjs/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
  111. package/dist/commonjs/operationsInterfaces/unresolvedDependencies.js +10 -0
  112. package/dist/commonjs/operationsInterfaces/unresolvedDependencies.js.map +1 -0
  113. package/dist/commonjs/package.json +3 -0
  114. package/dist/commonjs/pagingHelper.d.ts +13 -0
  115. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  116. package/dist/commonjs/pagingHelper.js +36 -0
  117. package/dist/commonjs/pagingHelper.js.map +1 -0
  118. package/dist/commonjs/resourceMoverServiceAPI.d.ts +24 -0
  119. package/dist/commonjs/resourceMoverServiceAPI.d.ts.map +1 -0
  120. package/dist/commonjs/resourceMoverServiceAPI.js +103 -0
  121. package/dist/commonjs/resourceMoverServiceAPI.js.map +1 -0
  122. package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
  123. package/dist/esm/index.d.ts +5 -0
  124. package/dist/esm/index.d.ts.map +1 -0
  125. package/{src/index.ts → dist/esm/index.js} +5 -5
  126. package/dist/esm/index.js.map +1 -0
  127. package/dist/esm/lroImpl.d.ts +11 -0
  128. package/dist/esm/lroImpl.d.ts.map +1 -0
  129. package/dist/esm/lroImpl.js +14 -0
  130. package/dist/esm/lroImpl.js.map +1 -0
  131. package/dist/esm/models/index.d.ts +1338 -0
  132. package/dist/esm/models/index.d.ts.map +1 -0
  133. package/dist/esm/models/index.js +142 -0
  134. package/dist/esm/models/index.js.map +1 -0
  135. package/dist/esm/models/mappers.d.ts +88 -0
  136. package/dist/esm/models/mappers.d.ts.map +1 -0
  137. package/dist/esm/models/mappers.js +2020 -0
  138. package/dist/esm/models/mappers.js.map +1 -0
  139. package/dist/esm/models/parameters.d.ts +23 -0
  140. package/dist/esm/models/parameters.d.ts.map +1 -0
  141. package/dist/esm/models/parameters.js +173 -0
  142. package/dist/esm/models/parameters.js.map +1 -0
  143. package/dist/esm/operations/index.d.ts +5 -0
  144. package/dist/esm/operations/index.d.ts.map +1 -0
  145. package/dist/esm/operations/index.js +12 -0
  146. package/dist/esm/operations/index.js.map +1 -0
  147. package/dist/esm/operations/moveCollections.d.ts +211 -0
  148. package/dist/esm/operations/moveCollections.d.ts.map +1 -0
  149. package/dist/esm/operations/moveCollections.js +1000 -0
  150. package/dist/esm/operations/moveCollections.js.map +1 -0
  151. package/dist/esm/operations/moveResources.d.ts +79 -0
  152. package/dist/esm/operations/moveResources.d.ts.map +1 -0
  153. package/dist/esm/operations/moveResources.js +366 -0
  154. package/dist/esm/operations/moveResources.js.map +1 -0
  155. package/dist/esm/operations/operationsDiscoveryOperations.d.ts +15 -0
  156. package/dist/esm/operations/operationsDiscoveryOperations.d.ts.map +1 -0
  157. package/dist/esm/operations/operationsDiscoveryOperations.js +43 -0
  158. package/dist/esm/operations/operationsDiscoveryOperations.js.map +1 -0
  159. package/dist/esm/operations/unresolvedDependencies.d.ts +38 -0
  160. package/dist/esm/operations/unresolvedDependencies.d.ts.map +1 -0
  161. package/dist/esm/operations/unresolvedDependencies.js +155 -0
  162. package/dist/esm/operations/unresolvedDependencies.js.map +1 -0
  163. package/dist/esm/operationsInterfaces/index.d.ts +5 -0
  164. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  165. package/dist/esm/operationsInterfaces/index.js +12 -0
  166. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  167. package/dist/esm/operationsInterfaces/moveCollections.d.ts +173 -0
  168. package/dist/esm/operationsInterfaces/moveCollections.d.ts.map +1 -0
  169. package/dist/esm/operationsInterfaces/moveCollections.js +9 -0
  170. package/dist/esm/operationsInterfaces/moveCollections.js.map +1 -0
  171. package/dist/esm/operationsInterfaces/moveResources.d.ts +54 -0
  172. package/dist/esm/operationsInterfaces/moveResources.d.ts.map +1 -0
  173. package/dist/esm/operationsInterfaces/moveResources.js +9 -0
  174. package/dist/esm/operationsInterfaces/moveResources.js.map +1 -0
  175. package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
  176. package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
  177. package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.js +9 -0
  178. package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
  179. package/dist/esm/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
  180. package/dist/esm/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
  181. package/dist/esm/operationsInterfaces/unresolvedDependencies.js +9 -0
  182. package/dist/esm/operationsInterfaces/unresolvedDependencies.js.map +1 -0
  183. package/dist/esm/package.json +3 -0
  184. package/dist/esm/pagingHelper.d.ts +13 -0
  185. package/dist/esm/pagingHelper.d.ts.map +1 -0
  186. package/dist/esm/pagingHelper.js +32 -0
  187. package/dist/esm/pagingHelper.js.map +1 -0
  188. package/dist/esm/resourceMoverServiceAPI.d.ts +24 -0
  189. package/dist/esm/resourceMoverServiceAPI.d.ts.map +1 -0
  190. package/dist/esm/resourceMoverServiceAPI.js +98 -0
  191. package/dist/esm/resourceMoverServiceAPI.js.map +1 -0
  192. package/dist/react-native/index.d.ts +5 -0
  193. package/dist/react-native/index.d.ts.map +1 -0
  194. package/dist/react-native/index.js +13 -0
  195. package/dist/react-native/index.js.map +1 -0
  196. package/dist/react-native/lroImpl.d.ts +11 -0
  197. package/dist/react-native/lroImpl.d.ts.map +1 -0
  198. package/dist/react-native/lroImpl.js +14 -0
  199. package/dist/react-native/lroImpl.js.map +1 -0
  200. package/dist/react-native/models/index.d.ts +1338 -0
  201. package/dist/react-native/models/index.d.ts.map +1 -0
  202. package/dist/react-native/models/index.js +142 -0
  203. package/dist/react-native/models/index.js.map +1 -0
  204. package/dist/react-native/models/mappers.d.ts +88 -0
  205. package/dist/react-native/models/mappers.d.ts.map +1 -0
  206. package/dist/react-native/models/mappers.js +2020 -0
  207. package/dist/react-native/models/mappers.js.map +1 -0
  208. package/dist/react-native/models/parameters.d.ts +23 -0
  209. package/dist/react-native/models/parameters.d.ts.map +1 -0
  210. package/dist/react-native/models/parameters.js +173 -0
  211. package/dist/react-native/models/parameters.js.map +1 -0
  212. package/dist/react-native/operations/index.d.ts +5 -0
  213. package/dist/react-native/operations/index.d.ts.map +1 -0
  214. package/dist/react-native/operations/index.js +12 -0
  215. package/dist/react-native/operations/index.js.map +1 -0
  216. package/dist/react-native/operations/moveCollections.d.ts +211 -0
  217. package/dist/react-native/operations/moveCollections.d.ts.map +1 -0
  218. package/dist/react-native/operations/moveCollections.js +1000 -0
  219. package/dist/react-native/operations/moveCollections.js.map +1 -0
  220. package/dist/react-native/operations/moveResources.d.ts +79 -0
  221. package/dist/react-native/operations/moveResources.d.ts.map +1 -0
  222. package/dist/react-native/operations/moveResources.js +366 -0
  223. package/dist/react-native/operations/moveResources.js.map +1 -0
  224. package/dist/react-native/operations/operationsDiscoveryOperations.d.ts +15 -0
  225. package/dist/react-native/operations/operationsDiscoveryOperations.d.ts.map +1 -0
  226. package/dist/react-native/operations/operationsDiscoveryOperations.js +43 -0
  227. package/dist/react-native/operations/operationsDiscoveryOperations.js.map +1 -0
  228. package/dist/react-native/operations/unresolvedDependencies.d.ts +38 -0
  229. package/dist/react-native/operations/unresolvedDependencies.d.ts.map +1 -0
  230. package/dist/react-native/operations/unresolvedDependencies.js +155 -0
  231. package/dist/react-native/operations/unresolvedDependencies.js.map +1 -0
  232. package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
  233. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  234. package/dist/react-native/operationsInterfaces/index.js +12 -0
  235. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  236. package/dist/react-native/operationsInterfaces/moveCollections.d.ts +173 -0
  237. package/dist/react-native/operationsInterfaces/moveCollections.d.ts.map +1 -0
  238. package/dist/react-native/operationsInterfaces/moveCollections.js +9 -0
  239. package/dist/react-native/operationsInterfaces/moveCollections.js.map +1 -0
  240. package/dist/react-native/operationsInterfaces/moveResources.d.ts +54 -0
  241. package/dist/react-native/operationsInterfaces/moveResources.d.ts.map +1 -0
  242. package/dist/react-native/operationsInterfaces/moveResources.js +9 -0
  243. package/dist/react-native/operationsInterfaces/moveResources.js.map +1 -0
  244. package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
  245. package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
  246. package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.js +9 -0
  247. package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
  248. package/dist/react-native/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
  249. package/dist/react-native/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
  250. package/dist/react-native/operationsInterfaces/unresolvedDependencies.js +9 -0
  251. package/dist/react-native/operationsInterfaces/unresolvedDependencies.js.map +1 -0
  252. package/dist/react-native/package.json +3 -0
  253. package/dist/react-native/pagingHelper.d.ts +13 -0
  254. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  255. package/dist/react-native/pagingHelper.js +32 -0
  256. package/dist/react-native/pagingHelper.js.map +1 -0
  257. package/dist/react-native/resourceMoverServiceAPI.d.ts +24 -0
  258. package/dist/react-native/resourceMoverServiceAPI.d.ts.map +1 -0
  259. package/dist/react-native/resourceMoverServiceAPI.js +98 -0
  260. package/dist/react-native/resourceMoverServiceAPI.js.map +1 -0
  261. package/package.json +67 -36
  262. package/dist/index.js +0 -4161
  263. package/dist/index.js.map +0 -1
  264. package/dist/index.min.js +0 -1
  265. package/dist/index.min.js.map +0 -1
  266. package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.js +0 -36
  269. package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.js.map +0 -1
  270. package/dist-esm/samples-dev/moveCollectionsCommitSample.d.ts +0 -2
  271. package/dist-esm/samples-dev/moveCollectionsCommitSample.d.ts.map +0 -1
  272. package/dist-esm/samples-dev/moveCollectionsCommitSample.js +0 -36
  273. package/dist-esm/samples-dev/moveCollectionsCommitSample.js.map +0 -1
  274. package/dist-esm/samples-dev/moveCollectionsCreateSample.d.ts +0 -2
  275. package/dist-esm/samples-dev/moveCollectionsCreateSample.d.ts.map +0 -1
  276. package/dist-esm/samples-dev/moveCollectionsCreateSample.js +0 -39
  277. package/dist-esm/samples-dev/moveCollectionsCreateSample.js.map +0 -1
  278. package/dist-esm/samples-dev/moveCollectionsDeleteSample.d.ts +0 -2
  279. package/dist-esm/samples-dev/moveCollectionsDeleteSample.d.ts.map +0 -1
  280. package/dist-esm/samples-dev/moveCollectionsDeleteSample.js +0 -36
  281. package/dist-esm/samples-dev/moveCollectionsDeleteSample.js.map +0 -1
  282. package/dist-esm/samples-dev/moveCollectionsDiscardSample.d.ts +0 -2
  283. package/dist-esm/samples-dev/moveCollectionsDiscardSample.d.ts.map +0 -1
  284. package/dist-esm/samples-dev/moveCollectionsDiscardSample.js +0 -36
  285. package/dist-esm/samples-dev/moveCollectionsDiscardSample.js.map +0 -1
  286. package/dist-esm/samples-dev/moveCollectionsGetSample.d.ts +0 -2
  287. package/dist-esm/samples-dev/moveCollectionsGetSample.d.ts.map +0 -1
  288. package/dist-esm/samples-dev/moveCollectionsGetSample.js +0 -36
  289. package/dist-esm/samples-dev/moveCollectionsGetSample.js.map +0 -1
  290. package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.d.ts +0 -2
  291. package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.d.ts.map +0 -1
  292. package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.js +0 -36
  293. package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.js.map +0 -1
  294. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.d.ts +0 -2
  295. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.d.ts.map +0 -1
  296. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.js +0 -51
  297. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.js.map +0 -1
  298. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.d.ts +0 -2
  299. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.d.ts.map +0 -1
  300. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.js +0 -50
  301. package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.js.map +0 -1
  302. package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.d.ts +0 -2
  303. package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.d.ts.map +0 -1
  304. package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.js +0 -37
  305. package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.js.map +0 -1
  306. package/dist-esm/samples-dev/moveCollectionsPrepareSample.d.ts +0 -2
  307. package/dist-esm/samples-dev/moveCollectionsPrepareSample.d.ts.map +0 -1
  308. package/dist-esm/samples-dev/moveCollectionsPrepareSample.js +0 -36
  309. package/dist-esm/samples-dev/moveCollectionsPrepareSample.js.map +0 -1
  310. package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.d.ts +0 -2
  311. package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.d.ts.map +0 -1
  312. package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.js +0 -36
  313. package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.js.map +0 -1
  314. package/dist-esm/samples-dev/moveCollectionsUpdateSample.d.ts +0 -2
  315. package/dist-esm/samples-dev/moveCollectionsUpdateSample.d.ts.map +0 -1
  316. package/dist-esm/samples-dev/moveCollectionsUpdateSample.js +0 -34
  317. package/dist-esm/samples-dev/moveCollectionsUpdateSample.js.map +0 -1
  318. package/dist-esm/samples-dev/moveResourcesCreateSample.d.ts +0 -2
  319. package/dist-esm/samples-dev/moveResourcesCreateSample.d.ts.map +0 -1
  320. package/dist-esm/samples-dev/moveResourcesCreateSample.js +0 -52
  321. package/dist-esm/samples-dev/moveResourcesCreateSample.js.map +0 -1
  322. package/dist-esm/samples-dev/moveResourcesDeleteSample.d.ts +0 -2
  323. package/dist-esm/samples-dev/moveResourcesDeleteSample.d.ts.map +0 -1
  324. package/dist-esm/samples-dev/moveResourcesDeleteSample.js +0 -37
  325. package/dist-esm/samples-dev/moveResourcesDeleteSample.js.map +0 -1
  326. package/dist-esm/samples-dev/moveResourcesGetSample.d.ts +0 -2
  327. package/dist-esm/samples-dev/moveResourcesGetSample.d.ts.map +0 -1
  328. package/dist-esm/samples-dev/moveResourcesGetSample.js +0 -37
  329. package/dist-esm/samples-dev/moveResourcesGetSample.js.map +0 -1
  330. package/dist-esm/samples-dev/moveResourcesListSample.d.ts +0 -2
  331. package/dist-esm/samples-dev/moveResourcesListSample.d.ts.map +0 -1
  332. package/dist-esm/samples-dev/moveResourcesListSample.js +0 -52
  333. package/dist-esm/samples-dev/moveResourcesListSample.js.map +0 -1
  334. package/dist-esm/samples-dev/operationsDiscoveryGetSample.d.ts +0 -2
  335. package/dist-esm/samples-dev/operationsDiscoveryGetSample.d.ts.map +0 -1
  336. package/dist-esm/samples-dev/operationsDiscoveryGetSample.js +0 -33
  337. package/dist-esm/samples-dev/operationsDiscoveryGetSample.js.map +0 -1
  338. package/dist-esm/samples-dev/unresolvedDependenciesGetSample.d.ts +0 -2
  339. package/dist-esm/samples-dev/unresolvedDependenciesGetSample.d.ts.map +0 -1
  340. package/dist-esm/samples-dev/unresolvedDependenciesGetSample.js +0 -52
  341. package/dist-esm/samples-dev/unresolvedDependenciesGetSample.js.map +0 -1
  342. package/dist-esm/src/index.d.ts +0 -5
  343. package/dist-esm/src/index.js.map +0 -1
  344. package/dist-esm/src/lroImpl.js.map +0 -1
  345. package/dist-esm/src/models/index.js.map +0 -1
  346. package/dist-esm/src/models/mappers.js.map +0 -1
  347. package/dist-esm/src/models/parameters.js.map +0 -1
  348. package/dist-esm/src/operations/index.d.ts +0 -5
  349. package/dist-esm/src/operations/index.js.map +0 -1
  350. package/dist-esm/src/operations/moveCollections.d.ts.map +0 -1
  351. package/dist-esm/src/operations/moveCollections.js.map +0 -1
  352. package/dist-esm/src/operations/moveResources.d.ts.map +0 -1
  353. package/dist-esm/src/operations/moveResources.js.map +0 -1
  354. package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts.map +0 -1
  355. package/dist-esm/src/operations/operationsDiscoveryOperations.js.map +0 -1
  356. package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +0 -1
  357. package/dist-esm/src/operations/unresolvedDependencies.js.map +0 -1
  358. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  359. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  360. package/dist-esm/src/operationsInterfaces/moveCollections.d.ts.map +0 -1
  361. package/dist-esm/src/operationsInterfaces/moveCollections.js.map +0 -1
  362. package/dist-esm/src/operationsInterfaces/moveResources.d.ts.map +0 -1
  363. package/dist-esm/src/operationsInterfaces/moveResources.js.map +0 -1
  364. package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js.map +0 -1
  365. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts.map +0 -1
  366. package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js.map +0 -1
  367. package/dist-esm/src/pagingHelper.js.map +0 -1
  368. package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +0 -1
  369. package/dist-esm/src/resourceMoverServiceAPI.js.map +0 -1
  370. package/dist-esm/test/resourcemover_operations_test.spec.d.ts +0 -4
  371. package/dist-esm/test/resourcemover_operations_test.spec.d.ts.map +0 -1
  372. package/dist-esm/test/resourcemover_operations_test.spec.js +0 -122
  373. package/dist-esm/test/resourcemover_operations_test.spec.js.map +0 -1
  374. package/src/lroImpl.ts +0 -38
  375. package/src/models/index.ts +0 -1499
  376. package/src/models/mappers.ts +0 -2170
  377. package/src/models/parameters.ts +0 -208
  378. package/src/operations/index.ts +0 -12
  379. package/src/operations/moveCollections.ts +0 -1404
  380. package/src/operations/moveResources.ts +0 -520
  381. package/src/operations/operationsDiscoveryOperations.ts +0 -57
  382. package/src/operations/unresolvedDependencies.ts +0 -203
  383. package/src/operationsInterfaces/index.ts +0 -12
  384. package/src/operationsInterfaces/moveCollections.ts +0 -321
  385. package/src/operationsInterfaces/moveResources.ts +0 -111
  386. package/src/operationsInterfaces/operationsDiscoveryOperations.ts +0 -20
  387. package/src/operationsInterfaces/unresolvedDependencies.ts +0 -29
  388. package/src/pagingHelper.ts +0 -39
  389. package/src/resourceMoverServiceAPI.ts +0 -172
  390. package/tsconfig.json +0 -33
  391. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  392. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  393. /package/{dist-esm/src → dist/browser}/lroImpl.js +0 -0
  394. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  395. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  396. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  397. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  398. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  399. /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
  400. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  401. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  402. /package/{dist-esm/src → dist/browser}/operationsInterfaces/moveCollections.js +0 -0
  403. /package/{dist-esm/src → dist/browser}/operationsInterfaces/moveResources.js +0 -0
  404. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.js +0 -0
  405. /package/{dist-esm/src → dist/browser}/operationsInterfaces/unresolvedDependencies.js +0 -0
  406. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  407. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  408. /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
@@ -1,1752 +1,1338 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } from '@azure/core-lro';
6
-
7
- /** The RP custom operation error info. */
8
- export declare interface AffectedMoveResource {
9
- /**
10
- * The affected move resource id.
11
- * NOTE: This property will not be serialized. It can only be populated by the server.
12
- */
13
- readonly id?: string;
14
- /**
15
- * The affected move resource source id.
16
- * NOTE: This property will not be serialized. It can only be populated by the server.
17
- */
18
- readonly sourceId?: string;
19
- /**
20
- * The affected move resources.
21
- * NOTE: This property will not be serialized. It can only be populated by the server.
22
- */
23
- readonly moveResources?: AffectedMoveResource[];
24
- }
25
-
26
- /** Defines the properties for automatic resolution. */
27
- export declare interface AutomaticResolutionProperties {
28
- /**
29
- * Gets the MoveResource ARM ID of
30
- * the dependent resource if the resolution type is Automatic.
31
- */
32
- moveResourceId?: string;
33
- }
34
-
35
- /** Gets or sets the availability set resource settings. */
36
- export declare interface AvailabilitySetResourceSettings extends ResourceSettings {
37
- /** Polymorphic discriminator, which specifies the different types this object can be */
38
- resourceType: "Microsoft.Compute/availabilitySets";
39
- /** Gets or sets the Resource tags. */
40
- tags?: {
41
- [propertyName: string]: string;
42
- };
43
- /** Gets or sets the target fault domain. */
44
- faultDomain?: number;
45
- /** Gets or sets the target update domain. */
46
- updateDomain?: number;
47
- }
48
-
49
- /** Defines reference to an Azure resource. */
50
- export declare interface AzureResourceReference {
51
- /** Gets the ARM resource ID of the tracked resource being referenced. */
52
- sourceArmResourceId: string;
53
- }
54
-
55
- /** Defines the request body for bulk remove of move resources operation. */
56
- export declare interface BulkRemoveRequest {
57
- /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
58
- validateOnly?: boolean;
59
- /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
60
- moveResources?: string[];
61
- /** Defines the move resource input type. */
62
- moveResourceInputType?: MoveResourceInputType;
63
- }
64
-
65
- /** An error response from the service. */
66
- export declare interface CloudError {
67
- /** Cloud error body. */
68
- error?: CloudErrorBody;
69
- }
70
-
71
- /** An error response from the service. */
72
- export declare interface CloudErrorBody {
73
- /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
74
- code?: string;
75
- /** A message describing the error, intended to be suitable for display in a user interface. */
76
- message?: string;
77
- /** The target of the particular error. For example, the name of the property in error. */
78
- target?: string;
79
- /** A list of additional details about the error. */
80
- details?: CloudErrorBody[];
81
- }
82
-
83
- /** Defines the request body for commit operation. */
84
- export declare interface CommitRequest {
85
- /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
86
- validateOnly?: boolean;
87
- /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
88
- moveResources: string[];
89
- /** Defines the move resource input type. */
90
- moveResourceInputType?: MoveResourceInputType;
91
- }
92
-
93
- /**
94
- * Defines values for CreatedByType. \
95
- * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
96
- * this enum contains the known values that the service supports.
97
- * ### Known values supported by the service
98
- * **User** \
99
- * **Application** \
100
- * **ManagedIdentity** \
101
- * **Key**
102
- */
103
- export declare type CreatedByType = string;
104
-
105
- /**
106
- * Defines values for DependencyLevel. \
107
- * {@link KnownDependencyLevel} can be used interchangeably with DependencyLevel,
108
- * this enum contains the known values that the service supports.
109
- * ### Known values supported by the service
110
- * **Direct** \
111
- * **Descendant**
112
- */
113
- export declare type DependencyLevel = string;
114
-
115
- /**
116
- * Defines values for DependencyType. \
117
- * {@link KnownDependencyType} can be used interchangeably with DependencyType,
118
- * this enum contains the known values that the service supports.
119
- * ### Known values supported by the service
120
- * **RequiredForPrepare** \
121
- * **RequiredForMove**
122
- */
123
- export declare type DependencyType = string;
124
-
125
- /** Defines the request body for discard operation. */
126
- export declare interface DiscardRequest {
127
- /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
128
- validateOnly?: boolean;
129
- /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
130
- moveResources: string[];
131
- /** Defines the move resource input type. */
132
- moveResourceInputType?: MoveResourceInputType;
133
- }
134
-
135
- /** Defines the disk encryption set resource settings. */
136
- export declare interface DiskEncryptionSetResourceSettings extends ResourceSettings {
137
- /** Polymorphic discriminator, which specifies the different types this object can be */
138
- resourceType: "Microsoft.Compute/diskEncryptionSets";
139
- }
140
-
141
- /**
142
- * Contains the localized display information for this particular operation / action. These
143
- * value will be used by several clients for
144
- * (1) custom role definitions for RBAC;
145
- * (2) complex query filters for the event service; and
146
- * (3) audit history / records for management operations.
147
- */
148
- export declare interface Display {
149
- /**
150
- * Gets or sets the provider.
151
- * The localized friendly form of the resource provider name – it is expected to also
152
- * include the publisher/company responsible.
153
- * It should use Title Casing and begin with "Microsoft" for 1st party services.
154
- * e.g. "Microsoft Monitoring Insights" or "Microsoft Compute.".
155
- */
156
- provider?: string;
157
- /**
158
- * Gets or sets the resource.
159
- * The localized friendly form of the resource related to this action/operation – it
160
- * should match the public documentation for the resource provider.
161
- * It should use Title Casing.
162
- * This value should be unique for a particular URL type (e.g. nested types should *not*
163
- * reuse their parent’s display.resource field)
164
- * e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes"
165
- * or "Scheduler Jobs".
166
- */
167
- resource?: string;
168
- /**
169
- * Gets or sets the operation.
170
- * The localized friendly name for the operation, as it should be shown to the user.
171
- * It should be concise (to fit in drop downs) but clear (i.e. self-documenting).
172
- * It should use Title Casing.
173
- * Prescriptive guidance: Read Create or Update Delete 'ActionName'.
174
- */
175
- operation?: string;
176
- /**
177
- * Gets or sets the description.
178
- * The localized friendly description for the operation, as it should be shown to the
179
- * user.
180
- * It should be thorough, yet concise – it will be used in tool tips and detailed views.
181
- * Prescriptive guidance for namespace:
182
- * Read any 'display.provider' resource
183
- * Create or Update any 'display.provider' resource
184
- * Delete any 'display.provider' resource
185
- * Perform any other action on any 'display.provider' resource
186
- * Prescriptive guidance for namespace:
187
- * Read any 'display.resource' Create or Update any 'display.resource' Delete any
188
- * 'display.resource' 'ActionName' any 'display.resources'.
189
- */
190
- description?: string;
191
- }
192
-
193
- /**
194
- * Given the last `.value` produced by the `byPage` iterator,
195
- * returns a continuation token that can be used to begin paging from
196
- * that point later.
197
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
198
- * @returns The continuation token that can be passed into byPage() during future calls.
199
- */
200
- export declare function getContinuationToken(page: unknown): string | undefined;
201
-
202
- /** Defines the MSI properties of the Move Collection. */
203
- export declare interface Identity {
204
- /** The type of identity used for the resource mover service. */
205
- type?: ResourceIdentityType;
206
- /** Gets or sets the principal id. */
207
- principalId?: string;
208
- /** Gets or sets the tenant id. */
209
- tenantId?: string;
210
- }
211
-
212
- /**
213
- * Defines values for JobName. \
214
- * {@link KnownJobName} can be used interchangeably with JobName,
215
- * this enum contains the known values that the service supports.
216
- * ### Known values supported by the service
217
- * **InitialSync**
218
- */
219
- export declare type JobName = string;
220
-
221
- /** Defines the job status. */
222
- export declare interface JobStatus {
223
- /**
224
- * Defines the job name.
225
- * NOTE: This property will not be serialized. It can only be populated by the server.
226
- */
227
- readonly jobName?: JobName;
228
- /**
229
- * Gets or sets the monitoring job percentage.
230
- * NOTE: This property will not be serialized. It can only be populated by the server.
231
- */
232
- readonly jobProgress?: string;
233
- }
234
-
235
- /** Defines the key vault resource settings. */
236
- export declare interface KeyVaultResourceSettings extends ResourceSettings {
237
- /** Polymorphic discriminator, which specifies the different types this object can be */
238
- resourceType: "Microsoft.KeyVault/vaults";
239
- }
240
-
241
- /** Known values of {@link CreatedByType} that the service accepts. */
242
- export declare enum KnownCreatedByType {
243
- /** User */
244
- User = "User",
245
- /** Application */
246
- Application = "Application",
247
- /** ManagedIdentity */
248
- ManagedIdentity = "ManagedIdentity",
249
- /** Key */
250
- Key = "Key"
251
- }
252
-
253
- /** Known values of {@link DependencyLevel} that the service accepts. */
254
- export declare enum KnownDependencyLevel {
255
- /** Direct */
256
- Direct = "Direct",
257
- /** Descendant */
258
- Descendant = "Descendant"
259
- }
260
-
261
- /** Known values of {@link DependencyType} that the service accepts. */
262
- export declare enum KnownDependencyType {
263
- /** RequiredForPrepare */
264
- RequiredForPrepare = "RequiredForPrepare",
265
- /** RequiredForMove */
266
- RequiredForMove = "RequiredForMove"
267
- }
268
-
269
- /** Known values of {@link JobName} that the service accepts. */
270
- export declare enum KnownJobName {
271
- /** InitialSync */
272
- InitialSync = "InitialSync"
273
- }
274
-
275
- /** Known values of {@link MoveResourceInputType} that the service accepts. */
276
- export declare enum KnownMoveResourceInputType {
277
- /** MoveResourceId */
278
- MoveResourceId = "MoveResourceId",
279
- /** MoveResourceSourceId */
280
- MoveResourceSourceId = "MoveResourceSourceId"
281
- }
282
-
283
- /** Known values of {@link MoveState} that the service accepts. */
284
- export declare enum KnownMoveState {
285
- /** AssignmentPending */
286
- AssignmentPending = "AssignmentPending",
287
- /** PreparePending */
288
- PreparePending = "PreparePending",
289
- /** PrepareInProgress */
290
- PrepareInProgress = "PrepareInProgress",
291
- /** PrepareFailed */
292
- PrepareFailed = "PrepareFailed",
293
- /** MovePending */
294
- MovePending = "MovePending",
295
- /** MoveInProgress */
296
- MoveInProgress = "MoveInProgress",
297
- /** MoveFailed */
298
- MoveFailed = "MoveFailed",
299
- /** DiscardInProgress */
300
- DiscardInProgress = "DiscardInProgress",
301
- /** DiscardFailed */
302
- DiscardFailed = "DiscardFailed",
303
- /** CommitPending */
304
- CommitPending = "CommitPending",
305
- /** CommitInProgress */
306
- CommitInProgress = "CommitInProgress",
307
- /** CommitFailed */
308
- CommitFailed = "CommitFailed",
309
- /** Committed */
310
- Committed = "Committed",
311
- /** DeleteSourcePending */
312
- DeleteSourcePending = "DeleteSourcePending",
313
- /** ResourceMoveCompleted */
314
- ResourceMoveCompleted = "ResourceMoveCompleted"
315
- }
316
-
317
- /** Known values of {@link MoveType} that the service accepts. */
318
- export declare enum KnownMoveType {
319
- /** RegionToRegion */
320
- RegionToRegion = "RegionToRegion",
321
- /** RegionToZone */
322
- RegionToZone = "RegionToZone"
323
- }
324
-
325
- /** Known values of {@link ProvisioningState} that the service accepts. */
326
- export declare enum KnownProvisioningState {
327
- /** Succeeded */
328
- Succeeded = "Succeeded",
329
- /** Updating */
330
- Updating = "Updating",
331
- /** Creating */
332
- Creating = "Creating",
333
- /** Failed */
334
- Failed = "Failed"
335
- }
336
-
337
- /** Known values of {@link ResolutionType} that the service accepts. */
338
- export declare enum KnownResolutionType {
339
- /** Manual */
340
- Manual = "Manual",
341
- /** Automatic */
342
- Automatic = "Automatic"
343
- }
344
-
345
- /** Known values of {@link ResourceIdentityType} that the service accepts. */
346
- export declare enum KnownResourceIdentityType {
347
- /** None */
348
- None = "None",
349
- /** SystemAssigned */
350
- SystemAssigned = "SystemAssigned",
351
- /** UserAssigned */
352
- UserAssigned = "UserAssigned"
353
- }
354
-
355
- /** Known values of {@link TargetAvailabilityZone} that the service accepts. */
356
- export declare enum KnownTargetAvailabilityZone {
357
- /** One */
358
- One = "1",
359
- /** Two */
360
- Two = "2",
361
- /** Three */
362
- Three = "3",
363
- /** NA */
364
- NA = "NA"
365
- }
366
-
367
- /** Known values of {@link ZoneRedundant} that the service accepts. */
368
- export declare enum KnownZoneRedundant {
369
- /** Enable */
370
- Enable = "Enable",
371
- /** Disable */
372
- Disable = "Disable"
373
- }
374
-
375
- /** Defines load balancer backend address pool properties. */
376
- export declare interface LBBackendAddressPoolResourceSettings {
377
- /** Gets or sets the backend address pool name. */
378
- name?: string;
379
- }
380
-
381
- /** Defines load balancer frontend IP configuration properties. */
382
- export declare interface LBFrontendIPConfigurationResourceSettings {
383
- /** Gets or sets the frontend IP configuration name. */
384
- name?: string;
385
- /**
386
- * Gets or sets the IP address of the Load Balancer.This is only specified if a specific
387
- * private IP address shall be allocated from the subnet specified in subnetRef.
388
- */
389
- privateIpAddress?: string;
390
- /** Gets or sets PrivateIP allocation method (Static/Dynamic). */
391
- privateIpAllocationMethod?: string;
392
- /** Defines reference to subnet. */
393
- subnet?: SubnetReference;
394
- /** Gets or sets the csv list of zones. */
395
- zones?: string;
396
- }
397
-
398
- /** Defines reference to load balancer backend address pools. */
399
- export declare interface LoadBalancerBackendAddressPoolReference extends ProxyResourceReference {
400
- }
401
-
402
- /** Defines reference to load balancer NAT rules. */
403
- export declare interface LoadBalancerNatRuleReference extends ProxyResourceReference {
404
- }
405
-
406
- /** Defines the load balancer resource settings. */
407
- export declare interface LoadBalancerResourceSettings extends ResourceSettings {
408
- /** Polymorphic discriminator, which specifies the different types this object can be */
409
- resourceType: "Microsoft.Network/loadBalancers";
410
- /** Gets or sets the Resource tags. */
411
- tags?: {
412
- [propertyName: string]: string;
413
- };
414
- /** Gets or sets load balancer sku (Basic/Standard). */
415
- sku?: string;
416
- /** Gets or sets the frontend IP configurations of the load balancer. */
417
- frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
418
- /** Gets or sets the backend address pools of the load balancer. */
419
- backendAddressPools?: LBBackendAddressPoolResourceSettings[];
420
- /**
421
- * Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given
422
- * precedence only if frontend IP configurations settings are not present.
423
- */
424
- zones?: string;
425
- }
426
-
427
- /** Defines the properties for manual resolution. */
428
- export declare interface ManualResolutionProperties {
429
- /** Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual. */
430
- targetId?: string;
431
- }
432
-
433
- /** Define the move collection. */
434
- export declare interface MoveCollection {
435
- /**
436
- * Fully qualified resource Id for the resource.
437
- * NOTE: This property will not be serialized. It can only be populated by the server.
438
- */
439
- readonly id?: string;
440
- /**
441
- * The name of the resource
442
- * NOTE: This property will not be serialized. It can only be populated by the server.
443
- */
444
- readonly name?: string;
445
- /**
446
- * The type of the resource.
447
- * NOTE: This property will not be serialized. It can only be populated by the server.
448
- */
449
- readonly type?: string;
450
- /**
451
- * The etag of the resource.
452
- * NOTE: This property will not be serialized. It can only be populated by the server.
453
- */
454
- readonly etag?: string;
455
- /** Resource tags. */
456
- tags?: {
457
- [propertyName: string]: string;
458
- };
459
- /** The geo-location where the resource lives. */
460
- location?: string;
461
- /** Defines the MSI properties of the Move Collection. */
462
- identity?: Identity;
463
- /** Defines the move collection properties. */
464
- properties?: MoveCollectionProperties;
465
- /**
466
- * Metadata pertaining to creation and last modification of the resource.
467
- * NOTE: This property will not be serialized. It can only be populated by the server.
468
- */
469
- readonly systemData?: SystemData;
470
- }
471
-
472
- /** Defines the move collection properties. */
473
- export declare interface MoveCollectionProperties {
474
- /** Gets or sets the source region. */
475
- sourceRegion?: string;
476
- /** Gets or sets the target region. */
477
- targetRegion?: string;
478
- /** Gets or sets the move region which indicates the region where the VM Regional to Zonal move will be conducted. */
479
- moveRegion?: string;
480
- /**
481
- * Defines the provisioning states.
482
- * NOTE: This property will not be serialized. It can only be populated by the server.
483
- */
484
- readonly provisioningState?: ProvisioningState;
485
- /** Gets or sets the version of move collection. */
486
- version?: string;
487
- /** Defines the MoveType. */
488
- moveType?: MoveType;
489
- /**
490
- * Defines the move collection errors.
491
- * NOTE: This property will not be serialized. It can only be populated by the server.
492
- */
493
- readonly errors?: MoveCollectionPropertiesErrors;
494
- }
495
-
496
- /** Defines the move collection errors. */
497
- export declare interface MoveCollectionPropertiesErrors extends MoveResourceError {
498
- }
499
-
500
- /** Defines the collection of move collections. */
501
- export declare interface MoveCollectionResultList {
502
- /** Gets the list of move collections. */
503
- value?: MoveCollection[];
504
- /** Gets the value of next link. */
505
- nextLink?: string;
506
- }
507
-
508
- /** Interface representing a MoveCollections. */
509
- export declare interface MoveCollections {
510
- /**
511
- * Get all the Move Collections in the subscription.
512
- * @param options The options parameters.
513
- */
514
- listMoveCollectionsBySubscription(options?: MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams): PagedAsyncIterableIterator<MoveCollection>;
515
- /**
516
- * Get all the Move Collections in the resource group.
517
- * @param resourceGroupName The Resource Group Name.
518
- * @param options The options parameters.
519
- */
520
- listMoveCollectionsByResourceGroup(resourceGroupName: string, options?: MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams): PagedAsyncIterableIterator<MoveCollection>;
521
- /**
522
- * Creates or updates a move collection.
523
- * @param resourceGroupName The Resource Group Name.
524
- * @param moveCollectionName The Move Collection Name.
525
- * @param options The options parameters.
526
- */
527
- create(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCreateOptionalParams): Promise<MoveCollectionsCreateResponse>;
528
- /**
529
- * Updates a move collection.
530
- * @param resourceGroupName The Resource Group Name.
531
- * @param moveCollectionName The Move Collection Name.
532
- * @param options The options parameters.
533
- */
534
- update(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsUpdateOptionalParams): Promise<MoveCollectionsUpdateResponse>;
535
- /**
536
- * Deletes a move collection.
537
- * @param resourceGroupName The Resource Group Name.
538
- * @param moveCollectionName The Move Collection Name.
539
- * @param options The options parameters.
540
- */
541
- beginDelete(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsDeleteResponse>, MoveCollectionsDeleteResponse>>;
542
- /**
543
- * Deletes a move collection.
544
- * @param resourceGroupName The Resource Group Name.
545
- * @param moveCollectionName The Move Collection Name.
546
- * @param options The options parameters.
547
- */
548
- beginDeleteAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDeleteOptionalParams): Promise<MoveCollectionsDeleteResponse>;
549
- /**
550
- * Gets the move collection.
551
- * @param resourceGroupName The Resource Group Name.
552
- * @param moveCollectionName The Move Collection Name.
553
- * @param options The options parameters.
554
- */
555
- get(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsGetOptionalParams): Promise<MoveCollectionsGetResponse>;
556
- /**
557
- * Initiates prepare for the set of resources included in the request body. The prepare operation is on
558
- * the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
559
- * completion the moveResource moveState do a transition to MovePending. To aid the user to
560
- * prerequisite the operation the client can call operation with validateOnly property set to true.
561
- * @param resourceGroupName The Resource Group Name.
562
- * @param moveCollectionName The Move Collection Name.
563
- * @param options The options parameters.
564
- */
565
- beginPrepare(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsPrepareOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsPrepareResponse>, MoveCollectionsPrepareResponse>>;
566
- /**
567
- * Initiates prepare for the set of resources included in the request body. The prepare operation is on
568
- * the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
569
- * completion the moveResource moveState do a transition to MovePending. To aid the user to
570
- * prerequisite the operation the client can call operation with validateOnly property set to true.
571
- * @param resourceGroupName The Resource Group Name.
572
- * @param moveCollectionName The Move Collection Name.
573
- * @param options The options parameters.
574
- */
575
- beginPrepareAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsPrepareOptionalParams): Promise<MoveCollectionsPrepareResponse>;
576
- /**
577
- * Moves the set of resources included in the request body. The move operation is triggered after the
578
- * moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
579
- * moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
580
- * operation the client can call operation with validateOnly property set to true.
581
- * @param resourceGroupName The Resource Group Name.
582
- * @param moveCollectionName The Move Collection Name.
583
- * @param options The options parameters.
584
- */
585
- beginInitiateMove(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsInitiateMoveOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsInitiateMoveResponse>, MoveCollectionsInitiateMoveResponse>>;
586
- /**
587
- * Moves the set of resources included in the request body. The move operation is triggered after the
588
- * moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
589
- * moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
590
- * operation the client can call operation with validateOnly property set to true.
591
- * @param resourceGroupName The Resource Group Name.
592
- * @param moveCollectionName The Move Collection Name.
593
- * @param options The options parameters.
594
- */
595
- beginInitiateMoveAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsInitiateMoveOptionalParams): Promise<MoveCollectionsInitiateMoveResponse>;
596
- /**
597
- * Commits the set of resources included in the request body. The commit operation is triggered on the
598
- * moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
599
- * moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
600
- * the client can call operation with validateOnly property set to true.
601
- * @param resourceGroupName The Resource Group Name.
602
- * @param moveCollectionName The Move Collection Name.
603
- * @param options The options parameters.
604
- */
605
- beginCommit(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCommitOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsCommitResponse>, MoveCollectionsCommitResponse>>;
606
- /**
607
- * Commits the set of resources included in the request body. The commit operation is triggered on the
608
- * moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
609
- * moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
610
- * the client can call operation with validateOnly property set to true.
611
- * @param resourceGroupName The Resource Group Name.
612
- * @param moveCollectionName The Move Collection Name.
613
- * @param options The options parameters.
614
- */
615
- beginCommitAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsCommitOptionalParams): Promise<MoveCollectionsCommitResponse>;
616
- /**
617
- * Discards the set of resources included in the request body. The discard operation is triggered on
618
- * the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
619
- * the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
620
- * operation the client can call operation with validateOnly property set to true.
621
- * @param resourceGroupName The Resource Group Name.
622
- * @param moveCollectionName The Move Collection Name.
623
- * @param options The options parameters.
624
- */
625
- beginDiscard(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDiscardOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsDiscardResponse>, MoveCollectionsDiscardResponse>>;
626
- /**
627
- * Discards the set of resources included in the request body. The discard operation is triggered on
628
- * the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
629
- * the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
630
- * operation the client can call operation with validateOnly property set to true.
631
- * @param resourceGroupName The Resource Group Name.
632
- * @param moveCollectionName The Move Collection Name.
633
- * @param options The options parameters.
634
- */
635
- beginDiscardAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsDiscardOptionalParams): Promise<MoveCollectionsDiscardResponse>;
636
- /**
637
- * Computes, resolves and validate the dependencies of the moveResources in the move collection.
638
- * @param resourceGroupName The Resource Group Name.
639
- * @param moveCollectionName The Move Collection Name.
640
- * @param options The options parameters.
641
- */
642
- beginResolveDependencies(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsResolveDependenciesOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsResolveDependenciesResponse>, MoveCollectionsResolveDependenciesResponse>>;
643
- /**
644
- * Computes, resolves and validate the dependencies of the moveResources in the move collection.
645
- * @param resourceGroupName The Resource Group Name.
646
- * @param moveCollectionName The Move Collection Name.
647
- * @param options The options parameters.
648
- */
649
- beginResolveDependenciesAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsResolveDependenciesOptionalParams): Promise<MoveCollectionsResolveDependenciesResponse>;
650
- /**
651
- * Removes the set of move resources included in the request body from move collection. The
652
- * orchestration is done by service. To aid the user to prerequisite the operation the client can call
653
- * operation with validateOnly property set to true.
654
- * @param resourceGroupName
655
- * @param moveCollectionName
656
- * @param options The options parameters.
657
- */
658
- beginBulkRemove(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsBulkRemoveOptionalParams): Promise<SimplePollerLike<OperationState<MoveCollectionsBulkRemoveResponse>, MoveCollectionsBulkRemoveResponse>>;
659
- /**
660
- * Removes the set of move resources included in the request body from move collection. The
661
- * orchestration is done by service. To aid the user to prerequisite the operation the client can call
662
- * operation with validateOnly property set to true.
663
- * @param resourceGroupName
664
- * @param moveCollectionName
665
- * @param options The options parameters.
666
- */
667
- beginBulkRemoveAndWait(resourceGroupName: string, moveCollectionName: string, options?: MoveCollectionsBulkRemoveOptionalParams): Promise<MoveCollectionsBulkRemoveResponse>;
668
- /**
669
- * List of the move resources for which an arm resource is required for.
670
- * @param resourceGroupName The Resource Group Name.
671
- * @param moveCollectionName The Move Collection Name.
672
- * @param sourceId The sourceId for which the api is invoked.
673
- * @param options The options parameters.
674
- */
675
- listRequiredFor(resourceGroupName: string, moveCollectionName: string, sourceId: string, options?: MoveCollectionsListRequiredForOptionalParams): Promise<MoveCollectionsListRequiredForResponse>;
676
- }
677
-
678
- /** Optional parameters. */
679
- export declare interface MoveCollectionsBulkRemoveOptionalParams extends coreClient.OperationOptions {
680
- /** Defines the request body for bulk remove of move resources operation. */
681
- body?: BulkRemoveRequest;
682
- /** Delay to wait until next poll, in milliseconds. */
683
- updateIntervalInMs?: number;
684
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
685
- resumeFrom?: string;
686
- }
687
-
688
- /** Contains response data for the bulkRemove operation. */
689
- export declare type MoveCollectionsBulkRemoveResponse = OperationStatus;
690
-
691
- /** Optional parameters. */
692
- export declare interface MoveCollectionsCommitOptionalParams extends coreClient.OperationOptions {
693
- /** Defines the request body for commit operation. */
694
- body?: CommitRequest;
695
- /** Delay to wait until next poll, in milliseconds. */
696
- updateIntervalInMs?: number;
697
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
698
- resumeFrom?: string;
699
- }
700
-
701
- /** Contains response data for the commit operation. */
702
- export declare type MoveCollectionsCommitResponse = OperationStatus;
703
-
704
- /** Optional parameters. */
705
- export declare interface MoveCollectionsCreateOptionalParams extends coreClient.OperationOptions {
706
- /** Define the move collection. */
707
- body?: MoveCollection;
708
- }
709
-
710
- /** Contains response data for the create operation. */
711
- export declare type MoveCollectionsCreateResponse = MoveCollection;
712
-
713
- /** Optional parameters. */
714
- export declare interface MoveCollectionsDeleteOptionalParams extends coreClient.OperationOptions {
715
- /** Delay to wait until next poll, in milliseconds. */
716
- updateIntervalInMs?: number;
717
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
718
- resumeFrom?: string;
719
- }
720
-
721
- /** Contains response data for the delete operation. */
722
- export declare type MoveCollectionsDeleteResponse = OperationStatus;
723
-
724
- /** Optional parameters. */
725
- export declare interface MoveCollectionsDiscardOptionalParams extends coreClient.OperationOptions {
726
- /** Defines the request body for discard operation. */
727
- body?: DiscardRequest;
728
- /** Delay to wait until next poll, in milliseconds. */
729
- updateIntervalInMs?: number;
730
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
731
- resumeFrom?: string;
732
- }
733
-
734
- /** Contains response data for the discard operation. */
735
- export declare type MoveCollectionsDiscardResponse = OperationStatus;
736
-
737
- /** Optional parameters. */
738
- export declare interface MoveCollectionsGetOptionalParams extends coreClient.OperationOptions {
739
- }
740
-
741
- /** Contains response data for the get operation. */
742
- export declare type MoveCollectionsGetResponse = MoveCollection;
743
-
744
- /** Optional parameters. */
745
- export declare interface MoveCollectionsInitiateMoveOptionalParams extends coreClient.OperationOptions {
746
- /** Defines the request body for resource move operation. */
747
- body?: ResourceMoveRequest;
748
- /** Delay to wait until next poll, in milliseconds. */
749
- updateIntervalInMs?: number;
750
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
751
- resumeFrom?: string;
752
- }
753
-
754
- /** Contains response data for the initiateMove operation. */
755
- export declare type MoveCollectionsInitiateMoveResponse = OperationStatus;
756
-
757
- /** Optional parameters. */
758
- export declare interface MoveCollectionsListMoveCollectionsByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
759
- }
760
-
761
- /** Contains response data for the listMoveCollectionsByResourceGroupNext operation. */
762
- export declare type MoveCollectionsListMoveCollectionsByResourceGroupNextResponse = MoveCollectionResultList;
763
-
764
- /** Optional parameters. */
765
- export declare interface MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams extends coreClient.OperationOptions {
766
- }
767
-
768
- /** Contains response data for the listMoveCollectionsByResourceGroup operation. */
769
- export declare type MoveCollectionsListMoveCollectionsByResourceGroupResponse = MoveCollectionResultList;
770
-
771
- /** Optional parameters. */
772
- export declare interface MoveCollectionsListMoveCollectionsBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
773
- }
774
-
775
- /** Contains response data for the listMoveCollectionsBySubscriptionNext operation. */
776
- export declare type MoveCollectionsListMoveCollectionsBySubscriptionNextResponse = MoveCollectionResultList;
777
-
778
- /** Optional parameters. */
779
- export declare interface MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
780
- }
781
-
782
- /** Contains response data for the listMoveCollectionsBySubscription operation. */
783
- export declare type MoveCollectionsListMoveCollectionsBySubscriptionResponse = MoveCollectionResultList;
784
-
785
- /** Optional parameters. */
786
- export declare interface MoveCollectionsListRequiredForOptionalParams extends coreClient.OperationOptions {
787
- }
788
-
789
- /** Contains response data for the listRequiredFor operation. */
790
- export declare type MoveCollectionsListRequiredForResponse = RequiredForResourcesCollection;
791
-
792
- /** Optional parameters. */
793
- export declare interface MoveCollectionsPrepareOptionalParams extends coreClient.OperationOptions {
794
- /** Defines the request body for initiate prepare operation. */
795
- body?: PrepareRequest;
796
- /** Delay to wait until next poll, in milliseconds. */
797
- updateIntervalInMs?: number;
798
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
799
- resumeFrom?: string;
800
- }
801
-
802
- /** Contains response data for the prepare operation. */
803
- export declare type MoveCollectionsPrepareResponse = OperationStatus;
804
-
805
- /** Optional parameters. */
806
- export declare interface MoveCollectionsResolveDependenciesOptionalParams extends coreClient.OperationOptions {
807
- /** Delay to wait until next poll, in milliseconds. */
808
- updateIntervalInMs?: number;
809
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
810
- resumeFrom?: string;
811
- }
812
-
813
- /** Contains response data for the resolveDependencies operation. */
814
- export declare type MoveCollectionsResolveDependenciesResponse = OperationStatus;
815
-
816
- /** Optional parameters. */
817
- export declare interface MoveCollectionsUpdateOptionalParams extends coreClient.OperationOptions {
818
- /** Defines the request body for updating move collection. */
819
- body?: UpdateMoveCollectionRequest;
820
- }
821
-
822
- /** Contains response data for the update operation. */
823
- export declare type MoveCollectionsUpdateResponse = MoveCollection;
824
-
825
- /** The move custom error info. */
826
- export declare interface MoveErrorInfo {
827
- /**
828
- * The affected move resources.
829
- * NOTE: This property will not be serialized. It can only be populated by the server.
830
- */
831
- readonly moveResources?: AffectedMoveResource[];
832
- }
833
-
834
- /** Defines the move resource. */
835
- export declare interface MoveResource {
836
- /**
837
- * Fully qualified resource Id for the resource.
838
- * NOTE: This property will not be serialized. It can only be populated by the server.
839
- */
840
- readonly id?: string;
841
- /**
842
- * The name of the resource
843
- * NOTE: This property will not be serialized. It can only be populated by the server.
844
- */
845
- readonly name?: string;
846
- /**
847
- * The type of the resource.
848
- * NOTE: This property will not be serialized. It can only be populated by the server.
849
- */
850
- readonly type?: string;
851
- /** Defines the move resource properties. */
852
- properties?: MoveResourceProperties;
853
- /**
854
- * Metadata pertaining to creation and last modification of the resource.
855
- * NOTE: This property will not be serialized. It can only be populated by the server.
856
- */
857
- readonly systemData?: SystemData;
858
- }
859
-
860
- /** Defines the collection of move resources. */
861
- export declare interface MoveResourceCollection {
862
- /** Gets the list of move resources. */
863
- value?: MoveResource[];
864
- /** Gets the value of next link. */
865
- nextLink?: string;
866
- /** Gets or sets the list of summary items and the field on which summary is done. */
867
- summaryCollection?: SummaryCollection;
868
- /**
869
- * Gets the total count.
870
- * NOTE: This property will not be serialized. It can only be populated by the server.
871
- */
872
- readonly totalCount?: number;
873
- }
874
-
875
- /** Defines the dependency of the move resource. */
876
- export declare interface MoveResourceDependency {
877
- /** Gets the source ARM ID of the dependent resource. */
878
- id?: string;
879
- /** Gets the dependency resolution status. */
880
- resolutionStatus?: string;
881
- /** Defines the resolution type. */
882
- resolutionType?: ResolutionType;
883
- /** Defines the dependency type. */
884
- dependencyType?: DependencyType;
885
- /** Defines the properties for manual resolution. */
886
- manualResolution?: ManualResolutionProperties;
887
- /** Defines the properties for automatic resolution. */
888
- automaticResolution?: AutomaticResolutionProperties;
889
- /** Gets or sets a value indicating whether the dependency is optional. */
890
- isOptional?: string;
891
- }
892
-
893
- /** Defines the dependency override of the move resource. */
894
- export declare interface MoveResourceDependencyOverride {
895
- /** Gets or sets the ARM ID of the dependent resource. */
896
- id?: string;
897
- /**
898
- * Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
899
- * the dependent resource.
900
- */
901
- targetId?: string;
902
- }
903
-
904
- /** An error response from the azure resource mover service. */
905
- export declare interface MoveResourceError {
906
- /** The move resource error body. */
907
- properties?: MoveResourceErrorBody;
908
- }
909
-
910
- /** An error response from the Azure Migrate service. */
911
- export declare interface MoveResourceErrorBody {
912
- /**
913
- * An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
914
- * NOTE: This property will not be serialized. It can only be populated by the server.
915
- */
916
- readonly code?: string;
917
- /**
918
- * A message describing the error, intended to be suitable for display in a user interface.
919
- * NOTE: This property will not be serialized. It can only be populated by the server.
920
- */
921
- readonly message?: string;
922
- /**
923
- * The target of the particular error. For example, the name of the property in error.
924
- * NOTE: This property will not be serialized. It can only be populated by the server.
925
- */
926
- readonly target?: string;
927
- /**
928
- * A list of additional details about the error.
929
- * NOTE: This property will not be serialized. It can only be populated by the server.
930
- */
931
- readonly details?: MoveResourceErrorBody[];
932
- }
933
-
934
- /** Move resource filter. */
935
- export declare interface MoveResourceFilter {
936
- properties?: MoveResourceFilterProperties;
937
- }
938
-
939
- export declare interface MoveResourceFilterProperties {
940
- /** The provisioning state. */
941
- provisioningState?: string;
942
- }
943
-
944
- /**
945
- * Defines values for MoveResourceInputType. \
946
- * {@link KnownMoveResourceInputType} can be used interchangeably with MoveResourceInputType,
947
- * this enum contains the known values that the service supports.
948
- * ### Known values supported by the service
949
- * **MoveResourceId** \
950
- * **MoveResourceSourceId**
951
- */
952
- export declare type MoveResourceInputType = string;
953
-
954
- /** Defines the move resource properties. */
955
- export declare interface MoveResourceProperties {
956
- /**
957
- * Defines the provisioning states.
958
- * NOTE: This property will not be serialized. It can only be populated by the server.
959
- */
960
- readonly provisioningState?: ProvisioningState;
961
- /** Gets or sets the Source ARM Id of the resource. */
962
- sourceId: string;
963
- /**
964
- * Gets or sets the Target ARM Id of the resource.
965
- * NOTE: This property will not be serialized. It can only be populated by the server.
966
- */
967
- readonly targetId?: string;
968
- /** Gets or sets the existing target ARM Id of the resource. */
969
- existingTargetId?: string;
970
- /** Gets or sets the resource settings. */
971
- resourceSettings?: ResourceSettingsUnion;
972
- /**
973
- * Gets or sets the source resource settings.
974
- * NOTE: This property will not be serialized. It can only be populated by the server.
975
- */
976
- readonly sourceResourceSettings?: ResourceSettingsUnion;
977
- /**
978
- * Defines the move resource status.
979
- * NOTE: This property will not be serialized. It can only be populated by the server.
980
- */
981
- readonly moveStatus?: MoveResourcePropertiesMoveStatus;
982
- /**
983
- * Gets or sets the move resource dependencies.
984
- * NOTE: This property will not be serialized. It can only be populated by the server.
985
- */
986
- readonly dependsOn?: MoveResourceDependency[];
987
- /** Gets or sets the move resource dependencies overrides. */
988
- dependsOnOverrides?: MoveResourceDependencyOverride[];
989
- /**
990
- * Gets a value indicating whether the resolve action is required over the move collection.
991
- * NOTE: This property will not be serialized. It can only be populated by the server.
992
- */
993
- readonly isResolveRequired?: boolean;
994
- /**
995
- * Defines the move resource errors.
996
- * NOTE: This property will not be serialized. It can only be populated by the server.
997
- */
998
- readonly errors?: MoveResourcePropertiesErrors;
999
- }
1000
-
1001
- /** Defines the move resource errors. */
1002
- export declare interface MoveResourcePropertiesErrors extends MoveResourceError {
1003
- }
1004
-
1005
- /** Defines the move resource status. */
1006
- export declare interface MoveResourcePropertiesMoveStatus extends MoveResourceStatus {
1007
- }
1008
-
1009
- /** Interface representing a MoveResources. */
1010
- export declare interface MoveResources {
1011
- /**
1012
- * Lists the Move Resources in the move collection.
1013
- * @param resourceGroupName The Resource Group Name.
1014
- * @param moveCollectionName The Move Collection Name.
1015
- * @param options The options parameters.
1016
- */
1017
- list(resourceGroupName: string, moveCollectionName: string, options?: MoveResourcesListOptionalParams): PagedAsyncIterableIterator<MoveResource>;
1018
- /**
1019
- * Creates or updates a Move Resource in the move collection.
1020
- * @param resourceGroupName The Resource Group Name.
1021
- * @param moveCollectionName The Move Collection Name.
1022
- * @param moveResourceName The Move Resource Name.
1023
- * @param options The options parameters.
1024
- */
1025
- beginCreate(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<SimplePollerLike<OperationState<MoveResourcesCreateResponse>, MoveResourcesCreateResponse>>;
1026
- /**
1027
- * Creates or updates a Move Resource in the move collection.
1028
- * @param resourceGroupName The Resource Group Name.
1029
- * @param moveCollectionName The Move Collection Name.
1030
- * @param moveResourceName The Move Resource Name.
1031
- * @param options The options parameters.
1032
- */
1033
- beginCreateAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesCreateOptionalParams): Promise<MoveResourcesCreateResponse>;
1034
- /**
1035
- * Deletes a Move Resource from the move collection.
1036
- * @param resourceGroupName The Resource Group Name.
1037
- * @param moveCollectionName The Move Collection Name.
1038
- * @param moveResourceName The Move Resource Name.
1039
- * @param options The options parameters.
1040
- */
1041
- beginDelete(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MoveResourcesDeleteResponse>, MoveResourcesDeleteResponse>>;
1042
- /**
1043
- * Deletes a Move Resource from the move collection.
1044
- * @param resourceGroupName The Resource Group Name.
1045
- * @param moveCollectionName The Move Collection Name.
1046
- * @param moveResourceName The Move Resource Name.
1047
- * @param options The options parameters.
1048
- */
1049
- beginDeleteAndWait(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesDeleteOptionalParams): Promise<MoveResourcesDeleteResponse>;
1050
- /**
1051
- * Gets the Move Resource.
1052
- * @param resourceGroupName The Resource Group Name.
1053
- * @param moveCollectionName The Move Collection Name.
1054
- * @param moveResourceName The Move Resource Name.
1055
- * @param options The options parameters.
1056
- */
1057
- get(resourceGroupName: string, moveCollectionName: string, moveResourceName: string, options?: MoveResourcesGetOptionalParams): Promise<MoveResourcesGetResponse>;
1058
- }
1059
-
1060
- /** Optional parameters. */
1061
- export declare interface MoveResourcesCreateOptionalParams extends coreClient.OperationOptions {
1062
- /** Defines the move resource. */
1063
- body?: MoveResource;
1064
- /** Delay to wait until next poll, in milliseconds. */
1065
- updateIntervalInMs?: number;
1066
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1067
- resumeFrom?: string;
1068
- }
1069
-
1070
- /** Contains response data for the create operation. */
1071
- export declare type MoveResourcesCreateResponse = MoveResource;
1072
-
1073
- /** Optional parameters. */
1074
- export declare interface MoveResourcesDeleteOptionalParams extends coreClient.OperationOptions {
1075
- /** Delay to wait until next poll, in milliseconds. */
1076
- updateIntervalInMs?: number;
1077
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1078
- resumeFrom?: string;
1079
- }
1080
-
1081
- /** Contains response data for the delete operation. */
1082
- export declare type MoveResourcesDeleteResponse = OperationStatus;
1083
-
1084
- /** Optional parameters. */
1085
- export declare interface MoveResourcesGetOptionalParams extends coreClient.OperationOptions {
1086
- }
1087
-
1088
- /** Contains response data for the get operation. */
1089
- export declare type MoveResourcesGetResponse = MoveResource;
1090
-
1091
- /** Optional parameters. */
1092
- export declare interface MoveResourcesListNextOptionalParams extends coreClient.OperationOptions {
1093
- }
1094
-
1095
- /** Contains response data for the listNext operation. */
1096
- export declare type MoveResourcesListNextResponse = MoveResourceCollection;
1097
-
1098
- /** Optional parameters. */
1099
- export declare interface MoveResourcesListOptionalParams extends coreClient.OperationOptions {
1100
- /** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
1101
- filter?: string;
1102
- }
1103
-
1104
- /** Contains response data for the list operation. */
1105
- export declare type MoveResourcesListResponse = MoveResourceCollection;
1106
-
1107
- /** Defines the move resource status. */
1108
- export declare interface MoveResourceStatus {
1109
- /**
1110
- * Defines the MoveResource states.
1111
- * NOTE: This property will not be serialized. It can only be populated by the server.
1112
- */
1113
- readonly moveState?: MoveState;
1114
- /** Defines the job status. */
1115
- jobStatus?: JobStatus;
1116
- /** An error response from the azure resource mover service. */
1117
- errors?: MoveResourceError;
1118
- }
1119
-
1120
- /**
1121
- * Defines values for MoveState. \
1122
- * {@link KnownMoveState} can be used interchangeably with MoveState,
1123
- * this enum contains the known values that the service supports.
1124
- * ### Known values supported by the service
1125
- * **AssignmentPending** \
1126
- * **PreparePending** \
1127
- * **PrepareInProgress** \
1128
- * **PrepareFailed** \
1129
- * **MovePending** \
1130
- * **MoveInProgress** \
1131
- * **MoveFailed** \
1132
- * **DiscardInProgress** \
1133
- * **DiscardFailed** \
1134
- * **CommitPending** \
1135
- * **CommitInProgress** \
1136
- * **CommitFailed** \
1137
- * **Committed** \
1138
- * **DeleteSourcePending** \
1139
- * **ResourceMoveCompleted**
1140
- */
1141
- export declare type MoveState = string;
1142
-
1143
- /**
1144
- * Defines values for MoveType. \
1145
- * {@link KnownMoveType} can be used interchangeably with MoveType,
1146
- * this enum contains the known values that the service supports.
1147
- * ### Known values supported by the service
1148
- * **RegionToRegion** \
1149
- * **RegionToZone**
1150
- */
1151
- export declare type MoveType = string;
1152
-
1153
- /** Defines the network interface resource settings. */
1154
- export declare interface NetworkInterfaceResourceSettings extends ResourceSettings {
1155
- /** Polymorphic discriminator, which specifies the different types this object can be */
1156
- resourceType: "Microsoft.Network/networkInterfaces";
1157
- /** Gets or sets the Resource tags. */
1158
- tags?: {
1159
- [propertyName: string]: string;
1160
- };
1161
- /** Gets or sets the IP configurations of the NIC. */
1162
- ipConfigurations?: NicIpConfigurationResourceSettings[];
1163
- /** Gets or sets a value indicating whether accelerated networking is enabled. */
1164
- enableAcceleratedNetworking?: boolean;
1165
- }
1166
-
1167
- /** Defines the NSG resource settings. */
1168
- export declare interface NetworkSecurityGroupResourceSettings extends ResourceSettings {
1169
- /** Polymorphic discriminator, which specifies the different types this object can be */
1170
- resourceType: "Microsoft.Network/networkSecurityGroups";
1171
- /** Gets or sets the Resource tags. */
1172
- tags?: {
1173
- [propertyName: string]: string;
1174
- };
1175
- /** Gets or sets Security rules of network security group. */
1176
- securityRules?: NsgSecurityRule[];
1177
- }
1178
-
1179
- /** Defines NIC IP configuration properties. */
1180
- export declare interface NicIpConfigurationResourceSettings {
1181
- /** Gets or sets the IP configuration name. */
1182
- name?: string;
1183
- /** Gets or sets the private IP address of the network interface IP Configuration. */
1184
- privateIpAddress?: string;
1185
- /** Gets or sets the private IP address allocation method. */
1186
- privateIpAllocationMethod?: string;
1187
- /** Defines reference to subnet. */
1188
- subnet?: SubnetReference;
1189
- /** Gets or sets a value indicating whether this IP configuration is the primary. */
1190
- primary?: boolean;
1191
- /** Gets or sets the references of the load balancer backend address pools. */
1192
- loadBalancerBackendAddressPools?: LoadBalancerBackendAddressPoolReference[];
1193
- /** Gets or sets the references of the load balancer NAT rules. */
1194
- loadBalancerNatRules?: LoadBalancerNatRuleReference[];
1195
- /** Defines reference to a public IP. */
1196
- publicIp?: PublicIpReference;
1197
- }
1198
-
1199
- /** Defines reference to NSG. */
1200
- export declare interface NsgReference extends AzureResourceReference {
1201
- }
1202
-
1203
- /** Security Rule data model for Network Security Groups. */
1204
- export declare interface NsgSecurityRule {
1205
- /** Gets or sets the Security rule name. */
1206
- name?: string;
1207
- /**
1208
- * Gets or sets whether network traffic is allowed or denied.
1209
- * Possible values are “Allow” and “Deny”.
1210
- */
1211
- access?: string;
1212
- /** Gets or sets a description for this rule. Restricted to 140 chars. */
1213
- description?: string;
1214
- /**
1215
- * Gets or sets destination address prefix. CIDR or source IP range.
1216
- * A “*” can also be used to match all source IPs. Default tags such
1217
- * as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.
1218
- */
1219
- destinationAddressPrefix?: string;
1220
- /**
1221
- * Gets or sets Destination Port or Range. Integer or range between
1222
- * 0 and 65535. A “*” can also be used to match all ports.
1223
- */
1224
- destinationPortRange?: string;
1225
- /**
1226
- * Gets or sets the direction of the rule.InBound or Outbound. The
1227
- * direction specifies if rule will be evaluated on incoming or outgoing traffic.
1228
- */
1229
- direction?: string;
1230
- /**
1231
- * Gets or sets the priority of the rule. The value can be between
1232
- * 100 and 4096. The priority number must be unique for each rule in the collection.
1233
- * The lower the priority number, the higher the priority of the rule.
1234
- */
1235
- priority?: number;
1236
- /** Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*). */
1237
- protocol?: string;
1238
- /**
1239
- * Gets or sets source address prefix. CIDR or source IP range. A
1240
- * “*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,
1241
- * ‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress
1242
- * rule, specifies where network traffic originates from.
1243
- */
1244
- sourceAddressPrefix?: string;
1245
- /**
1246
- * Gets or sets Source Port or Range. Integer or range between 0 and
1247
- * 65535. A “*” can also be used to match all ports.
1248
- */
1249
- sourcePortRange?: string;
1250
- }
1251
-
1252
- /** The operation error info. */
1253
- export declare interface OperationErrorAdditionalInfo {
1254
- /**
1255
- * The error type.
1256
- * NOTE: This property will not be serialized. It can only be populated by the server.
1257
- */
1258
- readonly type?: string;
1259
- /**
1260
- * The operation error info.
1261
- * NOTE: This property will not be serialized. It can only be populated by the server.
1262
- */
1263
- readonly info?: MoveErrorInfo;
1264
- }
1265
-
1266
- /** Operations discovery class. */
1267
- export declare interface OperationsDiscovery {
1268
- /**
1269
- * Gets or sets Name of the API.
1270
- * The name of the operation being performed on this particular object. It should
1271
- * match the action name that appears in RBAC / the event service.
1272
- * Examples of operations include:
1273
- * * Microsoft.Compute/virtualMachine/capture/action
1274
- * * Microsoft.Compute/virtualMachine/restart/action
1275
- * * Microsoft.Compute/virtualMachine/write
1276
- * * Microsoft.Compute/virtualMachine/read
1277
- * * Microsoft.Compute/virtualMachine/delete
1278
- * Each action should include, in order:
1279
- * (1) Resource Provider Namespace
1280
- * (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
1281
- * Azure database)
1282
- * (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
1283
- * on a collection or named value, Write should be used.
1284
- * If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
1285
- * is a POST, Action should be used.
1286
- * As a note: all resource providers would need to include the "{Resource Provider
1287
- * Namespace}/register/action" operation in their response.
1288
- * This API is used to register for their service, and should include details about the
1289
- * operation (e.g. a localized name for the resource provider + any special
1290
- * considerations like PII release).
1291
- */
1292
- name?: string;
1293
- /** Indicates whether the operation is a data action */
1294
- isDataAction?: boolean;
1295
- /**
1296
- * Contains the localized display information for this particular operation / action. These
1297
- * value will be used by several clients for
1298
- * (1) custom role definitions for RBAC;
1299
- * (2) complex query filters for the event service; and
1300
- * (3) audit history / records for management operations.
1301
- */
1302
- display?: Display;
1303
- /**
1304
- * Gets or sets Origin.
1305
- * The intended executor of the operation; governs the display of the operation in the
1306
- * RBAC UX and the audit logs UX.
1307
- * Default value is "user,system".
1308
- */
1309
- origin?: string;
1310
- /** ClientDiscovery properties. */
1311
- properties?: Record<string, unknown>;
1312
- }
1313
-
1314
- /** Collection of ClientDiscovery details. */
1315
- export declare interface OperationsDiscoveryCollection {
1316
- /** Gets or sets the ClientDiscovery details. */
1317
- value?: OperationsDiscovery[];
1318
- /** Gets or sets the value of next link. */
1319
- nextLink?: string;
1320
- }
1321
-
1322
- /** Optional parameters. */
1323
- export declare interface OperationsDiscoveryGetOptionalParams extends coreClient.OperationOptions {
1324
- }
1325
-
1326
- /** Contains response data for the get operation. */
1327
- export declare type OperationsDiscoveryGetResponse = OperationsDiscoveryCollection;
1328
-
1329
- /** Interface representing a OperationsDiscoveryOperations. */
1330
- export declare interface OperationsDiscoveryOperations {
1331
- /** @param options The options parameters. */
1332
- get(options?: OperationsDiscoveryGetOptionalParams): Promise<OperationsDiscoveryGetResponse>;
1333
- }
1334
-
1335
- /** Operation status REST resource. */
1336
- export declare interface OperationStatus {
1337
- /**
1338
- * Resource Id.
1339
- * NOTE: This property will not be serialized. It can only be populated by the server.
1340
- */
1341
- readonly id?: string;
1342
- /**
1343
- * Operation name.
1344
- * NOTE: This property will not be serialized. It can only be populated by the server.
1345
- */
1346
- readonly name?: string;
1347
- /**
1348
- * Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
1349
- * NOTE: This property will not be serialized. It can only be populated by the server.
1350
- */
1351
- readonly status?: string;
1352
- /**
1353
- * Start time.
1354
- * NOTE: This property will not be serialized. It can only be populated by the server.
1355
- */
1356
- readonly startTime?: string;
1357
- /**
1358
- * End time.
1359
- * NOTE: This property will not be serialized. It can only be populated by the server.
1360
- */
1361
- readonly endTime?: string;
1362
- /**
1363
- * Error stating all error details for the operation.
1364
- * NOTE: This property will not be serialized. It can only be populated by the server.
1365
- */
1366
- readonly error?: OperationStatusError;
1367
- /**
1368
- * Custom data.
1369
- * NOTE: This property will not be serialized. It can only be populated by the server.
1370
- */
1371
- readonly properties?: Record<string, unknown>;
1372
- }
1373
-
1374
- /** Class for operation status errors. */
1375
- export declare interface OperationStatusError {
1376
- /**
1377
- * The error code.
1378
- * NOTE: This property will not be serialized. It can only be populated by the server.
1379
- */
1380
- readonly code?: string;
1381
- /**
1382
- * The error message.
1383
- * NOTE: This property will not be serialized. It can only be populated by the server.
1384
- */
1385
- readonly message?: string;
1386
- /**
1387
- * The error details.
1388
- * NOTE: This property will not be serialized. It can only be populated by the server.
1389
- */
1390
- readonly details?: OperationStatusError[];
1391
- /**
1392
- * The additional info.
1393
- * NOTE: This property will not be serialized. It can only be populated by the server.
1394
- */
1395
- readonly additionalInfo?: OperationErrorAdditionalInfo[];
1396
- }
1397
-
1398
- /** Defines the request body for initiate prepare operation. */
1399
- export declare interface PrepareRequest {
1400
- /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
1401
- validateOnly?: boolean;
1402
- /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
1403
- moveResources: string[];
1404
- /** Defines the move resource input type. */
1405
- moveResourceInputType?: MoveResourceInputType;
1406
- }
1407
-
1408
- /**
1409
- * Defines values for ProvisioningState. \
1410
- * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1411
- * this enum contains the known values that the service supports.
1412
- * ### Known values supported by the service
1413
- * **Succeeded** \
1414
- * **Updating** \
1415
- * **Creating** \
1416
- * **Failed**
1417
- */
1418
- export declare type ProvisioningState = string;
1419
-
1420
- /** Defines reference to a proxy resource. */
1421
- export declare interface ProxyResourceReference extends AzureResourceReference {
1422
- /** Gets the name of the proxy resource on the target side. */
1423
- name?: string;
1424
- }
1425
-
1426
- /** Defines the public IP address resource settings. */
1427
- export declare interface PublicIPAddressResourceSettings extends ResourceSettings {
1428
- /** Polymorphic discriminator, which specifies the different types this object can be */
1429
- resourceType: "Microsoft.Network/publicIPAddresses";
1430
- /** Gets or sets the Resource tags. */
1431
- tags?: {
1432
- [propertyName: string]: string;
1433
- };
1434
- /** Gets or sets the domain name label. */
1435
- domainNameLabel?: string;
1436
- /** Gets or sets the fully qualified domain name. */
1437
- fqdn?: string;
1438
- /** Gets or sets public IP allocation method. */
1439
- publicIpAllocationMethod?: string;
1440
- /** Gets or sets public IP sku. */
1441
- sku?: string;
1442
- /** Gets or sets public IP zones. */
1443
- zones?: string;
1444
- }
1445
-
1446
- /** Defines reference to a public IP. */
1447
- export declare interface PublicIpReference extends AzureResourceReference {
1448
- }
1449
-
1450
- /** Required for resources collection. */
1451
- export declare interface RequiredForResourcesCollection {
1452
- /** Gets or sets the list of source Ids for which the input resource is required. */
1453
- sourceIds?: string[];
1454
- }
1455
-
1456
- /**
1457
- * Defines values for ResolutionType. \
1458
- * {@link KnownResolutionType} can be used interchangeably with ResolutionType,
1459
- * this enum contains the known values that the service supports.
1460
- * ### Known values supported by the service
1461
- * **Manual** \
1462
- * **Automatic**
1463
- */
1464
- export declare type ResolutionType = string;
1465
-
1466
- /** Defines the resource group resource settings. */
1467
- export declare interface ResourceGroupResourceSettings extends ResourceSettings {
1468
- /** Polymorphic discriminator, which specifies the different types this object can be */
1469
- resourceType: "resourceGroups";
1470
- }
1471
-
1472
- /**
1473
- * Defines values for ResourceIdentityType. \
1474
- * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
1475
- * this enum contains the known values that the service supports.
1476
- * ### Known values supported by the service
1477
- * **None** \
1478
- * **SystemAssigned** \
1479
- * **UserAssigned**
1480
- */
1481
- export declare type ResourceIdentityType = string;
1482
-
1483
- /** Defines the request body for resource move operation. */
1484
- export declare interface ResourceMoveRequest {
1485
- /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
1486
- validateOnly?: boolean;
1487
- /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
1488
- moveResources: string[];
1489
- /** Defines the move resource input type. */
1490
- moveResourceInputType?: MoveResourceInputType;
1491
- }
1492
-
1493
- export declare class ResourceMoverServiceAPI extends coreClient.ServiceClient {
1494
- $host: string;
1495
- subscriptionId?: string;
1496
- apiVersion: string;
1497
- /**
1498
- * Initializes a new instance of the ResourceMoverServiceAPI class.
1499
- * @param credentials Subscription credentials which uniquely identify client subscription.
1500
- * @param subscriptionId The Subscription ID.
1501
- * @param options The parameter options
1502
- */
1503
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceMoverServiceAPIOptionalParams);
1504
- constructor(credentials: coreAuth.TokenCredential, options?: ResourceMoverServiceAPIOptionalParams);
1505
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1506
- private addCustomApiVersionPolicy;
1507
- moveCollections: MoveCollections;
1508
- moveResources: MoveResources;
1509
- unresolvedDependencies: UnresolvedDependencies;
1510
- operationsDiscoveryOperations: OperationsDiscoveryOperations;
1511
- }
1512
-
1513
- /** Optional parameters. */
1514
- export declare interface ResourceMoverServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
1515
- /** server parameter */
1516
- $host?: string;
1517
- /** Api Version */
1518
- apiVersion?: string;
1519
- /** Overrides client endpoint. */
1520
- endpoint?: string;
1521
- }
1522
-
1523
- /** Gets or sets the resource settings. */
1524
- export declare interface ResourceSettings {
1525
- /** Polymorphic discriminator, which specifies the different types this object can be */
1526
- resourceType: "Microsoft.Compute/virtualMachines" | "Microsoft.Compute/availabilitySets" | "Microsoft.Network/virtualNetworks" | "Microsoft.Network/networkInterfaces" | "Microsoft.Network/networkSecurityGroups" | "Microsoft.Network/loadBalancers" | "Microsoft.Sql/servers" | "Microsoft.Sql/servers/elasticPools" | "Microsoft.Sql/servers/databases" | "resourceGroups" | "Microsoft.Network/publicIPAddresses" | "Microsoft.KeyVault/vaults" | "Microsoft.Compute/diskEncryptionSets";
1527
- /** Gets or sets the target Resource name. */
1528
- targetResourceName?: string;
1529
- /** Gets or sets the target resource group name. */
1530
- targetResourceGroupName?: string;
1531
- }
1532
-
1533
- export declare type ResourceSettingsUnion = ResourceSettings | VirtualMachineResourceSettings | AvailabilitySetResourceSettings | VirtualNetworkResourceSettings | NetworkInterfaceResourceSettings | NetworkSecurityGroupResourceSettings | LoadBalancerResourceSettings | SqlServerResourceSettings | SqlElasticPoolResourceSettings | SqlDatabaseResourceSettings | ResourceGroupResourceSettings | PublicIPAddressResourceSettings | KeyVaultResourceSettings | DiskEncryptionSetResourceSettings;
1534
-
1535
- /** Defines the Sql Database resource settings. */
1536
- export declare interface SqlDatabaseResourceSettings extends ResourceSettings {
1537
- /** Polymorphic discriminator, which specifies the different types this object can be */
1538
- resourceType: "Microsoft.Sql/servers/databases";
1539
- /** Gets or sets the Resource tags. */
1540
- tags?: {
1541
- [propertyName: string]: string;
1542
- };
1543
- /** Defines the zone redundant resource setting. */
1544
- zoneRedundant?: ZoneRedundant;
1545
- }
1546
-
1547
- /** Defines the Sql ElasticPool resource settings. */
1548
- export declare interface SqlElasticPoolResourceSettings extends ResourceSettings {
1549
- /** Polymorphic discriminator, which specifies the different types this object can be */
1550
- resourceType: "Microsoft.Sql/servers/elasticPools";
1551
- /** Gets or sets the Resource tags. */
1552
- tags?: {
1553
- [propertyName: string]: string;
1554
- };
1555
- /** Defines the zone redundant resource setting. */
1556
- zoneRedundant?: ZoneRedundant;
1557
- }
1558
-
1559
- /** Defines the SQL Server resource settings. */
1560
- export declare interface SqlServerResourceSettings extends ResourceSettings {
1561
- /** Polymorphic discriminator, which specifies the different types this object can be */
1562
- resourceType: "Microsoft.Sql/servers";
1563
- }
1564
-
1565
- /** Defines reference to subnet. */
1566
- export declare interface SubnetReference extends ProxyResourceReference {
1567
- }
1568
-
1569
- /** Defines the virtual network subnets resource settings. */
1570
- export declare interface SubnetResourceSettings {
1571
- /** Gets or sets the Subnet name. */
1572
- name?: string;
1573
- /** Gets or sets address prefix for the subnet. */
1574
- addressPrefix?: string;
1575
- /** Defines reference to NSG. */
1576
- networkSecurityGroup?: NsgReference;
1577
- }
1578
-
1579
- /** Summary item. */
1580
- export declare interface Summary {
1581
- /** Gets the count. */
1582
- count?: number;
1583
- /** Gets the item. */
1584
- item?: string;
1585
- }
1586
-
1587
- /** Summary Collection. */
1588
- export declare interface SummaryCollection {
1589
- /** Gets or sets the field name on which summary is done. */
1590
- fieldName?: string;
1591
- /** Gets or sets the list of summary items. */
1592
- summary?: Summary[];
1593
- }
1594
-
1595
- /** Metadata pertaining to creation and last modification of the resource. */
1596
- export declare interface SystemData {
1597
- /** The identity that created the resource. */
1598
- createdBy?: string;
1599
- /** The type of identity that created the resource. */
1600
- createdByType?: CreatedByType;
1601
- /** The timestamp of resource creation (UTC). */
1602
- createdAt?: Date;
1603
- /** The identity that last modified the resource. */
1604
- lastModifiedBy?: string;
1605
- /** The type of identity that last modified the resource. */
1606
- lastModifiedByType?: CreatedByType;
1607
- /** The timestamp of resource last modification (UTC) */
1608
- lastModifiedAt?: Date;
1609
- }
1610
-
1611
- /**
1612
- * Defines values for TargetAvailabilityZone. \
1613
- * {@link KnownTargetAvailabilityZone} can be used interchangeably with TargetAvailabilityZone,
1614
- * this enum contains the known values that the service supports.
1615
- * ### Known values supported by the service
1616
- * **1** \
1617
- * **2** \
1618
- * **3** \
1619
- * **NA**
1620
- */
1621
- export declare type TargetAvailabilityZone = string;
1622
-
1623
- /** Interface representing a UnresolvedDependencies. */
1624
- export declare interface UnresolvedDependencies {
1625
- /**
1626
- * Gets a list of unresolved dependencies.
1627
- * @param resourceGroupName The Resource Group Name.
1628
- * @param moveCollectionName The Move Collection Name.
1629
- * @param options The options parameters.
1630
- */
1631
- list(resourceGroupName: string, moveCollectionName: string, options?: UnresolvedDependenciesGetOptionalParams): PagedAsyncIterableIterator<UnresolvedDependency>;
1632
- }
1633
-
1634
- /** Unresolved dependencies contract. */
1635
- export declare interface UnresolvedDependenciesFilter {
1636
- properties?: UnresolvedDependenciesFilterProperties;
1637
- }
1638
-
1639
- export declare interface UnresolvedDependenciesFilterProperties {
1640
- /** The count of the resource. */
1641
- count?: number;
1642
- }
1643
-
1644
- /** Optional parameters. */
1645
- export declare interface UnresolvedDependenciesGetNextOptionalParams extends coreClient.OperationOptions {
1646
- }
1647
-
1648
- /** Contains response data for the getNext operation. */
1649
- export declare type UnresolvedDependenciesGetNextResponse = UnresolvedDependencyCollection;
1650
-
1651
- /** Optional parameters. */
1652
- export declare interface UnresolvedDependenciesGetOptionalParams extends coreClient.OperationOptions {
1653
- /** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
1654
- filter?: string;
1655
- /** Defines the dependency level. */
1656
- dependencyLevel?: DependencyLevel;
1657
- /** OData order by query option. For example, you can use $orderby=Count desc. */
1658
- orderby?: string;
1659
- }
1660
-
1661
- /** Contains response data for the get operation. */
1662
- export declare type UnresolvedDependenciesGetResponse = UnresolvedDependencyCollection;
1663
-
1664
- /** Unresolved dependency. */
1665
- export declare interface UnresolvedDependency {
1666
- /** Gets or sets the count. */
1667
- count?: number;
1668
- /** Gets or sets the arm id of the dependency. */
1669
- id?: string;
1670
- }
1671
-
1672
- /** Unresolved dependency collection. */
1673
- export declare interface UnresolvedDependencyCollection {
1674
- /** Gets or sets the list of unresolved dependencies. */
1675
- value?: UnresolvedDependency[];
1676
- /** Gets or sets the value of next link. */
1677
- nextLink?: string;
1678
- /**
1679
- * Gets or sets the list of summary items and the field on which summary is done.
1680
- * NOTE: This property will not be serialized. It can only be populated by the server.
1681
- */
1682
- readonly summaryCollection?: SummaryCollection;
1683
- /**
1684
- * Gets the total count.
1685
- * NOTE: This property will not be serialized. It can only be populated by the server.
1686
- */
1687
- readonly totalCount?: number;
1688
- }
1689
-
1690
- /** Defines the request body for updating move collection. */
1691
- export declare interface UpdateMoveCollectionRequest {
1692
- /** Gets or sets the Resource tags. */
1693
- tags?: {
1694
- [propertyName: string]: string;
1695
- };
1696
- /** Defines the MSI properties of the Move Collection. */
1697
- identity?: Identity;
1698
- }
1699
-
1700
- /** Gets or sets the virtual machine resource settings. */
1701
- export declare interface VirtualMachineResourceSettings extends ResourceSettings {
1702
- /** Polymorphic discriminator, which specifies the different types this object can be */
1703
- resourceType: "Microsoft.Compute/virtualMachines";
1704
- /** Gets or sets the Resource tags. */
1705
- tags?: {
1706
- [propertyName: string]: string;
1707
- };
1708
- /** Gets or sets user-managed identities */
1709
- userManagedIdentities?: string[];
1710
- /** Gets or sets the target availability zone. */
1711
- targetAvailabilityZone?: TargetAvailabilityZone;
1712
- /** Gets or sets the target virtual machine size. */
1713
- targetVmSize?: string;
1714
- /** Gets or sets the target availability set id for virtual machines not in an availability set at source. */
1715
- targetAvailabilitySetId?: string;
1716
- }
1717
-
1718
- /** Defines the virtual network resource settings. */
1719
- export declare interface VirtualNetworkResourceSettings extends ResourceSettings {
1720
- /** Polymorphic discriminator, which specifies the different types this object can be */
1721
- resourceType: "Microsoft.Network/virtualNetworks";
1722
- /** Gets or sets the Resource tags. */
1723
- tags?: {
1724
- [propertyName: string]: string;
1725
- };
1726
- /**
1727
- * Gets or sets a value indicating whether gets or sets whether the
1728
- * DDOS protection should be switched on.
1729
- */
1730
- enableDdosProtection?: boolean;
1731
- /** Gets or sets the address prefixes for the virtual network. */
1732
- addressSpace?: string[];
1733
- /**
1734
- * Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
1735
- * deployed in the virtual network.
1736
- */
1737
- dnsServers?: string[];
1738
- /** Gets or sets List of subnets in a VirtualNetwork. */
1739
- subnets?: SubnetResourceSettings[];
1740
- }
1741
-
1742
- /**
1743
- * Defines values for ZoneRedundant. \
1744
- * {@link KnownZoneRedundant} can be used interchangeably with ZoneRedundant,
1745
- * this enum contains the known values that the service supports.
1746
- * ### Known values supported by the service
1747
- * **Enable** \
1748
- * **Disable**
1749
- */
1750
- export declare type ZoneRedundant = string;
1751
-
1752
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ export type ResourceSettingsUnion = ResourceSettings | VirtualMachineResourceSettings | AvailabilitySetResourceSettings | VirtualNetworkResourceSettings | NetworkInterfaceResourceSettings | NetworkSecurityGroupResourceSettings | LoadBalancerResourceSettings | SqlServerResourceSettings | SqlElasticPoolResourceSettings | SqlDatabaseResourceSettings | ResourceGroupResourceSettings | PublicIPAddressResourceSettings | KeyVaultResourceSettings | DiskEncryptionSetResourceSettings;
3
+ /** Define the move collection. */
4
+ export interface MoveCollection {
5
+ /**
6
+ * Fully qualified resource Id for the resource.
7
+ * NOTE: This property will not be serialized. It can only be populated by the server.
8
+ */
9
+ readonly id?: string;
10
+ /**
11
+ * The name of the resource
12
+ * NOTE: This property will not be serialized. It can only be populated by the server.
13
+ */
14
+ readonly name?: string;
15
+ /**
16
+ * The type of the resource.
17
+ * NOTE: This property will not be serialized. It can only be populated by the server.
18
+ */
19
+ readonly type?: string;
20
+ /**
21
+ * The etag of the resource.
22
+ * NOTE: This property will not be serialized. It can only be populated by the server.
23
+ */
24
+ readonly etag?: string;
25
+ /** Resource tags. */
26
+ tags?: {
27
+ [propertyName: string]: string;
28
+ };
29
+ /** The geo-location where the resource lives. */
30
+ location?: string;
31
+ /** Defines the MSI properties of the Move Collection. */
32
+ identity?: Identity;
33
+ /** Defines the move collection properties. */
34
+ properties?: MoveCollectionProperties;
35
+ /**
36
+ * Metadata pertaining to creation and last modification of the resource.
37
+ * NOTE: This property will not be serialized. It can only be populated by the server.
38
+ */
39
+ readonly systemData?: SystemData;
40
+ }
41
+ /** Defines the MSI properties of the Move Collection. */
42
+ export interface Identity {
43
+ /** The type of identity used for the resource mover service. */
44
+ type?: ResourceIdentityType;
45
+ /** Gets or sets the principal id. */
46
+ principalId?: string;
47
+ /** Gets or sets the tenant id. */
48
+ tenantId?: string;
49
+ }
50
+ /** Defines the move collection properties. */
51
+ export interface MoveCollectionProperties {
52
+ /** Gets or sets the source region. */
53
+ sourceRegion?: string;
54
+ /** Gets or sets the target region. */
55
+ targetRegion?: string;
56
+ /** Gets or sets the move region which indicates the region where the VM Regional to Zonal move will be conducted. */
57
+ moveRegion?: string;
58
+ /**
59
+ * Defines the provisioning states.
60
+ * NOTE: This property will not be serialized. It can only be populated by the server.
61
+ */
62
+ readonly provisioningState?: ProvisioningState;
63
+ /** Gets or sets the version of move collection. */
64
+ version?: string;
65
+ /** Defines the MoveType. */
66
+ moveType?: MoveType;
67
+ /**
68
+ * Defines the move collection errors.
69
+ * NOTE: This property will not be serialized. It can only be populated by the server.
70
+ */
71
+ readonly errors?: MoveCollectionPropertiesErrors;
72
+ }
73
+ /** An error response from the azure resource mover service. */
74
+ export interface MoveResourceError {
75
+ /** The move resource error body. */
76
+ properties?: MoveResourceErrorBody;
77
+ }
78
+ /** An error response from the Azure Migrate service. */
79
+ export interface MoveResourceErrorBody {
80
+ /**
81
+ * An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
82
+ * NOTE: This property will not be serialized. It can only be populated by the server.
83
+ */
84
+ readonly code?: string;
85
+ /**
86
+ * A message describing the error, intended to be suitable for display in a user interface.
87
+ * NOTE: This property will not be serialized. It can only be populated by the server.
88
+ */
89
+ readonly message?: string;
90
+ /**
91
+ * The target of the particular error. For example, the name of the property in error.
92
+ * NOTE: This property will not be serialized. It can only be populated by the server.
93
+ */
94
+ readonly target?: string;
95
+ /**
96
+ * A list of additional details about the error.
97
+ * NOTE: This property will not be serialized. It can only be populated by the server.
98
+ */
99
+ readonly details?: MoveResourceErrorBody[];
100
+ }
101
+ /** Metadata pertaining to creation and last modification of the resource. */
102
+ export interface SystemData {
103
+ /** The identity that created the resource. */
104
+ createdBy?: string;
105
+ /** The type of identity that created the resource. */
106
+ createdByType?: CreatedByType;
107
+ /** The timestamp of resource creation (UTC). */
108
+ createdAt?: Date;
109
+ /** The identity that last modified the resource. */
110
+ lastModifiedBy?: string;
111
+ /** The type of identity that last modified the resource. */
112
+ lastModifiedByType?: CreatedByType;
113
+ /** The timestamp of resource last modification (UTC) */
114
+ lastModifiedAt?: Date;
115
+ }
116
+ /** An error response from the service. */
117
+ export interface CloudError {
118
+ /** Cloud error body. */
119
+ error?: CloudErrorBody;
120
+ }
121
+ /** An error response from the service. */
122
+ export interface CloudErrorBody {
123
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
124
+ code?: string;
125
+ /** A message describing the error, intended to be suitable for display in a user interface. */
126
+ message?: string;
127
+ /** The target of the particular error. For example, the name of the property in error. */
128
+ target?: string;
129
+ /** A list of additional details about the error. */
130
+ details?: CloudErrorBody[];
131
+ }
132
+ /** Defines the request body for updating move collection. */
133
+ export interface UpdateMoveCollectionRequest {
134
+ /** Gets or sets the Resource tags. */
135
+ tags?: {
136
+ [propertyName: string]: string;
137
+ };
138
+ /** Defines the MSI properties of the Move Collection. */
139
+ identity?: Identity;
140
+ }
141
+ /** Operation status REST resource. */
142
+ export interface OperationStatus {
143
+ /**
144
+ * Resource Id.
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
146
+ */
147
+ readonly id?: string;
148
+ /**
149
+ * Operation name.
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
151
+ */
152
+ readonly name?: string;
153
+ /**
154
+ * Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
155
+ * NOTE: This property will not be serialized. It can only be populated by the server.
156
+ */
157
+ readonly status?: string;
158
+ /**
159
+ * Start time.
160
+ * NOTE: This property will not be serialized. It can only be populated by the server.
161
+ */
162
+ readonly startTime?: string;
163
+ /**
164
+ * End time.
165
+ * NOTE: This property will not be serialized. It can only be populated by the server.
166
+ */
167
+ readonly endTime?: string;
168
+ /**
169
+ * Error stating all error details for the operation.
170
+ * NOTE: This property will not be serialized. It can only be populated by the server.
171
+ */
172
+ readonly error?: OperationStatusError;
173
+ /**
174
+ * Custom data.
175
+ * NOTE: This property will not be serialized. It can only be populated by the server.
176
+ */
177
+ readonly properties?: Record<string, unknown>;
178
+ }
179
+ /** Class for operation status errors. */
180
+ export interface OperationStatusError {
181
+ /**
182
+ * The error code.
183
+ * NOTE: This property will not be serialized. It can only be populated by the server.
184
+ */
185
+ readonly code?: string;
186
+ /**
187
+ * The error message.
188
+ * NOTE: This property will not be serialized. It can only be populated by the server.
189
+ */
190
+ readonly message?: string;
191
+ /**
192
+ * The error details.
193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
194
+ */
195
+ readonly details?: OperationStatusError[];
196
+ /**
197
+ * The additional info.
198
+ * NOTE: This property will not be serialized. It can only be populated by the server.
199
+ */
200
+ readonly additionalInfo?: OperationErrorAdditionalInfo[];
201
+ }
202
+ /** The operation error info. */
203
+ export interface OperationErrorAdditionalInfo {
204
+ /**
205
+ * The error type.
206
+ * NOTE: This property will not be serialized. It can only be populated by the server.
207
+ */
208
+ readonly type?: string;
209
+ /**
210
+ * The operation error info.
211
+ * NOTE: This property will not be serialized. It can only be populated by the server.
212
+ */
213
+ readonly info?: MoveErrorInfo;
214
+ }
215
+ /** The move custom error info. */
216
+ export interface MoveErrorInfo {
217
+ /**
218
+ * The affected move resources.
219
+ * NOTE: This property will not be serialized. It can only be populated by the server.
220
+ */
221
+ readonly moveResources?: AffectedMoveResource[];
222
+ }
223
+ /** The RP custom operation error info. */
224
+ export interface AffectedMoveResource {
225
+ /**
226
+ * The affected move resource id.
227
+ * NOTE: This property will not be serialized. It can only be populated by the server.
228
+ */
229
+ readonly id?: string;
230
+ /**
231
+ * The affected move resource source id.
232
+ * NOTE: This property will not be serialized. It can only be populated by the server.
233
+ */
234
+ readonly sourceId?: string;
235
+ /**
236
+ * The affected move resources.
237
+ * NOTE: This property will not be serialized. It can only be populated by the server.
238
+ */
239
+ readonly moveResources?: AffectedMoveResource[];
240
+ }
241
+ /** Defines the request body for initiate prepare operation. */
242
+ export interface PrepareRequest {
243
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
244
+ validateOnly?: boolean;
245
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
246
+ moveResources: string[];
247
+ /** Defines the move resource input type. */
248
+ moveResourceInputType?: MoveResourceInputType;
249
+ }
250
+ /** Defines the request body for resource move operation. */
251
+ export interface ResourceMoveRequest {
252
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
253
+ validateOnly?: boolean;
254
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
255
+ moveResources: string[];
256
+ /** Defines the move resource input type. */
257
+ moveResourceInputType?: MoveResourceInputType;
258
+ }
259
+ /** Defines the request body for commit operation. */
260
+ export interface CommitRequest {
261
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
262
+ validateOnly?: boolean;
263
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
264
+ moveResources: string[];
265
+ /** Defines the move resource input type. */
266
+ moveResourceInputType?: MoveResourceInputType;
267
+ }
268
+ /** Defines the request body for discard operation. */
269
+ export interface DiscardRequest {
270
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
271
+ validateOnly?: boolean;
272
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
273
+ moveResources: string[];
274
+ /** Defines the move resource input type. */
275
+ moveResourceInputType?: MoveResourceInputType;
276
+ }
277
+ /** Defines the collection of move resources. */
278
+ export interface MoveResourceCollection {
279
+ /** Gets the list of move resources. */
280
+ value?: MoveResource[];
281
+ /** Gets the value of next link. */
282
+ nextLink?: string;
283
+ /** Gets or sets the list of summary items and the field on which summary is done. */
284
+ summaryCollection?: SummaryCollection;
285
+ /**
286
+ * Gets the total count.
287
+ * NOTE: This property will not be serialized. It can only be populated by the server.
288
+ */
289
+ readonly totalCount?: number;
290
+ }
291
+ /** Defines the move resource. */
292
+ export interface MoveResource {
293
+ /**
294
+ * Fully qualified resource Id for the resource.
295
+ * NOTE: This property will not be serialized. It can only be populated by the server.
296
+ */
297
+ readonly id?: string;
298
+ /**
299
+ * The name of the resource
300
+ * NOTE: This property will not be serialized. It can only be populated by the server.
301
+ */
302
+ readonly name?: string;
303
+ /**
304
+ * The type of the resource.
305
+ * NOTE: This property will not be serialized. It can only be populated by the server.
306
+ */
307
+ readonly type?: string;
308
+ /** Defines the move resource properties. */
309
+ properties?: MoveResourceProperties;
310
+ /**
311
+ * Metadata pertaining to creation and last modification of the resource.
312
+ * NOTE: This property will not be serialized. It can only be populated by the server.
313
+ */
314
+ readonly systemData?: SystemData;
315
+ }
316
+ /** Defines the move resource properties. */
317
+ export interface MoveResourceProperties {
318
+ /**
319
+ * Defines the provisioning states.
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
+ */
322
+ readonly provisioningState?: ProvisioningState;
323
+ /** Gets or sets the Source ARM Id of the resource. */
324
+ sourceId: string;
325
+ /**
326
+ * Gets or sets the Target ARM Id of the resource.
327
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
+ */
329
+ readonly targetId?: string;
330
+ /** Gets or sets the existing target ARM Id of the resource. */
331
+ existingTargetId?: string;
332
+ /** Gets or sets the resource settings. */
333
+ resourceSettings?: ResourceSettingsUnion;
334
+ /**
335
+ * Gets or sets the source resource settings.
336
+ * NOTE: This property will not be serialized. It can only be populated by the server.
337
+ */
338
+ readonly sourceResourceSettings?: ResourceSettingsUnion;
339
+ /**
340
+ * Defines the move resource status.
341
+ * NOTE: This property will not be serialized. It can only be populated by the server.
342
+ */
343
+ readonly moveStatus?: MoveResourcePropertiesMoveStatus;
344
+ /**
345
+ * Gets or sets the move resource dependencies.
346
+ * NOTE: This property will not be serialized. It can only be populated by the server.
347
+ */
348
+ readonly dependsOn?: MoveResourceDependency[];
349
+ /** Gets or sets the move resource dependencies overrides. */
350
+ dependsOnOverrides?: MoveResourceDependencyOverride[];
351
+ /**
352
+ * Gets a value indicating whether the resolve action is required over the move collection.
353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
+ */
355
+ readonly isResolveRequired?: boolean;
356
+ /**
357
+ * Defines the move resource errors.
358
+ * NOTE: This property will not be serialized. It can only be populated by the server.
359
+ */
360
+ readonly errors?: MoveResourcePropertiesErrors;
361
+ }
362
+ /** Gets or sets the resource settings. */
363
+ export interface ResourceSettings {
364
+ /** Polymorphic discriminator, which specifies the different types this object can be */
365
+ resourceType: "Microsoft.Compute/virtualMachines" | "Microsoft.Compute/availabilitySets" | "Microsoft.Network/virtualNetworks" | "Microsoft.Network/networkInterfaces" | "Microsoft.Network/networkSecurityGroups" | "Microsoft.Network/loadBalancers" | "Microsoft.Sql/servers" | "Microsoft.Sql/servers/elasticPools" | "Microsoft.Sql/servers/databases" | "resourceGroups" | "Microsoft.Network/publicIPAddresses" | "Microsoft.KeyVault/vaults" | "Microsoft.Compute/diskEncryptionSets";
366
+ /** Gets or sets the target Resource name. */
367
+ targetResourceName?: string;
368
+ /** Gets or sets the target resource group name. */
369
+ targetResourceGroupName?: string;
370
+ }
371
+ /** Defines the move resource status. */
372
+ export interface MoveResourceStatus {
373
+ /**
374
+ * Defines the MoveResource states.
375
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
+ */
377
+ readonly moveState?: MoveState;
378
+ /** Defines the job status. */
379
+ jobStatus?: JobStatus;
380
+ /** An error response from the azure resource mover service. */
381
+ errors?: MoveResourceError;
382
+ }
383
+ /** Defines the job status. */
384
+ export interface JobStatus {
385
+ /**
386
+ * Defines the job name.
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
388
+ */
389
+ readonly jobName?: JobName;
390
+ /**
391
+ * Gets or sets the monitoring job percentage.
392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
393
+ */
394
+ readonly jobProgress?: string;
395
+ }
396
+ /** Defines the dependency of the move resource. */
397
+ export interface MoveResourceDependency {
398
+ /** Gets the source ARM ID of the dependent resource. */
399
+ id?: string;
400
+ /** Gets the dependency resolution status. */
401
+ resolutionStatus?: string;
402
+ /** Defines the resolution type. */
403
+ resolutionType?: ResolutionType;
404
+ /** Defines the dependency type. */
405
+ dependencyType?: DependencyType;
406
+ /** Defines the properties for manual resolution. */
407
+ manualResolution?: ManualResolutionProperties;
408
+ /** Defines the properties for automatic resolution. */
409
+ automaticResolution?: AutomaticResolutionProperties;
410
+ /** Gets or sets a value indicating whether the dependency is optional. */
411
+ isOptional?: string;
412
+ }
413
+ /** Defines the properties for manual resolution. */
414
+ export interface ManualResolutionProperties {
415
+ /** Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual. */
416
+ targetId?: string;
417
+ }
418
+ /** Defines the properties for automatic resolution. */
419
+ export interface AutomaticResolutionProperties {
420
+ /**
421
+ * Gets the MoveResource ARM ID of
422
+ * the dependent resource if the resolution type is Automatic.
423
+ */
424
+ moveResourceId?: string;
425
+ }
426
+ /** Defines the dependency override of the move resource. */
427
+ export interface MoveResourceDependencyOverride {
428
+ /** Gets or sets the ARM ID of the dependent resource. */
429
+ id?: string;
430
+ /**
431
+ * Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of
432
+ * the dependent resource.
433
+ */
434
+ targetId?: string;
435
+ }
436
+ /** Summary Collection. */
437
+ export interface SummaryCollection {
438
+ /** Gets or sets the field name on which summary is done. */
439
+ fieldName?: string;
440
+ /** Gets or sets the list of summary items. */
441
+ summary?: Summary[];
442
+ }
443
+ /** Summary item. */
444
+ export interface Summary {
445
+ /** Gets the count. */
446
+ count?: number;
447
+ /** Gets the item. */
448
+ item?: string;
449
+ }
450
+ /** Unresolved dependency collection. */
451
+ export interface UnresolvedDependencyCollection {
452
+ /** Gets or sets the list of unresolved dependencies. */
453
+ value?: UnresolvedDependency[];
454
+ /** Gets or sets the value of next link. */
455
+ nextLink?: string;
456
+ /**
457
+ * Gets or sets the list of summary items and the field on which summary is done.
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
459
+ */
460
+ readonly summaryCollection?: SummaryCollection;
461
+ /**
462
+ * Gets the total count.
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
464
+ */
465
+ readonly totalCount?: number;
466
+ }
467
+ /** Unresolved dependency. */
468
+ export interface UnresolvedDependency {
469
+ /** Gets or sets the count. */
470
+ count?: number;
471
+ /** Gets or sets the arm id of the dependency. */
472
+ id?: string;
473
+ }
474
+ /** Defines the request body for bulk remove of move resources operation. */
475
+ export interface BulkRemoveRequest {
476
+ /** Gets or sets a value indicating whether the operation needs to only run pre-requisite. */
477
+ validateOnly?: boolean;
478
+ /** Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. */
479
+ moveResources?: string[];
480
+ /** Defines the move resource input type. */
481
+ moveResourceInputType?: MoveResourceInputType;
482
+ }
483
+ /** Collection of ClientDiscovery details. */
484
+ export interface OperationsDiscoveryCollection {
485
+ /** Gets or sets the ClientDiscovery details. */
486
+ value?: OperationsDiscovery[];
487
+ /** Gets or sets the value of next link. */
488
+ nextLink?: string;
489
+ }
490
+ /** Operations discovery class. */
491
+ export interface OperationsDiscovery {
492
+ /**
493
+ * Gets or sets Name of the API.
494
+ * The name of the operation being performed on this particular object. It should
495
+ * match the action name that appears in RBAC / the event service.
496
+ * Examples of operations include:
497
+ * * Microsoft.Compute/virtualMachine/capture/action
498
+ * * Microsoft.Compute/virtualMachine/restart/action
499
+ * * Microsoft.Compute/virtualMachine/write
500
+ * * Microsoft.Compute/virtualMachine/read
501
+ * * Microsoft.Compute/virtualMachine/delete
502
+ * Each action should include, in order:
503
+ * (1) Resource Provider Namespace
504
+ * (2) Type hierarchy for which the action applies (e.g. server/databases for a SQL
505
+ * Azure database)
506
+ * (3) Read, Write, Action or Delete indicating which type applies. If it is a PUT/PATCH
507
+ * on a collection or named value, Write should be used.
508
+ * If it is a GET, Read should be used. If it is a DELETE, Delete should be used. If it
509
+ * is a POST, Action should be used.
510
+ * As a note: all resource providers would need to include the "{Resource Provider
511
+ * Namespace}/register/action" operation in their response.
512
+ * This API is used to register for their service, and should include details about the
513
+ * operation (e.g. a localized name for the resource provider + any special
514
+ * considerations like PII release).
515
+ */
516
+ name?: string;
517
+ /** Indicates whether the operation is a data action */
518
+ isDataAction?: boolean;
519
+ /**
520
+ * Contains the localized display information for this particular operation / action. These
521
+ * value will be used by several clients for
522
+ * (1) custom role definitions for RBAC;
523
+ * (2) complex query filters for the event service; and
524
+ * (3) audit history / records for management operations.
525
+ */
526
+ display?: Display;
527
+ /**
528
+ * Gets or sets Origin.
529
+ * The intended executor of the operation; governs the display of the operation in the
530
+ * RBAC UX and the audit logs UX.
531
+ * Default value is "user,system".
532
+ */
533
+ origin?: string;
534
+ /** ClientDiscovery properties. */
535
+ properties?: Record<string, unknown>;
536
+ }
537
+ /**
538
+ * Contains the localized display information for this particular operation / action. These
539
+ * value will be used by several clients for
540
+ * (1) custom role definitions for RBAC;
541
+ * (2) complex query filters for the event service; and
542
+ * (3) audit history / records for management operations.
543
+ */
544
+ export interface Display {
545
+ /**
546
+ * Gets or sets the provider.
547
+ * The localized friendly form of the resource provider name – it is expected to also
548
+ * include the publisher/company responsible.
549
+ * It should use Title Casing and begin with "Microsoft" for 1st party services.
550
+ * e.g. "Microsoft Monitoring Insights" or "Microsoft Compute.".
551
+ */
552
+ provider?: string;
553
+ /**
554
+ * Gets or sets the resource.
555
+ * The localized friendly form of the resource related to this action/operation – it
556
+ * should match the public documentation for the resource provider.
557
+ * It should use Title Casing.
558
+ * This value should be unique for a particular URL type (e.g. nested types should *not*
559
+ * reuse their parent’s display.resource field)
560
+ * e.g. "Virtual Machines" or "Scheduler Job Collections", or "Virtual Machine VM Sizes"
561
+ * or "Scheduler Jobs".
562
+ */
563
+ resource?: string;
564
+ /**
565
+ * Gets or sets the operation.
566
+ * The localized friendly name for the operation, as it should be shown to the user.
567
+ * It should be concise (to fit in drop downs) but clear (i.e. self-documenting).
568
+ * It should use Title Casing.
569
+ * Prescriptive guidance: Read Create or Update Delete 'ActionName'.
570
+ */
571
+ operation?: string;
572
+ /**
573
+ * Gets or sets the description.
574
+ * The localized friendly description for the operation, as it should be shown to the
575
+ * user.
576
+ * It should be thorough, yet concise – it will be used in tool tips and detailed views.
577
+ * Prescriptive guidance for namespace:
578
+ * Read any 'display.provider' resource
579
+ * Create or Update any 'display.provider' resource
580
+ * Delete any 'display.provider' resource
581
+ * Perform any other action on any 'display.provider' resource
582
+ * Prescriptive guidance for namespace:
583
+ * Read any 'display.resource' Create or Update any 'display.resource' Delete any
584
+ * 'display.resource' 'ActionName' any 'display.resources'.
585
+ */
586
+ description?: string;
587
+ }
588
+ /** Defines the collection of move collections. */
589
+ export interface MoveCollectionResultList {
590
+ /** Gets the list of move collections. */
591
+ value?: MoveCollection[];
592
+ /** Gets the value of next link. */
593
+ nextLink?: string;
594
+ }
595
+ /** Required for resources collection. */
596
+ export interface RequiredForResourcesCollection {
597
+ /** Gets or sets the list of source Ids for which the input resource is required. */
598
+ sourceIds?: string[];
599
+ }
600
+ /** Move resource filter. */
601
+ export interface MoveResourceFilter {
602
+ properties?: MoveResourceFilterProperties;
603
+ }
604
+ export interface MoveResourceFilterProperties {
605
+ /** The provisioning state. */
606
+ provisioningState?: string;
607
+ }
608
+ /** Unresolved dependencies contract. */
609
+ export interface UnresolvedDependenciesFilter {
610
+ properties?: UnresolvedDependenciesFilterProperties;
611
+ }
612
+ export interface UnresolvedDependenciesFilterProperties {
613
+ /** The count of the resource. */
614
+ count?: number;
615
+ }
616
+ /** Defines the virtual network subnets resource settings. */
617
+ export interface SubnetResourceSettings {
618
+ /** Gets or sets the Subnet name. */
619
+ name?: string;
620
+ /** Gets or sets address prefix for the subnet. */
621
+ addressPrefix?: string;
622
+ /** Defines reference to NSG. */
623
+ networkSecurityGroup?: NsgReference;
624
+ }
625
+ /** Defines reference to an Azure resource. */
626
+ export interface AzureResourceReference {
627
+ /** Gets the ARM resource ID of the tracked resource being referenced. */
628
+ sourceArmResourceId: string;
629
+ }
630
+ /** Defines NIC IP configuration properties. */
631
+ export interface NicIpConfigurationResourceSettings {
632
+ /** Gets or sets the IP configuration name. */
633
+ name?: string;
634
+ /** Gets or sets the private IP address of the network interface IP Configuration. */
635
+ privateIpAddress?: string;
636
+ /** Gets or sets the private IP address allocation method. */
637
+ privateIpAllocationMethod?: string;
638
+ /** Defines reference to subnet. */
639
+ subnet?: SubnetReference;
640
+ /** Gets or sets a value indicating whether this IP configuration is the primary. */
641
+ primary?: boolean;
642
+ /** Gets or sets the references of the load balancer backend address pools. */
643
+ loadBalancerBackendAddressPools?: LoadBalancerBackendAddressPoolReference[];
644
+ /** Gets or sets the references of the load balancer NAT rules. */
645
+ loadBalancerNatRules?: LoadBalancerNatRuleReference[];
646
+ /** Defines reference to a public IP. */
647
+ publicIp?: PublicIpReference;
648
+ }
649
+ /** Security Rule data model for Network Security Groups. */
650
+ export interface NsgSecurityRule {
651
+ /** Gets or sets the Security rule name. */
652
+ name?: string;
653
+ /**
654
+ * Gets or sets whether network traffic is allowed or denied.
655
+ * Possible values are “Allow” and “Deny”.
656
+ */
657
+ access?: string;
658
+ /** Gets or sets a description for this rule. Restricted to 140 chars. */
659
+ description?: string;
660
+ /**
661
+ * Gets or sets destination address prefix. CIDR or source IP range.
662
+ * A “*” can also be used to match all source IPs. Default tags such
663
+ * as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used.
664
+ */
665
+ destinationAddressPrefix?: string;
666
+ /**
667
+ * Gets or sets Destination Port or Range. Integer or range between
668
+ * 0 and 65535. A “*” can also be used to match all ports.
669
+ */
670
+ destinationPortRange?: string;
671
+ /**
672
+ * Gets or sets the direction of the rule.InBound or Outbound. The
673
+ * direction specifies if rule will be evaluated on incoming or outgoing traffic.
674
+ */
675
+ direction?: string;
676
+ /**
677
+ * Gets or sets the priority of the rule. The value can be between
678
+ * 100 and 4096. The priority number must be unique for each rule in the collection.
679
+ * The lower the priority number, the higher the priority of the rule.
680
+ */
681
+ priority?: number;
682
+ /** Gets or sets Network protocol this rule applies to. Can be Tcp, Udp or All(*). */
683
+ protocol?: string;
684
+ /**
685
+ * Gets or sets source address prefix. CIDR or source IP range. A
686
+ * “*” can also be used to match all source IPs. Default tags such as ‘VirtualNetwork’,
687
+ * ‘AzureLoadBalancer’ and ‘Internet’ can also be used. If this is an ingress
688
+ * rule, specifies where network traffic originates from.
689
+ */
690
+ sourceAddressPrefix?: string;
691
+ /**
692
+ * Gets or sets Source Port or Range. Integer or range between 0 and
693
+ * 65535. A “*” can also be used to match all ports.
694
+ */
695
+ sourcePortRange?: string;
696
+ }
697
+ /** Defines load balancer frontend IP configuration properties. */
698
+ export interface LBFrontendIPConfigurationResourceSettings {
699
+ /** Gets or sets the frontend IP configuration name. */
700
+ name?: string;
701
+ /**
702
+ * Gets or sets the IP address of the Load Balancer.This is only specified if a specific
703
+ * private IP address shall be allocated from the subnet specified in subnetRef.
704
+ */
705
+ privateIpAddress?: string;
706
+ /** Gets or sets PrivateIP allocation method (Static/Dynamic). */
707
+ privateIpAllocationMethod?: string;
708
+ /** Defines reference to subnet. */
709
+ subnet?: SubnetReference;
710
+ /** Gets or sets the csv list of zones. */
711
+ zones?: string;
712
+ }
713
+ /** Defines load balancer backend address pool properties. */
714
+ export interface LBBackendAddressPoolResourceSettings {
715
+ /** Gets or sets the backend address pool name. */
716
+ name?: string;
717
+ }
718
+ /** Defines the move collection errors. */
719
+ export interface MoveCollectionPropertiesErrors extends MoveResourceError {
720
+ }
721
+ /** Defines the move resource errors. */
722
+ export interface MoveResourcePropertiesErrors extends MoveResourceError {
723
+ }
724
+ /** Gets or sets the virtual machine resource settings. */
725
+ export interface VirtualMachineResourceSettings extends ResourceSettings {
726
+ /** Polymorphic discriminator, which specifies the different types this object can be */
727
+ resourceType: "Microsoft.Compute/virtualMachines";
728
+ /** Gets or sets the Resource tags. */
729
+ tags?: {
730
+ [propertyName: string]: string;
731
+ };
732
+ /** Gets or sets user-managed identities */
733
+ userManagedIdentities?: string[];
734
+ /** Gets or sets the target availability zone. */
735
+ targetAvailabilityZone?: TargetAvailabilityZone;
736
+ /** Gets or sets the target virtual machine size. */
737
+ targetVmSize?: string;
738
+ /** Gets or sets the target availability set id for virtual machines not in an availability set at source. */
739
+ targetAvailabilitySetId?: string;
740
+ }
741
+ /** Gets or sets the availability set resource settings. */
742
+ export interface AvailabilitySetResourceSettings extends ResourceSettings {
743
+ /** Polymorphic discriminator, which specifies the different types this object can be */
744
+ resourceType: "Microsoft.Compute/availabilitySets";
745
+ /** Gets or sets the Resource tags. */
746
+ tags?: {
747
+ [propertyName: string]: string;
748
+ };
749
+ /** Gets or sets the target fault domain. */
750
+ faultDomain?: number;
751
+ /** Gets or sets the target update domain. */
752
+ updateDomain?: number;
753
+ }
754
+ /** Defines the virtual network resource settings. */
755
+ export interface VirtualNetworkResourceSettings extends ResourceSettings {
756
+ /** Polymorphic discriminator, which specifies the different types this object can be */
757
+ resourceType: "Microsoft.Network/virtualNetworks";
758
+ /** Gets or sets the Resource tags. */
759
+ tags?: {
760
+ [propertyName: string]: string;
761
+ };
762
+ /**
763
+ * Gets or sets a value indicating whether gets or sets whether the
764
+ * DDOS protection should be switched on.
765
+ */
766
+ enableDdosProtection?: boolean;
767
+ /** Gets or sets the address prefixes for the virtual network. */
768
+ addressSpace?: string[];
769
+ /**
770
+ * Gets or sets DHCPOptions that contains an array of DNS servers available to VMs
771
+ * deployed in the virtual network.
772
+ */
773
+ dnsServers?: string[];
774
+ /** Gets or sets List of subnets in a VirtualNetwork. */
775
+ subnets?: SubnetResourceSettings[];
776
+ }
777
+ /** Defines the network interface resource settings. */
778
+ export interface NetworkInterfaceResourceSettings extends ResourceSettings {
779
+ /** Polymorphic discriminator, which specifies the different types this object can be */
780
+ resourceType: "Microsoft.Network/networkInterfaces";
781
+ /** Gets or sets the Resource tags. */
782
+ tags?: {
783
+ [propertyName: string]: string;
784
+ };
785
+ /** Gets or sets the IP configurations of the NIC. */
786
+ ipConfigurations?: NicIpConfigurationResourceSettings[];
787
+ /** Gets or sets a value indicating whether accelerated networking is enabled. */
788
+ enableAcceleratedNetworking?: boolean;
789
+ }
790
+ /** Defines the NSG resource settings. */
791
+ export interface NetworkSecurityGroupResourceSettings extends ResourceSettings {
792
+ /** Polymorphic discriminator, which specifies the different types this object can be */
793
+ resourceType: "Microsoft.Network/networkSecurityGroups";
794
+ /** Gets or sets the Resource tags. */
795
+ tags?: {
796
+ [propertyName: string]: string;
797
+ };
798
+ /** Gets or sets Security rules of network security group. */
799
+ securityRules?: NsgSecurityRule[];
800
+ }
801
+ /** Defines the load balancer resource settings. */
802
+ export interface LoadBalancerResourceSettings extends ResourceSettings {
803
+ /** Polymorphic discriminator, which specifies the different types this object can be */
804
+ resourceType: "Microsoft.Network/loadBalancers";
805
+ /** Gets or sets the Resource tags. */
806
+ tags?: {
807
+ [propertyName: string]: string;
808
+ };
809
+ /** Gets or sets load balancer sku (Basic/Standard). */
810
+ sku?: string;
811
+ /** Gets or sets the frontend IP configurations of the load balancer. */
812
+ frontendIPConfigurations?: LBFrontendIPConfigurationResourceSettings[];
813
+ /** Gets or sets the backend address pools of the load balancer. */
814
+ backendAddressPools?: LBBackendAddressPoolResourceSettings[];
815
+ /**
816
+ * Gets or sets the csv list of zones common for all frontend IP configurations. Note this is given
817
+ * precedence only if frontend IP configurations settings are not present.
818
+ */
819
+ zones?: string;
820
+ }
821
+ /** Defines the SQL Server resource settings. */
822
+ export interface SqlServerResourceSettings extends ResourceSettings {
823
+ /** Polymorphic discriminator, which specifies the different types this object can be */
824
+ resourceType: "Microsoft.Sql/servers";
825
+ }
826
+ /** Defines the Sql ElasticPool resource settings. */
827
+ export interface SqlElasticPoolResourceSettings extends ResourceSettings {
828
+ /** Polymorphic discriminator, which specifies the different types this object can be */
829
+ resourceType: "Microsoft.Sql/servers/elasticPools";
830
+ /** Gets or sets the Resource tags. */
831
+ tags?: {
832
+ [propertyName: string]: string;
833
+ };
834
+ /** Defines the zone redundant resource setting. */
835
+ zoneRedundant?: ZoneRedundant;
836
+ }
837
+ /** Defines the Sql Database resource settings. */
838
+ export interface SqlDatabaseResourceSettings extends ResourceSettings {
839
+ /** Polymorphic discriminator, which specifies the different types this object can be */
840
+ resourceType: "Microsoft.Sql/servers/databases";
841
+ /** Gets or sets the Resource tags. */
842
+ tags?: {
843
+ [propertyName: string]: string;
844
+ };
845
+ /** Defines the zone redundant resource setting. */
846
+ zoneRedundant?: ZoneRedundant;
847
+ }
848
+ /** Defines the resource group resource settings. */
849
+ export interface ResourceGroupResourceSettings extends ResourceSettings {
850
+ /** Polymorphic discriminator, which specifies the different types this object can be */
851
+ resourceType: "resourceGroups";
852
+ }
853
+ /** Defines the public IP address resource settings. */
854
+ export interface PublicIPAddressResourceSettings extends ResourceSettings {
855
+ /** Polymorphic discriminator, which specifies the different types this object can be */
856
+ resourceType: "Microsoft.Network/publicIPAddresses";
857
+ /** Gets or sets the Resource tags. */
858
+ tags?: {
859
+ [propertyName: string]: string;
860
+ };
861
+ /** Gets or sets the domain name label. */
862
+ domainNameLabel?: string;
863
+ /** Gets or sets the fully qualified domain name. */
864
+ fqdn?: string;
865
+ /** Gets or sets public IP allocation method. */
866
+ publicIpAllocationMethod?: string;
867
+ /** Gets or sets public IP sku. */
868
+ sku?: string;
869
+ /** Gets or sets public IP zones. */
870
+ zones?: string;
871
+ }
872
+ /** Defines the key vault resource settings. */
873
+ export interface KeyVaultResourceSettings extends ResourceSettings {
874
+ /** Polymorphic discriminator, which specifies the different types this object can be */
875
+ resourceType: "Microsoft.KeyVault/vaults";
876
+ }
877
+ /** Defines the disk encryption set resource settings. */
878
+ export interface DiskEncryptionSetResourceSettings extends ResourceSettings {
879
+ /** Polymorphic discriminator, which specifies the different types this object can be */
880
+ resourceType: "Microsoft.Compute/diskEncryptionSets";
881
+ }
882
+ /** Defines the move resource status. */
883
+ export interface MoveResourcePropertiesMoveStatus extends MoveResourceStatus {
884
+ }
885
+ /** Defines reference to NSG. */
886
+ export interface NsgReference extends AzureResourceReference {
887
+ }
888
+ /** Defines reference to a proxy resource. */
889
+ export interface ProxyResourceReference extends AzureResourceReference {
890
+ /** Gets the name of the proxy resource on the target side. */
891
+ name?: string;
892
+ }
893
+ /** Defines reference to a public IP. */
894
+ export interface PublicIpReference extends AzureResourceReference {
895
+ }
896
+ /** Defines reference to subnet. */
897
+ export interface SubnetReference extends ProxyResourceReference {
898
+ }
899
+ /** Defines reference to load balancer backend address pools. */
900
+ export interface LoadBalancerBackendAddressPoolReference extends ProxyResourceReference {
901
+ }
902
+ /** Defines reference to load balancer NAT rules. */
903
+ export interface LoadBalancerNatRuleReference extends ProxyResourceReference {
904
+ }
905
+ /** Known values of {@link ResourceIdentityType} that the service accepts. */
906
+ export declare enum KnownResourceIdentityType {
907
+ /** None */
908
+ None = "None",
909
+ /** SystemAssigned */
910
+ SystemAssigned = "SystemAssigned",
911
+ /** UserAssigned */
912
+ UserAssigned = "UserAssigned"
913
+ }
914
+ /**
915
+ * Defines values for ResourceIdentityType. \
916
+ * {@link KnownResourceIdentityType} can be used interchangeably with ResourceIdentityType,
917
+ * this enum contains the known values that the service supports.
918
+ * ### Known values supported by the service
919
+ * **None** \
920
+ * **SystemAssigned** \
921
+ * **UserAssigned**
922
+ */
923
+ export type ResourceIdentityType = string;
924
+ /** Known values of {@link ProvisioningState} that the service accepts. */
925
+ export declare enum KnownProvisioningState {
926
+ /** Succeeded */
927
+ Succeeded = "Succeeded",
928
+ /** Updating */
929
+ Updating = "Updating",
930
+ /** Creating */
931
+ Creating = "Creating",
932
+ /** Failed */
933
+ Failed = "Failed"
934
+ }
935
+ /**
936
+ * Defines values for ProvisioningState. \
937
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
938
+ * this enum contains the known values that the service supports.
939
+ * ### Known values supported by the service
940
+ * **Succeeded** \
941
+ * **Updating** \
942
+ * **Creating** \
943
+ * **Failed**
944
+ */
945
+ export type ProvisioningState = string;
946
+ /** Known values of {@link MoveType} that the service accepts. */
947
+ export declare enum KnownMoveType {
948
+ /** RegionToRegion */
949
+ RegionToRegion = "RegionToRegion",
950
+ /** RegionToZone */
951
+ RegionToZone = "RegionToZone"
952
+ }
953
+ /**
954
+ * Defines values for MoveType. \
955
+ * {@link KnownMoveType} can be used interchangeably with MoveType,
956
+ * this enum contains the known values that the service supports.
957
+ * ### Known values supported by the service
958
+ * **RegionToRegion** \
959
+ * **RegionToZone**
960
+ */
961
+ export type MoveType = string;
962
+ /** Known values of {@link CreatedByType} that the service accepts. */
963
+ export declare enum KnownCreatedByType {
964
+ /** User */
965
+ User = "User",
966
+ /** Application */
967
+ Application = "Application",
968
+ /** ManagedIdentity */
969
+ ManagedIdentity = "ManagedIdentity",
970
+ /** Key */
971
+ Key = "Key"
972
+ }
973
+ /**
974
+ * Defines values for CreatedByType. \
975
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
976
+ * this enum contains the known values that the service supports.
977
+ * ### Known values supported by the service
978
+ * **User** \
979
+ * **Application** \
980
+ * **ManagedIdentity** \
981
+ * **Key**
982
+ */
983
+ export type CreatedByType = string;
984
+ /** Known values of {@link MoveResourceInputType} that the service accepts. */
985
+ export declare enum KnownMoveResourceInputType {
986
+ /** MoveResourceId */
987
+ MoveResourceId = "MoveResourceId",
988
+ /** MoveResourceSourceId */
989
+ MoveResourceSourceId = "MoveResourceSourceId"
990
+ }
991
+ /**
992
+ * Defines values for MoveResourceInputType. \
993
+ * {@link KnownMoveResourceInputType} can be used interchangeably with MoveResourceInputType,
994
+ * this enum contains the known values that the service supports.
995
+ * ### Known values supported by the service
996
+ * **MoveResourceId** \
997
+ * **MoveResourceSourceId**
998
+ */
999
+ export type MoveResourceInputType = string;
1000
+ /** Known values of {@link MoveState} that the service accepts. */
1001
+ export declare enum KnownMoveState {
1002
+ /** AssignmentPending */
1003
+ AssignmentPending = "AssignmentPending",
1004
+ /** PreparePending */
1005
+ PreparePending = "PreparePending",
1006
+ /** PrepareInProgress */
1007
+ PrepareInProgress = "PrepareInProgress",
1008
+ /** PrepareFailed */
1009
+ PrepareFailed = "PrepareFailed",
1010
+ /** MovePending */
1011
+ MovePending = "MovePending",
1012
+ /** MoveInProgress */
1013
+ MoveInProgress = "MoveInProgress",
1014
+ /** MoveFailed */
1015
+ MoveFailed = "MoveFailed",
1016
+ /** DiscardInProgress */
1017
+ DiscardInProgress = "DiscardInProgress",
1018
+ /** DiscardFailed */
1019
+ DiscardFailed = "DiscardFailed",
1020
+ /** CommitPending */
1021
+ CommitPending = "CommitPending",
1022
+ /** CommitInProgress */
1023
+ CommitInProgress = "CommitInProgress",
1024
+ /** CommitFailed */
1025
+ CommitFailed = "CommitFailed",
1026
+ /** Committed */
1027
+ Committed = "Committed",
1028
+ /** DeleteSourcePending */
1029
+ DeleteSourcePending = "DeleteSourcePending",
1030
+ /** ResourceMoveCompleted */
1031
+ ResourceMoveCompleted = "ResourceMoveCompleted"
1032
+ }
1033
+ /**
1034
+ * Defines values for MoveState. \
1035
+ * {@link KnownMoveState} can be used interchangeably with MoveState,
1036
+ * this enum contains the known values that the service supports.
1037
+ * ### Known values supported by the service
1038
+ * **AssignmentPending** \
1039
+ * **PreparePending** \
1040
+ * **PrepareInProgress** \
1041
+ * **PrepareFailed** \
1042
+ * **MovePending** \
1043
+ * **MoveInProgress** \
1044
+ * **MoveFailed** \
1045
+ * **DiscardInProgress** \
1046
+ * **DiscardFailed** \
1047
+ * **CommitPending** \
1048
+ * **CommitInProgress** \
1049
+ * **CommitFailed** \
1050
+ * **Committed** \
1051
+ * **DeleteSourcePending** \
1052
+ * **ResourceMoveCompleted**
1053
+ */
1054
+ export type MoveState = string;
1055
+ /** Known values of {@link JobName} that the service accepts. */
1056
+ export declare enum KnownJobName {
1057
+ /** InitialSync */
1058
+ InitialSync = "InitialSync"
1059
+ }
1060
+ /**
1061
+ * Defines values for JobName. \
1062
+ * {@link KnownJobName} can be used interchangeably with JobName,
1063
+ * this enum contains the known values that the service supports.
1064
+ * ### Known values supported by the service
1065
+ * **InitialSync**
1066
+ */
1067
+ export type JobName = string;
1068
+ /** Known values of {@link ResolutionType} that the service accepts. */
1069
+ export declare enum KnownResolutionType {
1070
+ /** Manual */
1071
+ Manual = "Manual",
1072
+ /** Automatic */
1073
+ Automatic = "Automatic"
1074
+ }
1075
+ /**
1076
+ * Defines values for ResolutionType. \
1077
+ * {@link KnownResolutionType} can be used interchangeably with ResolutionType,
1078
+ * this enum contains the known values that the service supports.
1079
+ * ### Known values supported by the service
1080
+ * **Manual** \
1081
+ * **Automatic**
1082
+ */
1083
+ export type ResolutionType = string;
1084
+ /** Known values of {@link DependencyType} that the service accepts. */
1085
+ export declare enum KnownDependencyType {
1086
+ /** RequiredForPrepare */
1087
+ RequiredForPrepare = "RequiredForPrepare",
1088
+ /** RequiredForMove */
1089
+ RequiredForMove = "RequiredForMove"
1090
+ }
1091
+ /**
1092
+ * Defines values for DependencyType. \
1093
+ * {@link KnownDependencyType} can be used interchangeably with DependencyType,
1094
+ * this enum contains the known values that the service supports.
1095
+ * ### Known values supported by the service
1096
+ * **RequiredForPrepare** \
1097
+ * **RequiredForMove**
1098
+ */
1099
+ export type DependencyType = string;
1100
+ /** Known values of {@link DependencyLevel} that the service accepts. */
1101
+ export declare enum KnownDependencyLevel {
1102
+ /** Direct */
1103
+ Direct = "Direct",
1104
+ /** Descendant */
1105
+ Descendant = "Descendant"
1106
+ }
1107
+ /**
1108
+ * Defines values for DependencyLevel. \
1109
+ * {@link KnownDependencyLevel} can be used interchangeably with DependencyLevel,
1110
+ * this enum contains the known values that the service supports.
1111
+ * ### Known values supported by the service
1112
+ * **Direct** \
1113
+ * **Descendant**
1114
+ */
1115
+ export type DependencyLevel = string;
1116
+ /** Known values of {@link TargetAvailabilityZone} that the service accepts. */
1117
+ export declare enum KnownTargetAvailabilityZone {
1118
+ /** One */
1119
+ One = "1",
1120
+ /** Two */
1121
+ Two = "2",
1122
+ /** Three */
1123
+ Three = "3",
1124
+ /** NA */
1125
+ NA = "NA"
1126
+ }
1127
+ /**
1128
+ * Defines values for TargetAvailabilityZone. \
1129
+ * {@link KnownTargetAvailabilityZone} can be used interchangeably with TargetAvailabilityZone,
1130
+ * this enum contains the known values that the service supports.
1131
+ * ### Known values supported by the service
1132
+ * **1** \
1133
+ * **2** \
1134
+ * **3** \
1135
+ * **NA**
1136
+ */
1137
+ export type TargetAvailabilityZone = string;
1138
+ /** Known values of {@link ZoneRedundant} that the service accepts. */
1139
+ export declare enum KnownZoneRedundant {
1140
+ /** Enable */
1141
+ Enable = "Enable",
1142
+ /** Disable */
1143
+ Disable = "Disable"
1144
+ }
1145
+ /**
1146
+ * Defines values for ZoneRedundant. \
1147
+ * {@link KnownZoneRedundant} can be used interchangeably with ZoneRedundant,
1148
+ * this enum contains the known values that the service supports.
1149
+ * ### Known values supported by the service
1150
+ * **Enable** \
1151
+ * **Disable**
1152
+ */
1153
+ export type ZoneRedundant = string;
1154
+ /** Optional parameters. */
1155
+ export interface MoveCollectionsCreateOptionalParams extends coreClient.OperationOptions {
1156
+ /** Define the move collection. */
1157
+ body?: MoveCollection;
1158
+ }
1159
+ /** Contains response data for the create operation. */
1160
+ export type MoveCollectionsCreateResponse = MoveCollection;
1161
+ /** Optional parameters. */
1162
+ export interface MoveCollectionsUpdateOptionalParams extends coreClient.OperationOptions {
1163
+ /** Defines the request body for updating move collection. */
1164
+ body?: UpdateMoveCollectionRequest;
1165
+ }
1166
+ /** Contains response data for the update operation. */
1167
+ export type MoveCollectionsUpdateResponse = MoveCollection;
1168
+ /** Optional parameters. */
1169
+ export interface MoveCollectionsDeleteOptionalParams extends coreClient.OperationOptions {
1170
+ /** Delay to wait until next poll, in milliseconds. */
1171
+ updateIntervalInMs?: number;
1172
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1173
+ resumeFrom?: string;
1174
+ }
1175
+ /** Contains response data for the delete operation. */
1176
+ export type MoveCollectionsDeleteResponse = OperationStatus;
1177
+ /** Optional parameters. */
1178
+ export interface MoveCollectionsGetOptionalParams extends coreClient.OperationOptions {
1179
+ }
1180
+ /** Contains response data for the get operation. */
1181
+ export type MoveCollectionsGetResponse = MoveCollection;
1182
+ /** Optional parameters. */
1183
+ export interface MoveCollectionsPrepareOptionalParams extends coreClient.OperationOptions {
1184
+ /** Defines the request body for initiate prepare operation. */
1185
+ body?: PrepareRequest;
1186
+ /** Delay to wait until next poll, in milliseconds. */
1187
+ updateIntervalInMs?: number;
1188
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1189
+ resumeFrom?: string;
1190
+ }
1191
+ /** Contains response data for the prepare operation. */
1192
+ export type MoveCollectionsPrepareResponse = OperationStatus;
1193
+ /** Optional parameters. */
1194
+ export interface MoveCollectionsInitiateMoveOptionalParams extends coreClient.OperationOptions {
1195
+ /** Defines the request body for resource move operation. */
1196
+ body?: ResourceMoveRequest;
1197
+ /** Delay to wait until next poll, in milliseconds. */
1198
+ updateIntervalInMs?: number;
1199
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1200
+ resumeFrom?: string;
1201
+ }
1202
+ /** Contains response data for the initiateMove operation. */
1203
+ export type MoveCollectionsInitiateMoveResponse = OperationStatus;
1204
+ /** Optional parameters. */
1205
+ export interface MoveCollectionsCommitOptionalParams extends coreClient.OperationOptions {
1206
+ /** Defines the request body for commit operation. */
1207
+ body?: CommitRequest;
1208
+ /** Delay to wait until next poll, in milliseconds. */
1209
+ updateIntervalInMs?: number;
1210
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1211
+ resumeFrom?: string;
1212
+ }
1213
+ /** Contains response data for the commit operation. */
1214
+ export type MoveCollectionsCommitResponse = OperationStatus;
1215
+ /** Optional parameters. */
1216
+ export interface MoveCollectionsDiscardOptionalParams extends coreClient.OperationOptions {
1217
+ /** Defines the request body for discard operation. */
1218
+ body?: DiscardRequest;
1219
+ /** Delay to wait until next poll, in milliseconds. */
1220
+ updateIntervalInMs?: number;
1221
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1222
+ resumeFrom?: string;
1223
+ }
1224
+ /** Contains response data for the discard operation. */
1225
+ export type MoveCollectionsDiscardResponse = OperationStatus;
1226
+ /** Optional parameters. */
1227
+ export interface MoveCollectionsResolveDependenciesOptionalParams extends coreClient.OperationOptions {
1228
+ /** Delay to wait until next poll, in milliseconds. */
1229
+ updateIntervalInMs?: number;
1230
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1231
+ resumeFrom?: string;
1232
+ }
1233
+ /** Contains response data for the resolveDependencies operation. */
1234
+ export type MoveCollectionsResolveDependenciesResponse = OperationStatus;
1235
+ /** Optional parameters. */
1236
+ export interface MoveCollectionsBulkRemoveOptionalParams extends coreClient.OperationOptions {
1237
+ /** Defines the request body for bulk remove of move resources operation. */
1238
+ body?: BulkRemoveRequest;
1239
+ /** Delay to wait until next poll, in milliseconds. */
1240
+ updateIntervalInMs?: number;
1241
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1242
+ resumeFrom?: string;
1243
+ }
1244
+ /** Contains response data for the bulkRemove operation. */
1245
+ export type MoveCollectionsBulkRemoveResponse = OperationStatus;
1246
+ /** Optional parameters. */
1247
+ export interface MoveCollectionsListMoveCollectionsBySubscriptionOptionalParams extends coreClient.OperationOptions {
1248
+ }
1249
+ /** Contains response data for the listMoveCollectionsBySubscription operation. */
1250
+ export type MoveCollectionsListMoveCollectionsBySubscriptionResponse = MoveCollectionResultList;
1251
+ /** Optional parameters. */
1252
+ export interface MoveCollectionsListMoveCollectionsByResourceGroupOptionalParams extends coreClient.OperationOptions {
1253
+ }
1254
+ /** Contains response data for the listMoveCollectionsByResourceGroup operation. */
1255
+ export type MoveCollectionsListMoveCollectionsByResourceGroupResponse = MoveCollectionResultList;
1256
+ /** Optional parameters. */
1257
+ export interface MoveCollectionsListRequiredForOptionalParams extends coreClient.OperationOptions {
1258
+ }
1259
+ /** Contains response data for the listRequiredFor operation. */
1260
+ export type MoveCollectionsListRequiredForResponse = RequiredForResourcesCollection;
1261
+ /** Optional parameters. */
1262
+ export interface MoveCollectionsListMoveCollectionsBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1263
+ }
1264
+ /** Contains response data for the listMoveCollectionsBySubscriptionNext operation. */
1265
+ export type MoveCollectionsListMoveCollectionsBySubscriptionNextResponse = MoveCollectionResultList;
1266
+ /** Optional parameters. */
1267
+ export interface MoveCollectionsListMoveCollectionsByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1268
+ }
1269
+ /** Contains response data for the listMoveCollectionsByResourceGroupNext operation. */
1270
+ export type MoveCollectionsListMoveCollectionsByResourceGroupNextResponse = MoveCollectionResultList;
1271
+ /** Optional parameters. */
1272
+ export interface MoveResourcesListOptionalParams extends coreClient.OperationOptions {
1273
+ /** The filter to apply on the operation. For example, you can use $filter=Properties/ProvisioningState eq 'Succeeded'. */
1274
+ filter?: string;
1275
+ }
1276
+ /** Contains response data for the list operation. */
1277
+ export type MoveResourcesListResponse = MoveResourceCollection;
1278
+ /** Optional parameters. */
1279
+ export interface MoveResourcesCreateOptionalParams extends coreClient.OperationOptions {
1280
+ /** Defines the move resource. */
1281
+ body?: MoveResource;
1282
+ /** Delay to wait until next poll, in milliseconds. */
1283
+ updateIntervalInMs?: number;
1284
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1285
+ resumeFrom?: string;
1286
+ }
1287
+ /** Contains response data for the create operation. */
1288
+ export type MoveResourcesCreateResponse = MoveResource;
1289
+ /** Optional parameters. */
1290
+ export interface MoveResourcesDeleteOptionalParams extends coreClient.OperationOptions {
1291
+ /** Delay to wait until next poll, in milliseconds. */
1292
+ updateIntervalInMs?: number;
1293
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1294
+ resumeFrom?: string;
1295
+ }
1296
+ /** Contains response data for the delete operation. */
1297
+ export type MoveResourcesDeleteResponse = OperationStatus;
1298
+ /** Optional parameters. */
1299
+ export interface MoveResourcesGetOptionalParams extends coreClient.OperationOptions {
1300
+ }
1301
+ /** Contains response data for the get operation. */
1302
+ export type MoveResourcesGetResponse = MoveResource;
1303
+ /** Optional parameters. */
1304
+ export interface MoveResourcesListNextOptionalParams extends coreClient.OperationOptions {
1305
+ }
1306
+ /** Contains response data for the listNext operation. */
1307
+ export type MoveResourcesListNextResponse = MoveResourceCollection;
1308
+ /** Optional parameters. */
1309
+ export interface UnresolvedDependenciesGetOptionalParams extends coreClient.OperationOptions {
1310
+ /** The filter to apply on the operation. For example, $apply=filter(count eq 2). */
1311
+ filter?: string;
1312
+ /** Defines the dependency level. */
1313
+ dependencyLevel?: DependencyLevel;
1314
+ /** OData order by query option. For example, you can use $orderby=Count desc. */
1315
+ orderby?: string;
1316
+ }
1317
+ /** Contains response data for the get operation. */
1318
+ export type UnresolvedDependenciesGetResponse = UnresolvedDependencyCollection;
1319
+ /** Optional parameters. */
1320
+ export interface UnresolvedDependenciesGetNextOptionalParams extends coreClient.OperationOptions {
1321
+ }
1322
+ /** Contains response data for the getNext operation. */
1323
+ export type UnresolvedDependenciesGetNextResponse = UnresolvedDependencyCollection;
1324
+ /** Optional parameters. */
1325
+ export interface OperationsDiscoveryGetOptionalParams extends coreClient.OperationOptions {
1326
+ }
1327
+ /** Contains response data for the get operation. */
1328
+ export type OperationsDiscoveryGetResponse = OperationsDiscoveryCollection;
1329
+ /** Optional parameters. */
1330
+ export interface ResourceMoverServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
1331
+ /** server parameter */
1332
+ $host?: string;
1333
+ /** Api Version */
1334
+ apiVersion?: string;
1335
+ /** Overrides client endpoint. */
1336
+ endpoint?: string;
1337
+ }
1338
+ //# sourceMappingURL=index.d.ts.map