@azure/arm-recoveryservicesdatareplication 1.0.0-beta.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 (434) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +9908 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkNameAvailabilitySample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkNameAvailabilitySample.js +43 -0
  11. package/dist-esm/samples-dev/checkNameAvailabilitySample.js.map +1 -0
  12. package/dist-esm/samples-dev/deploymentPreflightSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/deploymentPreflightSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/deploymentPreflightSample.js +51 -0
  15. package/dist-esm/samples-dev/deploymentPreflightSample.js.map +1 -0
  16. package/dist-esm/samples-dev/draCreateSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/draCreateSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/draCreateSample.js +63 -0
  19. package/dist-esm/samples-dev/draCreateSample.js.map +1 -0
  20. package/dist-esm/samples-dev/draDeleteSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/draDeleteSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/draDeleteSample.js +41 -0
  23. package/dist-esm/samples-dev/draDeleteSample.js.map +1 -0
  24. package/dist-esm/samples-dev/draGetSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/draGetSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/draGetSample.js +41 -0
  27. package/dist-esm/samples-dev/draGetSample.js.map +1 -0
  28. package/dist-esm/samples-dev/draListSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/draListSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/draListSample.js +61 -0
  31. package/dist-esm/samples-dev/draListSample.js.map +1 -0
  32. package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/draOperationStatusGetSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/draOperationStatusGetSample.js +42 -0
  35. package/dist-esm/samples-dev/draOperationStatusGetSample.js.map +1 -0
  36. package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/emailConfigurationCreateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/emailConfigurationCreateSample.js +49 -0
  39. package/dist-esm/samples-dev/emailConfigurationCreateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/emailConfigurationGetSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/emailConfigurationGetSample.js +41 -0
  43. package/dist-esm/samples-dev/emailConfigurationGetSample.js.map +1 -0
  44. package/dist-esm/samples-dev/emailConfigurationListSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/emailConfigurationListSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/emailConfigurationListSample.js +61 -0
  47. package/dist-esm/samples-dev/emailConfigurationListSample.js.map +1 -0
  48. package/dist-esm/samples-dev/eventGetSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/eventGetSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/eventGetSample.js +41 -0
  51. package/dist-esm/samples-dev/eventGetSample.js.map +1 -0
  52. package/dist-esm/samples-dev/eventListSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/eventListSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/eventListSample.js +64 -0
  55. package/dist-esm/samples-dev/eventListSample.js.map +1 -0
  56. package/dist-esm/samples-dev/fabricCreateSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/fabricCreateSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/fabricCreateSample.js +48 -0
  59. package/dist-esm/samples-dev/fabricCreateSample.js.map +1 -0
  60. package/dist-esm/samples-dev/fabricDeleteSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/fabricDeleteSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/fabricDeleteSample.js +40 -0
  63. package/dist-esm/samples-dev/fabricDeleteSample.js.map +1 -0
  64. package/dist-esm/samples-dev/fabricGetSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/fabricGetSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/fabricGetSample.js +40 -0
  67. package/dist-esm/samples-dev/fabricGetSample.js.map +1 -0
  68. package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/fabricListBySubscriptionSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/fabricListBySubscriptionSample.js +60 -0
  71. package/dist-esm/samples-dev/fabricListBySubscriptionSample.js.map +1 -0
  72. package/dist-esm/samples-dev/fabricListSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/fabricListSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/fabricListSample.js +62 -0
  75. package/dist-esm/samples-dev/fabricListSample.js.map +1 -0
  76. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js +41 -0
  79. package/dist-esm/samples-dev/fabricOperationsStatusGetSample.js.map +1 -0
  80. package/dist-esm/samples-dev/fabricUpdateSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/fabricUpdateSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/fabricUpdateSample.js +47 -0
  83. package/dist-esm/samples-dev/fabricUpdateSample.js.map +1 -0
  84. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  85. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  86. package/dist-esm/samples-dev/operationsListSample.js +58 -0
  87. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  88. package/dist-esm/samples-dev/policyCreateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/policyCreateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/policyCreateSample.js +47 -0
  91. package/dist-esm/samples-dev/policyCreateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/policyDeleteSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/policyDeleteSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/policyDeleteSample.js +41 -0
  95. package/dist-esm/samples-dev/policyDeleteSample.js.map +1 -0
  96. package/dist-esm/samples-dev/policyGetSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/policyGetSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/policyGetSample.js +41 -0
  99. package/dist-esm/samples-dev/policyGetSample.js.map +1 -0
  100. package/dist-esm/samples-dev/policyListSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/policyListSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/policyListSample.js +61 -0
  103. package/dist-esm/samples-dev/policyListSample.js.map +1 -0
  104. package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/policyOperationStatusGetSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/policyOperationStatusGetSample.js +42 -0
  107. package/dist-esm/samples-dev/policyOperationStatusGetSample.js.map +1 -0
  108. package/dist-esm/samples-dev/protectedItemCreateSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/protectedItemCreateSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/protectedItemCreateSample.js +49 -0
  111. package/dist-esm/samples-dev/protectedItemCreateSample.js.map +1 -0
  112. package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/protectedItemDeleteSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/protectedItemDeleteSample.js +43 -0
  115. package/dist-esm/samples-dev/protectedItemDeleteSample.js.map +1 -0
  116. package/dist-esm/samples-dev/protectedItemGetSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/protectedItemGetSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/protectedItemGetSample.js +41 -0
  119. package/dist-esm/samples-dev/protectedItemGetSample.js.map +1 -0
  120. package/dist-esm/samples-dev/protectedItemListSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/protectedItemListSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/protectedItemListSample.js +61 -0
  123. package/dist-esm/samples-dev/protectedItemListSample.js.map +1 -0
  124. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js +42 -0
  127. package/dist-esm/samples-dev/protectedItemOperationStatusGetSample.js.map +1 -0
  128. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js +47 -0
  131. package/dist-esm/samples-dev/protectedItemPlannedFailoverSample.js.map +1 -0
  132. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts +2 -0
  133. package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts.map +1 -0
  134. package/dist-esm/samples-dev/recoveryPointsGetSample.js +42 -0
  135. package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -0
  136. package/dist-esm/samples-dev/recoveryPointsListSample.d.ts +2 -0
  137. package/dist-esm/samples-dev/recoveryPointsListSample.d.ts.map +1 -0
  138. package/dist-esm/samples-dev/recoveryPointsListSample.js +62 -0
  139. package/dist-esm/samples-dev/recoveryPointsListSample.js.map +1 -0
  140. package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts +2 -0
  141. package/dist-esm/samples-dev/replicationExtensionCreateSample.d.ts.map +1 -0
  142. package/dist-esm/samples-dev/replicationExtensionCreateSample.js +49 -0
  143. package/dist-esm/samples-dev/replicationExtensionCreateSample.js.map +1 -0
  144. package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts +2 -0
  145. package/dist-esm/samples-dev/replicationExtensionDeleteSample.d.ts.map +1 -0
  146. package/dist-esm/samples-dev/replicationExtensionDeleteSample.js +41 -0
  147. package/dist-esm/samples-dev/replicationExtensionDeleteSample.js.map +1 -0
  148. package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts +2 -0
  149. package/dist-esm/samples-dev/replicationExtensionGetSample.d.ts.map +1 -0
  150. package/dist-esm/samples-dev/replicationExtensionGetSample.js +41 -0
  151. package/dist-esm/samples-dev/replicationExtensionGetSample.js.map +1 -0
  152. package/dist-esm/samples-dev/replicationExtensionListSample.d.ts +2 -0
  153. package/dist-esm/samples-dev/replicationExtensionListSample.d.ts.map +1 -0
  154. package/dist-esm/samples-dev/replicationExtensionListSample.js +61 -0
  155. package/dist-esm/samples-dev/replicationExtensionListSample.js.map +1 -0
  156. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts +2 -0
  157. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.d.ts.map +1 -0
  158. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js +42 -0
  159. package/dist-esm/samples-dev/replicationExtensionOperationStatusGetSample.js.map +1 -0
  160. package/dist-esm/samples-dev/vaultCreateSample.d.ts +2 -0
  161. package/dist-esm/samples-dev/vaultCreateSample.d.ts.map +1 -0
  162. package/dist-esm/samples-dev/vaultCreateSample.js +46 -0
  163. package/dist-esm/samples-dev/vaultCreateSample.js.map +1 -0
  164. package/dist-esm/samples-dev/vaultDeleteSample.d.ts +2 -0
  165. package/dist-esm/samples-dev/vaultDeleteSample.d.ts.map +1 -0
  166. package/dist-esm/samples-dev/vaultDeleteSample.js +40 -0
  167. package/dist-esm/samples-dev/vaultDeleteSample.js.map +1 -0
  168. package/dist-esm/samples-dev/vaultGetSample.d.ts +2 -0
  169. package/dist-esm/samples-dev/vaultGetSample.d.ts.map +1 -0
  170. package/dist-esm/samples-dev/vaultGetSample.js +40 -0
  171. package/dist-esm/samples-dev/vaultGetSample.js.map +1 -0
  172. package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts +2 -0
  173. package/dist-esm/samples-dev/vaultListBySubscriptionSample.d.ts.map +1 -0
  174. package/dist-esm/samples-dev/vaultListBySubscriptionSample.js +60 -0
  175. package/dist-esm/samples-dev/vaultListBySubscriptionSample.js.map +1 -0
  176. package/dist-esm/samples-dev/vaultListSample.d.ts +2 -0
  177. package/dist-esm/samples-dev/vaultListSample.d.ts.map +1 -0
  178. package/dist-esm/samples-dev/vaultListSample.js +62 -0
  179. package/dist-esm/samples-dev/vaultListSample.js.map +1 -0
  180. package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts +2 -0
  181. package/dist-esm/samples-dev/vaultOperationStatusGetSample.d.ts.map +1 -0
  182. package/dist-esm/samples-dev/vaultOperationStatusGetSample.js +41 -0
  183. package/dist-esm/samples-dev/vaultOperationStatusGetSample.js.map +1 -0
  184. package/dist-esm/samples-dev/vaultUpdateSample.d.ts +2 -0
  185. package/dist-esm/samples-dev/vaultUpdateSample.d.ts.map +1 -0
  186. package/dist-esm/samples-dev/vaultUpdateSample.js +45 -0
  187. package/dist-esm/samples-dev/vaultUpdateSample.js.map +1 -0
  188. package/dist-esm/samples-dev/workflowGetSample.d.ts +2 -0
  189. package/dist-esm/samples-dev/workflowGetSample.d.ts.map +1 -0
  190. package/dist-esm/samples-dev/workflowGetSample.js +41 -0
  191. package/dist-esm/samples-dev/workflowGetSample.js.map +1 -0
  192. package/dist-esm/samples-dev/workflowListSample.d.ts +2 -0
  193. package/dist-esm/samples-dev/workflowListSample.d.ts.map +1 -0
  194. package/dist-esm/samples-dev/workflowListSample.js +64 -0
  195. package/dist-esm/samples-dev/workflowListSample.js.map +1 -0
  196. package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts +2 -0
  197. package/dist-esm/samples-dev/workflowOperationStatusGetSample.d.ts.map +1 -0
  198. package/dist-esm/samples-dev/workflowOperationStatusGetSample.js +42 -0
  199. package/dist-esm/samples-dev/workflowOperationStatusGetSample.js.map +1 -0
  200. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts +50 -0
  201. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.d.ts.map +1 -0
  202. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js +183 -0
  203. package/dist-esm/src/azureSiteRecoveryManagementServiceAPI.js.map +1 -0
  204. package/dist-esm/src/index.d.ts +6 -0
  205. package/dist-esm/src/index.d.ts.map +1 -0
  206. package/dist-esm/src/index.js +13 -0
  207. package/dist-esm/src/index.js.map +1 -0
  208. package/dist-esm/src/lroImpl.d.ts +11 -0
  209. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  210. package/dist-esm/src/lroImpl.js +21 -0
  211. package/dist-esm/src/lroImpl.js.map +1 -0
  212. package/dist-esm/src/models/index.d.ts +3253 -0
  213. package/dist-esm/src/models/index.d.ts.map +1 -0
  214. package/dist-esm/src/models/index.js +298 -0
  215. package/dist-esm/src/models/index.js.map +1 -0
  216. package/dist-esm/src/models/mappers.d.ts +149 -0
  217. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  218. package/dist-esm/src/models/mappers.js +4952 -0
  219. package/dist-esm/src/models/mappers.js.map +1 -0
  220. package/dist-esm/src/models/parameters.d.ts +37 -0
  221. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  222. package/dist-esm/src/models/parameters.js +329 -0
  223. package/dist-esm/src/models/parameters.js.map +1 -0
  224. package/dist-esm/src/operations/dra.d.ts +79 -0
  225. package/dist-esm/src/operations/dra.d.ts.map +1 -0
  226. package/dist-esm/src/operations/dra.js +369 -0
  227. package/dist-esm/src/operations/dra.js.map +1 -0
  228. package/dist-esm/src/operations/draOperationStatus.d.ts +22 -0
  229. package/dist-esm/src/operations/draOperationStatus.d.ts.map +1 -0
  230. package/dist-esm/src/operations/draOperationStatus.js +57 -0
  231. package/dist-esm/src/operations/draOperationStatus.js.map +1 -0
  232. package/dist-esm/src/operations/emailConfiguration.d.ts +54 -0
  233. package/dist-esm/src/operations/emailConfiguration.d.ts.map +1 -0
  234. package/dist-esm/src/operations/emailConfiguration.js +224 -0
  235. package/dist-esm/src/operations/emailConfiguration.js.map +1 -0
  236. package/dist-esm/src/operations/event.d.ts +46 -0
  237. package/dist-esm/src/operations/event.d.ts.map +1 -0
  238. package/dist-esm/src/operations/event.js +191 -0
  239. package/dist-esm/src/operations/event.js.map +1 -0
  240. package/dist-esm/src/operations/fabric.d.ts +103 -0
  241. package/dist-esm/src/operations/fabric.d.ts.map +1 -0
  242. package/dist-esm/src/operations/fabric.js +560 -0
  243. package/dist-esm/src/operations/fabric.js.map +1 -0
  244. package/dist-esm/src/operations/fabricOperationsStatus.d.ts +21 -0
  245. package/dist-esm/src/operations/fabricOperationsStatus.d.ts.map +1 -0
  246. package/dist-esm/src/operations/fabricOperationsStatus.js +55 -0
  247. package/dist-esm/src/operations/fabricOperationsStatus.js.map +1 -0
  248. package/dist-esm/src/operations/index.d.ts +19 -0
  249. package/dist-esm/src/operations/index.d.ts.map +1 -0
  250. package/dist-esm/src/operations/index.js +26 -0
  251. package/dist-esm/src/operations/index.js.map +1 -0
  252. package/dist-esm/src/operations/operations.d.ts +32 -0
  253. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  254. package/dist-esm/src/operations/operations.js +138 -0
  255. package/dist-esm/src/operations/operations.js.map +1 -0
  256. package/dist-esm/src/operations/policy.d.ts +79 -0
  257. package/dist-esm/src/operations/policy.d.ts.map +1 -0
  258. package/dist-esm/src/operations/policy.js +369 -0
  259. package/dist-esm/src/operations/policy.js.map +1 -0
  260. package/dist-esm/src/operations/policyOperationStatus.d.ts +22 -0
  261. package/dist-esm/src/operations/policyOperationStatus.d.ts.map +1 -0
  262. package/dist-esm/src/operations/policyOperationStatus.js +57 -0
  263. package/dist-esm/src/operations/policyOperationStatus.js.map +1 -0
  264. package/dist-esm/src/operations/protectedItem.d.ts +95 -0
  265. package/dist-esm/src/operations/protectedItem.d.ts.map +1 -0
  266. package/dist-esm/src/operations/protectedItem.js +460 -0
  267. package/dist-esm/src/operations/protectedItem.js.map +1 -0
  268. package/dist-esm/src/operations/protectedItemOperationStatus.d.ts +22 -0
  269. package/dist-esm/src/operations/protectedItemOperationStatus.d.ts.map +1 -0
  270. package/dist-esm/src/operations/protectedItemOperationStatus.js +57 -0
  271. package/dist-esm/src/operations/protectedItemOperationStatus.js.map +1 -0
  272. package/dist-esm/src/operations/recoveryPoints.d.ts +50 -0
  273. package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -0
  274. package/dist-esm/src/operations/recoveryPoints.js +200 -0
  275. package/dist-esm/src/operations/recoveryPoints.js.map +1 -0
  276. package/dist-esm/src/operations/replicationExtension.d.ts +79 -0
  277. package/dist-esm/src/operations/replicationExtension.d.ts.map +1 -0
  278. package/dist-esm/src/operations/replicationExtension.js +369 -0
  279. package/dist-esm/src/operations/replicationExtension.js.map +1 -0
  280. package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts +22 -0
  281. package/dist-esm/src/operations/replicationExtensionOperationStatus.d.ts.map +1 -0
  282. package/dist-esm/src/operations/replicationExtensionOperationStatus.js +63 -0
  283. package/dist-esm/src/operations/replicationExtensionOperationStatus.js.map +1 -0
  284. package/dist-esm/src/operations/vault.d.ts +103 -0
  285. package/dist-esm/src/operations/vault.d.ts.map +1 -0
  286. package/dist-esm/src/operations/vault.js +560 -0
  287. package/dist-esm/src/operations/vault.js.map +1 -0
  288. package/dist-esm/src/operations/vaultOperationStatus.d.ts +21 -0
  289. package/dist-esm/src/operations/vaultOperationStatus.d.ts.map +1 -0
  290. package/dist-esm/src/operations/vaultOperationStatus.js +55 -0
  291. package/dist-esm/src/operations/vaultOperationStatus.js.map +1 -0
  292. package/dist-esm/src/operations/workflow.d.ts +46 -0
  293. package/dist-esm/src/operations/workflow.d.ts.map +1 -0
  294. package/dist-esm/src/operations/workflow.js +191 -0
  295. package/dist-esm/src/operations/workflow.js.map +1 -0
  296. package/dist-esm/src/operations/workflowOperationStatus.d.ts +22 -0
  297. package/dist-esm/src/operations/workflowOperationStatus.d.ts.map +1 -0
  298. package/dist-esm/src/operations/workflowOperationStatus.js +57 -0
  299. package/dist-esm/src/operations/workflowOperationStatus.js.map +1 -0
  300. package/dist-esm/src/operationsInterfaces/dra.d.ts +54 -0
  301. package/dist-esm/src/operationsInterfaces/dra.d.ts.map +1 -0
  302. package/dist-esm/src/operationsInterfaces/dra.js +9 -0
  303. package/dist-esm/src/operationsInterfaces/dra.js.map +1 -0
  304. package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts +14 -0
  305. package/dist-esm/src/operationsInterfaces/draOperationStatus.d.ts.map +1 -0
  306. package/dist-esm/src/operationsInterfaces/draOperationStatus.js +9 -0
  307. package/dist-esm/src/operationsInterfaces/draOperationStatus.js.map +1 -0
  308. package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts +29 -0
  309. package/dist-esm/src/operationsInterfaces/emailConfiguration.d.ts.map +1 -0
  310. package/dist-esm/src/operationsInterfaces/emailConfiguration.js +9 -0
  311. package/dist-esm/src/operationsInterfaces/emailConfiguration.js.map +1 -0
  312. package/dist-esm/src/operationsInterfaces/event.d.ts +21 -0
  313. package/dist-esm/src/operationsInterfaces/event.d.ts.map +1 -0
  314. package/dist-esm/src/operationsInterfaces/event.js +9 -0
  315. package/dist-esm/src/operationsInterfaces/event.js.map +1 -0
  316. package/dist-esm/src/operationsInterfaces/fabric.d.ts +67 -0
  317. package/dist-esm/src/operationsInterfaces/fabric.d.ts.map +1 -0
  318. package/dist-esm/src/operationsInterfaces/fabric.js +9 -0
  319. package/dist-esm/src/operationsInterfaces/fabric.js.map +1 -0
  320. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts +13 -0
  321. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.d.ts.map +1 -0
  322. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.js +9 -0
  323. package/dist-esm/src/operationsInterfaces/fabricOperationsStatus.js.map +1 -0
  324. package/dist-esm/src/operationsInterfaces/index.d.ts +19 -0
  325. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  326. package/dist-esm/src/operationsInterfaces/index.js +26 -0
  327. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  328. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  329. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  330. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  331. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  332. package/dist-esm/src/operationsInterfaces/policy.d.ts +54 -0
  333. package/dist-esm/src/operationsInterfaces/policy.d.ts.map +1 -0
  334. package/dist-esm/src/operationsInterfaces/policy.js +9 -0
  335. package/dist-esm/src/operationsInterfaces/policy.js.map +1 -0
  336. package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts +14 -0
  337. package/dist-esm/src/operationsInterfaces/policyOperationStatus.d.ts.map +1 -0
  338. package/dist-esm/src/operationsInterfaces/policyOperationStatus.js +9 -0
  339. package/dist-esm/src/operationsInterfaces/policyOperationStatus.js.map +1 -0
  340. package/dist-esm/src/operationsInterfaces/protectedItem.d.ts +70 -0
  341. package/dist-esm/src/operationsInterfaces/protectedItem.d.ts.map +1 -0
  342. package/dist-esm/src/operationsInterfaces/protectedItem.js +9 -0
  343. package/dist-esm/src/operationsInterfaces/protectedItem.js.map +1 -0
  344. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts +14 -0
  345. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.d.ts.map +1 -0
  346. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.js +9 -0
  347. package/dist-esm/src/operationsInterfaces/protectedItemOperationStatus.js.map +1 -0
  348. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +23 -0
  349. package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
  350. package/dist-esm/src/operationsInterfaces/recoveryPoints.js +9 -0
  351. package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +1 -0
  352. package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts +54 -0
  353. package/dist-esm/src/operationsInterfaces/replicationExtension.d.ts.map +1 -0
  354. package/dist-esm/src/operationsInterfaces/replicationExtension.js +9 -0
  355. package/dist-esm/src/operationsInterfaces/replicationExtension.js.map +1 -0
  356. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts +14 -0
  357. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.d.ts.map +1 -0
  358. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.js +9 -0
  359. package/dist-esm/src/operationsInterfaces/replicationExtensionOperationStatus.js.map +1 -0
  360. package/dist-esm/src/operationsInterfaces/vault.d.ts +67 -0
  361. package/dist-esm/src/operationsInterfaces/vault.d.ts.map +1 -0
  362. package/dist-esm/src/operationsInterfaces/vault.js +9 -0
  363. package/dist-esm/src/operationsInterfaces/vault.js.map +1 -0
  364. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts +13 -0
  365. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.d.ts.map +1 -0
  366. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.js +9 -0
  367. package/dist-esm/src/operationsInterfaces/vaultOperationStatus.js.map +1 -0
  368. package/dist-esm/src/operationsInterfaces/workflow.d.ts +21 -0
  369. package/dist-esm/src/operationsInterfaces/workflow.d.ts.map +1 -0
  370. package/dist-esm/src/operationsInterfaces/workflow.js +9 -0
  371. package/dist-esm/src/operationsInterfaces/workflow.js.map +1 -0
  372. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts +14 -0
  373. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.d.ts.map +1 -0
  374. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.js +9 -0
  375. package/dist-esm/src/operationsInterfaces/workflowOperationStatus.js.map +1 -0
  376. package/dist-esm/src/pagingHelper.d.ts +13 -0
  377. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  378. package/dist-esm/src/pagingHelper.js +32 -0
  379. package/dist-esm/src/pagingHelper.js.map +1 -0
  380. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts +4 -0
  381. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.d.ts.map +1 -0
  382. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js +76 -0
  383. package/dist-esm/test/recoveryservicesdatareplication_operations_test.spec.js.map +1 -0
  384. package/package.json +124 -0
  385. package/review/arm-recoveryservicesdatareplication.api.md +1973 -0
  386. package/rollup.config.js +122 -0
  387. package/src/azureSiteRecoveryManagementServiceAPI.ts +306 -0
  388. package/src/index.ts +13 -0
  389. package/src/lroImpl.ts +42 -0
  390. package/src/models/index.ts +3567 -0
  391. package/src/models/mappers.ts +5306 -0
  392. package/src/models/parameters.ts +382 -0
  393. package/src/operations/dra.ts +500 -0
  394. package/src/operations/draOperationStatus.ts +78 -0
  395. package/src/operations/emailConfiguration.ts +287 -0
  396. package/src/operations/event.ts +242 -0
  397. package/src/operations/fabric.ts +710 -0
  398. package/src/operations/fabricOperationsStatus.ts +75 -0
  399. package/src/operations/index.ts +26 -0
  400. package/src/operations/operations.ts +149 -0
  401. package/src/operations/policy.ts +500 -0
  402. package/src/operations/policyOperationStatus.ts +78 -0
  403. package/src/operations/protectedItem.ts +638 -0
  404. package/src/operations/protectedItemOperationStatus.ts +79 -0
  405. package/src/operations/recoveryPoints.ts +270 -0
  406. package/src/operations/replicationExtension.ts +506 -0
  407. package/src/operations/replicationExtensionOperationStatus.ts +85 -0
  408. package/src/operations/vault.ts +710 -0
  409. package/src/operations/vaultOperationStatus.ts +75 -0
  410. package/src/operations/workflow.ts +242 -0
  411. package/src/operations/workflowOperationStatus.ts +78 -0
  412. package/src/operationsInterfaces/dra.ts +105 -0
  413. package/src/operationsInterfaces/draOperationStatus.ts +31 -0
  414. package/src/operationsInterfaces/emailConfiguration.ts +59 -0
  415. package/src/operationsInterfaces/event.ts +44 -0
  416. package/src/operationsInterfaces/fabric.ts +127 -0
  417. package/src/operationsInterfaces/fabricOperationsStatus.ts +29 -0
  418. package/src/operationsInterfaces/index.ts +26 -0
  419. package/src/operationsInterfaces/operations.ts +22 -0
  420. package/src/operationsInterfaces/policy.ts +105 -0
  421. package/src/operationsInterfaces/policyOperationStatus.ts +31 -0
  422. package/src/operationsInterfaces/protectedItem.ts +144 -0
  423. package/src/operationsInterfaces/protectedItemOperationStatus.ts +31 -0
  424. package/src/operationsInterfaces/recoveryPoints.ts +48 -0
  425. package/src/operationsInterfaces/replicationExtension.ts +111 -0
  426. package/src/operationsInterfaces/replicationExtensionOperationStatus.ts +31 -0
  427. package/src/operationsInterfaces/vault.ts +127 -0
  428. package/src/operationsInterfaces/vaultOperationStatus.ts +29 -0
  429. package/src/operationsInterfaces/workflow.ts +44 -0
  430. package/src/operationsInterfaces/workflowOperationStatus.ts +31 -0
  431. package/src/pagingHelper.ts +39 -0
  432. package/tsconfig.json +33 -0
  433. package/types/arm-recoveryservicesdatareplication.d.ts +4127 -0
  434. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,4127 @@
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
+ /**
8
+ * Defines values for ActionType. \
9
+ * {@link KnownActionType} can be used interchangeably with ActionType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Internal**
13
+ */
14
+ export declare type ActionType = string;
15
+
16
+ /** AzStackHCI cluster properties. */
17
+ export declare interface AzStackHCIClusterProperties {
18
+ /** Gets or sets the AzStackHCICluster FQDN name. */
19
+ clusterName: string;
20
+ /** Gets or sets the AzStackHCICluster resource name. */
21
+ resourceName: string;
22
+ /** Gets or sets the Storage account name. */
23
+ storageAccountName: string;
24
+ /** Gets or sets the list of AzStackHCICluster Storage Container. */
25
+ storageContainers: StorageContainerProperties[];
26
+ }
27
+
28
+ /** AzStackHCI fabric model custom properties. */
29
+ export declare interface AzStackHCIFabricModelCustomProperties extends FabricModelCustomProperties {
30
+ /** Polymorphic discriminator, which specifies the different types this object can be */
31
+ instanceType: "AzStackHCI";
32
+ /** Gets or sets the ARM Id of the AzStackHCI site. */
33
+ azStackHciSiteId: string;
34
+ /**
35
+ * Gets or sets the Appliance name.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly applianceName?: string[];
39
+ /** AzStackHCI cluster properties. */
40
+ cluster: AzStackHCIClusterProperties;
41
+ /**
42
+ * Gets or sets the fabric resource Id.
43
+ * NOTE: This property will not be serialized. It can only be populated by the server.
44
+ */
45
+ readonly fabricResourceId?: string;
46
+ /**
47
+ * Gets or sets the fabric container Id.
48
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
+ */
50
+ readonly fabricContainerId?: string;
51
+ /** Gets or sets the Migration solution ARM Id. */
52
+ migrationSolutionId: string;
53
+ /**
54
+ * Gets or sets the migration hub Uri.
55
+ * NOTE: This property will not be serialized. It can only be populated by the server.
56
+ */
57
+ readonly migrationHubUri?: string;
58
+ }
59
+
60
+ export declare class AzureSiteRecoveryManagementServiceAPI extends coreClient.ServiceClient {
61
+ $host: string;
62
+ subscriptionId: string;
63
+ apiVersion: string;
64
+ /**
65
+ * Initializes a new instance of the AzureSiteRecoveryManagementServiceAPI class.
66
+ * @param credentials Subscription credentials which uniquely identify client subscription.
67
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
68
+ * @param options The parameter options
69
+ */
70
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: AzureSiteRecoveryManagementServiceAPIOptionalParams);
71
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
72
+ private addCustomApiVersionPolicy;
73
+ /**
74
+ * Checks the resource name availability.
75
+ * @param location The name of the Azure region.
76
+ * @param options The options parameters.
77
+ */
78
+ checkNameAvailability(location: string, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>;
79
+ /**
80
+ * Performs resource deployment validation.
81
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
+ * @param deploymentId Deployment Id.
83
+ * @param options The options parameters.
84
+ */
85
+ deploymentPreflight(resourceGroupName: string, deploymentId: string, options?: DeploymentPreflightOptionalParams): Promise<DeploymentPreflightResponse>;
86
+ dra: Dra;
87
+ draOperationStatus: DraOperationStatus;
88
+ emailConfiguration: EmailConfiguration;
89
+ event: Event_2;
90
+ fabric: Fabric;
91
+ fabricOperationsStatus: FabricOperationsStatus;
92
+ policy: Policy;
93
+ policyOperationStatus: PolicyOperationStatus;
94
+ protectedItem: ProtectedItem;
95
+ protectedItemOperationStatus: ProtectedItemOperationStatus;
96
+ recoveryPoints: RecoveryPoints;
97
+ replicationExtension: ReplicationExtension;
98
+ replicationExtensionOperationStatus: ReplicationExtensionOperationStatus;
99
+ operations: Operations;
100
+ vault: Vault;
101
+ vaultOperationStatus: VaultOperationStatus;
102
+ workflow: Workflow;
103
+ workflowOperationStatus: WorkflowOperationStatus;
104
+ }
105
+
106
+ /** Optional parameters. */
107
+ export declare interface AzureSiteRecoveryManagementServiceAPIOptionalParams extends coreClient.ServiceClientOptions {
108
+ /** server parameter */
109
+ $host?: string;
110
+ /** Api Version */
111
+ apiVersion?: string;
112
+ /** Overrides client endpoint. */
113
+ endpoint?: string;
114
+ }
115
+
116
+ /** Check name availability model. */
117
+ export declare interface CheckNameAvailabilityModel {
118
+ /** Gets or sets the resource name. */
119
+ name?: string;
120
+ /** Gets or sets the resource type. */
121
+ type?: string;
122
+ }
123
+
124
+ /** Optional parameters. */
125
+ export declare interface CheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
126
+ /** Resource details. */
127
+ body?: CheckNameAvailabilityModel;
128
+ }
129
+
130
+ /** Contains response data for the checkNameAvailability operation. */
131
+ export declare type CheckNameAvailabilityResponse = CheckNameAvailabilityResponseModel;
132
+
133
+ /** Check name availability response model. */
134
+ export declare interface CheckNameAvailabilityResponseModel {
135
+ /** Gets or sets a value indicating whether resource name is available or not. */
136
+ nameAvailable?: boolean;
137
+ /** Gets or sets the reason for resource name unavailability. */
138
+ reason?: string;
139
+ /** Gets or sets the message for resource name unavailability. */
140
+ message?: string;
141
+ }
142
+
143
+ /** Deployment preflight model. */
144
+ export declare interface DeploymentPreflightModel {
145
+ /** Gets or sets the list of resources. */
146
+ resources?: DeploymentPreflightResource[];
147
+ }
148
+
149
+ /** Optional parameters. */
150
+ export declare interface DeploymentPreflightOptionalParams extends coreClient.OperationOptions {
151
+ /** Deployment preflight model. */
152
+ body?: DeploymentPreflightModel;
153
+ }
154
+
155
+ /** Deployment preflight resource. */
156
+ export declare interface DeploymentPreflightResource {
157
+ /** Gets or sets the resource name. */
158
+ name?: string;
159
+ /** Gets or sets the resource type. */
160
+ type?: string;
161
+ /** Gets or sets the location of the resource. */
162
+ location?: string;
163
+ /** Gets or sets the Api version. */
164
+ apiVersion?: string;
165
+ }
166
+
167
+ /** Contains response data for the deploymentPreflight operation. */
168
+ export declare type DeploymentPreflightResponse = DeploymentPreflightModel;
169
+
170
+ /** Interface representing a Dra. */
171
+ export declare interface Dra {
172
+ /**
173
+ * Gets the list of fabric agents in the given fabric.
174
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
175
+ * @param fabricName The fabric name.
176
+ * @param options The options parameters.
177
+ */
178
+ list(resourceGroupName: string, fabricName: string, options?: DraListOptionalParams): PagedAsyncIterableIterator<DraModel>;
179
+ /**
180
+ * Gets the details of the fabric agent.
181
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
182
+ * @param fabricName The fabric name.
183
+ * @param fabricAgentName The fabric agent (Dra) name.
184
+ * @param options The options parameters.
185
+ */
186
+ get(resourceGroupName: string, fabricName: string, fabricAgentName: string, options?: DraGetOptionalParams): Promise<DraGetResponse>;
187
+ /**
188
+ * Creates the fabric agent.
189
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
190
+ * @param fabricName The fabric name.
191
+ * @param fabricAgentName The fabric agent (Dra) name.
192
+ * @param options The options parameters.
193
+ */
194
+ beginCreate(resourceGroupName: string, fabricName: string, fabricAgentName: string, options?: DraCreateOptionalParams): Promise<SimplePollerLike<OperationState<DraCreateResponse>, DraCreateResponse>>;
195
+ /**
196
+ * Creates the fabric agent.
197
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
198
+ * @param fabricName The fabric name.
199
+ * @param fabricAgentName The fabric agent (Dra) name.
200
+ * @param options The options parameters.
201
+ */
202
+ beginCreateAndWait(resourceGroupName: string, fabricName: string, fabricAgentName: string, options?: DraCreateOptionalParams): Promise<DraCreateResponse>;
203
+ /**
204
+ * Deletes the fabric agent.
205
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
206
+ * @param fabricName The fabric name.
207
+ * @param fabricAgentName The fabric agent (Dra) name.
208
+ * @param options The options parameters.
209
+ */
210
+ beginDelete(resourceGroupName: string, fabricName: string, fabricAgentName: string, options?: DraDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DraDeleteResponse>, DraDeleteResponse>>;
211
+ /**
212
+ * Deletes the fabric agent.
213
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
214
+ * @param fabricName The fabric name.
215
+ * @param fabricAgentName The fabric agent (Dra) name.
216
+ * @param options The options parameters.
217
+ */
218
+ beginDeleteAndWait(resourceGroupName: string, fabricName: string, fabricAgentName: string, options?: DraDeleteOptionalParams): Promise<DraDeleteResponse>;
219
+ }
220
+
221
+ /** Optional parameters. */
222
+ export declare interface DraCreateOptionalParams extends coreClient.OperationOptions {
223
+ /** Dra model. */
224
+ body?: DraModel;
225
+ /** Delay to wait until next poll, in milliseconds. */
226
+ updateIntervalInMs?: number;
227
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
228
+ resumeFrom?: string;
229
+ }
230
+
231
+ /** Contains response data for the create operation. */
232
+ export declare type DraCreateResponse = DraModel;
233
+
234
+ /** Defines headers for Dra_delete operation. */
235
+ export declare interface DraDeleteHeaders {
236
+ /** Tracking URL for long running operation. */
237
+ azureAsyncOperation?: string;
238
+ location?: string;
239
+ }
240
+
241
+ /** Optional parameters. */
242
+ export declare interface DraDeleteOptionalParams extends coreClient.OperationOptions {
243
+ /** Delay to wait until next poll, in milliseconds. */
244
+ updateIntervalInMs?: number;
245
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
246
+ resumeFrom?: string;
247
+ }
248
+
249
+ /** Contains response data for the delete operation. */
250
+ export declare type DraDeleteResponse = DraDeleteHeaders;
251
+
252
+ /** Optional parameters. */
253
+ export declare interface DraGetOptionalParams extends coreClient.OperationOptions {
254
+ }
255
+
256
+ /** Contains response data for the get operation. */
257
+ export declare type DraGetResponse = DraModel;
258
+
259
+ /** Optional parameters. */
260
+ export declare interface DraListNextOptionalParams extends coreClient.OperationOptions {
261
+ }
262
+
263
+ /** Contains response data for the listNext operation. */
264
+ export declare type DraListNextResponse = DraModelCollection;
265
+
266
+ /** Optional parameters. */
267
+ export declare interface DraListOptionalParams extends coreClient.OperationOptions {
268
+ }
269
+
270
+ /** Contains response data for the list operation. */
271
+ export declare type DraListResponse = DraModelCollection;
272
+
273
+ /** Dra model. */
274
+ export declare interface DraModel {
275
+ /** Dra model properties. */
276
+ properties: DraModelProperties;
277
+ /**
278
+ * Gets or sets the Id of the resource.
279
+ * NOTE: This property will not be serialized. It can only be populated by the server.
280
+ */
281
+ readonly id?: string;
282
+ /**
283
+ * Gets or sets the name of the resource.
284
+ * NOTE: This property will not be serialized. It can only be populated by the server.
285
+ */
286
+ readonly name?: string;
287
+ /**
288
+ * Gets or sets the type of the resource.
289
+ * NOTE: This property will not be serialized. It can only be populated by the server.
290
+ */
291
+ readonly type?: string;
292
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
293
+ readonly systemData?: DraModelSystemData;
294
+ }
295
+
296
+ /** Dra model collection. */
297
+ export declare interface DraModelCollection {
298
+ /** Gets or sets the list of Dras. */
299
+ value?: DraModel[];
300
+ /** Gets or sets the value of next link. */
301
+ nextLink?: string;
302
+ }
303
+
304
+ /** Dra model custom properties. */
305
+ export declare interface DraModelCustomProperties {
306
+ /** Polymorphic discriminator, which specifies the different types this object can be */
307
+ instanceType: "VMware";
308
+ }
309
+
310
+ export declare type DraModelCustomPropertiesUnion = DraModelCustomProperties | VMwareDraModelCustomProperties;
311
+
312
+ /** Dra model properties. */
313
+ export declare interface DraModelProperties {
314
+ /**
315
+ * Gets or sets the Dra correlation Id.
316
+ * NOTE: This property will not be serialized. It can only be populated by the server.
317
+ */
318
+ readonly correlationId?: string;
319
+ /** Gets or sets the machine Id where Dra is running. */
320
+ machineId: string;
321
+ /** Gets or sets the machine name where Dra is running. */
322
+ machineName: string;
323
+ /** Identity model. */
324
+ authenticationIdentity: IdentityModel;
325
+ /** Identity model. */
326
+ resourceAccessIdentity: IdentityModel;
327
+ /**
328
+ * Gets or sets a value indicating whether Dra is responsive.
329
+ * NOTE: This property will not be serialized. It can only be populated by the server.
330
+ */
331
+ readonly isResponsive?: boolean;
332
+ /**
333
+ * Gets or sets the time when last heartbeat was sent by the Dra.
334
+ * NOTE: This property will not be serialized. It can only be populated by the server.
335
+ */
336
+ readonly lastHeartbeat?: Date;
337
+ /**
338
+ * Gets or sets the Dra version.
339
+ * NOTE: This property will not be serialized. It can only be populated by the server.
340
+ */
341
+ readonly versionNumber?: string;
342
+ /**
343
+ * Gets or sets the provisioning state of the Dra.
344
+ * NOTE: This property will not be serialized. It can only be populated by the server.
345
+ */
346
+ readonly provisioningState?: ProvisioningState;
347
+ /**
348
+ * Gets or sets the list of health errors.
349
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
+ */
351
+ readonly healthErrors?: HealthErrorModel[];
352
+ /** Dra model custom properties. */
353
+ customProperties: DraModelCustomPropertiesUnion;
354
+ }
355
+
356
+ export declare interface DraModelSystemData extends SystemDataModel {
357
+ }
358
+
359
+ /** Interface representing a DraOperationStatus. */
360
+ export declare interface DraOperationStatus {
361
+ /**
362
+ * Tracks the results of an asynchronous operation on the fabric agent.
363
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
364
+ * @param fabricName The fabric name.
365
+ * @param fabricAgentName The fabric agent (Dra) name.
366
+ * @param operationId The ID of an ongoing async operation.
367
+ * @param options The options parameters.
368
+ */
369
+ get(resourceGroupName: string, fabricName: string, fabricAgentName: string, operationId: string, options?: DraOperationStatusGetOptionalParams): Promise<DraOperationStatusGetResponse>;
370
+ }
371
+
372
+ /** Optional parameters. */
373
+ export declare interface DraOperationStatusGetOptionalParams extends coreClient.OperationOptions {
374
+ }
375
+
376
+ /** Contains response data for the get operation. */
377
+ export declare type DraOperationStatusGetResponse = OperationStatus;
378
+
379
+ /** Interface representing a EmailConfiguration. */
380
+ export declare interface EmailConfiguration {
381
+ /**
382
+ * Gets the list of alert configuration settings for the given vault.
383
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
384
+ * @param vaultName The vault name.
385
+ * @param options The options parameters.
386
+ */
387
+ list(resourceGroupName: string, vaultName: string, options?: EmailConfigurationListOptionalParams): PagedAsyncIterableIterator<EmailConfigurationModel>;
388
+ /**
389
+ * Gets the details of the alert configuration setting.
390
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
391
+ * @param vaultName The vault name.
392
+ * @param emailConfigurationName The email configuration name.
393
+ * @param options The options parameters.
394
+ */
395
+ get(resourceGroupName: string, vaultName: string, emailConfigurationName: string, options?: EmailConfigurationGetOptionalParams): Promise<EmailConfigurationGetResponse>;
396
+ /**
397
+ * Creates an alert configuration setting for the given vault.
398
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
399
+ * @param vaultName The vault name.
400
+ * @param emailConfigurationName The email configuration name.
401
+ * @param options The options parameters.
402
+ */
403
+ create(resourceGroupName: string, vaultName: string, emailConfigurationName: string, options?: EmailConfigurationCreateOptionalParams): Promise<EmailConfigurationCreateResponse>;
404
+ }
405
+
406
+ /** Optional parameters. */
407
+ export declare interface EmailConfigurationCreateOptionalParams extends coreClient.OperationOptions {
408
+ /** EmailConfiguration model. */
409
+ body?: EmailConfigurationModel;
410
+ }
411
+
412
+ /** Contains response data for the create operation. */
413
+ export declare type EmailConfigurationCreateResponse = EmailConfigurationModel;
414
+
415
+ /** Optional parameters. */
416
+ export declare interface EmailConfigurationGetOptionalParams extends coreClient.OperationOptions {
417
+ }
418
+
419
+ /** Contains response data for the get operation. */
420
+ export declare type EmailConfigurationGetResponse = EmailConfigurationModel;
421
+
422
+ /** Optional parameters. */
423
+ export declare interface EmailConfigurationListNextOptionalParams extends coreClient.OperationOptions {
424
+ }
425
+
426
+ /** Contains response data for the listNext operation. */
427
+ export declare type EmailConfigurationListNextResponse = EmailConfigurationModelCollection;
428
+
429
+ /** Optional parameters. */
430
+ export declare interface EmailConfigurationListOptionalParams extends coreClient.OperationOptions {
431
+ }
432
+
433
+ /** Contains response data for the list operation. */
434
+ export declare type EmailConfigurationListResponse = EmailConfigurationModelCollection;
435
+
436
+ /** Email configuration model. */
437
+ export declare interface EmailConfigurationModel {
438
+ /** Email configuration model properties. */
439
+ properties: EmailConfigurationModelProperties;
440
+ /**
441
+ * Gets or sets the Id of the resource.
442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
443
+ */
444
+ readonly id?: string;
445
+ /**
446
+ * Gets or sets the name of the resource.
447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
448
+ */
449
+ readonly name?: string;
450
+ /**
451
+ * Gets or sets the type of the resource.
452
+ * NOTE: This property will not be serialized. It can only be populated by the server.
453
+ */
454
+ readonly type?: string;
455
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
456
+ readonly systemData?: EmailConfigurationModelSystemData;
457
+ }
458
+
459
+ /** Email configuration model collection. */
460
+ export declare interface EmailConfigurationModelCollection {
461
+ /** Gets or sets the list of email configurations. */
462
+ value?: EmailConfigurationModel[];
463
+ /** Gets or sets the value of next link. */
464
+ nextLink?: string;
465
+ }
466
+
467
+ /** Email configuration model properties. */
468
+ export declare interface EmailConfigurationModelProperties {
469
+ /** Gets or sets a value indicating whether to send email to subscription administrator. */
470
+ sendToOwners: boolean;
471
+ /** Gets or sets the custom email address for sending emails. */
472
+ customEmailAddresses?: string[];
473
+ /** Gets or sets the locale for the email notification. */
474
+ locale?: string;
475
+ }
476
+
477
+ export declare interface EmailConfigurationModelSystemData extends SystemDataModel {
478
+ }
479
+
480
+ /** The resource management error additional info. */
481
+ export declare interface ErrorAdditionalInfo {
482
+ /**
483
+ * The additional info type.
484
+ * NOTE: This property will not be serialized. It can only be populated by the server.
485
+ */
486
+ readonly type?: string;
487
+ /**
488
+ * The additional info.
489
+ * NOTE: This property will not be serialized. It can only be populated by the server.
490
+ */
491
+ readonly info?: Record<string, unknown>;
492
+ }
493
+
494
+ /** The error detail. */
495
+ export declare interface ErrorDetail {
496
+ /**
497
+ * The error code.
498
+ * NOTE: This property will not be serialized. It can only be populated by the server.
499
+ */
500
+ readonly code?: string;
501
+ /**
502
+ * The error message.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly message?: string;
506
+ /**
507
+ * The error target.
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly target?: string;
511
+ /**
512
+ * The error details.
513
+ * NOTE: This property will not be serialized. It can only be populated by the server.
514
+ */
515
+ readonly details?: ErrorDetail[];
516
+ /**
517
+ * The error additional info.
518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
519
+ */
520
+ readonly additionalInfo?: ErrorAdditionalInfo[];
521
+ }
522
+
523
+ /** Error model. */
524
+ export declare interface ErrorModel {
525
+ /**
526
+ * Gets or sets the error code.
527
+ * NOTE: This property will not be serialized. It can only be populated by the server.
528
+ */
529
+ readonly code?: string;
530
+ /**
531
+ * Gets or sets the error type.
532
+ * NOTE: This property will not be serialized. It can only be populated by the server.
533
+ */
534
+ readonly type?: string;
535
+ /**
536
+ * Gets or sets the error severity.
537
+ * NOTE: This property will not be serialized. It can only be populated by the server.
538
+ */
539
+ readonly severity?: string;
540
+ /**
541
+ * Gets or sets the creation time of error.
542
+ * NOTE: This property will not be serialized. It can only be populated by the server.
543
+ */
544
+ readonly creationTime?: Date;
545
+ /**
546
+ * Gets or sets the error message.
547
+ * NOTE: This property will not be serialized. It can only be populated by the server.
548
+ */
549
+ readonly message?: string;
550
+ /**
551
+ * Gets or sets the possible causes of error.
552
+ * NOTE: This property will not be serialized. It can only be populated by the server.
553
+ */
554
+ readonly causes?: string;
555
+ /**
556
+ * Gets or sets the recommended action to resolve error.
557
+ * NOTE: This property will not be serialized. It can only be populated by the server.
558
+ */
559
+ readonly recommendation?: string;
560
+ }
561
+
562
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
563
+ export declare interface ErrorResponse {
564
+ /** The error object. */
565
+ error?: ErrorDetail;
566
+ }
567
+
568
+ /** Interface representing a Event. */
569
+ declare interface Event_2 {
570
+ /**
571
+ * Gets the list of events in the given vault.
572
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
573
+ * @param vaultName The vault name.
574
+ * @param options The options parameters.
575
+ */
576
+ list(resourceGroupName: string, vaultName: string, options?: EventListOptionalParams): PagedAsyncIterableIterator<EventModel>;
577
+ /**
578
+ * Gets the details of the event.
579
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
580
+ * @param vaultName The vault name.
581
+ * @param eventName The event name.
582
+ * @param options The options parameters.
583
+ */
584
+ get(resourceGroupName: string, vaultName: string, eventName: string, options?: EventGetOptionalParams): Promise<EventGetResponse>;
585
+ }
586
+ export { Event_2 as Event }
587
+
588
+ /** Optional parameters. */
589
+ export declare interface EventGetOptionalParams extends coreClient.OperationOptions {
590
+ }
591
+
592
+ /** Contains response data for the get operation. */
593
+ export declare type EventGetResponse = EventModel;
594
+
595
+ /** Optional parameters. */
596
+ export declare interface EventListNextOptionalParams extends coreClient.OperationOptions {
597
+ }
598
+
599
+ /** Contains response data for the listNext operation. */
600
+ export declare type EventListNextResponse = EventModelCollection;
601
+
602
+ /** Optional parameters. */
603
+ export declare interface EventListOptionalParams extends coreClient.OperationOptions {
604
+ /** Filter string. */
605
+ filter?: string;
606
+ /** Continuation token. */
607
+ continuationToken?: string;
608
+ }
609
+
610
+ /** Contains response data for the list operation. */
611
+ export declare type EventListResponse = EventModelCollection;
612
+
613
+ /** Event model. */
614
+ export declare interface EventModel {
615
+ /** Event model properties. */
616
+ properties: EventModelProperties;
617
+ /**
618
+ * Gets or sets the Id of the resource.
619
+ * NOTE: This property will not be serialized. It can only be populated by the server.
620
+ */
621
+ readonly id?: string;
622
+ /**
623
+ * Gets or sets the name of the resource.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly name?: string;
627
+ /**
628
+ * Gets or sets the type of the resource.
629
+ * NOTE: This property will not be serialized. It can only be populated by the server.
630
+ */
631
+ readonly type?: string;
632
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
633
+ readonly systemData?: EventModelSystemData;
634
+ }
635
+
636
+ /** Event model collection. */
637
+ export declare interface EventModelCollection {
638
+ /** Gets or sets the list of events. */
639
+ value?: EventModel[];
640
+ /** Gets or sets the value of next link. */
641
+ nextLink?: string;
642
+ }
643
+
644
+ /** Event model custom properties. */
645
+ export declare interface EventModelCustomProperties {
646
+ /** Polymorphic discriminator, which specifies the different types this object can be */
647
+ instanceType: "HyperVToAzStackHCI";
648
+ }
649
+
650
+ export declare type EventModelCustomPropertiesUnion = EventModelCustomProperties | HyperVToAzStackHCIEventModelCustomProperties;
651
+
652
+ /** Event model properties. */
653
+ export declare interface EventModelProperties {
654
+ /**
655
+ * Gets or sets the resource type.
656
+ * NOTE: This property will not be serialized. It can only be populated by the server.
657
+ */
658
+ readonly resourceType?: string;
659
+ /**
660
+ * Gets or sets the resource name.
661
+ * NOTE: This property will not be serialized. It can only be populated by the server.
662
+ */
663
+ readonly resourceName?: string;
664
+ /**
665
+ * Gets or sets the event type.
666
+ * NOTE: This property will not be serialized. It can only be populated by the server.
667
+ */
668
+ readonly eventType?: string;
669
+ /**
670
+ * Gets or sets the event name.
671
+ * NOTE: This property will not be serialized. It can only be populated by the server.
672
+ */
673
+ readonly eventName?: string;
674
+ /**
675
+ * Gets or sets the time at which the event occurred at source.
676
+ * NOTE: This property will not be serialized. It can only be populated by the server.
677
+ */
678
+ readonly timeOfOccurrence?: Date;
679
+ /**
680
+ * Gets or sets the event severity.
681
+ * NOTE: This property will not be serialized. It can only be populated by the server.
682
+ */
683
+ readonly severity?: string;
684
+ /**
685
+ * Gets or sets the event description.
686
+ * NOTE: This property will not be serialized. It can only be populated by the server.
687
+ */
688
+ readonly description?: string;
689
+ /**
690
+ * Gets or sets the event correlation Id.
691
+ * NOTE: This property will not be serialized. It can only be populated by the server.
692
+ */
693
+ readonly correlationId?: string;
694
+ /**
695
+ * Gets or sets the errors associated with this event.
696
+ * NOTE: This property will not be serialized. It can only be populated by the server.
697
+ */
698
+ readonly healthErrors?: HealthErrorModel[];
699
+ /** Event model custom properties. */
700
+ customProperties: EventModelCustomPropertiesUnion;
701
+ }
702
+
703
+ export declare interface EventModelSystemData extends SystemDataModel {
704
+ }
705
+
706
+ /** Interface representing a Fabric. */
707
+ export declare interface Fabric {
708
+ /**
709
+ * Gets the list of fabrics in the given subscription.
710
+ * @param options The options parameters.
711
+ */
712
+ listBySubscription(options?: FabricListBySubscriptionOptionalParams): PagedAsyncIterableIterator<FabricModel>;
713
+ /**
714
+ * Gets the list of fabrics in the given subscription and resource group.
715
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
716
+ * @param options The options parameters.
717
+ */
718
+ list(resourceGroupName: string, options?: FabricListOptionalParams): PagedAsyncIterableIterator<FabricModel>;
719
+ /**
720
+ * Gets the details of the fabric.
721
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
722
+ * @param fabricName The fabric name.
723
+ * @param options The options parameters.
724
+ */
725
+ get(resourceGroupName: string, fabricName: string, options?: FabricGetOptionalParams): Promise<FabricGetResponse>;
726
+ /**
727
+ * Creates the fabric.
728
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
729
+ * @param fabricName The fabric name.
730
+ * @param options The options parameters.
731
+ */
732
+ beginCreate(resourceGroupName: string, fabricName: string, options?: FabricCreateOptionalParams): Promise<SimplePollerLike<OperationState<FabricCreateResponse>, FabricCreateResponse>>;
733
+ /**
734
+ * Creates the fabric.
735
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
736
+ * @param fabricName The fabric name.
737
+ * @param options The options parameters.
738
+ */
739
+ beginCreateAndWait(resourceGroupName: string, fabricName: string, options?: FabricCreateOptionalParams): Promise<FabricCreateResponse>;
740
+ /**
741
+ * Performs update on the fabric.
742
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
743
+ * @param fabricName The fabric name.
744
+ * @param options The options parameters.
745
+ */
746
+ beginUpdate(resourceGroupName: string, fabricName: string, options?: FabricUpdateOptionalParams): Promise<SimplePollerLike<OperationState<FabricUpdateResponse>, FabricUpdateResponse>>;
747
+ /**
748
+ * Performs update on the fabric.
749
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
750
+ * @param fabricName The fabric name.
751
+ * @param options The options parameters.
752
+ */
753
+ beginUpdateAndWait(resourceGroupName: string, fabricName: string, options?: FabricUpdateOptionalParams): Promise<FabricUpdateResponse>;
754
+ /**
755
+ * Removes the fabric.
756
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
757
+ * @param fabricName The fabric name.
758
+ * @param options The options parameters.
759
+ */
760
+ beginDelete(resourceGroupName: string, fabricName: string, options?: FabricDeleteOptionalParams): Promise<SimplePollerLike<OperationState<FabricDeleteResponse>, FabricDeleteResponse>>;
761
+ /**
762
+ * Removes the fabric.
763
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
764
+ * @param fabricName The fabric name.
765
+ * @param options The options parameters.
766
+ */
767
+ beginDeleteAndWait(resourceGroupName: string, fabricName: string, options?: FabricDeleteOptionalParams): Promise<FabricDeleteResponse>;
768
+ }
769
+
770
+ /** Optional parameters. */
771
+ export declare interface FabricCreateOptionalParams extends coreClient.OperationOptions {
772
+ /** Fabric properties. */
773
+ body?: FabricModel;
774
+ /** Delay to wait until next poll, in milliseconds. */
775
+ updateIntervalInMs?: number;
776
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
777
+ resumeFrom?: string;
778
+ }
779
+
780
+ /** Contains response data for the create operation. */
781
+ export declare type FabricCreateResponse = FabricModel;
782
+
783
+ /** Defines headers for Fabric_delete operation. */
784
+ export declare interface FabricDeleteHeaders {
785
+ /** Tracking URL for long running operation. */
786
+ azureAsyncOperation?: string;
787
+ location?: string;
788
+ }
789
+
790
+ /** Optional parameters. */
791
+ export declare interface FabricDeleteOptionalParams extends coreClient.OperationOptions {
792
+ /** Delay to wait until next poll, in milliseconds. */
793
+ updateIntervalInMs?: number;
794
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
795
+ resumeFrom?: string;
796
+ }
797
+
798
+ /** Contains response data for the delete operation. */
799
+ export declare type FabricDeleteResponse = FabricDeleteHeaders;
800
+
801
+ /** Optional parameters. */
802
+ export declare interface FabricGetOptionalParams extends coreClient.OperationOptions {
803
+ }
804
+
805
+ /** Contains response data for the get operation. */
806
+ export declare type FabricGetResponse = FabricModel;
807
+
808
+ /** Optional parameters. */
809
+ export declare interface FabricListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
810
+ }
811
+
812
+ /** Contains response data for the listBySubscriptionNext operation. */
813
+ export declare type FabricListBySubscriptionNextResponse = FabricModelCollection;
814
+
815
+ /** Optional parameters. */
816
+ export declare interface FabricListBySubscriptionOptionalParams extends coreClient.OperationOptions {
817
+ /** Continuation token from the previous call. */
818
+ continuationToken?: string;
819
+ }
820
+
821
+ /** Contains response data for the listBySubscription operation. */
822
+ export declare type FabricListBySubscriptionResponse = FabricModelCollection;
823
+
824
+ /** Optional parameters. */
825
+ export declare interface FabricListNextOptionalParams extends coreClient.OperationOptions {
826
+ }
827
+
828
+ /** Contains response data for the listNext operation. */
829
+ export declare type FabricListNextResponse = FabricModelCollection;
830
+
831
+ /** Optional parameters. */
832
+ export declare interface FabricListOptionalParams extends coreClient.OperationOptions {
833
+ /** Continuation token from the previous call. */
834
+ continuationToken?: string;
835
+ }
836
+
837
+ /** Contains response data for the list operation. */
838
+ export declare type FabricListResponse = FabricModelCollection;
839
+
840
+ /** Fabric model. */
841
+ export declare interface FabricModel {
842
+ /** Gets or sets the location of the fabric. */
843
+ location: string;
844
+ /** Gets or sets the resource tags. */
845
+ tags?: {
846
+ [propertyName: string]: string;
847
+ };
848
+ /** Fabric model properties. */
849
+ properties: FabricModelProperties;
850
+ /**
851
+ * Gets or sets the Id of the resource.
852
+ * NOTE: This property will not be serialized. It can only be populated by the server.
853
+ */
854
+ readonly id?: string;
855
+ /**
856
+ * Gets or sets the name of the resource.
857
+ * NOTE: This property will not be serialized. It can only be populated by the server.
858
+ */
859
+ readonly name?: string;
860
+ /**
861
+ * Gets or sets the type of the resource.
862
+ * NOTE: This property will not be serialized. It can only be populated by the server.
863
+ */
864
+ readonly type?: string;
865
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
866
+ readonly systemData?: FabricModelSystemData;
867
+ }
868
+
869
+ /** Fabric model collection. */
870
+ export declare interface FabricModelCollection {
871
+ /** Gets or sets the list of fabrics. */
872
+ value?: FabricModel[];
873
+ /** Gets or sets the value of next link. */
874
+ nextLink?: string;
875
+ }
876
+
877
+ /** Fabric model custom properties. */
878
+ export declare interface FabricModelCustomProperties {
879
+ /** Polymorphic discriminator, which specifies the different types this object can be */
880
+ instanceType: "AzStackHCI" | "HyperVMigrate" | "VMwareMigrate";
881
+ }
882
+
883
+ export declare type FabricModelCustomPropertiesUnion = FabricModelCustomProperties | AzStackHCIFabricModelCustomProperties | HyperVMigrateFabricModelCustomProperties | VMwareMigrateFabricModelCustomProperties;
884
+
885
+ /** Fabric model properties. */
886
+ export declare interface FabricModelProperties {
887
+ /**
888
+ * Gets or sets the provisioning state of the fabric.
889
+ * NOTE: This property will not be serialized. It can only be populated by the server.
890
+ */
891
+ readonly provisioningState?: ProvisioningState;
892
+ /**
893
+ * Gets or sets the service endpoint.
894
+ * NOTE: This property will not be serialized. It can only be populated by the server.
895
+ */
896
+ readonly serviceEndpoint?: string;
897
+ /**
898
+ * Gets or sets the service resource Id.
899
+ * NOTE: This property will not be serialized. It can only be populated by the server.
900
+ */
901
+ readonly serviceResourceId?: string;
902
+ /**
903
+ * Gets or sets the fabric health.
904
+ * NOTE: This property will not be serialized. It can only be populated by the server.
905
+ */
906
+ readonly health?: HealthStatus;
907
+ /**
908
+ * Gets or sets the list of health errors.
909
+ * NOTE: This property will not be serialized. It can only be populated by the server.
910
+ */
911
+ readonly healthErrors?: HealthErrorModel[];
912
+ /** Fabric model custom properties. */
913
+ customProperties: FabricModelCustomPropertiesUnion;
914
+ }
915
+
916
+ export declare interface FabricModelSystemData extends SystemDataModel {
917
+ }
918
+
919
+ /** Fabric model for update. */
920
+ export declare interface FabricModelUpdate {
921
+ /** Gets or sets the resource tags. */
922
+ tags?: {
923
+ [propertyName: string]: string;
924
+ };
925
+ /** Fabric model properties. */
926
+ properties?: FabricModelProperties;
927
+ /**
928
+ * Gets or sets the Id of the resource.
929
+ * NOTE: This property will not be serialized. It can only be populated by the server.
930
+ */
931
+ readonly id?: string;
932
+ /**
933
+ * Gets or sets the name of the resource.
934
+ * NOTE: This property will not be serialized. It can only be populated by the server.
935
+ */
936
+ readonly name?: string;
937
+ /**
938
+ * Gets or sets the type of the resource.
939
+ * NOTE: This property will not be serialized. It can only be populated by the server.
940
+ */
941
+ readonly type?: string;
942
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
943
+ readonly systemData?: FabricModelUpdateSystemData;
944
+ }
945
+
946
+ export declare interface FabricModelUpdateSystemData extends SystemDataModel {
947
+ }
948
+
949
+ /** Interface representing a FabricOperationsStatus. */
950
+ export declare interface FabricOperationsStatus {
951
+ /**
952
+ * Tracks the results of an asynchronous operation on the fabric.
953
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
954
+ * @param fabricName The fabric name.
955
+ * @param operationId The ID of an ongoing async operation.
956
+ * @param options The options parameters.
957
+ */
958
+ get(resourceGroupName: string, fabricName: string, operationId: string, options?: FabricOperationsStatusGetOptionalParams): Promise<FabricOperationsStatusGetResponse>;
959
+ }
960
+
961
+ /** Optional parameters. */
962
+ export declare interface FabricOperationsStatusGetOptionalParams extends coreClient.OperationOptions {
963
+ }
964
+
965
+ /** Contains response data for the get operation. */
966
+ export declare type FabricOperationsStatusGetResponse = OperationStatus;
967
+
968
+ /** Defines headers for Fabric_update operation. */
969
+ export declare interface FabricUpdateHeaders {
970
+ /** Tracking URL for long running operation. */
971
+ azureAsyncOperation?: string;
972
+ location?: string;
973
+ }
974
+
975
+ /** Optional parameters. */
976
+ export declare interface FabricUpdateOptionalParams extends coreClient.OperationOptions {
977
+ /** Fabric properties. */
978
+ body?: FabricModelUpdate;
979
+ /** Delay to wait until next poll, in milliseconds. */
980
+ updateIntervalInMs?: number;
981
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
982
+ resumeFrom?: string;
983
+ }
984
+
985
+ /** Contains response data for the update operation. */
986
+ export declare type FabricUpdateResponse = FabricModel;
987
+
988
+ /** Failover properties of the protected item. */
989
+ export declare interface FailoverProtectedItemProperties {
990
+ /**
991
+ * Gets or sets the protected item name.
992
+ * NOTE: This property will not be serialized. It can only be populated by the server.
993
+ */
994
+ readonly protectedItemName?: string;
995
+ /**
996
+ * Gets or sets the VM name.
997
+ * NOTE: This property will not be serialized. It can only be populated by the server.
998
+ */
999
+ readonly vmName?: string;
1000
+ /**
1001
+ * Gets or sets the test VM name.
1002
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1003
+ */
1004
+ readonly testVmName?: string;
1005
+ /**
1006
+ * Gets or sets the recovery point Id.
1007
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1008
+ */
1009
+ readonly recoveryPointId?: string;
1010
+ /**
1011
+ * Gets or sets the recovery point time.
1012
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1013
+ */
1014
+ readonly recoveryPointTime?: Date;
1015
+ /**
1016
+ * Gets or sets the network name.
1017
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1018
+ */
1019
+ readonly networkName?: string;
1020
+ /**
1021
+ * Gets or sets the network subnet.
1022
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1023
+ */
1024
+ readonly subnet?: string;
1025
+ }
1026
+
1027
+ /** Failover workflow model custom properties. */
1028
+ export declare interface FailoverWorkflowModelCustomProperties extends WorkflowModelCustomProperties {
1029
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1030
+ instanceType: "FailoverWorkflowDetails";
1031
+ /**
1032
+ * Gets or sets the failed over protected item details.
1033
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1034
+ */
1035
+ readonly protectedItemDetails?: FailoverProtectedItemProperties[];
1036
+ }
1037
+
1038
+ /**
1039
+ * Given the last `.value` produced by the `byPage` iterator,
1040
+ * returns a continuation token that can be used to begin paging from
1041
+ * that point later.
1042
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
1043
+ * @returns The continuation token that can be passed into byPage() during future calls.
1044
+ */
1045
+ export declare function getContinuationToken(page: unknown): string | undefined;
1046
+
1047
+ /** Health error model. */
1048
+ export declare interface HealthErrorModel {
1049
+ /** Gets or sets the type of affected resource type. */
1050
+ affectedResourceType?: string;
1051
+ /**
1052
+ * Gets or sets the list of affected resource correlation Ids. This can be used to
1053
+ * uniquely identify the count of items affected by a specific category and severity
1054
+ * as well as count of item affected by an specific issue.
1055
+ */
1056
+ affectedResourceCorrelationIds?: string[];
1057
+ /** Gets or sets a list of child health errors associated with this error. */
1058
+ childErrors?: InnerHealthErrorModel[];
1059
+ /**
1060
+ * Gets or sets the error code.
1061
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1062
+ */
1063
+ readonly code?: string;
1064
+ /**
1065
+ * Gets or sets the health category.
1066
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1067
+ */
1068
+ readonly healthCategory?: string;
1069
+ /**
1070
+ * Gets or sets the error category.
1071
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1072
+ */
1073
+ readonly category?: string;
1074
+ /**
1075
+ * Gets or sets the error severity.
1076
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1077
+ */
1078
+ readonly severity?: string;
1079
+ /**
1080
+ * Gets or sets the error source.
1081
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1082
+ */
1083
+ readonly source?: string;
1084
+ /**
1085
+ * Gets or sets the error creation time.
1086
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1087
+ */
1088
+ readonly creationTime?: Date;
1089
+ /**
1090
+ * Gets or sets a value indicating whether the error is customer resolvable.
1091
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1092
+ */
1093
+ readonly isCustomerResolvable?: boolean;
1094
+ /**
1095
+ * Gets or sets the error summary.
1096
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1097
+ */
1098
+ readonly summary?: string;
1099
+ /**
1100
+ * Gets or sets the error message.
1101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1102
+ */
1103
+ readonly message?: string;
1104
+ /**
1105
+ * Gets or sets possible causes of the error.
1106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1107
+ */
1108
+ readonly causes?: string;
1109
+ /**
1110
+ * Gets or sets recommended action to resolve the error.
1111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1112
+ */
1113
+ readonly recommendation?: string;
1114
+ }
1115
+
1116
+ /**
1117
+ * Defines values for HealthStatus. \
1118
+ * {@link KnownHealthStatus} can be used interchangeably with HealthStatus,
1119
+ * this enum contains the known values that the service supports.
1120
+ * ### Known values supported by the service
1121
+ * **Normal** \
1122
+ * **Warning** \
1123
+ * **Critical**
1124
+ */
1125
+ export declare type HealthStatus = string;
1126
+
1127
+ /** HyperV migrate fabric model custom properties. */
1128
+ export declare interface HyperVMigrateFabricModelCustomProperties extends FabricModelCustomProperties {
1129
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1130
+ instanceType: "HyperVMigrate";
1131
+ /** Gets or sets the ARM Id of the HyperV site. */
1132
+ hyperVSiteId: string;
1133
+ /**
1134
+ * Gets or sets the fabric resource Id.
1135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1136
+ */
1137
+ readonly fabricResourceId?: string;
1138
+ /**
1139
+ * Gets or sets the fabric container Id.
1140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1141
+ */
1142
+ readonly fabricContainerId?: string;
1143
+ /** Gets or sets the migration solution ARM Id. */
1144
+ migrationSolutionId: string;
1145
+ /**
1146
+ * Gets or sets the migration hub Uri.
1147
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1148
+ */
1149
+ readonly migrationHubUri?: string;
1150
+ }
1151
+
1152
+ /** HyperVToAzStack disk input. */
1153
+ export declare interface HyperVToAzStackHCIDiskInput {
1154
+ /** Gets or sets the disk Id. */
1155
+ diskId: string;
1156
+ /** Gets or sets the target storage account ARM Id. */
1157
+ storageContainerId?: string;
1158
+ /**
1159
+ * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
1160
+ * disk.
1161
+ */
1162
+ isDynamic?: boolean;
1163
+ /** Gets or sets the disk size in GB. */
1164
+ diskSizeGB: number;
1165
+ /** Gets or sets the type of the virtual hard disk, vhd or vhdx. */
1166
+ diskFileFormat: string;
1167
+ /** Gets or sets a value indicating whether disk is os disk. */
1168
+ isOsDisk: boolean;
1169
+ }
1170
+
1171
+ /**
1172
+ * HyperV to AzStackHCI event model custom properties. This class provides provider specific
1173
+ * details for events of type DataContract.HealthEvents.HealthEventType.ProtectedItemHealth and
1174
+ * DataContract.HealthEvents.HealthEventType.AgentHealth.
1175
+ */
1176
+ export declare interface HyperVToAzStackHCIEventModelCustomProperties extends EventModelCustomProperties {
1177
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1178
+ instanceType: "HyperVToAzStackHCI";
1179
+ /**
1180
+ * Gets or sets the friendly name of the source which has raised this health event.
1181
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1182
+ */
1183
+ readonly eventSourceFriendlyName?: string;
1184
+ /**
1185
+ * Gets or sets the protected item friendly name.
1186
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1187
+ */
1188
+ readonly protectedItemFriendlyName?: string;
1189
+ /**
1190
+ * Gets or sets the source appliance name.
1191
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1192
+ */
1193
+ readonly sourceApplianceName?: string;
1194
+ /**
1195
+ * Gets or sets the source target name.
1196
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1197
+ */
1198
+ readonly targetApplianceName?: string;
1199
+ /**
1200
+ * Gets or sets the server type.
1201
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1202
+ */
1203
+ readonly serverType?: string;
1204
+ }
1205
+
1206
+ /** HyperVToAzStackHCI NIC properties. */
1207
+ export declare interface HyperVToAzStackHCINicInput {
1208
+ /** Gets or sets the NIC Id. */
1209
+ nicId: string;
1210
+ /**
1211
+ * Gets or sets the network name.
1212
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1213
+ */
1214
+ readonly networkName?: string;
1215
+ /** Gets or sets the target network Id within AzStackHCI Cluster. */
1216
+ targetNetworkId: string;
1217
+ /** Gets or sets the target test network Id within AzStackHCI Cluster. */
1218
+ testNetworkId: string;
1219
+ /** Gets or sets the selection type of the NIC. */
1220
+ selectionTypeForFailover: VMNicSelection;
1221
+ }
1222
+
1223
+ /** HyperV to AzStackHCI planned failover model custom properties. */
1224
+ export declare interface HyperVToAzStackHCIPlannedFailoverModelCustomProperties extends PlannedFailoverModelCustomProperties {
1225
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1226
+ instanceType: "HyperVToAzStackHCI";
1227
+ /** Gets or sets a value indicating whether VM needs to be shut down. */
1228
+ shutdownSourceVM: boolean;
1229
+ }
1230
+
1231
+ /** HyperV To AzStackHCI Policy model custom properties. */
1232
+ export declare interface HyperVToAzStackHCIPolicyModelCustomProperties extends PolicyModelCustomProperties {
1233
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1234
+ instanceType: "HyperVToAzStackHCI";
1235
+ /**
1236
+ * Gets or sets the duration in minutes until which the recovery points need to be
1237
+ * stored.
1238
+ */
1239
+ recoveryPointHistoryInMinutes: number;
1240
+ /** Gets or sets the crash consistent snapshot frequency (in minutes). */
1241
+ crashConsistentFrequencyInMinutes: number;
1242
+ /** Gets or sets the app consistent snapshot frequency (in minutes). */
1243
+ appConsistentFrequencyInMinutes: number;
1244
+ }
1245
+
1246
+ /** HyperVToAzStackHCI protected disk properties. */
1247
+ export declare interface HyperVToAzStackHCIProtectedDiskProperties {
1248
+ /**
1249
+ * Gets or sets the ARM Id of the storage container.
1250
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1251
+ */
1252
+ readonly storageContainerId?: string;
1253
+ /**
1254
+ * Gets or sets the local path of the storage container.
1255
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1256
+ */
1257
+ readonly storageContainerLocalPath?: string;
1258
+ /**
1259
+ * Gets or sets the source disk Id.
1260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1261
+ */
1262
+ readonly sourceDiskId?: string;
1263
+ /**
1264
+ * Gets or sets the source disk Name.
1265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1266
+ */
1267
+ readonly sourceDiskName?: string;
1268
+ /**
1269
+ * Gets or sets the seed disk name.
1270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1271
+ */
1272
+ readonly seedDiskName?: string;
1273
+ /**
1274
+ * Gets or sets the test failover clone disk.
1275
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1276
+ */
1277
+ readonly testMigrateDiskName?: string;
1278
+ /**
1279
+ * Gets or sets the failover clone disk.
1280
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1281
+ */
1282
+ readonly migrateDiskName?: string;
1283
+ /**
1284
+ * Gets or sets a value indicating whether the disk is the OS disk.
1285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1286
+ */
1287
+ readonly isOsDisk?: boolean;
1288
+ /**
1289
+ * Gets or sets the disk capacity in bytes.
1290
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1291
+ */
1292
+ readonly capacityInBytes?: number;
1293
+ /**
1294
+ * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
1295
+ * disk.
1296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1297
+ */
1298
+ readonly isDynamic?: boolean;
1299
+ /**
1300
+ * Gets or sets the disk type.
1301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1302
+ */
1303
+ readonly diskType?: string;
1304
+ }
1305
+
1306
+ /** HyperV to AzStackHCI Protected item model custom properties. */
1307
+ export declare interface HyperVToAzStackHCIProtectedItemModelCustomProperties extends ProtectedItemModelCustomProperties {
1308
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1309
+ instanceType: "HyperVToAzStackHCI";
1310
+ /**
1311
+ * Gets or sets the location of the protected item.
1312
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1313
+ */
1314
+ readonly activeLocation?: ProtectedItemActiveLocation;
1315
+ /** Gets or sets the Target HCI Cluster ARM Id. */
1316
+ targetHciClusterId: string;
1317
+ /** Gets or sets the Target Arc Cluster Custom Location ARM Id. */
1318
+ targetArcClusterCustomLocationId: string;
1319
+ /**
1320
+ * Gets or sets the Target AzStackHCI cluster name.
1321
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1322
+ */
1323
+ readonly targetAzStackHciClusterName?: string;
1324
+ /** Gets or sets the ARM Id of the discovered machine. */
1325
+ fabricDiscoveryMachineId: string;
1326
+ /** Gets or sets the list of disks to replicate. */
1327
+ disksToInclude: HyperVToAzStackHCIDiskInput[];
1328
+ /** Gets or sets the list of VM NIC to replicate. */
1329
+ nicsToInclude: HyperVToAzStackHCINicInput[];
1330
+ /**
1331
+ * Gets or sets the source VM display name.
1332
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1333
+ */
1334
+ readonly sourceVmName?: string;
1335
+ /**
1336
+ * Gets or sets the source VM CPU cores.
1337
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1338
+ */
1339
+ readonly sourceCpuCores?: number;
1340
+ /**
1341
+ * Gets or sets the source VM ram memory size in megabytes.
1342
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1343
+ */
1344
+ readonly sourceMemoryInMegaBytes?: number;
1345
+ /** Gets or sets the target VM display name. */
1346
+ targetVmName?: string;
1347
+ /** Gets or sets the target resource group ARM Id. */
1348
+ targetResourceGroupId: string;
1349
+ /** Gets or sets the target storage container ARM Id. */
1350
+ storageContainerId: string;
1351
+ /** Gets or sets the hypervisor generation of the virtual machine. */
1352
+ hyperVGeneration: string;
1353
+ /** Gets or sets the target network Id within AzStackHCI Cluster. */
1354
+ targetNetworkId?: string;
1355
+ /** Gets or sets the target test network Id within AzStackHCI Cluster. */
1356
+ testNetworkId?: string;
1357
+ /** Gets or sets the target CPU cores. */
1358
+ targetCpuCores?: number;
1359
+ /** Gets or sets a value indicating whether memory is dynamical. */
1360
+ isDynamicRam?: boolean;
1361
+ /** Protected item dynamic memory config. */
1362
+ dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig;
1363
+ /** Gets or sets the target memory in mega-bytes. */
1364
+ targetMemoryInMegaBytes?: number;
1365
+ /** Gets or sets the Run As account Id. */
1366
+ runAsAccountId: string;
1367
+ /** Gets or sets the source DRA name. */
1368
+ sourceDraName: string;
1369
+ /** Gets or sets the target DRA name. */
1370
+ targetDraName: string;
1371
+ /**
1372
+ * Gets or sets the source appliance name.
1373
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1374
+ */
1375
+ readonly sourceApplianceName?: string;
1376
+ /**
1377
+ * Gets or sets the target appliance name.
1378
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1379
+ */
1380
+ readonly targetApplianceName?: string;
1381
+ /**
1382
+ * Gets or sets the type of the OS.
1383
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1384
+ */
1385
+ readonly osType?: string;
1386
+ /**
1387
+ * Gets or sets the name of the OS.
1388
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1389
+ */
1390
+ readonly osName?: string;
1391
+ /**
1392
+ * Gets or sets the firmware type.
1393
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1394
+ */
1395
+ readonly firmwareType?: string;
1396
+ /**
1397
+ * Gets or sets the target location.
1398
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1399
+ */
1400
+ readonly targetLocation?: string;
1401
+ /** Gets or sets the location of Azure Arc HCI custom location resource. */
1402
+ customLocationRegion: string;
1403
+ /**
1404
+ * Gets or sets the recovery point Id to which the VM was failed over.
1405
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1406
+ */
1407
+ readonly failoverRecoveryPointId?: string;
1408
+ /**
1409
+ * Gets or sets the last recovery point received time.
1410
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1411
+ */
1412
+ readonly lastRecoveryPointReceived?: Date;
1413
+ /**
1414
+ * Gets or sets the last recovery point Id.
1415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1416
+ */
1417
+ readonly lastRecoveryPointId?: string;
1418
+ /**
1419
+ * Gets or sets the initial replication progress percentage. This is calculated based on
1420
+ * total bytes processed for all disks in the source VM.
1421
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1422
+ */
1423
+ readonly initialReplicationProgressPercentage?: number;
1424
+ /**
1425
+ * Gets or sets the resync progress percentage. This is calculated based on total bytes
1426
+ * processed for all disks in the source VM.
1427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1428
+ */
1429
+ readonly resyncProgressPercentage?: number;
1430
+ /**
1431
+ * Gets or sets the list of protected disks.
1432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1433
+ */
1434
+ readonly protectedDisks?: HyperVToAzStackHCIProtectedDiskProperties[];
1435
+ /**
1436
+ * Gets or sets the VM NIC details.
1437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1438
+ */
1439
+ readonly protectedNics?: HyperVToAzStackHCIProtectedNicProperties[];
1440
+ /**
1441
+ * Gets or sets the BIOS Id of the target AzStackHCI VM.
1442
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1443
+ */
1444
+ readonly targetVmBiosId?: string;
1445
+ /**
1446
+ * Gets or sets the latest timestamp that replication status is updated.
1447
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1448
+ */
1449
+ readonly lastReplicationUpdateTime?: Date;
1450
+ }
1451
+
1452
+ /** HyperVToAzStackHCI NIC properties. */
1453
+ export declare interface HyperVToAzStackHCIProtectedNicProperties {
1454
+ /**
1455
+ * Gets or sets the NIC Id.
1456
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1457
+ */
1458
+ readonly nicId?: string;
1459
+ /**
1460
+ * Gets or sets the NIC mac address.
1461
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1462
+ */
1463
+ readonly macAddress?: string;
1464
+ /**
1465
+ * Gets or sets the network name.
1466
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1467
+ */
1468
+ readonly networkName?: string;
1469
+ /**
1470
+ * Gets or sets the target network Id within AzStackHCI Cluster.
1471
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1472
+ */
1473
+ readonly targetNetworkId?: string;
1474
+ /**
1475
+ * Gets or sets the target test network Id within AzStackHCI Cluster.
1476
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1477
+ */
1478
+ readonly testNetworkId?: string;
1479
+ /**
1480
+ * Gets or sets the selection type of the NIC.
1481
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1482
+ */
1483
+ readonly selectionTypeForFailover?: VMNicSelection;
1484
+ }
1485
+
1486
+ /** HyperV to AzStackHCI recovery point model custom properties. */
1487
+ export declare interface HyperVToAzStackHCIRecoveryPointModelCustomProperties extends RecoveryPointModelCustomProperties {
1488
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1489
+ instanceType: "HyperVToAzStackHCI";
1490
+ /**
1491
+ * Gets or sets the list of the disk Ids.
1492
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1493
+ */
1494
+ readonly diskIds?: string[];
1495
+ }
1496
+
1497
+ /** HyperV to AzStackHCI Replication extension model custom properties. */
1498
+ export declare interface HyperVToAzStackHCIReplicationExtensionModelCustomProperties extends ReplicationExtensionModelCustomProperties {
1499
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1500
+ instanceType: "HyperVToAzStackHCI";
1501
+ /** Gets or sets the ARM Id of the source HyperV fabric. */
1502
+ hyperVFabricArmId: string;
1503
+ /**
1504
+ * Gets or sets the ARM Id of the HyperV site.
1505
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1506
+ */
1507
+ readonly hyperVSiteId?: string;
1508
+ /** Gets or sets the ARM Id of the target AzStackHCI fabric. */
1509
+ azStackHciFabricArmId: string;
1510
+ /**
1511
+ * Gets or sets the ARM Id of the AzStackHCI site.
1512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1513
+ */
1514
+ readonly azStackHciSiteId?: string;
1515
+ /** Gets or sets the storage account Id. */
1516
+ storageAccountId?: string;
1517
+ /** Gets or sets the Sas Secret of storage account. */
1518
+ storageAccountSasSecretName?: string;
1519
+ /**
1520
+ * Gets or sets the Uri of ASR.
1521
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1522
+ */
1523
+ readonly asrServiceUri?: string;
1524
+ /**
1525
+ * Gets or sets the Uri of Rcm.
1526
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1527
+ */
1528
+ readonly rcmServiceUri?: string;
1529
+ /**
1530
+ * Gets or sets the Uri of Gateway.
1531
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1532
+ */
1533
+ readonly gatewayServiceUri?: string;
1534
+ /**
1535
+ * Gets or sets the gateway service Id of source.
1536
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1537
+ */
1538
+ readonly sourceGatewayServiceId?: string;
1539
+ /**
1540
+ * Gets or sets the gateway service Id of target.
1541
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1542
+ */
1543
+ readonly targetGatewayServiceId?: string;
1544
+ /**
1545
+ * Gets or sets the source storage container name.
1546
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1547
+ */
1548
+ readonly sourceStorageContainerName?: string;
1549
+ /**
1550
+ * Gets or sets the target storage container name.
1551
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1552
+ */
1553
+ readonly targetStorageContainerName?: string;
1554
+ /**
1555
+ * Gets or sets the resource location.
1556
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1557
+ */
1558
+ readonly resourceLocation?: string;
1559
+ /**
1560
+ * Gets or sets the subscription.
1561
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1562
+ */
1563
+ readonly subscriptionId?: string;
1564
+ /**
1565
+ * Gets or sets the resource group.
1566
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1567
+ */
1568
+ readonly resourceGroup?: string;
1569
+ }
1570
+
1571
+ /** Identity model. */
1572
+ export declare interface IdentityModel {
1573
+ /** Gets or sets the tenant Id of the SPN with which Dra communicates to service. */
1574
+ tenantId: string;
1575
+ /**
1576
+ * Gets or sets the client/application Id of the SPN with which Dra communicates to
1577
+ * service.
1578
+ */
1579
+ applicationId: string;
1580
+ /** Gets or sets the object Id of the SPN with which Dra communicates to service. */
1581
+ objectId: string;
1582
+ /** Gets or sets the audience of the SPN with which Dra communicates to service. */
1583
+ audience: string;
1584
+ /** Gets or sets the authority of the SPN with which Dra communicates to service. */
1585
+ aadAuthority: string;
1586
+ }
1587
+
1588
+ /** Inner health error model. */
1589
+ export declare interface InnerHealthErrorModel {
1590
+ /**
1591
+ * Gets or sets the error code.
1592
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1593
+ */
1594
+ readonly code?: string;
1595
+ /**
1596
+ * Gets or sets the health category.
1597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1598
+ */
1599
+ readonly healthCategory?: string;
1600
+ /**
1601
+ * Gets or sets the error category.
1602
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1603
+ */
1604
+ readonly category?: string;
1605
+ /**
1606
+ * Gets or sets the error severity.
1607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1608
+ */
1609
+ readonly severity?: string;
1610
+ /**
1611
+ * Gets or sets the error source.
1612
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1613
+ */
1614
+ readonly source?: string;
1615
+ /**
1616
+ * Gets or sets the error creation time.
1617
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1618
+ */
1619
+ readonly creationTime?: Date;
1620
+ /**
1621
+ * Gets or sets a value indicating whether the error is customer resolvable.
1622
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1623
+ */
1624
+ readonly isCustomerResolvable?: boolean;
1625
+ /**
1626
+ * Gets or sets the error summary.
1627
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1628
+ */
1629
+ readonly summary?: string;
1630
+ /**
1631
+ * Gets or sets the error message.
1632
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1633
+ */
1634
+ readonly message?: string;
1635
+ /**
1636
+ * Gets or sets possible causes of the error.
1637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1638
+ */
1639
+ readonly causes?: string;
1640
+ /**
1641
+ * Gets or sets recommended action to resolve the error.
1642
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1643
+ */
1644
+ readonly recommendation?: string;
1645
+ }
1646
+
1647
+ /** Known values of {@link ActionType} that the service accepts. */
1648
+ export declare enum KnownActionType {
1649
+ /** Internal */
1650
+ Internal = "Internal"
1651
+ }
1652
+
1653
+ /** Known values of {@link HealthStatus} that the service accepts. */
1654
+ export declare enum KnownHealthStatus {
1655
+ /** Normal */
1656
+ Normal = "Normal",
1657
+ /** Warning */
1658
+ Warning = "Warning",
1659
+ /** Critical */
1660
+ Critical = "Critical"
1661
+ }
1662
+
1663
+ /** Known values of {@link Origin} that the service accepts. */
1664
+ export declare enum KnownOrigin {
1665
+ /** User */
1666
+ User = "user",
1667
+ /** System */
1668
+ System = "system",
1669
+ /** UserSystem */
1670
+ UserSystem = "user,system"
1671
+ }
1672
+
1673
+ /** Known values of {@link ProtectedItemActiveLocation} that the service accepts. */
1674
+ export declare enum KnownProtectedItemActiveLocation {
1675
+ /** Primary */
1676
+ Primary = "Primary",
1677
+ /** Recovery */
1678
+ Recovery = "Recovery"
1679
+ }
1680
+
1681
+ /** Known values of {@link ProtectionState} that the service accepts. */
1682
+ export declare enum KnownProtectionState {
1683
+ /** UnprotectedStatesBegin */
1684
+ UnprotectedStatesBegin = "UnprotectedStatesBegin",
1685
+ /** EnablingProtection */
1686
+ EnablingProtection = "EnablingProtection",
1687
+ /** EnablingFailed */
1688
+ EnablingFailed = "EnablingFailed",
1689
+ /** DisablingProtection */
1690
+ DisablingProtection = "DisablingProtection",
1691
+ /** MarkedForDeletion */
1692
+ MarkedForDeletion = "MarkedForDeletion",
1693
+ /** DisablingFailed */
1694
+ DisablingFailed = "DisablingFailed",
1695
+ /** UnprotectedStatesEnd */
1696
+ UnprotectedStatesEnd = "UnprotectedStatesEnd",
1697
+ /** InitialReplicationStatesBegin */
1698
+ InitialReplicationStatesBegin = "InitialReplicationStatesBegin",
1699
+ /** InitialReplicationInProgress */
1700
+ InitialReplicationInProgress = "InitialReplicationInProgress",
1701
+ /** InitialReplicationCompletedOnPrimary */
1702
+ InitialReplicationCompletedOnPrimary = "InitialReplicationCompletedOnPrimary",
1703
+ /** InitialReplicationCompletedOnRecovery */
1704
+ InitialReplicationCompletedOnRecovery = "InitialReplicationCompletedOnRecovery",
1705
+ /** InitialReplicationFailed */
1706
+ InitialReplicationFailed = "InitialReplicationFailed",
1707
+ /** InitialReplicationStatesEnd */
1708
+ InitialReplicationStatesEnd = "InitialReplicationStatesEnd",
1709
+ /** ProtectedStatesBegin */
1710
+ ProtectedStatesBegin = "ProtectedStatesBegin",
1711
+ /** Protected */
1712
+ Protected = "Protected",
1713
+ /** ProtectedStatesEnd */
1714
+ ProtectedStatesEnd = "ProtectedStatesEnd",
1715
+ /** PlannedFailoverTransitionStatesBegin */
1716
+ PlannedFailoverTransitionStatesBegin = "PlannedFailoverTransitionStatesBegin",
1717
+ /** PlannedFailoverInitiated */
1718
+ PlannedFailoverInitiated = "PlannedFailoverInitiated",
1719
+ /** PlannedFailoverCompleting */
1720
+ PlannedFailoverCompleting = "PlannedFailoverCompleting",
1721
+ /** PlannedFailoverCompleted */
1722
+ PlannedFailoverCompleted = "PlannedFailoverCompleted",
1723
+ /** PlannedFailoverFailed */
1724
+ PlannedFailoverFailed = "PlannedFailoverFailed",
1725
+ /** PlannedFailoverCompletionFailed */
1726
+ PlannedFailoverCompletionFailed = "PlannedFailoverCompletionFailed",
1727
+ /** PlannedFailoverTransitionStatesEnd */
1728
+ PlannedFailoverTransitionStatesEnd = "PlannedFailoverTransitionStatesEnd",
1729
+ /** UnplannedFailoverTransitionStatesBegin */
1730
+ UnplannedFailoverTransitionStatesBegin = "UnplannedFailoverTransitionStatesBegin",
1731
+ /** UnplannedFailoverInitiated */
1732
+ UnplannedFailoverInitiated = "UnplannedFailoverInitiated",
1733
+ /** UnplannedFailoverCompleting */
1734
+ UnplannedFailoverCompleting = "UnplannedFailoverCompleting",
1735
+ /** UnplannedFailoverCompleted */
1736
+ UnplannedFailoverCompleted = "UnplannedFailoverCompleted",
1737
+ /** UnplannedFailoverFailed */
1738
+ UnplannedFailoverFailed = "UnplannedFailoverFailed",
1739
+ /** UnplannedFailoverCompletionFailed */
1740
+ UnplannedFailoverCompletionFailed = "UnplannedFailoverCompletionFailed",
1741
+ /** UnplannedFailoverTransitionStatesEnd */
1742
+ UnplannedFailoverTransitionStatesEnd = "UnplannedFailoverTransitionStatesEnd",
1743
+ /** CommitFailoverStatesBegin */
1744
+ CommitFailoverStatesBegin = "CommitFailoverStatesBegin",
1745
+ /** CommitFailoverInProgressOnPrimary */
1746
+ CommitFailoverInProgressOnPrimary = "CommitFailoverInProgressOnPrimary",
1747
+ /** CommitFailoverInProgressOnRecovery */
1748
+ CommitFailoverInProgressOnRecovery = "CommitFailoverInProgressOnRecovery",
1749
+ /** CommitFailoverCompleted */
1750
+ CommitFailoverCompleted = "CommitFailoverCompleted",
1751
+ /** CommitFailoverFailedOnPrimary */
1752
+ CommitFailoverFailedOnPrimary = "CommitFailoverFailedOnPrimary",
1753
+ /** CommitFailoverFailedOnRecovery */
1754
+ CommitFailoverFailedOnRecovery = "CommitFailoverFailedOnRecovery",
1755
+ /** CommitFailoverStatesEnd */
1756
+ CommitFailoverStatesEnd = "CommitFailoverStatesEnd",
1757
+ /** CancelFailoverStatesBegin */
1758
+ CancelFailoverStatesBegin = "CancelFailoverStatesBegin",
1759
+ /** CancelFailoverInProgressOnPrimary */
1760
+ CancelFailoverInProgressOnPrimary = "CancelFailoverInProgressOnPrimary",
1761
+ /** CancelFailoverInProgressOnRecovery */
1762
+ CancelFailoverInProgressOnRecovery = "CancelFailoverInProgressOnRecovery",
1763
+ /** CancelFailoverFailedOnPrimary */
1764
+ CancelFailoverFailedOnPrimary = "CancelFailoverFailedOnPrimary",
1765
+ /** CancelFailoverFailedOnRecovery */
1766
+ CancelFailoverFailedOnRecovery = "CancelFailoverFailedOnRecovery",
1767
+ /** CancelFailoverStatesEnd */
1768
+ CancelFailoverStatesEnd = "CancelFailoverStatesEnd",
1769
+ /** ChangeRecoveryPointStatesBegin */
1770
+ ChangeRecoveryPointStatesBegin = "ChangeRecoveryPointStatesBegin",
1771
+ /** ChangeRecoveryPointInitiated */
1772
+ ChangeRecoveryPointInitiated = "ChangeRecoveryPointInitiated",
1773
+ /** ChangeRecoveryPointCompleted */
1774
+ ChangeRecoveryPointCompleted = "ChangeRecoveryPointCompleted",
1775
+ /** ChangeRecoveryPointFailed */
1776
+ ChangeRecoveryPointFailed = "ChangeRecoveryPointFailed",
1777
+ /** ChangeRecoveryPointStatesEnd */
1778
+ ChangeRecoveryPointStatesEnd = "ChangeRecoveryPointStatesEnd",
1779
+ /** ReprotectStatesBegin */
1780
+ ReprotectStatesBegin = "ReprotectStatesBegin",
1781
+ /** ReprotectInitiated */
1782
+ ReprotectInitiated = "ReprotectInitiated",
1783
+ /** ReprotectFailed */
1784
+ ReprotectFailed = "ReprotectFailed",
1785
+ /** ReprotectStatesEnd */
1786
+ ReprotectStatesEnd = "ReprotectStatesEnd"
1787
+ }
1788
+
1789
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1790
+ export declare enum KnownProvisioningState {
1791
+ /** Canceled */
1792
+ Canceled = "Canceled",
1793
+ /** Creating */
1794
+ Creating = "Creating",
1795
+ /** Deleting */
1796
+ Deleting = "Deleting",
1797
+ /** Deleted */
1798
+ Deleted = "Deleted",
1799
+ /** Failed */
1800
+ Failed = "Failed",
1801
+ /** Succeeded */
1802
+ Succeeded = "Succeeded",
1803
+ /** Updating */
1804
+ Updating = "Updating"
1805
+ }
1806
+
1807
+ /** Known values of {@link RecoveryPointType} that the service accepts. */
1808
+ export declare enum KnownRecoveryPointType {
1809
+ /** ApplicationConsistent */
1810
+ ApplicationConsistent = "ApplicationConsistent",
1811
+ /** CrashConsistent */
1812
+ CrashConsistent = "CrashConsistent"
1813
+ }
1814
+
1815
+ /** Known values of {@link ReplicationVaultType} that the service accepts. */
1816
+ export declare enum KnownReplicationVaultType {
1817
+ /** DisasterRecovery */
1818
+ DisasterRecovery = "DisasterRecovery",
1819
+ /** Migrate */
1820
+ Migrate = "Migrate"
1821
+ }
1822
+
1823
+ /** Known values of {@link ResynchronizationState} that the service accepts. */
1824
+ export declare enum KnownResynchronizationState {
1825
+ /** None */
1826
+ None = "None",
1827
+ /** ResynchronizationInitiated */
1828
+ ResynchronizationInitiated = "ResynchronizationInitiated",
1829
+ /** ResynchronizationCompleted */
1830
+ ResynchronizationCompleted = "ResynchronizationCompleted",
1831
+ /** ResynchronizationFailed */
1832
+ ResynchronizationFailed = "ResynchronizationFailed"
1833
+ }
1834
+
1835
+ /** Known values of {@link TaskState} that the service accepts. */
1836
+ export declare enum KnownTaskState {
1837
+ /** Pending */
1838
+ Pending = "Pending",
1839
+ /** Started */
1840
+ Started = "Started",
1841
+ /** Succeeded */
1842
+ Succeeded = "Succeeded",
1843
+ /** Failed */
1844
+ Failed = "Failed",
1845
+ /** Cancelled */
1846
+ Cancelled = "Cancelled",
1847
+ /** Skipped */
1848
+ Skipped = "Skipped"
1849
+ }
1850
+
1851
+ /** Known values of {@link TestFailoverState} that the service accepts. */
1852
+ export declare enum KnownTestFailoverState {
1853
+ /** None */
1854
+ None = "None",
1855
+ /** TestFailoverInitiated */
1856
+ TestFailoverInitiated = "TestFailoverInitiated",
1857
+ /** TestFailoverCompleting */
1858
+ TestFailoverCompleting = "TestFailoverCompleting",
1859
+ /** TestFailoverCompleted */
1860
+ TestFailoverCompleted = "TestFailoverCompleted",
1861
+ /** TestFailoverFailed */
1862
+ TestFailoverFailed = "TestFailoverFailed",
1863
+ /** TestFailoverCompletionFailed */
1864
+ TestFailoverCompletionFailed = "TestFailoverCompletionFailed",
1865
+ /** TestFailoverCleanupInitiated */
1866
+ TestFailoverCleanupInitiated = "TestFailoverCleanupInitiated",
1867
+ /** TestFailoverCleanupCompleting */
1868
+ TestFailoverCleanupCompleting = "TestFailoverCleanupCompleting",
1869
+ /** MarkedForDeletion */
1870
+ MarkedForDeletion = "MarkedForDeletion"
1871
+ }
1872
+
1873
+ /** Known values of {@link VMNicSelection} that the service accepts. */
1874
+ export declare enum KnownVMNicSelection {
1875
+ /** NotSelected */
1876
+ NotSelected = "NotSelected",
1877
+ /** SelectedByUser */
1878
+ SelectedByUser = "SelectedByUser",
1879
+ /** SelectedByDefault */
1880
+ SelectedByDefault = "SelectedByDefault",
1881
+ /** SelectedByUserOverride */
1882
+ SelectedByUserOverride = "SelectedByUserOverride"
1883
+ }
1884
+
1885
+ /** Known values of {@link VMwareToAzureMigrateResyncState} that the service accepts. */
1886
+ export declare enum KnownVMwareToAzureMigrateResyncState {
1887
+ /** None */
1888
+ None = "None",
1889
+ /** PreparedForResynchronization */
1890
+ PreparedForResynchronization = "PreparedForResynchronization",
1891
+ /** StartedResynchronization */
1892
+ StartedResynchronization = "StartedResynchronization"
1893
+ }
1894
+
1895
+ /** Known values of {@link WorkflowObjectType} that the service accepts. */
1896
+ export declare enum KnownWorkflowObjectType {
1897
+ /** AvsDiskPool */
1898
+ AvsDiskPool = "AvsDiskPool",
1899
+ /** Dra */
1900
+ Dra = "Dra",
1901
+ /** Fabric */
1902
+ Fabric = "Fabric",
1903
+ /** Policy */
1904
+ Policy = "Policy",
1905
+ /** ProtectedItem */
1906
+ ProtectedItem = "ProtectedItem",
1907
+ /** RecoveryPlan */
1908
+ RecoveryPlan = "RecoveryPlan",
1909
+ /** ReplicationExtension */
1910
+ ReplicationExtension = "ReplicationExtension",
1911
+ /** Vault */
1912
+ Vault = "Vault"
1913
+ }
1914
+
1915
+ /** Known values of {@link WorkflowState} that the service accepts. */
1916
+ export declare enum KnownWorkflowState {
1917
+ /** Pending */
1918
+ Pending = "Pending",
1919
+ /** Started */
1920
+ Started = "Started",
1921
+ /** Cancelling */
1922
+ Cancelling = "Cancelling",
1923
+ /** Succeeded */
1924
+ Succeeded = "Succeeded",
1925
+ /** Failed */
1926
+ Failed = "Failed",
1927
+ /** Cancelled */
1928
+ Cancelled = "Cancelled",
1929
+ /** CompletedWithInformation */
1930
+ CompletedWithInformation = "CompletedWithInformation",
1931
+ /** CompletedWithWarnings */
1932
+ CompletedWithWarnings = "CompletedWithWarnings",
1933
+ /** CompletedWithErrors */
1934
+ CompletedWithErrors = "CompletedWithErrors"
1935
+ }
1936
+
1937
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
1938
+ export declare interface Operation {
1939
+ /**
1940
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1942
+ */
1943
+ readonly name?: string;
1944
+ /**
1945
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
1946
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1947
+ */
1948
+ readonly isDataAction?: boolean;
1949
+ /** Localized display information for this particular operation. */
1950
+ display?: OperationDisplay;
1951
+ /**
1952
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
1953
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1954
+ */
1955
+ readonly origin?: Origin;
1956
+ /**
1957
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1958
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1959
+ */
1960
+ readonly actionType?: ActionType;
1961
+ }
1962
+
1963
+ /** Localized display information for this particular operation. */
1964
+ export declare interface OperationDisplay {
1965
+ /**
1966
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
1967
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1968
+ */
1969
+ readonly provider?: string;
1970
+ /**
1971
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
1972
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1973
+ */
1974
+ readonly resource?: string;
1975
+ /**
1976
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
1977
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1978
+ */
1979
+ readonly operation?: string;
1980
+ /**
1981
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
1982
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1983
+ */
1984
+ readonly description?: string;
1985
+ }
1986
+
1987
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
1988
+ export declare interface OperationListResult {
1989
+ /**
1990
+ * List of operations supported by the resource provider
1991
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1992
+ */
1993
+ readonly value?: Operation[];
1994
+ /**
1995
+ * URL to get the next set of operation list results (if there are any).
1996
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1997
+ */
1998
+ readonly nextLink?: string;
1999
+ }
2000
+
2001
+ /** Operation model. */
2002
+ export declare interface OperationModel {
2003
+ /** Gets or sets the name of the operation. */
2004
+ name?: string;
2005
+ /**
2006
+ * Gets or sets a value indicating whether the action is specific to data plane or
2007
+ * control plane.
2008
+ */
2009
+ isDataAction?: boolean;
2010
+ /** Gets or sets the executor of the operation. */
2011
+ origin?: string;
2012
+ /** Operation model properties. */
2013
+ display?: OperationModelProperties;
2014
+ }
2015
+
2016
+ /** Available operations of the service. */
2017
+ export declare interface OperationModelCollection {
2018
+ /** Gets or sets the list of operations. */
2019
+ value?: OperationModel[];
2020
+ /** Gets or sets the value of next link. */
2021
+ nextLink?: string;
2022
+ }
2023
+
2024
+ /** Operation model properties. */
2025
+ export declare interface OperationModelProperties {
2026
+ /** Gets or sets the resource provider name. */
2027
+ provider?: string;
2028
+ /** Gets or sets resource name. */
2029
+ resource?: string;
2030
+ /** Gets or sets the operation. */
2031
+ operation?: string;
2032
+ /** Gets or sets the description. */
2033
+ description?: string;
2034
+ }
2035
+
2036
+ /** Interface representing a Operations. */
2037
+ export declare interface Operations {
2038
+ /**
2039
+ * Gets the operations.
2040
+ * @param options The options parameters.
2041
+ */
2042
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
2043
+ }
2044
+
2045
+ /** Optional parameters. */
2046
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
2047
+ }
2048
+
2049
+ /** Contains response data for the listNext operation. */
2050
+ export declare type OperationsListNextResponse = OperationListResult;
2051
+
2052
+ /** Optional parameters. */
2053
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
2054
+ }
2055
+
2056
+ /** Contains response data for the list operation. */
2057
+ export declare type OperationsListResponse = OperationListResult;
2058
+
2059
+ /** Defines the operation status. */
2060
+ export declare interface OperationStatus {
2061
+ /** Gets or sets the Id. */
2062
+ id?: string;
2063
+ /** Gets or sets the operation name. */
2064
+ name?: string;
2065
+ /**
2066
+ * Gets or sets the status of the operation. ARM expects the terminal status to be one of
2067
+ * Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
2068
+ */
2069
+ status?: string;
2070
+ /** Gets or sets the start time. */
2071
+ startTime?: string;
2072
+ /** Gets or sets the end time. */
2073
+ endTime?: string;
2074
+ }
2075
+
2076
+ /**
2077
+ * Defines values for Origin. \
2078
+ * {@link KnownOrigin} can be used interchangeably with Origin,
2079
+ * this enum contains the known values that the service supports.
2080
+ * ### Known values supported by the service
2081
+ * **user** \
2082
+ * **system** \
2083
+ * **user,system**
2084
+ */
2085
+ export declare type Origin = string;
2086
+
2087
+ /** Planned failover model. */
2088
+ export declare interface PlannedFailoverModel {
2089
+ /** Planned failover model properties. */
2090
+ properties: PlannedFailoverModelProperties;
2091
+ }
2092
+
2093
+ /** Planned failover model custom properties. */
2094
+ export declare interface PlannedFailoverModelCustomProperties {
2095
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2096
+ instanceType: "HyperVToAzStackHCI" | "VMwareToAzStackHCI";
2097
+ }
2098
+
2099
+ export declare type PlannedFailoverModelCustomPropertiesUnion = PlannedFailoverModelCustomProperties | HyperVToAzStackHCIPlannedFailoverModelCustomProperties | VMwareToAzStackHCIPlannedFailoverModelCustomProperties;
2100
+
2101
+ /** Planned failover model properties. */
2102
+ export declare interface PlannedFailoverModelProperties {
2103
+ /** Planned failover model custom properties. */
2104
+ customProperties: PlannedFailoverModelCustomPropertiesUnion;
2105
+ }
2106
+
2107
+ /** Interface representing a Policy. */
2108
+ export declare interface Policy {
2109
+ /**
2110
+ * Gets the list of policies in the given vault.
2111
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2112
+ * @param vaultName The vault name.
2113
+ * @param options The options parameters.
2114
+ */
2115
+ list(resourceGroupName: string, vaultName: string, options?: PolicyListOptionalParams): PagedAsyncIterableIterator<PolicyModel>;
2116
+ /**
2117
+ * Gets the details of the policy.
2118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2119
+ * @param vaultName The vault name.
2120
+ * @param policyName The policy name.
2121
+ * @param options The options parameters.
2122
+ */
2123
+ get(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyGetOptionalParams): Promise<PolicyGetResponse>;
2124
+ /**
2125
+ * Creates the policy.
2126
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2127
+ * @param vaultName The vault name.
2128
+ * @param policyName The policy name.
2129
+ * @param options The options parameters.
2130
+ */
2131
+ beginCreate(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyCreateOptionalParams): Promise<SimplePollerLike<OperationState<PolicyCreateResponse>, PolicyCreateResponse>>;
2132
+ /**
2133
+ * Creates the policy.
2134
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2135
+ * @param vaultName The vault name.
2136
+ * @param policyName The policy name.
2137
+ * @param options The options parameters.
2138
+ */
2139
+ beginCreateAndWait(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyCreateOptionalParams): Promise<PolicyCreateResponse>;
2140
+ /**
2141
+ * Removes the policy.
2142
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2143
+ * @param vaultName The vault name.
2144
+ * @param policyName The policy name.
2145
+ * @param options The options parameters.
2146
+ */
2147
+ beginDelete(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyDeleteOptionalParams): Promise<SimplePollerLike<OperationState<PolicyDeleteResponse>, PolicyDeleteResponse>>;
2148
+ /**
2149
+ * Removes the policy.
2150
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2151
+ * @param vaultName The vault name.
2152
+ * @param policyName The policy name.
2153
+ * @param options The options parameters.
2154
+ */
2155
+ beginDeleteAndWait(resourceGroupName: string, vaultName: string, policyName: string, options?: PolicyDeleteOptionalParams): Promise<PolicyDeleteResponse>;
2156
+ }
2157
+
2158
+ /** Optional parameters. */
2159
+ export declare interface PolicyCreateOptionalParams extends coreClient.OperationOptions {
2160
+ /** Policy model. */
2161
+ body?: PolicyModel;
2162
+ /** Delay to wait until next poll, in milliseconds. */
2163
+ updateIntervalInMs?: number;
2164
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2165
+ resumeFrom?: string;
2166
+ }
2167
+
2168
+ /** Contains response data for the create operation. */
2169
+ export declare type PolicyCreateResponse = PolicyModel;
2170
+
2171
+ /** Defines headers for Policy_delete operation. */
2172
+ export declare interface PolicyDeleteHeaders {
2173
+ /** Tracking URL for long running operation. */
2174
+ azureAsyncOperation?: string;
2175
+ location?: string;
2176
+ }
2177
+
2178
+ /** Optional parameters. */
2179
+ export declare interface PolicyDeleteOptionalParams extends coreClient.OperationOptions {
2180
+ /** Delay to wait until next poll, in milliseconds. */
2181
+ updateIntervalInMs?: number;
2182
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2183
+ resumeFrom?: string;
2184
+ }
2185
+
2186
+ /** Contains response data for the delete operation. */
2187
+ export declare type PolicyDeleteResponse = PolicyDeleteHeaders;
2188
+
2189
+ /** Optional parameters. */
2190
+ export declare interface PolicyGetOptionalParams extends coreClient.OperationOptions {
2191
+ }
2192
+
2193
+ /** Contains response data for the get operation. */
2194
+ export declare type PolicyGetResponse = PolicyModel;
2195
+
2196
+ /** Optional parameters. */
2197
+ export declare interface PolicyListNextOptionalParams extends coreClient.OperationOptions {
2198
+ }
2199
+
2200
+ /** Contains response data for the listNext operation. */
2201
+ export declare type PolicyListNextResponse = PolicyModelCollection;
2202
+
2203
+ /** Optional parameters. */
2204
+ export declare interface PolicyListOptionalParams extends coreClient.OperationOptions {
2205
+ }
2206
+
2207
+ /** Contains response data for the list operation. */
2208
+ export declare type PolicyListResponse = PolicyModelCollection;
2209
+
2210
+ /** Policy model. */
2211
+ export declare interface PolicyModel {
2212
+ /** Policy model properties. */
2213
+ properties: PolicyModelProperties;
2214
+ /**
2215
+ * Gets or sets the Id of the resource.
2216
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2217
+ */
2218
+ readonly id?: string;
2219
+ /**
2220
+ * Gets or sets the name of the resource.
2221
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2222
+ */
2223
+ readonly name?: string;
2224
+ /**
2225
+ * Gets or sets the type of the resource.
2226
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2227
+ */
2228
+ readonly type?: string;
2229
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2230
+ readonly systemData?: PolicyModelSystemData;
2231
+ }
2232
+
2233
+ /** Policy model collection. */
2234
+ export declare interface PolicyModelCollection {
2235
+ /** Gets or sets the list of policies. */
2236
+ value?: PolicyModel[];
2237
+ /** Gets or sets the value of next link. */
2238
+ nextLink?: string;
2239
+ }
2240
+
2241
+ /** Policy model custom properties. */
2242
+ export declare interface PolicyModelCustomProperties {
2243
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2244
+ instanceType: "HyperVToAzStackHCI" | "VMwareToAzStackHCI";
2245
+ }
2246
+
2247
+ export declare type PolicyModelCustomPropertiesUnion = PolicyModelCustomProperties | HyperVToAzStackHCIPolicyModelCustomProperties | VMwareToAzStackHCIPolicyModelCustomProperties;
2248
+
2249
+ /** Policy model properties. */
2250
+ export declare interface PolicyModelProperties {
2251
+ /**
2252
+ * Gets or sets the provisioning state of the policy.
2253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2254
+ */
2255
+ readonly provisioningState?: ProvisioningState;
2256
+ /** Policy model custom properties. */
2257
+ customProperties: PolicyModelCustomPropertiesUnion;
2258
+ }
2259
+
2260
+ export declare interface PolicyModelSystemData extends SystemDataModel {
2261
+ }
2262
+
2263
+ /** Interface representing a PolicyOperationStatus. */
2264
+ export declare interface PolicyOperationStatus {
2265
+ /**
2266
+ * Tracks the results of an asynchronous operation on the policy.
2267
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2268
+ * @param vaultName The vault name.
2269
+ * @param policyName The policy name.
2270
+ * @param operationId The ID of an ongoing async operation.
2271
+ * @param options The options parameters.
2272
+ */
2273
+ get(resourceGroupName: string, vaultName: string, policyName: string, operationId: string, options?: PolicyOperationStatusGetOptionalParams): Promise<PolicyOperationStatusGetResponse>;
2274
+ }
2275
+
2276
+ /** Optional parameters. */
2277
+ export declare interface PolicyOperationStatusGetOptionalParams extends coreClient.OperationOptions {
2278
+ }
2279
+
2280
+ /** Contains response data for the get operation. */
2281
+ export declare type PolicyOperationStatusGetResponse = OperationStatus;
2282
+
2283
+ /** Interface representing a ProtectedItem. */
2284
+ export declare interface ProtectedItem {
2285
+ /**
2286
+ * Gets the list of protected items in the given vault.
2287
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2288
+ * @param vaultName The vault name.
2289
+ * @param options The options parameters.
2290
+ */
2291
+ list(resourceGroupName: string, vaultName: string, options?: ProtectedItemListOptionalParams): PagedAsyncIterableIterator<ProtectedItemModel>;
2292
+ /**
2293
+ * Gets the details of the protected item.
2294
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2295
+ * @param vaultName The vault name.
2296
+ * @param protectedItemName The protected item name.
2297
+ * @param options The options parameters.
2298
+ */
2299
+ get(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemGetOptionalParams): Promise<ProtectedItemGetResponse>;
2300
+ /**
2301
+ * Creates the protected item.
2302
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2303
+ * @param vaultName The vault name.
2304
+ * @param protectedItemName The protected item name.
2305
+ * @param options The options parameters.
2306
+ */
2307
+ beginCreate(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProtectedItemCreateResponse>, ProtectedItemCreateResponse>>;
2308
+ /**
2309
+ * Creates the protected item.
2310
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2311
+ * @param vaultName The vault name.
2312
+ * @param protectedItemName The protected item name.
2313
+ * @param options The options parameters.
2314
+ */
2315
+ beginCreateAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemCreateOptionalParams): Promise<ProtectedItemCreateResponse>;
2316
+ /**
2317
+ * Removes the protected item.
2318
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2319
+ * @param vaultName The vault name.
2320
+ * @param protectedItemName The protected item name.
2321
+ * @param options The options parameters.
2322
+ */
2323
+ beginDelete(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ProtectedItemDeleteResponse>, ProtectedItemDeleteResponse>>;
2324
+ /**
2325
+ * Removes the protected item.
2326
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2327
+ * @param vaultName The vault name.
2328
+ * @param protectedItemName The protected item name.
2329
+ * @param options The options parameters.
2330
+ */
2331
+ beginDeleteAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemDeleteOptionalParams): Promise<ProtectedItemDeleteResponse>;
2332
+ /**
2333
+ * Performs the planned failover on the protected item.
2334
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2335
+ * @param vaultName The vault name.
2336
+ * @param protectedItemName The protected item name.
2337
+ * @param options The options parameters.
2338
+ */
2339
+ beginPlannedFailover(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemPlannedFailoverOptionalParams): Promise<SimplePollerLike<OperationState<ProtectedItemPlannedFailoverResponse>, ProtectedItemPlannedFailoverResponse>>;
2340
+ /**
2341
+ * Performs the planned failover on the protected item.
2342
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2343
+ * @param vaultName The vault name.
2344
+ * @param protectedItemName The protected item name.
2345
+ * @param options The options parameters.
2346
+ */
2347
+ beginPlannedFailoverAndWait(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: ProtectedItemPlannedFailoverOptionalParams): Promise<ProtectedItemPlannedFailoverResponse>;
2348
+ }
2349
+
2350
+ /**
2351
+ * Defines values for ProtectedItemActiveLocation. \
2352
+ * {@link KnownProtectedItemActiveLocation} can be used interchangeably with ProtectedItemActiveLocation,
2353
+ * this enum contains the known values that the service supports.
2354
+ * ### Known values supported by the service
2355
+ * **Primary** \
2356
+ * **Recovery**
2357
+ */
2358
+ export declare type ProtectedItemActiveLocation = string;
2359
+
2360
+ /** Optional parameters. */
2361
+ export declare interface ProtectedItemCreateOptionalParams extends coreClient.OperationOptions {
2362
+ /** Protected item model. */
2363
+ body?: ProtectedItemModel;
2364
+ /** Delay to wait until next poll, in milliseconds. */
2365
+ updateIntervalInMs?: number;
2366
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2367
+ resumeFrom?: string;
2368
+ }
2369
+
2370
+ /** Contains response data for the create operation. */
2371
+ export declare type ProtectedItemCreateResponse = ProtectedItemModel;
2372
+
2373
+ /** Defines headers for ProtectedItem_delete operation. */
2374
+ export declare interface ProtectedItemDeleteHeaders {
2375
+ /** Tracking URL for long running operation. */
2376
+ azureAsyncOperation?: string;
2377
+ location?: string;
2378
+ }
2379
+
2380
+ /** Optional parameters. */
2381
+ export declare interface ProtectedItemDeleteOptionalParams extends coreClient.OperationOptions {
2382
+ /** A flag indicating whether to do force delete or not. */
2383
+ forceDelete?: boolean;
2384
+ /** Delay to wait until next poll, in milliseconds. */
2385
+ updateIntervalInMs?: number;
2386
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2387
+ resumeFrom?: string;
2388
+ }
2389
+
2390
+ /** Contains response data for the delete operation. */
2391
+ export declare type ProtectedItemDeleteResponse = ProtectedItemDeleteHeaders;
2392
+
2393
+ /** Protected item dynamic memory config. */
2394
+ export declare interface ProtectedItemDynamicMemoryConfig {
2395
+ /** Gets or sets maximum memory in MB. */
2396
+ maximumMemoryInMegaBytes: number;
2397
+ /** Gets or sets minimum memory in MB. */
2398
+ minimumMemoryInMegaBytes: number;
2399
+ /** Gets or sets target memory buffer in %. */
2400
+ targetMemoryBufferPercentage: number;
2401
+ }
2402
+
2403
+ /** Optional parameters. */
2404
+ export declare interface ProtectedItemGetOptionalParams extends coreClient.OperationOptions {
2405
+ }
2406
+
2407
+ /** Contains response data for the get operation. */
2408
+ export declare type ProtectedItemGetResponse = ProtectedItemModel;
2409
+
2410
+ /** Protected item job properties. */
2411
+ export declare interface ProtectedItemJobProperties {
2412
+ /**
2413
+ * Gets or sets protection scenario name.
2414
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2415
+ */
2416
+ readonly scenarioName?: string;
2417
+ /**
2418
+ * Gets or sets workflow Id.
2419
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2420
+ */
2421
+ readonly id?: string;
2422
+ /**
2423
+ * Gets or sets workflow name.
2424
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2425
+ */
2426
+ readonly name?: string;
2427
+ /**
2428
+ * Gets or sets the workflow friendly display name.
2429
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2430
+ */
2431
+ readonly displayName?: string;
2432
+ /**
2433
+ * Gets or sets workflow state.
2434
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2435
+ */
2436
+ readonly state?: string;
2437
+ /**
2438
+ * Gets or sets start time of the workflow.
2439
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2440
+ */
2441
+ readonly startTime?: Date;
2442
+ /**
2443
+ * Gets or sets end time of the workflow.
2444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2445
+ */
2446
+ readonly endTime?: Date;
2447
+ }
2448
+
2449
+ /** Optional parameters. */
2450
+ export declare interface ProtectedItemListNextOptionalParams extends coreClient.OperationOptions {
2451
+ }
2452
+
2453
+ /** Contains response data for the listNext operation. */
2454
+ export declare type ProtectedItemListNextResponse = ProtectedItemModelCollection;
2455
+
2456
+ /** Optional parameters. */
2457
+ export declare interface ProtectedItemListOptionalParams extends coreClient.OperationOptions {
2458
+ }
2459
+
2460
+ /** Contains response data for the list operation. */
2461
+ export declare type ProtectedItemListResponse = ProtectedItemModelCollection;
2462
+
2463
+ /** Protected item model. */
2464
+ export declare interface ProtectedItemModel {
2465
+ /** Protected item model properties. */
2466
+ properties: ProtectedItemModelProperties;
2467
+ /**
2468
+ * Gets or sets the Id of the resource.
2469
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2470
+ */
2471
+ readonly id?: string;
2472
+ /**
2473
+ * Gets or sets the name of the resource.
2474
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2475
+ */
2476
+ readonly name?: string;
2477
+ /**
2478
+ * Gets or sets the type of the resource.
2479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2480
+ */
2481
+ readonly type?: string;
2482
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2483
+ readonly systemData?: ProtectedItemModelSystemData;
2484
+ }
2485
+
2486
+ /** Protected item model collection. */
2487
+ export declare interface ProtectedItemModelCollection {
2488
+ /** Gets or sets the list of protected items. */
2489
+ value?: ProtectedItemModel[];
2490
+ /** Gets or sets the value of next link. */
2491
+ nextLink?: string;
2492
+ }
2493
+
2494
+ /** Protected item model custom properties. */
2495
+ export declare interface ProtectedItemModelCustomProperties {
2496
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2497
+ instanceType: "HyperVToAzStackHCI" | "VMwareToAzStackHCI";
2498
+ }
2499
+
2500
+ export declare type ProtectedItemModelCustomPropertiesUnion = ProtectedItemModelCustomProperties | HyperVToAzStackHCIProtectedItemModelCustomProperties | VMwareToAzStackHCIProtectedItemModelCustomProperties;
2501
+
2502
+ /** Protected item model properties. */
2503
+ export declare interface ProtectedItemModelProperties {
2504
+ /** Gets or sets the policy name. */
2505
+ policyName: string;
2506
+ /** Gets or sets the replication extension name. */
2507
+ replicationExtensionName: string;
2508
+ /**
2509
+ * Gets or sets the protected item correlation Id.
2510
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2511
+ */
2512
+ readonly correlationId?: string;
2513
+ /**
2514
+ * Gets or sets the provisioning state of the Dra.
2515
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2516
+ */
2517
+ readonly provisioningState?: ProvisioningState;
2518
+ /**
2519
+ * Gets or sets the protection state.
2520
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2521
+ */
2522
+ readonly protectionState?: ProtectionState;
2523
+ /**
2524
+ * Gets or sets the protection state description.
2525
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2526
+ */
2527
+ readonly protectionStateDescription?: string;
2528
+ /**
2529
+ * Gets or sets the test failover state.
2530
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2531
+ */
2532
+ readonly testFailoverState?: TestFailoverState;
2533
+ /**
2534
+ * Gets or sets the Test failover state description.
2535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2536
+ */
2537
+ readonly testFailoverStateDescription?: string;
2538
+ /**
2539
+ * Gets or sets the resynchronization state.
2540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2541
+ */
2542
+ readonly resynchronizationState?: ResynchronizationState;
2543
+ /**
2544
+ * Gets or sets the fabric object Id.
2545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2546
+ */
2547
+ readonly fabricObjectId?: string;
2548
+ /**
2549
+ * Gets or sets the fabric object name.
2550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2551
+ */
2552
+ readonly fabricObjectName?: string;
2553
+ /**
2554
+ * Gets or sets the source fabric provider Id.
2555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2556
+ */
2557
+ readonly sourceFabricProviderId?: string;
2558
+ /**
2559
+ * Gets or sets the target fabric provider Id.
2560
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2561
+ */
2562
+ readonly targetFabricProviderId?: string;
2563
+ /**
2564
+ * Gets or sets the fabric Id.
2565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2566
+ */
2567
+ readonly fabricId?: string;
2568
+ /**
2569
+ * Gets or sets the target fabric Id.
2570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2571
+ */
2572
+ readonly targetFabricId?: string;
2573
+ /**
2574
+ * Gets or sets the DRA Id.
2575
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2576
+ */
2577
+ readonly draId?: string;
2578
+ /**
2579
+ * Gets or sets the target DRA Id.
2580
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2581
+ */
2582
+ readonly targetDraId?: string;
2583
+ /**
2584
+ * Gets or sets a value indicating whether resynchronization is required or not.
2585
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2586
+ */
2587
+ readonly resyncRequired?: boolean;
2588
+ /**
2589
+ * Gets or sets the Last successful planned failover time.
2590
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2591
+ */
2592
+ readonly lastSuccessfulPlannedFailoverTime?: Date;
2593
+ /**
2594
+ * Gets or sets the Last successful unplanned failover time.
2595
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2596
+ */
2597
+ readonly lastSuccessfulUnplannedFailoverTime?: Date;
2598
+ /**
2599
+ * Gets or sets the Last successful test failover time.
2600
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2601
+ */
2602
+ readonly lastSuccessfulTestFailoverTime?: Date;
2603
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2604
+ readonly currentJob?: ProtectedItemModelPropertiesCurrentJob;
2605
+ /**
2606
+ * Gets or sets the allowed scenarios on the protected item.
2607
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2608
+ */
2609
+ readonly allowedJobs?: string[];
2610
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2611
+ readonly lastFailedEnableProtectionJob?: ProtectedItemModelPropertiesLastFailedEnableProtectionJob;
2612
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2613
+ readonly lastFailedPlannedFailoverJob?: ProtectedItemModelPropertiesLastFailedPlannedFailoverJob;
2614
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2615
+ readonly lastTestFailoverJob?: ProtectedItemModelPropertiesLastTestFailoverJob;
2616
+ /**
2617
+ * Gets or sets protected item replication health.
2618
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2619
+ */
2620
+ readonly replicationHealth?: HealthStatus;
2621
+ /**
2622
+ * Gets or sets the list of health errors.
2623
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2624
+ */
2625
+ readonly healthErrors?: HealthErrorModel[];
2626
+ /** Protected item model custom properties. */
2627
+ customProperties: ProtectedItemModelCustomPropertiesUnion;
2628
+ }
2629
+
2630
+ export declare interface ProtectedItemModelPropertiesCurrentJob extends ProtectedItemJobProperties {
2631
+ }
2632
+
2633
+ export declare interface ProtectedItemModelPropertiesLastFailedEnableProtectionJob extends ProtectedItemJobProperties {
2634
+ }
2635
+
2636
+ export declare interface ProtectedItemModelPropertiesLastFailedPlannedFailoverJob extends ProtectedItemJobProperties {
2637
+ }
2638
+
2639
+ export declare interface ProtectedItemModelPropertiesLastTestFailoverJob extends ProtectedItemJobProperties {
2640
+ }
2641
+
2642
+ export declare interface ProtectedItemModelSystemData extends SystemDataModel {
2643
+ }
2644
+
2645
+ /** Interface representing a ProtectedItemOperationStatus. */
2646
+ export declare interface ProtectedItemOperationStatus {
2647
+ /**
2648
+ * Tracks the results of an asynchronous operation on the protected item.
2649
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2650
+ * @param vaultName The vault name.
2651
+ * @param protectedItemName The protected item name.
2652
+ * @param operationId The ID of an ongoing async operation.
2653
+ * @param options The options parameters.
2654
+ */
2655
+ get(resourceGroupName: string, vaultName: string, protectedItemName: string, operationId: string, options?: ProtectedItemOperationStatusGetOptionalParams): Promise<ProtectedItemOperationStatusGetResponse>;
2656
+ }
2657
+
2658
+ /** Optional parameters. */
2659
+ export declare interface ProtectedItemOperationStatusGetOptionalParams extends coreClient.OperationOptions {
2660
+ }
2661
+
2662
+ /** Contains response data for the get operation. */
2663
+ export declare type ProtectedItemOperationStatusGetResponse = OperationStatus;
2664
+
2665
+ /** Defines headers for ProtectedItem_plannedFailover operation. */
2666
+ export declare interface ProtectedItemPlannedFailoverHeaders {
2667
+ /** Tracking URL for long running operation. */
2668
+ azureAsyncOperation?: string;
2669
+ location?: string;
2670
+ }
2671
+
2672
+ /** Optional parameters. */
2673
+ export declare interface ProtectedItemPlannedFailoverOptionalParams extends coreClient.OperationOptions {
2674
+ /** Planned failover model. */
2675
+ body?: PlannedFailoverModel;
2676
+ /** Delay to wait until next poll, in milliseconds. */
2677
+ updateIntervalInMs?: number;
2678
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2679
+ resumeFrom?: string;
2680
+ }
2681
+
2682
+ /** Contains response data for the plannedFailover operation. */
2683
+ export declare type ProtectedItemPlannedFailoverResponse = PlannedFailoverModel;
2684
+
2685
+ /**
2686
+ * Defines values for ProtectionState. \
2687
+ * {@link KnownProtectionState} can be used interchangeably with ProtectionState,
2688
+ * this enum contains the known values that the service supports.
2689
+ * ### Known values supported by the service
2690
+ * **UnprotectedStatesBegin** \
2691
+ * **EnablingProtection** \
2692
+ * **EnablingFailed** \
2693
+ * **DisablingProtection** \
2694
+ * **MarkedForDeletion** \
2695
+ * **DisablingFailed** \
2696
+ * **UnprotectedStatesEnd** \
2697
+ * **InitialReplicationStatesBegin** \
2698
+ * **InitialReplicationInProgress** \
2699
+ * **InitialReplicationCompletedOnPrimary** \
2700
+ * **InitialReplicationCompletedOnRecovery** \
2701
+ * **InitialReplicationFailed** \
2702
+ * **InitialReplicationStatesEnd** \
2703
+ * **ProtectedStatesBegin** \
2704
+ * **Protected** \
2705
+ * **ProtectedStatesEnd** \
2706
+ * **PlannedFailoverTransitionStatesBegin** \
2707
+ * **PlannedFailoverInitiated** \
2708
+ * **PlannedFailoverCompleting** \
2709
+ * **PlannedFailoverCompleted** \
2710
+ * **PlannedFailoverFailed** \
2711
+ * **PlannedFailoverCompletionFailed** \
2712
+ * **PlannedFailoverTransitionStatesEnd** \
2713
+ * **UnplannedFailoverTransitionStatesBegin** \
2714
+ * **UnplannedFailoverInitiated** \
2715
+ * **UnplannedFailoverCompleting** \
2716
+ * **UnplannedFailoverCompleted** \
2717
+ * **UnplannedFailoverFailed** \
2718
+ * **UnplannedFailoverCompletionFailed** \
2719
+ * **UnplannedFailoverTransitionStatesEnd** \
2720
+ * **CommitFailoverStatesBegin** \
2721
+ * **CommitFailoverInProgressOnPrimary** \
2722
+ * **CommitFailoverInProgressOnRecovery** \
2723
+ * **CommitFailoverCompleted** \
2724
+ * **CommitFailoverFailedOnPrimary** \
2725
+ * **CommitFailoverFailedOnRecovery** \
2726
+ * **CommitFailoverStatesEnd** \
2727
+ * **CancelFailoverStatesBegin** \
2728
+ * **CancelFailoverInProgressOnPrimary** \
2729
+ * **CancelFailoverInProgressOnRecovery** \
2730
+ * **CancelFailoverFailedOnPrimary** \
2731
+ * **CancelFailoverFailedOnRecovery** \
2732
+ * **CancelFailoverStatesEnd** \
2733
+ * **ChangeRecoveryPointStatesBegin** \
2734
+ * **ChangeRecoveryPointInitiated** \
2735
+ * **ChangeRecoveryPointCompleted** \
2736
+ * **ChangeRecoveryPointFailed** \
2737
+ * **ChangeRecoveryPointStatesEnd** \
2738
+ * **ReprotectStatesBegin** \
2739
+ * **ReprotectInitiated** \
2740
+ * **ReprotectFailed** \
2741
+ * **ReprotectStatesEnd**
2742
+ */
2743
+ export declare type ProtectionState = string;
2744
+
2745
+ /**
2746
+ * Defines values for ProvisioningState. \
2747
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
2748
+ * this enum contains the known values that the service supports.
2749
+ * ### Known values supported by the service
2750
+ * **Canceled** \
2751
+ * **Creating** \
2752
+ * **Deleting** \
2753
+ * **Deleted** \
2754
+ * **Failed** \
2755
+ * **Succeeded** \
2756
+ * **Updating**
2757
+ */
2758
+ export declare type ProvisioningState = string;
2759
+
2760
+ /** Recovery point model. */
2761
+ export declare interface RecoveryPointModel {
2762
+ /** Recovery point model properties. */
2763
+ properties: RecoveryPointModelProperties;
2764
+ /**
2765
+ * Gets or sets the Id of the resource.
2766
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2767
+ */
2768
+ readonly id?: string;
2769
+ /**
2770
+ * Gets or sets the name of the resource.
2771
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2772
+ */
2773
+ readonly name?: string;
2774
+ /**
2775
+ * Gets or sets the type of the resource.
2776
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2777
+ */
2778
+ readonly type?: string;
2779
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2780
+ readonly systemData?: RecoveryPointModelSystemData;
2781
+ }
2782
+
2783
+ /** Recovery point model collection. */
2784
+ export declare interface RecoveryPointModelCollection {
2785
+ /** Gets or sets the list of recovery points. */
2786
+ value?: RecoveryPointModel[];
2787
+ /** Gets or sets the value of next link. */
2788
+ nextLink?: string;
2789
+ }
2790
+
2791
+ /** Recovery point model custom properties. */
2792
+ export declare interface RecoveryPointModelCustomProperties {
2793
+ /** Polymorphic discriminator, which specifies the different types this object can be */
2794
+ instanceType: "HyperVToAzStackHCI";
2795
+ }
2796
+
2797
+ export declare type RecoveryPointModelCustomPropertiesUnion = RecoveryPointModelCustomProperties | HyperVToAzStackHCIRecoveryPointModelCustomProperties;
2798
+
2799
+ /** Recovery point model properties. */
2800
+ export declare interface RecoveryPointModelProperties {
2801
+ /** Gets or sets the recovery point time. */
2802
+ recoveryPointTime: Date;
2803
+ /** Gets or sets the recovery point type. */
2804
+ recoveryPointType: RecoveryPointType;
2805
+ /** Recovery point model custom properties. */
2806
+ customProperties: RecoveryPointModelCustomPropertiesUnion;
2807
+ }
2808
+
2809
+ export declare interface RecoveryPointModelSystemData extends SystemDataModel {
2810
+ }
2811
+
2812
+ /** Interface representing a RecoveryPoints. */
2813
+ export declare interface RecoveryPoints {
2814
+ /**
2815
+ * Gets the list of recovery points of the given protected item.
2816
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2817
+ * @param vaultName The vault name.
2818
+ * @param protectedItemName The protected item name.
2819
+ * @param options The options parameters.
2820
+ */
2821
+ list(resourceGroupName: string, vaultName: string, protectedItemName: string, options?: RecoveryPointsListOptionalParams): PagedAsyncIterableIterator<RecoveryPointModel>;
2822
+ /**
2823
+ * Gets the details of the recovery point of a protected item.
2824
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2825
+ * @param vaultName The vault name.
2826
+ * @param protectedItemName The protected item name.
2827
+ * @param recoveryPointName The recovery point name.
2828
+ * @param options The options parameters.
2829
+ */
2830
+ get(resourceGroupName: string, vaultName: string, protectedItemName: string, recoveryPointName: string, options?: RecoveryPointsGetOptionalParams): Promise<RecoveryPointsGetResponse>;
2831
+ }
2832
+
2833
+ /** Optional parameters. */
2834
+ export declare interface RecoveryPointsGetOptionalParams extends coreClient.OperationOptions {
2835
+ }
2836
+
2837
+ /** Contains response data for the get operation. */
2838
+ export declare type RecoveryPointsGetResponse = RecoveryPointModel;
2839
+
2840
+ /** Optional parameters. */
2841
+ export declare interface RecoveryPointsListNextOptionalParams extends coreClient.OperationOptions {
2842
+ }
2843
+
2844
+ /** Contains response data for the listNext operation. */
2845
+ export declare type RecoveryPointsListNextResponse = RecoveryPointModelCollection;
2846
+
2847
+ /** Optional parameters. */
2848
+ export declare interface RecoveryPointsListOptionalParams extends coreClient.OperationOptions {
2849
+ }
2850
+
2851
+ /** Contains response data for the list operation. */
2852
+ export declare type RecoveryPointsListResponse = RecoveryPointModelCollection;
2853
+
2854
+ /**
2855
+ * Defines values for RecoveryPointType. \
2856
+ * {@link KnownRecoveryPointType} can be used interchangeably with RecoveryPointType,
2857
+ * this enum contains the known values that the service supports.
2858
+ * ### Known values supported by the service
2859
+ * **ApplicationConsistent** \
2860
+ * **CrashConsistent**
2861
+ */
2862
+ export declare type RecoveryPointType = string;
2863
+
2864
+ /** Interface representing a ReplicationExtension. */
2865
+ export declare interface ReplicationExtension {
2866
+ /**
2867
+ * Gets the list of replication extensions in the given vault.
2868
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2869
+ * @param vaultName The vault name.
2870
+ * @param options The options parameters.
2871
+ */
2872
+ list(resourceGroupName: string, vaultName: string, options?: ReplicationExtensionListOptionalParams): PagedAsyncIterableIterator<ReplicationExtensionModel>;
2873
+ /**
2874
+ * Gets the details of the replication extension.
2875
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2876
+ * @param vaultName The vault name.
2877
+ * @param replicationExtensionName The replication extension name.
2878
+ * @param options The options parameters.
2879
+ */
2880
+ get(resourceGroupName: string, vaultName: string, replicationExtensionName: string, options?: ReplicationExtensionGetOptionalParams): Promise<ReplicationExtensionGetResponse>;
2881
+ /**
2882
+ * Creates the replication extension in the given vault.
2883
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2884
+ * @param vaultName The vault name.
2885
+ * @param replicationExtensionName The replication extension name.
2886
+ * @param options The options parameters.
2887
+ */
2888
+ beginCreate(resourceGroupName: string, vaultName: string, replicationExtensionName: string, options?: ReplicationExtensionCreateOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationExtensionCreateResponse>, ReplicationExtensionCreateResponse>>;
2889
+ /**
2890
+ * Creates the replication extension in the given vault.
2891
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2892
+ * @param vaultName The vault name.
2893
+ * @param replicationExtensionName The replication extension name.
2894
+ * @param options The options parameters.
2895
+ */
2896
+ beginCreateAndWait(resourceGroupName: string, vaultName: string, replicationExtensionName: string, options?: ReplicationExtensionCreateOptionalParams): Promise<ReplicationExtensionCreateResponse>;
2897
+ /**
2898
+ * Deletes the replication extension in the given vault.
2899
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2900
+ * @param vaultName The vault name.
2901
+ * @param replicationExtensionName The replication extension name.
2902
+ * @param options The options parameters.
2903
+ */
2904
+ beginDelete(resourceGroupName: string, vaultName: string, replicationExtensionName: string, options?: ReplicationExtensionDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ReplicationExtensionDeleteResponse>, ReplicationExtensionDeleteResponse>>;
2905
+ /**
2906
+ * Deletes the replication extension in the given vault.
2907
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2908
+ * @param vaultName The vault name.
2909
+ * @param replicationExtensionName The replication extension name.
2910
+ * @param options The options parameters.
2911
+ */
2912
+ beginDeleteAndWait(resourceGroupName: string, vaultName: string, replicationExtensionName: string, options?: ReplicationExtensionDeleteOptionalParams): Promise<ReplicationExtensionDeleteResponse>;
2913
+ }
2914
+
2915
+ /** Optional parameters. */
2916
+ export declare interface ReplicationExtensionCreateOptionalParams extends coreClient.OperationOptions {
2917
+ /** Replication extension model. */
2918
+ body?: ReplicationExtensionModel;
2919
+ /** Delay to wait until next poll, in milliseconds. */
2920
+ updateIntervalInMs?: number;
2921
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2922
+ resumeFrom?: string;
2923
+ }
2924
+
2925
+ /** Contains response data for the create operation. */
2926
+ export declare type ReplicationExtensionCreateResponse = ReplicationExtensionModel;
2927
+
2928
+ /** Defines headers for ReplicationExtension_delete operation. */
2929
+ export declare interface ReplicationExtensionDeleteHeaders {
2930
+ /** Tracking URL for long running operation. */
2931
+ azureAsyncOperation?: string;
2932
+ location?: string;
2933
+ }
2934
+
2935
+ /** Optional parameters. */
2936
+ export declare interface ReplicationExtensionDeleteOptionalParams extends coreClient.OperationOptions {
2937
+ /** Delay to wait until next poll, in milliseconds. */
2938
+ updateIntervalInMs?: number;
2939
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2940
+ resumeFrom?: string;
2941
+ }
2942
+
2943
+ /** Contains response data for the delete operation. */
2944
+ export declare type ReplicationExtensionDeleteResponse = ReplicationExtensionDeleteHeaders;
2945
+
2946
+ /** Optional parameters. */
2947
+ export declare interface ReplicationExtensionGetOptionalParams extends coreClient.OperationOptions {
2948
+ }
2949
+
2950
+ /** Contains response data for the get operation. */
2951
+ export declare type ReplicationExtensionGetResponse = ReplicationExtensionModel;
2952
+
2953
+ /** Optional parameters. */
2954
+ export declare interface ReplicationExtensionListNextOptionalParams extends coreClient.OperationOptions {
2955
+ }
2956
+
2957
+ /** Contains response data for the listNext operation. */
2958
+ export declare type ReplicationExtensionListNextResponse = ReplicationExtensionModelCollection;
2959
+
2960
+ /** Optional parameters. */
2961
+ export declare interface ReplicationExtensionListOptionalParams extends coreClient.OperationOptions {
2962
+ }
2963
+
2964
+ /** Contains response data for the list operation. */
2965
+ export declare type ReplicationExtensionListResponse = ReplicationExtensionModelCollection;
2966
+
2967
+ /** Replication extension model. */
2968
+ export declare interface ReplicationExtensionModel {
2969
+ /** Replication extension model properties. */
2970
+ properties: ReplicationExtensionModelProperties;
2971
+ /**
2972
+ * Gets or sets the Id of the resource.
2973
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2974
+ */
2975
+ readonly id?: string;
2976
+ /**
2977
+ * Gets or sets the name of the resource.
2978
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2979
+ */
2980
+ readonly name?: string;
2981
+ /**
2982
+ * Gets or sets the type of the resource.
2983
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2984
+ */
2985
+ readonly type?: string;
2986
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
2987
+ readonly systemData?: ReplicationExtensionModelSystemData;
2988
+ }
2989
+
2990
+ /** Replication extension model collection. */
2991
+ export declare interface ReplicationExtensionModelCollection {
2992
+ /** Gets or sets the list of replication extensions. */
2993
+ value?: ReplicationExtensionModel[];
2994
+ /** Gets or sets the value of next link. */
2995
+ nextLink?: string;
2996
+ }
2997
+
2998
+ /** Replication extension model custom properties. */
2999
+ export declare interface ReplicationExtensionModelCustomProperties {
3000
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3001
+ instanceType: "HyperVToAzStackHCI" | "VMwareToAzStackHCI";
3002
+ }
3003
+
3004
+ export declare type ReplicationExtensionModelCustomPropertiesUnion = ReplicationExtensionModelCustomProperties | HyperVToAzStackHCIReplicationExtensionModelCustomProperties | VMwareToAzStackHCIReplicationExtensionModelCustomProperties;
3005
+
3006
+ /** Replication extension model properties. */
3007
+ export declare interface ReplicationExtensionModelProperties {
3008
+ /**
3009
+ * Gets or sets the provisioning state of the replication extension.
3010
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3011
+ */
3012
+ readonly provisioningState?: ProvisioningState;
3013
+ /** Replication extension model custom properties. */
3014
+ customProperties: ReplicationExtensionModelCustomPropertiesUnion;
3015
+ }
3016
+
3017
+ export declare interface ReplicationExtensionModelSystemData extends SystemDataModel {
3018
+ }
3019
+
3020
+ /** Interface representing a ReplicationExtensionOperationStatus. */
3021
+ export declare interface ReplicationExtensionOperationStatus {
3022
+ /**
3023
+ * Tracks the results of an asynchronous operation on the replication extension.
3024
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3025
+ * @param vaultName The vault name.
3026
+ * @param replicationExtensionName The replication extension name.
3027
+ * @param operationId The ID of an ongoing async operation.
3028
+ * @param options The options parameters.
3029
+ */
3030
+ get(resourceGroupName: string, vaultName: string, replicationExtensionName: string, operationId: string, options?: ReplicationExtensionOperationStatusGetOptionalParams): Promise<ReplicationExtensionOperationStatusGetResponse>;
3031
+ }
3032
+
3033
+ /** Optional parameters. */
3034
+ export declare interface ReplicationExtensionOperationStatusGetOptionalParams extends coreClient.OperationOptions {
3035
+ }
3036
+
3037
+ /** Contains response data for the get operation. */
3038
+ export declare type ReplicationExtensionOperationStatusGetResponse = OperationStatus;
3039
+
3040
+ /**
3041
+ * Defines values for ReplicationVaultType. \
3042
+ * {@link KnownReplicationVaultType} can be used interchangeably with ReplicationVaultType,
3043
+ * this enum contains the known values that the service supports.
3044
+ * ### Known values supported by the service
3045
+ * **DisasterRecovery** \
3046
+ * **Migrate**
3047
+ */
3048
+ export declare type ReplicationVaultType = string;
3049
+
3050
+ /**
3051
+ * Defines values for ResynchronizationState. \
3052
+ * {@link KnownResynchronizationState} can be used interchangeably with ResynchronizationState,
3053
+ * this enum contains the known values that the service supports.
3054
+ * ### Known values supported by the service
3055
+ * **None** \
3056
+ * **ResynchronizationInitiated** \
3057
+ * **ResynchronizationCompleted** \
3058
+ * **ResynchronizationFailed**
3059
+ */
3060
+ export declare type ResynchronizationState = string;
3061
+
3062
+ /** Storage container properties. */
3063
+ export declare interface StorageContainerProperties {
3064
+ /** Gets or sets the Name. */
3065
+ name: string;
3066
+ /** Gets or sets the ClusterSharedVolumePath. */
3067
+ clusterSharedVolumePath: string;
3068
+ }
3069
+
3070
+ /** System data required to be defined for Azure resources. */
3071
+ export declare interface SystemDataModel {
3072
+ /** Gets or sets identity that created the resource. */
3073
+ createdBy?: string;
3074
+ /**
3075
+ * Gets or sets the type of identity that created the resource: user, application,
3076
+ * managedIdentity.
3077
+ */
3078
+ createdByType?: string;
3079
+ /** Gets or sets the timestamp of resource creation (UTC). */
3080
+ createdAt?: Date;
3081
+ /** Gets or sets the identity that last modified the resource. */
3082
+ lastModifiedBy?: string;
3083
+ /**
3084
+ * Gets or sets the type of identity that last modified the resource: user, application,
3085
+ * managedIdentity.
3086
+ */
3087
+ lastModifiedByType?: string;
3088
+ /** Gets or sets the timestamp of resource last modification (UTC). */
3089
+ lastModifiedAt?: Date;
3090
+ }
3091
+
3092
+ /** Task model. */
3093
+ export declare interface TaskModel {
3094
+ /**
3095
+ * Gets or sets the task name.
3096
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3097
+ */
3098
+ readonly taskName?: string;
3099
+ /**
3100
+ * Gets or sets the task state.
3101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3102
+ */
3103
+ readonly state?: TaskState;
3104
+ /**
3105
+ * Gets or sets the start time.
3106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3107
+ */
3108
+ readonly startTime?: Date;
3109
+ /**
3110
+ * Gets or sets the end time.
3111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3112
+ */
3113
+ readonly endTime?: Date;
3114
+ /** Task model custom properties. */
3115
+ customProperties?: TaskModelCustomProperties;
3116
+ /** Gets or sets the list of children workflow models. */
3117
+ childrenWorkflows?: WorkflowModel[];
3118
+ }
3119
+
3120
+ /** Task model custom properties. */
3121
+ export declare interface TaskModelCustomProperties {
3122
+ /** Gets or sets the instance type. */
3123
+ instanceType: string;
3124
+ }
3125
+
3126
+ /**
3127
+ * Defines values for TaskState. \
3128
+ * {@link KnownTaskState} can be used interchangeably with TaskState,
3129
+ * this enum contains the known values that the service supports.
3130
+ * ### Known values supported by the service
3131
+ * **Pending** \
3132
+ * **Started** \
3133
+ * **Succeeded** \
3134
+ * **Failed** \
3135
+ * **Cancelled** \
3136
+ * **Skipped**
3137
+ */
3138
+ export declare type TaskState = string;
3139
+
3140
+ /** Test failover cleanup workflow model custom properties. */
3141
+ export declare interface TestFailoverCleanupWorkflowModelCustomProperties extends WorkflowModelCustomProperties {
3142
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3143
+ instanceType: "TestFailoverCleanupWorkflowDetails";
3144
+ /**
3145
+ * Gets or sets the test failover cleanup comments.
3146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3147
+ */
3148
+ readonly comments?: string;
3149
+ }
3150
+
3151
+ /**
3152
+ * Defines values for TestFailoverState. \
3153
+ * {@link KnownTestFailoverState} can be used interchangeably with TestFailoverState,
3154
+ * this enum contains the known values that the service supports.
3155
+ * ### Known values supported by the service
3156
+ * **None** \
3157
+ * **TestFailoverInitiated** \
3158
+ * **TestFailoverCompleting** \
3159
+ * **TestFailoverCompleted** \
3160
+ * **TestFailoverFailed** \
3161
+ * **TestFailoverCompletionFailed** \
3162
+ * **TestFailoverCleanupInitiated** \
3163
+ * **TestFailoverCleanupCompleting** \
3164
+ * **MarkedForDeletion**
3165
+ */
3166
+ export declare type TestFailoverState = string;
3167
+
3168
+ /** Test failover workflow model custom properties. */
3169
+ export declare interface TestFailoverWorkflowModelCustomProperties extends WorkflowModelCustomProperties {
3170
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3171
+ instanceType: "TestFailoverWorkflowDetails";
3172
+ /**
3173
+ * Gets or sets the test VM details.
3174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3175
+ */
3176
+ readonly protectedItemDetails?: FailoverProtectedItemProperties[];
3177
+ }
3178
+
3179
+ /** Interface representing a Vault. */
3180
+ export declare interface Vault {
3181
+ /**
3182
+ * Gets the list of vaults in the given subscription.
3183
+ * @param options The options parameters.
3184
+ */
3185
+ listBySubscription(options?: VaultListBySubscriptionOptionalParams): PagedAsyncIterableIterator<VaultModel>;
3186
+ /**
3187
+ * Gets the list of vaults in the given subscription and resource group.
3188
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3189
+ * @param options The options parameters.
3190
+ */
3191
+ list(resourceGroupName: string, options?: VaultListOptionalParams): PagedAsyncIterableIterator<VaultModel>;
3192
+ /**
3193
+ * Gets the details of the vault.
3194
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3195
+ * @param vaultName The vault name.
3196
+ * @param options The options parameters.
3197
+ */
3198
+ get(resourceGroupName: string, vaultName: string, options?: VaultGetOptionalParams): Promise<VaultGetResponse>;
3199
+ /**
3200
+ * Creates the vault.
3201
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3202
+ * @param vaultName The vault name.
3203
+ * @param options The options parameters.
3204
+ */
3205
+ beginCreate(resourceGroupName: string, vaultName: string, options?: VaultCreateOptionalParams): Promise<SimplePollerLike<OperationState<VaultCreateResponse>, VaultCreateResponse>>;
3206
+ /**
3207
+ * Creates the vault.
3208
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3209
+ * @param vaultName The vault name.
3210
+ * @param options The options parameters.
3211
+ */
3212
+ beginCreateAndWait(resourceGroupName: string, vaultName: string, options?: VaultCreateOptionalParams): Promise<VaultCreateResponse>;
3213
+ /**
3214
+ * Performs update on the vault.
3215
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3216
+ * @param vaultName The vault name.
3217
+ * @param options The options parameters.
3218
+ */
3219
+ beginUpdate(resourceGroupName: string, vaultName: string, options?: VaultUpdateOptionalParams): Promise<SimplePollerLike<OperationState<VaultUpdateResponse>, VaultUpdateResponse>>;
3220
+ /**
3221
+ * Performs update on the vault.
3222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3223
+ * @param vaultName The vault name.
3224
+ * @param options The options parameters.
3225
+ */
3226
+ beginUpdateAndWait(resourceGroupName: string, vaultName: string, options?: VaultUpdateOptionalParams): Promise<VaultUpdateResponse>;
3227
+ /**
3228
+ * Removes the vault.
3229
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3230
+ * @param vaultName The vault name.
3231
+ * @param options The options parameters.
3232
+ */
3233
+ beginDelete(resourceGroupName: string, vaultName: string, options?: VaultDeleteOptionalParams): Promise<SimplePollerLike<OperationState<VaultDeleteResponse>, VaultDeleteResponse>>;
3234
+ /**
3235
+ * Removes the vault.
3236
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3237
+ * @param vaultName The vault name.
3238
+ * @param options The options parameters.
3239
+ */
3240
+ beginDeleteAndWait(resourceGroupName: string, vaultName: string, options?: VaultDeleteOptionalParams): Promise<VaultDeleteResponse>;
3241
+ }
3242
+
3243
+ /** Optional parameters. */
3244
+ export declare interface VaultCreateOptionalParams extends coreClient.OperationOptions {
3245
+ /** Vault properties. */
3246
+ body?: VaultModel;
3247
+ /** Delay to wait until next poll, in milliseconds. */
3248
+ updateIntervalInMs?: number;
3249
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3250
+ resumeFrom?: string;
3251
+ }
3252
+
3253
+ /** Contains response data for the create operation. */
3254
+ export declare type VaultCreateResponse = VaultModel;
3255
+
3256
+ /** Defines headers for Vault_delete operation. */
3257
+ export declare interface VaultDeleteHeaders {
3258
+ /** Tracking URL for long running operation. */
3259
+ azureAsyncOperation?: string;
3260
+ location?: string;
3261
+ }
3262
+
3263
+ /** Optional parameters. */
3264
+ export declare interface VaultDeleteOptionalParams extends coreClient.OperationOptions {
3265
+ /** Delay to wait until next poll, in milliseconds. */
3266
+ updateIntervalInMs?: number;
3267
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3268
+ resumeFrom?: string;
3269
+ }
3270
+
3271
+ /** Contains response data for the delete operation. */
3272
+ export declare type VaultDeleteResponse = VaultDeleteHeaders;
3273
+
3274
+ /** Optional parameters. */
3275
+ export declare interface VaultGetOptionalParams extends coreClient.OperationOptions {
3276
+ }
3277
+
3278
+ /** Contains response data for the get operation. */
3279
+ export declare type VaultGetResponse = VaultModel;
3280
+
3281
+ /** Optional parameters. */
3282
+ export declare interface VaultListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
3283
+ }
3284
+
3285
+ /** Contains response data for the listBySubscriptionNext operation. */
3286
+ export declare type VaultListBySubscriptionNextResponse = VaultModelCollection;
3287
+
3288
+ /** Optional parameters. */
3289
+ export declare interface VaultListBySubscriptionOptionalParams extends coreClient.OperationOptions {
3290
+ /** Continuation token from the previous call. */
3291
+ continuationToken?: string;
3292
+ }
3293
+
3294
+ /** Contains response data for the listBySubscription operation. */
3295
+ export declare type VaultListBySubscriptionResponse = VaultModelCollection;
3296
+
3297
+ /** Optional parameters. */
3298
+ export declare interface VaultListNextOptionalParams extends coreClient.OperationOptions {
3299
+ }
3300
+
3301
+ /** Contains response data for the listNext operation. */
3302
+ export declare type VaultListNextResponse = VaultModelCollection;
3303
+
3304
+ /** Optional parameters. */
3305
+ export declare interface VaultListOptionalParams extends coreClient.OperationOptions {
3306
+ /** Continuation token from the previous call. */
3307
+ continuationToken?: string;
3308
+ }
3309
+
3310
+ /** Contains response data for the list operation. */
3311
+ export declare type VaultListResponse = VaultModelCollection;
3312
+
3313
+ /** Vault model. */
3314
+ export declare interface VaultModel {
3315
+ /** Gets or sets the location of the vault. */
3316
+ location: string;
3317
+ /** Gets or sets the resource tags. */
3318
+ tags?: {
3319
+ [propertyName: string]: string;
3320
+ };
3321
+ /** Vault properties. */
3322
+ properties?: VaultModelProperties;
3323
+ /**
3324
+ * Gets or sets the Id of the resource.
3325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3326
+ */
3327
+ readonly id?: string;
3328
+ /**
3329
+ * Gets or sets the name of the resource.
3330
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3331
+ */
3332
+ readonly name?: string;
3333
+ /**
3334
+ * Gets or sets the type of the resource.
3335
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3336
+ */
3337
+ readonly type?: string;
3338
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
3339
+ readonly systemData?: VaultModelSystemData;
3340
+ }
3341
+
3342
+ /** Vault model collection. */
3343
+ export declare interface VaultModelCollection {
3344
+ /** Gets or sets the list of vaults. */
3345
+ value?: VaultModel[];
3346
+ /** Gets or sets the value of next link. */
3347
+ nextLink?: string;
3348
+ }
3349
+
3350
+ /** Vault properties. */
3351
+ export declare interface VaultModelProperties {
3352
+ /**
3353
+ * Gets or sets the provisioning state of the vault.
3354
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3355
+ */
3356
+ readonly provisioningState?: ProvisioningState;
3357
+ /**
3358
+ * Gets or sets the service resource Id.
3359
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3360
+ */
3361
+ readonly serviceResourceId?: string;
3362
+ /** Gets or sets the type of vault. */
3363
+ vaultType?: ReplicationVaultType;
3364
+ }
3365
+
3366
+ export declare interface VaultModelSystemData extends SystemDataModel {
3367
+ }
3368
+
3369
+ /** Vault model for update. */
3370
+ export declare interface VaultModelUpdate {
3371
+ /** Gets or sets the resource tags. */
3372
+ tags?: {
3373
+ [propertyName: string]: string;
3374
+ };
3375
+ /** Vault properties. */
3376
+ properties?: VaultModelProperties;
3377
+ /**
3378
+ * Gets or sets the Id of the resource.
3379
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3380
+ */
3381
+ readonly id?: string;
3382
+ /**
3383
+ * Gets or sets the name of the resource.
3384
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3385
+ */
3386
+ readonly name?: string;
3387
+ /**
3388
+ * Gets or sets the type of the resource.
3389
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3390
+ */
3391
+ readonly type?: string;
3392
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
3393
+ readonly systemData?: VaultModelUpdateSystemData;
3394
+ }
3395
+
3396
+ export declare interface VaultModelUpdateSystemData extends SystemDataModel {
3397
+ }
3398
+
3399
+ /** Interface representing a VaultOperationStatus. */
3400
+ export declare interface VaultOperationStatus {
3401
+ /**
3402
+ * Tracks the results of an asynchronous operation on the vault.
3403
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3404
+ * @param vaultName The vault name.
3405
+ * @param operationId The ID of an ongoing async operation.
3406
+ * @param options The options parameters.
3407
+ */
3408
+ get(resourceGroupName: string, vaultName: string, operationId: string, options?: VaultOperationStatusGetOptionalParams): Promise<VaultOperationStatusGetResponse>;
3409
+ }
3410
+
3411
+ /** Optional parameters. */
3412
+ export declare interface VaultOperationStatusGetOptionalParams extends coreClient.OperationOptions {
3413
+ }
3414
+
3415
+ /** Contains response data for the get operation. */
3416
+ export declare type VaultOperationStatusGetResponse = OperationStatus;
3417
+
3418
+ /** Defines headers for Vault_update operation. */
3419
+ export declare interface VaultUpdateHeaders {
3420
+ /** Tracking URL for long running operation. */
3421
+ azureAsyncOperation?: string;
3422
+ location?: string;
3423
+ }
3424
+
3425
+ /** Optional parameters. */
3426
+ export declare interface VaultUpdateOptionalParams extends coreClient.OperationOptions {
3427
+ /** Vault properties. */
3428
+ body?: VaultModelUpdate;
3429
+ /** Delay to wait until next poll, in milliseconds. */
3430
+ updateIntervalInMs?: number;
3431
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
3432
+ resumeFrom?: string;
3433
+ }
3434
+
3435
+ /** Contains response data for the update operation. */
3436
+ export declare type VaultUpdateResponse = VaultModel;
3437
+
3438
+ /**
3439
+ * Defines values for VMNicSelection. \
3440
+ * {@link KnownVMNicSelection} can be used interchangeably with VMNicSelection,
3441
+ * this enum contains the known values that the service supports.
3442
+ * ### Known values supported by the service
3443
+ * **NotSelected** \
3444
+ * **SelectedByUser** \
3445
+ * **SelectedByDefault** \
3446
+ * **SelectedByUserOverride**
3447
+ */
3448
+ export declare type VMNicSelection = string;
3449
+
3450
+ /** VMware DRA model custom properties. */
3451
+ export declare interface VMwareDraModelCustomProperties extends DraModelCustomProperties {
3452
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3453
+ instanceType: "VMware";
3454
+ /** Gets or sets the BIOS Id of the DRA machine. */
3455
+ biosId: string;
3456
+ /** Identity model. */
3457
+ marsAuthenticationIdentity: IdentityModel;
3458
+ }
3459
+
3460
+ /** VMware migrate fabric model custom properties. */
3461
+ export declare interface VMwareMigrateFabricModelCustomProperties extends FabricModelCustomProperties {
3462
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3463
+ instanceType: "VMwareMigrate";
3464
+ /** Gets or sets the ARM Id of the VMware site. */
3465
+ vmwareSiteId: string;
3466
+ /** Gets or sets the ARM Id of the migration solution. */
3467
+ migrationSolutionId: string;
3468
+ }
3469
+
3470
+ /** VMwareToAzStack disk input. */
3471
+ export declare interface VMwareToAzStackHCIDiskInput {
3472
+ /** Gets or sets the disk Id. */
3473
+ diskId: string;
3474
+ /** Gets or sets the target storage account ARM Id. */
3475
+ storageContainerId?: string;
3476
+ /**
3477
+ * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
3478
+ * disk.
3479
+ */
3480
+ isDynamic?: boolean;
3481
+ /** Gets or sets the disk size in GB. */
3482
+ diskSizeGB: number;
3483
+ /** Gets or sets the type of the virtual hard disk, vhd or vhdx. */
3484
+ diskFileFormat: string;
3485
+ /** Gets or sets a value indicating whether disk is os disk. */
3486
+ isOsDisk: boolean;
3487
+ }
3488
+
3489
+ /** VMwareToAzStackHCI NIC properties. */
3490
+ export declare interface VMwareToAzStackHCINicInput {
3491
+ /** Gets or sets the NIC Id. */
3492
+ nicId: string;
3493
+ /** Gets or sets the NIC label. */
3494
+ label: string;
3495
+ /**
3496
+ * Gets or sets the network name.
3497
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3498
+ */
3499
+ readonly networkName?: string;
3500
+ /** Gets or sets the target network Id within AzStackHCI Cluster. */
3501
+ targetNetworkId: string;
3502
+ /** Gets or sets the target test network Id within AzStackHCI Cluster. */
3503
+ testNetworkId: string;
3504
+ /** Gets or sets the selection type of the NIC. */
3505
+ selectionTypeForFailover: VMNicSelection;
3506
+ }
3507
+
3508
+ /** VMware to AzStackHCI planned failover model custom properties. */
3509
+ export declare interface VMwareToAzStackHCIPlannedFailoverModelCustomProperties extends PlannedFailoverModelCustomProperties {
3510
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3511
+ instanceType: "VMwareToAzStackHCI";
3512
+ /** Gets or sets a value indicating whether VM needs to be shut down. */
3513
+ shutdownSourceVM: boolean;
3514
+ }
3515
+
3516
+ /** VMware To AzStackHCI Policy model custom properties. */
3517
+ export declare interface VMwareToAzStackHCIPolicyModelCustomProperties extends PolicyModelCustomProperties {
3518
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3519
+ instanceType: "VMwareToAzStackHCI";
3520
+ /**
3521
+ * Gets or sets the duration in minutes until which the recovery points need to be
3522
+ * stored.
3523
+ */
3524
+ recoveryPointHistoryInMinutes: number;
3525
+ /** Gets or sets the crash consistent snapshot frequency (in minutes). */
3526
+ crashConsistentFrequencyInMinutes: number;
3527
+ /** Gets or sets the app consistent snapshot frequency (in minutes). */
3528
+ appConsistentFrequencyInMinutes: number;
3529
+ }
3530
+
3531
+ /** VMwareToAzStackHCI protected disk properties. */
3532
+ export declare interface VMwareToAzStackHCIProtectedDiskProperties {
3533
+ /**
3534
+ * Gets or sets the ARM Id of the storage container.
3535
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3536
+ */
3537
+ readonly storageContainerId?: string;
3538
+ /**
3539
+ * Gets or sets the local path of the storage container.
3540
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3541
+ */
3542
+ readonly storageContainerLocalPath?: string;
3543
+ /**
3544
+ * Gets or sets the source disk Id.
3545
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3546
+ */
3547
+ readonly sourceDiskId?: string;
3548
+ /**
3549
+ * Gets or sets the source disk Name.
3550
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3551
+ */
3552
+ readonly sourceDiskName?: string;
3553
+ /**
3554
+ * Gets or sets the seed disk name.
3555
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3556
+ */
3557
+ readonly seedDiskName?: string;
3558
+ /**
3559
+ * Gets or sets the test failover clone disk.
3560
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3561
+ */
3562
+ readonly testMigrateDiskName?: string;
3563
+ /**
3564
+ * Gets or sets the failover clone disk.
3565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3566
+ */
3567
+ readonly migrateDiskName?: string;
3568
+ /**
3569
+ * Gets or sets a value indicating whether the disk is the OS disk.
3570
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3571
+ */
3572
+ readonly isOsDisk?: boolean;
3573
+ /**
3574
+ * Gets or sets the disk capacity in bytes.
3575
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3576
+ */
3577
+ readonly capacityInBytes?: number;
3578
+ /**
3579
+ * Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard
3580
+ * disk.
3581
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3582
+ */
3583
+ readonly isDynamic?: boolean;
3584
+ /**
3585
+ * Gets or sets the disk type.
3586
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3587
+ */
3588
+ readonly diskType?: string;
3589
+ }
3590
+
3591
+ /** VMware to AzStackHCI Protected item model custom properties. */
3592
+ export declare interface VMwareToAzStackHCIProtectedItemModelCustomProperties extends ProtectedItemModelCustomProperties {
3593
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3594
+ instanceType: "VMwareToAzStackHCI";
3595
+ /**
3596
+ * Gets or sets the location of the protected item.
3597
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3598
+ */
3599
+ readonly activeLocation?: ProtectedItemActiveLocation;
3600
+ /** Gets or sets the Target HCI Cluster ARM Id. */
3601
+ targetHciClusterId: string;
3602
+ /** Gets or sets the Target Arc Cluster Custom Location ARM Id. */
3603
+ targetArcClusterCustomLocationId: string;
3604
+ /**
3605
+ * Gets or sets the Target AzStackHCI cluster name.
3606
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3607
+ */
3608
+ readonly targetAzStackHciClusterName?: string;
3609
+ /** Gets or sets the target storage container ARM Id. */
3610
+ storageContainerId: string;
3611
+ /** Gets or sets the target resource group ARM Id. */
3612
+ targetResourceGroupId: string;
3613
+ /**
3614
+ * Gets or sets the target location.
3615
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3616
+ */
3617
+ readonly targetLocation?: string;
3618
+ /** Gets or sets the location of Azure Arc HCI custom location resource. */
3619
+ customLocationRegion: string;
3620
+ /** Gets or sets the list of disks to replicate. */
3621
+ disksToInclude: VMwareToAzStackHCIDiskInput[];
3622
+ /** Gets or sets the list of VM NIC to replicate. */
3623
+ nicsToInclude: VMwareToAzStackHCINicInput[];
3624
+ /**
3625
+ * Gets or sets the list of protected disks.
3626
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3627
+ */
3628
+ readonly protectedDisks?: VMwareToAzStackHCIProtectedDiskProperties[];
3629
+ /**
3630
+ * Gets or sets the VM NIC details.
3631
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3632
+ */
3633
+ readonly protectedNics?: VMwareToAzStackHCIProtectedNicProperties[];
3634
+ /**
3635
+ * Gets or sets the BIOS Id of the target AzStackHCI VM.
3636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3637
+ */
3638
+ readonly targetVmBiosId?: string;
3639
+ /** Gets or sets the target VM display name. */
3640
+ targetVmName?: string;
3641
+ /** Gets or sets the hypervisor generation of the virtual machine possible values are 1,2. */
3642
+ hyperVGeneration: string;
3643
+ /** Gets or sets the target network Id within AzStackHCI Cluster. */
3644
+ targetNetworkId?: string;
3645
+ /** Gets or sets the target test network Id within AzStackHCI Cluster. */
3646
+ testNetworkId?: string;
3647
+ /** Gets or sets the target CPU cores. */
3648
+ targetCpuCores?: number;
3649
+ /** Gets or sets a value indicating whether memory is dynamical. */
3650
+ isDynamicRam?: boolean;
3651
+ /** Protected item dynamic memory config. */
3652
+ dynamicMemoryConfig?: ProtectedItemDynamicMemoryConfig;
3653
+ /** Gets or sets the target memory in mega-bytes. */
3654
+ targetMemoryInMegaBytes?: number;
3655
+ /**
3656
+ * Gets or sets the type of the OS.
3657
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3658
+ */
3659
+ readonly osType?: string;
3660
+ /**
3661
+ * Gets or sets the name of the OS.
3662
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3663
+ */
3664
+ readonly osName?: string;
3665
+ /**
3666
+ * Gets or sets the firmware type.
3667
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3668
+ */
3669
+ readonly firmwareType?: string;
3670
+ /** Gets or sets the ARM Id of the discovered machine. */
3671
+ fabricDiscoveryMachineId: string;
3672
+ /**
3673
+ * Gets or sets the source VM display name.
3674
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3675
+ */
3676
+ readonly sourceVmName?: string;
3677
+ /**
3678
+ * Gets or sets the source VM CPU cores.
3679
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3680
+ */
3681
+ readonly sourceCpuCores?: number;
3682
+ /**
3683
+ * Gets or sets the source VM ram memory size in megabytes.
3684
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3685
+ */
3686
+ readonly sourceMemoryInMegaBytes?: number;
3687
+ /** Gets or sets the run as account Id. */
3688
+ runAsAccountId: string;
3689
+ /** Gets or sets the source DRA name. */
3690
+ sourceDraName: string;
3691
+ /** Gets or sets the target DRA name. */
3692
+ targetDraName: string;
3693
+ /**
3694
+ * Gets or sets the source appliance name.
3695
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3696
+ */
3697
+ readonly sourceApplianceName?: string;
3698
+ /**
3699
+ * Gets or sets the target appliance name.
3700
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3701
+ */
3702
+ readonly targetApplianceName?: string;
3703
+ /**
3704
+ * Gets or sets the recovery point Id to which the VM was failed over.
3705
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3706
+ */
3707
+ readonly failoverRecoveryPointId?: string;
3708
+ /**
3709
+ * Gets or sets the last recovery point received time.
3710
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3711
+ */
3712
+ readonly lastRecoveryPointReceived?: Date;
3713
+ /**
3714
+ * Gets or sets the last recovery point Id.
3715
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3716
+ */
3717
+ readonly lastRecoveryPointId?: string;
3718
+ /**
3719
+ * Gets or sets the initial replication progress percentage. This is calculated based on
3720
+ * total bytes processed for all disks in the source VM.
3721
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3722
+ */
3723
+ readonly initialReplicationProgressPercentage?: number;
3724
+ /**
3725
+ * Gets or sets the migration progress percentage.
3726
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3727
+ */
3728
+ readonly migrationProgressPercentage?: number;
3729
+ /**
3730
+ * Gets or sets the resume progress percentage.
3731
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3732
+ */
3733
+ readonly resumeProgressPercentage?: number;
3734
+ /**
3735
+ * Gets or sets the resync progress percentage. This is calculated based on total bytes
3736
+ * processed for all disks in the source VM.
3737
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3738
+ */
3739
+ readonly resyncProgressPercentage?: number;
3740
+ /**
3741
+ * Gets or sets the resync retry count.
3742
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3743
+ */
3744
+ readonly resyncRetryCount?: number;
3745
+ /**
3746
+ * Gets or sets a value indicating whether resync is required.
3747
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3748
+ */
3749
+ readonly resyncRequired?: boolean;
3750
+ /**
3751
+ * Gets or sets the resync state.
3752
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3753
+ */
3754
+ readonly resyncState?: VMwareToAzureMigrateResyncState;
3755
+ /** Gets or sets a value indicating whether auto resync is to be done. */
3756
+ performAutoResync?: boolean;
3757
+ /**
3758
+ * Gets or sets the resume retry count.
3759
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3760
+ */
3761
+ readonly resumeRetryCount?: number;
3762
+ /**
3763
+ * Gets or sets the latest timestamp that replication status is updated.
3764
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3765
+ */
3766
+ readonly lastReplicationUpdateTime?: Date;
3767
+ }
3768
+
3769
+ /** VMwareToAzStackHCI NIC properties. */
3770
+ export declare interface VMwareToAzStackHCIProtectedNicProperties {
3771
+ /**
3772
+ * Gets or sets the NIC Id.
3773
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3774
+ */
3775
+ readonly nicId?: string;
3776
+ /**
3777
+ * Gets or sets the NIC mac address.
3778
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3779
+ */
3780
+ readonly macAddress?: string;
3781
+ /**
3782
+ * Gets or sets the NIC label.
3783
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3784
+ */
3785
+ readonly label?: string;
3786
+ /** Gets or sets a value indicating whether this is the primary NIC. */
3787
+ isPrimaryNic?: boolean;
3788
+ /**
3789
+ * Gets or sets the network name.
3790
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3791
+ */
3792
+ readonly networkName?: string;
3793
+ /**
3794
+ * Gets or sets the target network Id within AzStackHCI Cluster.
3795
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3796
+ */
3797
+ readonly targetNetworkId?: string;
3798
+ /**
3799
+ * Gets or sets the target test network Id within AzStackHCI Cluster.
3800
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3801
+ */
3802
+ readonly testNetworkId?: string;
3803
+ /**
3804
+ * Gets or sets the selection type of the NIC.
3805
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3806
+ */
3807
+ readonly selectionTypeForFailover?: VMNicSelection;
3808
+ }
3809
+
3810
+ /** VMware to AzStackHCI Replication extension model custom properties. */
3811
+ export declare interface VMwareToAzStackHCIReplicationExtensionModelCustomProperties extends ReplicationExtensionModelCustomProperties {
3812
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3813
+ instanceType: "VMwareToAzStackHCI";
3814
+ /** Gets or sets the ARM Id of the source VMware fabric. */
3815
+ vmwareFabricArmId: string;
3816
+ /**
3817
+ * Gets or sets the ARM Id of the VMware site.
3818
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3819
+ */
3820
+ readonly vmwareSiteId?: string;
3821
+ /** Gets or sets the ARM Id of the target AzStackHCI fabric. */
3822
+ azStackHciFabricArmId: string;
3823
+ /**
3824
+ * Gets or sets the ARM Id of the AzStackHCI site.
3825
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3826
+ */
3827
+ readonly azStackHciSiteId?: string;
3828
+ /** Gets or sets the storage account Id. */
3829
+ storageAccountId?: string;
3830
+ /** Gets or sets the Sas Secret of storage account. */
3831
+ storageAccountSasSecretName?: string;
3832
+ /**
3833
+ * Gets or sets the Uri of ASR.
3834
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3835
+ */
3836
+ readonly asrServiceUri?: string;
3837
+ /**
3838
+ * Gets or sets the Uri of Rcm.
3839
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3840
+ */
3841
+ readonly rcmServiceUri?: string;
3842
+ /**
3843
+ * Gets or sets the Uri of Gateway.
3844
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3845
+ */
3846
+ readonly gatewayServiceUri?: string;
3847
+ /**
3848
+ * Gets or sets the gateway service Id of source.
3849
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3850
+ */
3851
+ readonly sourceGatewayServiceId?: string;
3852
+ /**
3853
+ * Gets or sets the gateway service Id of target.
3854
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3855
+ */
3856
+ readonly targetGatewayServiceId?: string;
3857
+ /**
3858
+ * Gets or sets the source storage container name.
3859
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3860
+ */
3861
+ readonly sourceStorageContainerName?: string;
3862
+ /**
3863
+ * Gets or sets the target storage container name.
3864
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3865
+ */
3866
+ readonly targetStorageContainerName?: string;
3867
+ /**
3868
+ * Gets or sets the resource location.
3869
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3870
+ */
3871
+ readonly resourceLocation?: string;
3872
+ /**
3873
+ * Gets or sets the subscription.
3874
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3875
+ */
3876
+ readonly subscriptionId?: string;
3877
+ /**
3878
+ * Gets or sets the resource group.
3879
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3880
+ */
3881
+ readonly resourceGroup?: string;
3882
+ }
3883
+
3884
+ /**
3885
+ * Defines values for VMwareToAzureMigrateResyncState. \
3886
+ * {@link KnownVMwareToAzureMigrateResyncState} can be used interchangeably with VMwareToAzureMigrateResyncState,
3887
+ * this enum contains the known values that the service supports.
3888
+ * ### Known values supported by the service
3889
+ * **None** \
3890
+ * **PreparedForResynchronization** \
3891
+ * **StartedResynchronization**
3892
+ */
3893
+ export declare type VMwareToAzureMigrateResyncState = string;
3894
+
3895
+ /** Interface representing a Workflow. */
3896
+ export declare interface Workflow {
3897
+ /**
3898
+ * Gets the list of jobs in the given vault.
3899
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3900
+ * @param vaultName The vault name.
3901
+ * @param options The options parameters.
3902
+ */
3903
+ list(resourceGroupName: string, vaultName: string, options?: WorkflowListOptionalParams): PagedAsyncIterableIterator<WorkflowModel>;
3904
+ /**
3905
+ * Gets the details of the job.
3906
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
3907
+ * @param vaultName The vault name.
3908
+ * @param jobName The job (workflow) name.
3909
+ * @param options The options parameters.
3910
+ */
3911
+ get(resourceGroupName: string, vaultName: string, jobName: string, options?: WorkflowGetOptionalParams): Promise<WorkflowGetResponse>;
3912
+ }
3913
+
3914
+ /** Optional parameters. */
3915
+ export declare interface WorkflowGetOptionalParams extends coreClient.OperationOptions {
3916
+ }
3917
+
3918
+ /** Contains response data for the get operation. */
3919
+ export declare type WorkflowGetResponse = WorkflowModel;
3920
+
3921
+ /** Optional parameters. */
3922
+ export declare interface WorkflowListNextOptionalParams extends coreClient.OperationOptions {
3923
+ }
3924
+
3925
+ /** Contains response data for the listNext operation. */
3926
+ export declare type WorkflowListNextResponse = WorkflowModelCollection;
3927
+
3928
+ /** Optional parameters. */
3929
+ export declare interface WorkflowListOptionalParams extends coreClient.OperationOptions {
3930
+ /** Filter string. */
3931
+ filter?: string;
3932
+ /** Continuation token. */
3933
+ continuationToken?: string;
3934
+ }
3935
+
3936
+ /** Contains response data for the list operation. */
3937
+ export declare type WorkflowListResponse = WorkflowModelCollection;
3938
+
3939
+ /** Workflow model. */
3940
+ export declare interface WorkflowModel {
3941
+ /** Workflow model properties. */
3942
+ properties: WorkflowModelProperties;
3943
+ /**
3944
+ * Gets or sets the Id of the resource.
3945
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3946
+ */
3947
+ readonly id?: string;
3948
+ /**
3949
+ * Gets or sets the name of the resource.
3950
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3951
+ */
3952
+ readonly name?: string;
3953
+ /**
3954
+ * Gets or sets the type of the resource.
3955
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3956
+ */
3957
+ readonly type?: string;
3958
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
3959
+ readonly systemData?: WorkflowModelSystemData;
3960
+ }
3961
+
3962
+ /** Workflow model collection. */
3963
+ export declare interface WorkflowModelCollection {
3964
+ /** Gets or sets the list of workflows. */
3965
+ value?: WorkflowModel[];
3966
+ /** Gets or sets the value of next link. */
3967
+ nextLink?: string;
3968
+ }
3969
+
3970
+ /** Workflow model custom properties. */
3971
+ export declare interface WorkflowModelCustomProperties {
3972
+ /** Polymorphic discriminator, which specifies the different types this object can be */
3973
+ instanceType: "FailoverWorkflowDetails" | "TestFailoverCleanupWorkflowDetails" | "TestFailoverWorkflowDetails";
3974
+ /**
3975
+ * Gets or sets any custom properties of the affected object.
3976
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3977
+ */
3978
+ readonly affectedObjectDetails?: {
3979
+ [propertyName: string]: string;
3980
+ };
3981
+ }
3982
+
3983
+ export declare type WorkflowModelCustomPropertiesUnion = WorkflowModelCustomProperties | FailoverWorkflowModelCustomProperties | TestFailoverCleanupWorkflowModelCustomProperties | TestFailoverWorkflowModelCustomProperties;
3984
+
3985
+ /** Workflow model properties. */
3986
+ export declare interface WorkflowModelProperties {
3987
+ /**
3988
+ * Gets or sets the friendly display name.
3989
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3990
+ */
3991
+ readonly displayName?: string;
3992
+ /**
3993
+ * Gets or sets the workflow state.
3994
+ * NOTE: This property will not be serialized. It can only be populated by the server.
3995
+ */
3996
+ readonly state?: WorkflowState;
3997
+ /**
3998
+ * Gets or sets the start time.
3999
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4000
+ */
4001
+ readonly startTime?: Date;
4002
+ /**
4003
+ * Gets or sets the end time.
4004
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4005
+ */
4006
+ readonly endTime?: Date;
4007
+ /**
4008
+ * Gets or sets the affected object Id.
4009
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4010
+ */
4011
+ readonly objectId?: string;
4012
+ /**
4013
+ * Gets or sets the affected object name.
4014
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4015
+ */
4016
+ readonly objectName?: string;
4017
+ /**
4018
+ * Gets or sets the affected object internal Id.
4019
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4020
+ */
4021
+ readonly objectInternalId?: string;
4022
+ /**
4023
+ * Gets or sets the affected object internal name.
4024
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4025
+ */
4026
+ readonly objectInternalName?: string;
4027
+ /**
4028
+ * Gets or sets the object type.
4029
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4030
+ */
4031
+ readonly objectType?: WorkflowObjectType;
4032
+ /**
4033
+ * Gets or sets the replication provider.
4034
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4035
+ */
4036
+ readonly replicationProviderId?: string;
4037
+ /**
4038
+ * Gets or sets the source fabric provider.
4039
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4040
+ */
4041
+ readonly sourceFabricProviderId?: string;
4042
+ /**
4043
+ * Gets or sets the target fabric provider.
4044
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4045
+ */
4046
+ readonly targetFabricProviderId?: string;
4047
+ /**
4048
+ * Gets or sets the list of allowed actions on the workflow.
4049
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4050
+ */
4051
+ readonly allowedActions?: string[];
4052
+ /**
4053
+ * Gets or sets the workflow activity id.
4054
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4055
+ */
4056
+ readonly activityId?: string;
4057
+ /**
4058
+ * Gets or sets the list of tasks.
4059
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4060
+ */
4061
+ readonly tasks?: TaskModel[];
4062
+ /**
4063
+ * Gets or sets the list of errors.
4064
+ * NOTE: This property will not be serialized. It can only be populated by the server.
4065
+ */
4066
+ readonly errors?: ErrorModel[];
4067
+ /** Workflow model custom properties. */
4068
+ customProperties: WorkflowModelCustomPropertiesUnion;
4069
+ }
4070
+
4071
+ export declare interface WorkflowModelSystemData extends SystemDataModel {
4072
+ }
4073
+
4074
+ /**
4075
+ * Defines values for WorkflowObjectType. \
4076
+ * {@link KnownWorkflowObjectType} can be used interchangeably with WorkflowObjectType,
4077
+ * this enum contains the known values that the service supports.
4078
+ * ### Known values supported by the service
4079
+ * **AvsDiskPool** \
4080
+ * **Dra** \
4081
+ * **Fabric** \
4082
+ * **Policy** \
4083
+ * **ProtectedItem** \
4084
+ * **RecoveryPlan** \
4085
+ * **ReplicationExtension** \
4086
+ * **Vault**
4087
+ */
4088
+ export declare type WorkflowObjectType = string;
4089
+
4090
+ /** Interface representing a WorkflowOperationStatus. */
4091
+ export declare interface WorkflowOperationStatus {
4092
+ /**
4093
+ * Tracks the results of an asynchronous operation on the job.
4094
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
4095
+ * @param vaultName The vault name.
4096
+ * @param jobName The job (workflow) name.
4097
+ * @param operationId The ID of an ongoing async operation.
4098
+ * @param options The options parameters.
4099
+ */
4100
+ get(resourceGroupName: string, vaultName: string, jobName: string, operationId: string, options?: WorkflowOperationStatusGetOptionalParams): Promise<WorkflowOperationStatusGetResponse>;
4101
+ }
4102
+
4103
+ /** Optional parameters. */
4104
+ export declare interface WorkflowOperationStatusGetOptionalParams extends coreClient.OperationOptions {
4105
+ }
4106
+
4107
+ /** Contains response data for the get operation. */
4108
+ export declare type WorkflowOperationStatusGetResponse = OperationStatus;
4109
+
4110
+ /**
4111
+ * Defines values for WorkflowState. \
4112
+ * {@link KnownWorkflowState} can be used interchangeably with WorkflowState,
4113
+ * this enum contains the known values that the service supports.
4114
+ * ### Known values supported by the service
4115
+ * **Pending** \
4116
+ * **Started** \
4117
+ * **Cancelling** \
4118
+ * **Succeeded** \
4119
+ * **Failed** \
4120
+ * **Cancelled** \
4121
+ * **CompletedWithInformation** \
4122
+ * **CompletedWithWarnings** \
4123
+ * **CompletedWithErrors**
4124
+ */
4125
+ export declare type WorkflowState = string;
4126
+
4127
+ export { }