@azure/arm-storagemover 1.0.0-alpha.20230210.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +109 -0
  4. package/dist/index.js +3875 -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/agentsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js +45 -0
  11. package/dist-esm/samples-dev/agentsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/agentsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/agentsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/agentsDeleteSample.js +40 -0
  15. package/dist-esm/samples-dev/agentsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/agentsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/agentsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/agentsGetSample.js +40 -0
  19. package/dist-esm/samples-dev/agentsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/agentsListSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/agentsListSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/agentsListSample.js +53 -0
  23. package/dist-esm/samples-dev/agentsListSample.js.map +1 -0
  24. package/dist-esm/samples-dev/agentsUpdateSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/agentsUpdateSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/agentsUpdateSample.js +43 -0
  27. package/dist-esm/samples-dev/agentsUpdateSample.js.map +1 -0
  28. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +48 -0
  31. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -0
  32. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/endpointsDeleteSample.js +40 -0
  35. package/dist-esm/samples-dev/endpointsDeleteSample.js.map +1 -0
  36. package/dist-esm/samples-dev/endpointsGetSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/endpointsGetSample.js +40 -0
  39. package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -0
  40. package/dist-esm/samples-dev/endpointsListSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/endpointsListSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/endpointsListSample.js +53 -0
  43. package/dist-esm/samples-dev/endpointsListSample.js.map +1 -0
  44. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/endpointsUpdateSample.js +43 -0
  47. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js +50 -0
  51. package/dist-esm/samples-dev/jobDefinitionsCreateOrUpdateSample.js.map +1 -0
  52. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js +41 -0
  55. package/dist-esm/samples-dev/jobDefinitionsDeleteSample.js.map +1 -0
  56. package/dist-esm/samples-dev/jobDefinitionsGetSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/jobDefinitionsGetSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/jobDefinitionsGetSample.js +41 -0
  59. package/dist-esm/samples-dev/jobDefinitionsGetSample.js.map +1 -0
  60. package/dist-esm/samples-dev/jobDefinitionsListSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/jobDefinitionsListSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/jobDefinitionsListSample.js +54 -0
  63. package/dist-esm/samples-dev/jobDefinitionsListSample.js.map +1 -0
  64. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.d.ts +2 -0
  65. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js +41 -0
  67. package/dist-esm/samples-dev/jobDefinitionsStartJobSample.js.map +1 -0
  68. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.d.ts +2 -0
  69. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js +41 -0
  71. package/dist-esm/samples-dev/jobDefinitionsStopJobSample.js.map +1 -0
  72. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.d.ts +2 -0
  73. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js +45 -0
  75. package/dist-esm/samples-dev/jobDefinitionsUpdateSample.js.map +1 -0
  76. package/dist-esm/samples-dev/jobRunsGetSample.d.ts +2 -0
  77. package/dist-esm/samples-dev/jobRunsGetSample.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/jobRunsGetSample.js +42 -0
  79. package/dist-esm/samples-dev/jobRunsGetSample.js.map +1 -0
  80. package/dist-esm/samples-dev/jobRunsListSample.d.ts +2 -0
  81. package/dist-esm/samples-dev/jobRunsListSample.d.ts.map +1 -0
  82. package/dist-esm/samples-dev/jobRunsListSample.js +55 -0
  83. package/dist-esm/samples-dev/jobRunsListSample.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 +51 -0
  87. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  88. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +2 -0
  89. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +1 -0
  90. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +41 -0
  91. package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +1 -0
  92. package/dist-esm/samples-dev/projectsDeleteSample.d.ts +2 -0
  93. package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +1 -0
  94. package/dist-esm/samples-dev/projectsDeleteSample.js +40 -0
  95. package/dist-esm/samples-dev/projectsDeleteSample.js.map +1 -0
  96. package/dist-esm/samples-dev/projectsGetSample.d.ts +2 -0
  97. package/dist-esm/samples-dev/projectsGetSample.d.ts.map +1 -0
  98. package/dist-esm/samples-dev/projectsGetSample.js +40 -0
  99. package/dist-esm/samples-dev/projectsGetSample.js.map +1 -0
  100. package/dist-esm/samples-dev/projectsListSample.d.ts +2 -0
  101. package/dist-esm/samples-dev/projectsListSample.d.ts.map +1 -0
  102. package/dist-esm/samples-dev/projectsListSample.js +53 -0
  103. package/dist-esm/samples-dev/projectsListSample.js.map +1 -0
  104. package/dist-esm/samples-dev/projectsUpdateSample.d.ts +2 -0
  105. package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +1 -0
  106. package/dist-esm/samples-dev/projectsUpdateSample.js +43 -0
  107. package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -0
  108. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.d.ts +2 -0
  109. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.d.ts.map +1 -0
  110. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js +44 -0
  111. package/dist-esm/samples-dev/storageMoversCreateOrUpdateSample.js.map +1 -0
  112. package/dist-esm/samples-dev/storageMoversDeleteSample.d.ts +2 -0
  113. package/dist-esm/samples-dev/storageMoversDeleteSample.d.ts.map +1 -0
  114. package/dist-esm/samples-dev/storageMoversDeleteSample.js +39 -0
  115. package/dist-esm/samples-dev/storageMoversDeleteSample.js.map +1 -0
  116. package/dist-esm/samples-dev/storageMoversGetSample.d.ts +2 -0
  117. package/dist-esm/samples-dev/storageMoversGetSample.d.ts.map +1 -0
  118. package/dist-esm/samples-dev/storageMoversGetSample.js +39 -0
  119. package/dist-esm/samples-dev/storageMoversGetSample.js.map +1 -0
  120. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.d.ts +2 -0
  121. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.d.ts.map +1 -0
  122. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js +51 -0
  123. package/dist-esm/samples-dev/storageMoversListBySubscriptionSample.js.map +1 -0
  124. package/dist-esm/samples-dev/storageMoversListSample.d.ts +2 -0
  125. package/dist-esm/samples-dev/storageMoversListSample.d.ts.map +1 -0
  126. package/dist-esm/samples-dev/storageMoversListSample.js +52 -0
  127. package/dist-esm/samples-dev/storageMoversListSample.js.map +1 -0
  128. package/dist-esm/samples-dev/storageMoversUpdateSample.d.ts +2 -0
  129. package/dist-esm/samples-dev/storageMoversUpdateSample.d.ts.map +1 -0
  130. package/dist-esm/samples-dev/storageMoversUpdateSample.js +42 -0
  131. package/dist-esm/samples-dev/storageMoversUpdateSample.js.map +1 -0
  132. package/dist-esm/src/index.d.ts +6 -0
  133. package/dist-esm/src/index.d.ts.map +1 -0
  134. package/dist-esm/src/index.js +13 -0
  135. package/dist-esm/src/index.js.map +1 -0
  136. package/dist-esm/src/lroImpl.d.ts +16 -0
  137. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  138. package/dist-esm/src/lroImpl.js +29 -0
  139. package/dist-esm/src/lroImpl.js.map +1 -0
  140. package/dist-esm/src/models/index.d.ts +1024 -0
  141. package/dist-esm/src/models/index.d.ts.map +1 -0
  142. package/dist-esm/src/models/index.js +114 -0
  143. package/dist-esm/src/models/index.js.map +1 -0
  144. package/dist-esm/src/models/mappers.d.ts +43 -0
  145. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  146. package/dist-esm/src/models/mappers.js +1169 -0
  147. package/dist-esm/src/models/mappers.js.map +1 -0
  148. package/dist-esm/src/models/parameters.d.ts +25 -0
  149. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  150. package/dist-esm/src/models/parameters.js +191 -0
  151. package/dist-esm/src/models/parameters.js.map +1 -0
  152. package/dist-esm/src/operations/agents.d.ts +81 -0
  153. package/dist-esm/src/operations/agents.d.ts.map +1 -0
  154. package/dist-esm/src/operations/agents.js +329 -0
  155. package/dist-esm/src/operations/agents.js.map +1 -0
  156. package/dist-esm/src/operations/endpoints.d.ts +82 -0
  157. package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
  158. package/dist-esm/src/operations/endpoints.js +330 -0
  159. package/dist-esm/src/operations/endpoints.js.map +1 -0
  160. package/dist-esm/src/operations/index.d.ts +8 -0
  161. package/dist-esm/src/operations/index.d.ts.map +1 -0
  162. package/dist-esm/src/operations/index.js +15 -0
  163. package/dist-esm/src/operations/index.js.map +1 -0
  164. package/dist-esm/src/operations/jobDefinitions.d.ts +109 -0
  165. package/dist-esm/src/operations/jobDefinitions.d.ts.map +1 -0
  166. package/dist-esm/src/operations/jobDefinitions.js +451 -0
  167. package/dist-esm/src/operations/jobDefinitions.js.map +1 -0
  168. package/dist-esm/src/operations/jobRuns.d.ts +54 -0
  169. package/dist-esm/src/operations/jobRuns.d.ts.map +1 -0
  170. package/dist-esm/src/operations/jobRuns.js +214 -0
  171. package/dist-esm/src/operations/jobRuns.js.map +1 -0
  172. package/dist-esm/src/operations/operations.d.ts +32 -0
  173. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  174. package/dist-esm/src/operations/operations.js +131 -0
  175. package/dist-esm/src/operations/operations.js.map +1 -0
  176. package/dist-esm/src/operations/projects.d.ts +82 -0
  177. package/dist-esm/src/operations/projects.d.ts.map +1 -0
  178. package/dist-esm/src/operations/projects.js +330 -0
  179. package/dist-esm/src/operations/projects.js.map +1 -0
  180. package/dist-esm/src/operations/storageMovers.d.ts +93 -0
  181. package/dist-esm/src/operations/storageMovers.d.ts.map +1 -0
  182. package/dist-esm/src/operations/storageMovers.js +426 -0
  183. package/dist-esm/src/operations/storageMovers.js.map +1 -0
  184. package/dist-esm/src/operationsInterfaces/agents.d.ts +56 -0
  185. package/dist-esm/src/operationsInterfaces/agents.d.ts.map +1 -0
  186. package/dist-esm/src/operationsInterfaces/agents.js +9 -0
  187. package/dist-esm/src/operationsInterfaces/agents.js.map +1 -0
  188. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +57 -0
  189. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
  190. package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
  191. package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
  192. package/dist-esm/src/operationsInterfaces/index.d.ts +8 -0
  193. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  194. package/dist-esm/src/operationsInterfaces/index.js +15 -0
  195. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  196. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts +82 -0
  197. package/dist-esm/src/operationsInterfaces/jobDefinitions.d.ts.map +1 -0
  198. package/dist-esm/src/operationsInterfaces/jobDefinitions.js +9 -0
  199. package/dist-esm/src/operationsInterfaces/jobDefinitions.js.map +1 -0
  200. package/dist-esm/src/operationsInterfaces/jobRuns.d.ts +25 -0
  201. package/dist-esm/src/operationsInterfaces/jobRuns.d.ts.map +1 -0
  202. package/dist-esm/src/operationsInterfaces/jobRuns.js +9 -0
  203. package/dist-esm/src/operationsInterfaces/jobRuns.js.map +1 -0
  204. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  205. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  206. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  207. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  208. package/dist-esm/src/operationsInterfaces/projects.d.ts +57 -0
  209. package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
  210. package/dist-esm/src/operationsInterfaces/projects.js +9 -0
  211. package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
  212. package/dist-esm/src/operationsInterfaces/storageMovers.d.ts +57 -0
  213. package/dist-esm/src/operationsInterfaces/storageMovers.d.ts.map +1 -0
  214. package/dist-esm/src/operationsInterfaces/storageMovers.js +9 -0
  215. package/dist-esm/src/operationsInterfaces/storageMovers.js.map +1 -0
  216. package/dist-esm/src/pagingHelper.d.ts +13 -0
  217. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  218. package/dist-esm/src/pagingHelper.js +32 -0
  219. package/dist-esm/src/pagingHelper.js.map +1 -0
  220. package/dist-esm/src/storageMoverClient.d.ts +26 -0
  221. package/dist-esm/src/storageMoverClient.d.ts.map +1 -0
  222. package/dist-esm/src/storageMoverClient.js +106 -0
  223. package/dist-esm/src/storageMoverClient.js.map +1 -0
  224. package/dist-esm/test/storagemover_operations_test.spec.d.ts +4 -0
  225. package/dist-esm/test/storagemover_operations_test.spec.d.ts.map +1 -0
  226. package/dist-esm/test/storagemover_operations_test.spec.js +108 -0
  227. package/dist-esm/test/storagemover_operations_test.spec.js.map +1 -0
  228. package/package.json +123 -0
  229. package/review/arm-storagemover.api.md +768 -0
  230. package/rollup.config.js +122 -0
  231. package/src/index.ts +13 -0
  232. package/src/lroImpl.ts +34 -0
  233. package/src/models/index.ts +1164 -0
  234. package/src/models/mappers.ts +1305 -0
  235. package/src/models/parameters.ts +230 -0
  236. package/src/operations/agents.ts +454 -0
  237. package/src/operations/endpoints.ts +455 -0
  238. package/src/operations/index.ts +15 -0
  239. package/src/operations/jobDefinitions.ts +622 -0
  240. package/src/operations/jobRuns.ts +302 -0
  241. package/src/operations/operations.ts +149 -0
  242. package/src/operations/projects.ts +455 -0
  243. package/src/operations/storageMovers.ts +539 -0
  244. package/src/operationsInterfaces/agents.ts +107 -0
  245. package/src/operationsInterfaces/endpoints.ts +108 -0
  246. package/src/operationsInterfaces/index.ts +15 -0
  247. package/src/operationsInterfaces/jobDefinitions.ts +155 -0
  248. package/src/operationsInterfaces/jobRuns.ts +52 -0
  249. package/src/operationsInterfaces/operations.ts +22 -0
  250. package/src/operationsInterfaces/projects.ts +108 -0
  251. package/src/operationsInterfaces/storageMovers.ts +105 -0
  252. package/src/pagingHelper.ts +39 -0
  253. package/src/storageMoverClient.ts +168 -0
  254. package/tsconfig.json +33 -0
  255. package/types/arm-storagemover.d.ts +1517 -0
  256. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,1517 @@
1
+ import * as coreAuth from '@azure/core-auth';
2
+ import * as coreClient from '@azure/core-client';
3
+ import { PagedAsyncIterableIterator } from '@azure/core-paging';
4
+ import { PollerLike } from '@azure/core-lro';
5
+ import { PollOperationState } 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
+ /** The Agent resource. */
17
+ export declare interface Agent extends ProxyResource {
18
+ /**
19
+ * Resource system metadata.
20
+ * NOTE: This property will not be serialized. It can only be populated by the server.
21
+ */
22
+ readonly systemData?: SystemData;
23
+ /** A description for the Agent. */
24
+ description?: string;
25
+ /**
26
+ * The Agent version.
27
+ * NOTE: This property will not be serialized. It can only be populated by the server.
28
+ */
29
+ readonly agentVersion?: string;
30
+ /** The fully qualified resource ID of the Hybrid Compute resource for the Agent. */
31
+ arcResourceId: string;
32
+ /** The VM UUID of the Hybrid Compute resource for the Agent. */
33
+ arcVmUuid: string;
34
+ /**
35
+ * The Agent status.
36
+ * NOTE: This property will not be serialized. It can only be populated by the server.
37
+ */
38
+ readonly agentStatus?: AgentStatus;
39
+ /**
40
+ * The last updated time of the Agent status.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly lastStatusUpdate?: Date;
44
+ /**
45
+ * Local IP address reported by the Agent.
46
+ * NOTE: This property will not be serialized. It can only be populated by the server.
47
+ */
48
+ readonly localIPAddress?: string;
49
+ /**
50
+ * Available memory reported by the Agent, in MB.
51
+ * NOTE: This property will not be serialized. It can only be populated by the server.
52
+ */
53
+ readonly memoryInMB?: number;
54
+ /**
55
+ * Available compute cores reported by the Agent.
56
+ * NOTE: This property will not be serialized. It can only be populated by the server.
57
+ */
58
+ readonly numberOfCores?: number;
59
+ /**
60
+ * Uptime of the Agent in seconds.
61
+ * NOTE: This property will not be serialized. It can only be populated by the server.
62
+ */
63
+ readonly uptimeInSeconds?: number;
64
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
65
+ readonly errorDetails?: AgentPropertiesErrorDetails;
66
+ /**
67
+ * The provisioning state of this resource.
68
+ * NOTE: This property will not be serialized. It can only be populated by the server.
69
+ */
70
+ readonly provisioningState?: ProvisioningState;
71
+ }
72
+
73
+ /** List of Agents. */
74
+ export declare interface AgentList {
75
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
76
+ readonly value?: Agent[];
77
+ /**
78
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
79
+ * NOTE: This property will not be serialized. It can only be populated by the server.
80
+ */
81
+ readonly nextLink?: string;
82
+ }
83
+
84
+ export declare interface AgentPropertiesErrorDetails {
85
+ /** Error code reported by Agent */
86
+ code?: string;
87
+ /** Expanded description of reported error code */
88
+ message?: string;
89
+ }
90
+
91
+ /** Interface representing a Agents. */
92
+ export declare interface Agents {
93
+ /**
94
+ * Lists all Agents in a Storage Mover.
95
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
96
+ * @param storageMoverName The name of the Storage Mover resource.
97
+ * @param options The options parameters.
98
+ */
99
+ list(resourceGroupName: string, storageMoverName: string, options?: AgentsListOptionalParams): PagedAsyncIterableIterator<Agent>;
100
+ /**
101
+ * Gets an Agent resource.
102
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
103
+ * @param storageMoverName The name of the Storage Mover resource.
104
+ * @param agentName The name of the Agent resource.
105
+ * @param options The options parameters.
106
+ */
107
+ get(resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsGetOptionalParams): Promise<AgentsGetResponse>;
108
+ /**
109
+ * Creates or updates an Agent resource, which references a hybrid compute machine that can run jobs.
110
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
111
+ * @param storageMoverName The name of the Storage Mover resource.
112
+ * @param agentName The name of the Agent resource.
113
+ * @param agent The Agent resource.
114
+ * @param options The options parameters.
115
+ */
116
+ createOrUpdate(resourceGroupName: string, storageMoverName: string, agentName: string, agent: Agent, options?: AgentsCreateOrUpdateOptionalParams): Promise<AgentsCreateOrUpdateResponse>;
117
+ /**
118
+ * Creates or updates an Agent resource.
119
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
120
+ * @param storageMoverName The name of the Storage Mover resource.
121
+ * @param agentName The name of the Agent resource.
122
+ * @param agent The Agent resource.
123
+ * @param options The options parameters.
124
+ */
125
+ update(resourceGroupName: string, storageMoverName: string, agentName: string, agent: AgentUpdateParameters, options?: AgentsUpdateOptionalParams): Promise<AgentsUpdateResponse>;
126
+ /**
127
+ * Deletes an Agent resource.
128
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
+ * @param storageMoverName The name of the Storage Mover resource.
130
+ * @param agentName The name of the Agent resource.
131
+ * @param options The options parameters.
132
+ */
133
+ beginDelete(resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
134
+ /**
135
+ * Deletes an Agent resource.
136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
137
+ * @param storageMoverName The name of the Storage Mover resource.
138
+ * @param agentName The name of the Agent resource.
139
+ * @param options The options parameters.
140
+ */
141
+ beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, agentName: string, options?: AgentsDeleteOptionalParams): Promise<void>;
142
+ }
143
+
144
+ /** Optional parameters. */
145
+ export declare interface AgentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
146
+ }
147
+
148
+ /** Contains response data for the createOrUpdate operation. */
149
+ export declare type AgentsCreateOrUpdateResponse = Agent;
150
+
151
+ /** Optional parameters. */
152
+ export declare interface AgentsDeleteOptionalParams extends coreClient.OperationOptions {
153
+ /** Delay to wait until next poll, in milliseconds. */
154
+ updateIntervalInMs?: number;
155
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
156
+ resumeFrom?: string;
157
+ }
158
+
159
+ /** Optional parameters. */
160
+ export declare interface AgentsGetOptionalParams extends coreClient.OperationOptions {
161
+ }
162
+
163
+ /** Contains response data for the get operation. */
164
+ export declare type AgentsGetResponse = Agent;
165
+
166
+ /** Optional parameters. */
167
+ export declare interface AgentsListNextOptionalParams extends coreClient.OperationOptions {
168
+ }
169
+
170
+ /** Contains response data for the listNext operation. */
171
+ export declare type AgentsListNextResponse = AgentList;
172
+
173
+ /** Optional parameters. */
174
+ export declare interface AgentsListOptionalParams extends coreClient.OperationOptions {
175
+ }
176
+
177
+ /** Contains response data for the list operation. */
178
+ export declare type AgentsListResponse = AgentList;
179
+
180
+ /**
181
+ * Defines values for AgentStatus. \
182
+ * {@link KnownAgentStatus} can be used interchangeably with AgentStatus,
183
+ * this enum contains the known values that the service supports.
184
+ * ### Known values supported by the service
185
+ * **Registering** \
186
+ * **Offline** \
187
+ * **Online** \
188
+ * **Executing** \
189
+ * **RequiresAttention** \
190
+ * **Unregistering**
191
+ */
192
+ export declare type AgentStatus = string;
193
+
194
+ /** Optional parameters. */
195
+ export declare interface AgentsUpdateOptionalParams extends coreClient.OperationOptions {
196
+ }
197
+
198
+ /** Contains response data for the update operation. */
199
+ export declare type AgentsUpdateResponse = Agent;
200
+
201
+ /** The Agent resource. */
202
+ export declare interface AgentUpdateParameters {
203
+ /** A description for the Agent. */
204
+ description?: string;
205
+ }
206
+
207
+ export declare interface AzureStorageBlobContainerEndpointProperties extends EndpointBaseProperties {
208
+ /** Polymorphic discriminator, which specifies the different types this object can be */
209
+ endpointType: "AzureStorageBlobContainer";
210
+ /** The Azure Resource ID of the storage account that is the target destination. */
211
+ storageAccountResourceId: string;
212
+ /** The name of the Storage blob container that is the target destination. */
213
+ blobContainerName: string;
214
+ }
215
+
216
+ export declare interface AzureStorageBlobContainerEndpointUpdateProperties extends EndpointBaseUpdateProperties {
217
+ }
218
+
219
+ /**
220
+ * Defines values for CopyMode. \
221
+ * {@link KnownCopyMode} can be used interchangeably with CopyMode,
222
+ * this enum contains the known values that the service supports.
223
+ * ### Known values supported by the service
224
+ * **Additive** \
225
+ * **Mirror**
226
+ */
227
+ export declare type CopyMode = string;
228
+
229
+ /**
230
+ * Defines values for CreatedByType. \
231
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
232
+ * this enum contains the known values that the service supports.
233
+ * ### Known values supported by the service
234
+ * **User** \
235
+ * **Application** \
236
+ * **ManagedIdentity** \
237
+ * **Key**
238
+ */
239
+ export declare type CreatedByType = string;
240
+
241
+ /** The Endpoint resource, which contains information about file sources and targets. */
242
+ export declare interface Endpoint extends ProxyResource {
243
+ /** The resource specific properties for the Storage Mover resource. */
244
+ properties: EndpointBasePropertiesUnion;
245
+ /**
246
+ * Resource system metadata.
247
+ * NOTE: This property will not be serialized. It can only be populated by the server.
248
+ */
249
+ readonly systemData?: SystemData;
250
+ }
251
+
252
+ /** The resource specific properties for the Storage Mover resource. */
253
+ export declare interface EndpointBaseProperties {
254
+ /** Polymorphic discriminator, which specifies the different types this object can be */
255
+ endpointType: "AzureStorageBlobContainer" | "NfsMount";
256
+ /** A description for the Endpoint. */
257
+ description?: string;
258
+ /**
259
+ * The provisioning state of this resource.
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
261
+ */
262
+ readonly provisioningState?: ProvisioningState;
263
+ }
264
+
265
+ export declare type EndpointBasePropertiesUnion = EndpointBaseProperties | AzureStorageBlobContainerEndpointProperties | NfsMountEndpointProperties;
266
+
267
+ /** The Endpoint resource. */
268
+ export declare interface EndpointBaseUpdateParameters {
269
+ /** The Endpoint resource, which contains information about file sources and targets. */
270
+ properties?: EndpointBaseUpdateProperties;
271
+ }
272
+
273
+ /** The Endpoint resource, which contains information about file sources and targets. */
274
+ export declare interface EndpointBaseUpdateProperties {
275
+ /** A description for the Endpoint. */
276
+ description?: string;
277
+ }
278
+
279
+ /** List of Endpoints. */
280
+ export declare interface EndpointList {
281
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
282
+ readonly value?: Endpoint[];
283
+ /**
284
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
285
+ * NOTE: This property will not be serialized. It can only be populated by the server.
286
+ */
287
+ readonly nextLink?: string;
288
+ }
289
+
290
+ /** Interface representing a Endpoints. */
291
+ export declare interface Endpoints {
292
+ /**
293
+ * Lists all Endpoints in a Storage Mover.
294
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
295
+ * @param storageMoverName The name of the Storage Mover resource.
296
+ * @param options The options parameters.
297
+ */
298
+ list(resourceGroupName: string, storageMoverName: string, options?: EndpointsListOptionalParams): PagedAsyncIterableIterator<Endpoint>;
299
+ /**
300
+ * Gets an Endpoint resource.
301
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
302
+ * @param storageMoverName The name of the Storage Mover resource.
303
+ * @param endpointName The name of the Endpoint resource.
304
+ * @param options The options parameters.
305
+ */
306
+ get(resourceGroupName: string, storageMoverName: string, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
307
+ /**
308
+ * Creates or updates an Endpoint resource, which represents a data transfer source or destination.
309
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
310
+ * @param storageMoverName The name of the Storage Mover resource.
311
+ * @param endpointName The name of the Endpoint resource.
312
+ * @param endpoint The Endpoint resource, which contains information about file sources and targets.
313
+ * @param options The options parameters.
314
+ */
315
+ createOrUpdate(resourceGroupName: string, storageMoverName: string, endpointName: string, endpoint: Endpoint, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
316
+ /**
317
+ * Updates properties for an Endpoint resource. Properties not specified in the request body will be
318
+ * unchanged.
319
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
320
+ * @param storageMoverName The name of the Storage Mover resource.
321
+ * @param endpointName The name of the Endpoint resource.
322
+ * @param endpoint The Endpoint resource.
323
+ * @param options The options parameters.
324
+ */
325
+ update(resourceGroupName: string, storageMoverName: string, endpointName: string, endpoint: EndpointBaseUpdateParameters, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
326
+ /**
327
+ * Deletes an Endpoint resource.
328
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
329
+ * @param storageMoverName The name of the Storage Mover resource.
330
+ * @param endpointName The name of the Endpoint resource.
331
+ * @param options The options parameters.
332
+ */
333
+ beginDelete(resourceGroupName: string, storageMoverName: string, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
334
+ /**
335
+ * Deletes an Endpoint resource.
336
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
337
+ * @param storageMoverName The name of the Storage Mover resource.
338
+ * @param endpointName The name of the Endpoint resource.
339
+ * @param options The options parameters.
340
+ */
341
+ beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<void>;
342
+ }
343
+
344
+ /** Optional parameters. */
345
+ export declare interface EndpointsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
346
+ }
347
+
348
+ /** Contains response data for the createOrUpdate operation. */
349
+ export declare type EndpointsCreateOrUpdateResponse = Endpoint;
350
+
351
+ /** Optional parameters. */
352
+ export declare interface EndpointsDeleteOptionalParams extends coreClient.OperationOptions {
353
+ /** Delay to wait until next poll, in milliseconds. */
354
+ updateIntervalInMs?: number;
355
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
356
+ resumeFrom?: string;
357
+ }
358
+
359
+ /** Optional parameters. */
360
+ export declare interface EndpointsGetOptionalParams extends coreClient.OperationOptions {
361
+ }
362
+
363
+ /** Contains response data for the get operation. */
364
+ export declare type EndpointsGetResponse = Endpoint;
365
+
366
+ /** Optional parameters. */
367
+ export declare interface EndpointsListNextOptionalParams extends coreClient.OperationOptions {
368
+ }
369
+
370
+ /** Contains response data for the listNext operation. */
371
+ export declare type EndpointsListNextResponse = EndpointList;
372
+
373
+ /** Optional parameters. */
374
+ export declare interface EndpointsListOptionalParams extends coreClient.OperationOptions {
375
+ }
376
+
377
+ /** Contains response data for the list operation. */
378
+ export declare type EndpointsListResponse = EndpointList;
379
+
380
+ /** Optional parameters. */
381
+ export declare interface EndpointsUpdateOptionalParams extends coreClient.OperationOptions {
382
+ }
383
+
384
+ /** Contains response data for the update operation. */
385
+ export declare type EndpointsUpdateResponse = Endpoint;
386
+
387
+ /**
388
+ * Defines values for EndpointType. \
389
+ * {@link KnownEndpointType} can be used interchangeably with EndpointType,
390
+ * this enum contains the known values that the service supports.
391
+ * ### Known values supported by the service
392
+ * **AzureStorageBlobContainer** \
393
+ * **NfsMount**
394
+ */
395
+ export declare type EndpointType = string;
396
+
397
+ /** The resource management error additional info. */
398
+ export declare interface ErrorAdditionalInfo {
399
+ /**
400
+ * The additional info type.
401
+ * NOTE: This property will not be serialized. It can only be populated by the server.
402
+ */
403
+ readonly type?: string;
404
+ /**
405
+ * The additional info.
406
+ * NOTE: This property will not be serialized. It can only be populated by the server.
407
+ */
408
+ readonly info?: Record<string, unknown>;
409
+ }
410
+
411
+ /** The error detail. */
412
+ export declare interface ErrorDetail {
413
+ /**
414
+ * The error code.
415
+ * NOTE: This property will not be serialized. It can only be populated by the server.
416
+ */
417
+ readonly code?: string;
418
+ /**
419
+ * The error message.
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
421
+ */
422
+ readonly message?: string;
423
+ /**
424
+ * The error target.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
426
+ */
427
+ readonly target?: string;
428
+ /**
429
+ * The error details.
430
+ * NOTE: This property will not be serialized. It can only be populated by the server.
431
+ */
432
+ readonly details?: ErrorDetail[];
433
+ /**
434
+ * The error additional info.
435
+ * NOTE: This property will not be serialized. It can only be populated by the server.
436
+ */
437
+ readonly additionalInfo?: ErrorAdditionalInfo[];
438
+ }
439
+
440
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
441
+ export declare interface ErrorResponse {
442
+ /** The error object. */
443
+ error?: ErrorDetail;
444
+ }
445
+
446
+ /**
447
+ * Given the last `.value` produced by the `byPage` iterator,
448
+ * returns a continuation token that can be used to begin paging from
449
+ * that point later.
450
+ * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
451
+ * @returns The continuation token that can be passed into byPage() during future calls.
452
+ */
453
+ export declare function getContinuationToken(page: unknown): string | undefined;
454
+
455
+ /** The Job Definition resource. */
456
+ export declare interface JobDefinition extends ProxyResource {
457
+ /**
458
+ * Resource system metadata.
459
+ * NOTE: This property will not be serialized. It can only be populated by the server.
460
+ */
461
+ readonly systemData?: SystemData;
462
+ /** A description for the Job Definition. */
463
+ description?: string;
464
+ /** Strategy to use for copy. */
465
+ copyMode: CopyMode;
466
+ /** The name of the source Endpoint. */
467
+ sourceName: string;
468
+ /**
469
+ * Fully qualified resource ID of the source Endpoint.
470
+ * NOTE: This property will not be serialized. It can only be populated by the server.
471
+ */
472
+ readonly sourceResourceId?: string;
473
+ /** The subpath to use when reading from the source Endpoint. */
474
+ sourceSubpath?: string;
475
+ /** The name of the target Endpoint. */
476
+ targetName: string;
477
+ /**
478
+ * Fully qualified resource ID of the target Endpoint.
479
+ * NOTE: This property will not be serialized. It can only be populated by the server.
480
+ */
481
+ readonly targetResourceId?: string;
482
+ /** The subpath to use when writing to the target Endpoint. */
483
+ targetSubpath?: string;
484
+ /**
485
+ * The name of the Job Run in a non-terminal state, if exists.
486
+ * NOTE: This property will not be serialized. It can only be populated by the server.
487
+ */
488
+ readonly latestJobRunName?: string;
489
+ /**
490
+ * The fully qualified resource ID of the Job Run in a non-terminal state, if exists.
491
+ * NOTE: This property will not be serialized. It can only be populated by the server.
492
+ */
493
+ readonly latestJobRunResourceId?: string;
494
+ /**
495
+ * The current status of the Job Run in a non-terminal state, if exists.
496
+ * NOTE: This property will not be serialized. It can only be populated by the server.
497
+ */
498
+ readonly latestJobRunStatus?: JobRunStatus;
499
+ /** Name of the Agent to assign for new Job Runs of this Job Definition. */
500
+ agentName?: string;
501
+ /**
502
+ * Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition.
503
+ * NOTE: This property will not be serialized. It can only be populated by the server.
504
+ */
505
+ readonly agentResourceId?: string;
506
+ /**
507
+ * The provisioning state of this resource.
508
+ * NOTE: This property will not be serialized. It can only be populated by the server.
509
+ */
510
+ readonly provisioningState?: ProvisioningState;
511
+ }
512
+
513
+ /** List of Job Definitions. */
514
+ export declare interface JobDefinitionList {
515
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
516
+ readonly value?: JobDefinition[];
517
+ /**
518
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
519
+ * NOTE: This property will not be serialized. It can only be populated by the server.
520
+ */
521
+ readonly nextLink?: string;
522
+ }
523
+
524
+ /** Interface representing a JobDefinitions. */
525
+ export declare interface JobDefinitions {
526
+ /**
527
+ * Lists all Job Definitions in a Project.
528
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
529
+ * @param storageMoverName The name of the Storage Mover resource.
530
+ * @param projectName The name of the Project resource.
531
+ * @param options The options parameters.
532
+ */
533
+ list(resourceGroupName: string, storageMoverName: string, projectName: string, options?: JobDefinitionsListOptionalParams): PagedAsyncIterableIterator<JobDefinition>;
534
+ /**
535
+ * Gets a Job Definition resource.
536
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
537
+ * @param storageMoverName The name of the Storage Mover resource.
538
+ * @param projectName The name of the Project resource.
539
+ * @param jobDefinitionName The name of the Job Definition resource.
540
+ * @param options The options parameters.
541
+ */
542
+ get(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsGetOptionalParams): Promise<JobDefinitionsGetResponse>;
543
+ /**
544
+ * Creates or updates a Job Definition resource, which contains configuration for a single unit of
545
+ * managed data transfer.
546
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
547
+ * @param storageMoverName The name of the Storage Mover resource.
548
+ * @param projectName The name of the Project resource.
549
+ * @param jobDefinitionName The name of the Job Definition resource.
550
+ * @param jobDefinition The Job Definition resource.
551
+ * @param options The options parameters.
552
+ */
553
+ createOrUpdate(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, jobDefinition: JobDefinition, options?: JobDefinitionsCreateOrUpdateOptionalParams): Promise<JobDefinitionsCreateOrUpdateResponse>;
554
+ /**
555
+ * Updates properties for a Job Definition resource. Properties not specified in the request body will
556
+ * be unchanged.
557
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
558
+ * @param storageMoverName The name of the Storage Mover resource.
559
+ * @param projectName The name of the Project resource.
560
+ * @param jobDefinitionName The name of the Job Definition resource.
561
+ * @param jobDefinition The Job Definition resource.
562
+ * @param options The options parameters.
563
+ */
564
+ update(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, jobDefinition: JobDefinitionUpdateParameters, options?: JobDefinitionsUpdateOptionalParams): Promise<JobDefinitionsUpdateResponse>;
565
+ /**
566
+ * Deletes a Job Definition resource.
567
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
568
+ * @param storageMoverName The name of the Storage Mover resource.
569
+ * @param projectName The name of the Project resource.
570
+ * @param jobDefinitionName The name of the Job Definition resource.
571
+ * @param options The options parameters.
572
+ */
573
+ beginDelete(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
574
+ /**
575
+ * Deletes a Job Definition resource.
576
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
577
+ * @param storageMoverName The name of the Storage Mover resource.
578
+ * @param projectName The name of the Project resource.
579
+ * @param jobDefinitionName The name of the Job Definition resource.
580
+ * @param options The options parameters.
581
+ */
582
+ beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsDeleteOptionalParams): Promise<void>;
583
+ /**
584
+ * Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.
585
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
586
+ * @param storageMoverName The name of the Storage Mover resource.
587
+ * @param projectName The name of the Project resource.
588
+ * @param jobDefinitionName The name of the Job Definition resource.
589
+ * @param options The options parameters.
590
+ */
591
+ startJob(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsStartJobOptionalParams): Promise<JobDefinitionsStartJobResponse>;
592
+ /**
593
+ * Requests the Agent of any active instance of this Job Definition to stop.
594
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
595
+ * @param storageMoverName The name of the Storage Mover resource.
596
+ * @param projectName The name of the Project resource.
597
+ * @param jobDefinitionName The name of the Job Definition resource.
598
+ * @param options The options parameters.
599
+ */
600
+ stopJob(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobDefinitionsStopJobOptionalParams): Promise<JobDefinitionsStopJobResponse>;
601
+ }
602
+
603
+ /** Optional parameters. */
604
+ export declare interface JobDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
605
+ }
606
+
607
+ /** Contains response data for the createOrUpdate operation. */
608
+ export declare type JobDefinitionsCreateOrUpdateResponse = JobDefinition;
609
+
610
+ /** Optional parameters. */
611
+ export declare interface JobDefinitionsDeleteOptionalParams extends coreClient.OperationOptions {
612
+ /** Delay to wait until next poll, in milliseconds. */
613
+ updateIntervalInMs?: number;
614
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
615
+ resumeFrom?: string;
616
+ }
617
+
618
+ /** Optional parameters. */
619
+ export declare interface JobDefinitionsGetOptionalParams extends coreClient.OperationOptions {
620
+ }
621
+
622
+ /** Contains response data for the get operation. */
623
+ export declare type JobDefinitionsGetResponse = JobDefinition;
624
+
625
+ /** Optional parameters. */
626
+ export declare interface JobDefinitionsListNextOptionalParams extends coreClient.OperationOptions {
627
+ }
628
+
629
+ /** Contains response data for the listNext operation. */
630
+ export declare type JobDefinitionsListNextResponse = JobDefinitionList;
631
+
632
+ /** Optional parameters. */
633
+ export declare interface JobDefinitionsListOptionalParams extends coreClient.OperationOptions {
634
+ }
635
+
636
+ /** Contains response data for the list operation. */
637
+ export declare type JobDefinitionsListResponse = JobDefinitionList;
638
+
639
+ /** Optional parameters. */
640
+ export declare interface JobDefinitionsStartJobOptionalParams extends coreClient.OperationOptions {
641
+ }
642
+
643
+ /** Contains response data for the startJob operation. */
644
+ export declare type JobDefinitionsStartJobResponse = JobRunResourceId;
645
+
646
+ /** Optional parameters. */
647
+ export declare interface JobDefinitionsStopJobOptionalParams extends coreClient.OperationOptions {
648
+ }
649
+
650
+ /** Contains response data for the stopJob operation. */
651
+ export declare type JobDefinitionsStopJobResponse = JobRunResourceId;
652
+
653
+ /** Optional parameters. */
654
+ export declare interface JobDefinitionsUpdateOptionalParams extends coreClient.OperationOptions {
655
+ }
656
+
657
+ /** Contains response data for the update operation. */
658
+ export declare type JobDefinitionsUpdateResponse = JobDefinition;
659
+
660
+ /** The Job Definition resource. */
661
+ export declare interface JobDefinitionUpdateParameters {
662
+ /** A description for the Job Definition. */
663
+ description?: string;
664
+ /** Strategy to use for copy. */
665
+ copyMode?: CopyMode;
666
+ /** Name of the Agent to assign for new Job Runs of this Job Definition. */
667
+ agentName?: string;
668
+ }
669
+
670
+ /** The Job Run resource. */
671
+ export declare interface JobRun extends ProxyResource {
672
+ /**
673
+ * Resource system metadata.
674
+ * NOTE: This property will not be serialized. It can only be populated by the server.
675
+ */
676
+ readonly systemData?: SystemData;
677
+ /**
678
+ * The state of the job execution.
679
+ * NOTE: This property will not be serialized. It can only be populated by the server.
680
+ */
681
+ readonly status?: JobRunStatus;
682
+ /**
683
+ * The status of Agent's scanning of source.
684
+ * NOTE: This property will not be serialized. It can only be populated by the server.
685
+ */
686
+ readonly scanStatus?: JobRunScanStatus;
687
+ /**
688
+ * Name of the Agent assigned to this run.
689
+ * NOTE: This property will not be serialized. It can only be populated by the server.
690
+ */
691
+ readonly agentName?: string;
692
+ /**
693
+ * Fully qualified resource id of the Agent assigned to this run.
694
+ * NOTE: This property will not be serialized. It can only be populated by the server.
695
+ */
696
+ readonly agentResourceId?: string;
697
+ /**
698
+ * Start time of the run. Null if no Agent reported that the job has started.
699
+ * NOTE: This property will not be serialized. It can only be populated by the server.
700
+ */
701
+ readonly executionStartTime?: Date;
702
+ /**
703
+ * End time of the run. Null if Agent has not reported that the job has ended.
704
+ * NOTE: This property will not be serialized. It can only be populated by the server.
705
+ */
706
+ readonly executionEndTime?: Date;
707
+ /**
708
+ * The last updated time of the Job Run.
709
+ * NOTE: This property will not be serialized. It can only be populated by the server.
710
+ */
711
+ readonly lastStatusUpdate?: Date;
712
+ /**
713
+ * Number of items scanned so far in source.
714
+ * NOTE: This property will not be serialized. It can only be populated by the server.
715
+ */
716
+ readonly itemsScanned?: number;
717
+ /**
718
+ * Number of items that will not be transferred, as they are excluded by user configuration.
719
+ * NOTE: This property will not be serialized. It can only be populated by the server.
720
+ */
721
+ readonly itemsExcluded?: number;
722
+ /**
723
+ * Number of items that will not be transferred, as they are unsupported on target.
724
+ * NOTE: This property will not be serialized. It can only be populated by the server.
725
+ */
726
+ readonly itemsUnsupported?: number;
727
+ /**
728
+ * Number of items that will not be transferred, as they are already found on target (e.g. mirror mode).
729
+ * NOTE: This property will not be serialized. It can only be populated by the server.
730
+ */
731
+ readonly itemsNoTransferNeeded?: number;
732
+ /**
733
+ * Number of items that were attempted to transfer and failed.
734
+ * NOTE: This property will not be serialized. It can only be populated by the server.
735
+ */
736
+ readonly itemsFailed?: number;
737
+ /**
738
+ * Number of items successfully transferred to target.
739
+ * NOTE: This property will not be serialized. It can only be populated by the server.
740
+ */
741
+ readonly itemsTransferred?: number;
742
+ /**
743
+ * Bytes of data scanned so far in source.
744
+ * NOTE: This property will not be serialized. It can only be populated by the server.
745
+ */
746
+ readonly bytesScanned?: number;
747
+ /**
748
+ * Bytes of data that will not be transferred, as they are excluded by user configuration.
749
+ * NOTE: This property will not be serialized. It can only be populated by the server.
750
+ */
751
+ readonly bytesExcluded?: number;
752
+ /**
753
+ * Bytes of data that will not be transferred, as they are unsupported on target.
754
+ * NOTE: This property will not be serialized. It can only be populated by the server.
755
+ */
756
+ readonly bytesUnsupported?: number;
757
+ /**
758
+ * Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode).
759
+ * NOTE: This property will not be serialized. It can only be populated by the server.
760
+ */
761
+ readonly bytesNoTransferNeeded?: number;
762
+ /**
763
+ * Bytes of data that were attempted to transfer and failed.
764
+ * NOTE: This property will not be serialized. It can only be populated by the server.
765
+ */
766
+ readonly bytesFailed?: number;
767
+ /**
768
+ * Bytes of data successfully transferred to target.
769
+ * NOTE: This property will not be serialized. It can only be populated by the server.
770
+ */
771
+ readonly bytesTransferred?: number;
772
+ /**
773
+ * Name of source Endpoint resource. This resource may no longer exist.
774
+ * NOTE: This property will not be serialized. It can only be populated by the server.
775
+ */
776
+ readonly sourceName?: string;
777
+ /**
778
+ * Fully qualified resource id of source Endpoint. This id may no longer exist.
779
+ * NOTE: This property will not be serialized. It can only be populated by the server.
780
+ */
781
+ readonly sourceResourceId?: string;
782
+ /**
783
+ * Copy of source Endpoint resource's properties at time of Job Run creation.
784
+ * NOTE: This property will not be serialized. It can only be populated by the server.
785
+ */
786
+ readonly sourceProperties?: Record<string, unknown>;
787
+ /**
788
+ * Name of target Endpoint resource. This resource may no longer exist.
789
+ * NOTE: This property will not be serialized. It can only be populated by the server.
790
+ */
791
+ readonly targetName?: string;
792
+ /**
793
+ * Fully qualified resource id of of Endpoint. This id may no longer exist.
794
+ * NOTE: This property will not be serialized. It can only be populated by the server.
795
+ */
796
+ readonly targetResourceId?: string;
797
+ /**
798
+ * Copy of Endpoint resource's properties at time of Job Run creation.
799
+ * NOTE: This property will not be serialized. It can only be populated by the server.
800
+ */
801
+ readonly targetProperties?: Record<string, unknown>;
802
+ /**
803
+ * Copy of parent Job Definition's properties at time of Job Run creation.
804
+ * NOTE: This property will not be serialized. It can only be populated by the server.
805
+ */
806
+ readonly jobDefinitionProperties?: Record<string, unknown>;
807
+ /**
808
+ * Error details.
809
+ * NOTE: This property will not be serialized. It can only be populated by the server.
810
+ */
811
+ readonly error?: JobRunError;
812
+ /**
813
+ * The provisioning state of this resource.
814
+ * NOTE: This property will not be serialized. It can only be populated by the server.
815
+ */
816
+ readonly provisioningState?: ProvisioningState;
817
+ }
818
+
819
+ /** Error type */
820
+ export declare interface JobRunError {
821
+ /** Error code of the given entry. */
822
+ code?: string;
823
+ /** Error message of the given entry. */
824
+ message?: string;
825
+ /** Target of the given error entry. */
826
+ target?: string;
827
+ }
828
+
829
+ /** List of Job Runs. */
830
+ export declare interface JobRunList {
831
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
832
+ readonly value?: JobRun[];
833
+ /**
834
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
835
+ * NOTE: This property will not be serialized. It can only be populated by the server.
836
+ */
837
+ readonly nextLink?: string;
838
+ }
839
+
840
+ /** Response that identifies a Job Run. */
841
+ export declare interface JobRunResourceId {
842
+ /**
843
+ * Fully qualified resource id of the Job Run.
844
+ * NOTE: This property will not be serialized. It can only be populated by the server.
845
+ */
846
+ readonly jobRunResourceId?: string;
847
+ }
848
+
849
+ /** Interface representing a JobRuns. */
850
+ export declare interface JobRuns {
851
+ /**
852
+ * Lists all Job Runs in a Job Definition.
853
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
854
+ * @param storageMoverName The name of the Storage Mover resource.
855
+ * @param projectName The name of the Project resource.
856
+ * @param jobDefinitionName The name of the Job Definition resource.
857
+ * @param options The options parameters.
858
+ */
859
+ list(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, options?: JobRunsListOptionalParams): PagedAsyncIterableIterator<JobRun>;
860
+ /**
861
+ * Gets a Job Run resource.
862
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
863
+ * @param storageMoverName The name of the Storage Mover resource.
864
+ * @param projectName The name of the Project resource.
865
+ * @param jobDefinitionName The name of the Job Definition resource.
866
+ * @param jobRunName The name of the Job Run resource.
867
+ * @param options The options parameters.
868
+ */
869
+ get(resourceGroupName: string, storageMoverName: string, projectName: string, jobDefinitionName: string, jobRunName: string, options?: JobRunsGetOptionalParams): Promise<JobRunsGetResponse>;
870
+ }
871
+
872
+ /**
873
+ * Defines values for JobRunScanStatus. \
874
+ * {@link KnownJobRunScanStatus} can be used interchangeably with JobRunScanStatus,
875
+ * this enum contains the known values that the service supports.
876
+ * ### Known values supported by the service
877
+ * **NotStarted** \
878
+ * **Scanning** \
879
+ * **Completed**
880
+ */
881
+ export declare type JobRunScanStatus = string;
882
+
883
+ /** Optional parameters. */
884
+ export declare interface JobRunsGetOptionalParams extends coreClient.OperationOptions {
885
+ }
886
+
887
+ /** Contains response data for the get operation. */
888
+ export declare type JobRunsGetResponse = JobRun;
889
+
890
+ /** Optional parameters. */
891
+ export declare interface JobRunsListNextOptionalParams extends coreClient.OperationOptions {
892
+ }
893
+
894
+ /** Contains response data for the listNext operation. */
895
+ export declare type JobRunsListNextResponse = JobRunList;
896
+
897
+ /** Optional parameters. */
898
+ export declare interface JobRunsListOptionalParams extends coreClient.OperationOptions {
899
+ }
900
+
901
+ /** Contains response data for the list operation. */
902
+ export declare type JobRunsListResponse = JobRunList;
903
+
904
+ /**
905
+ * Defines values for JobRunStatus. \
906
+ * {@link KnownJobRunStatus} can be used interchangeably with JobRunStatus,
907
+ * this enum contains the known values that the service supports.
908
+ * ### Known values supported by the service
909
+ * **Queued** \
910
+ * **Started** \
911
+ * **Running** \
912
+ * **CancelRequested** \
913
+ * **Canceling** \
914
+ * **Canceled** \
915
+ * **Failed** \
916
+ * **Succeeded**
917
+ */
918
+ export declare type JobRunStatus = string;
919
+
920
+ /** Known values of {@link ActionType} that the service accepts. */
921
+ export declare enum KnownActionType {
922
+ /** Internal */
923
+ Internal = "Internal"
924
+ }
925
+
926
+ /** Known values of {@link AgentStatus} that the service accepts. */
927
+ export declare enum KnownAgentStatus {
928
+ /** Registering */
929
+ Registering = "Registering",
930
+ /** Offline */
931
+ Offline = "Offline",
932
+ /** Online */
933
+ Online = "Online",
934
+ /** Executing */
935
+ Executing = "Executing",
936
+ /** RequiresAttention */
937
+ RequiresAttention = "RequiresAttention",
938
+ /** Unregistering */
939
+ Unregistering = "Unregistering"
940
+ }
941
+
942
+ /** Known values of {@link CopyMode} that the service accepts. */
943
+ export declare enum KnownCopyMode {
944
+ /** Additive */
945
+ Additive = "Additive",
946
+ /** Mirror */
947
+ Mirror = "Mirror"
948
+ }
949
+
950
+ /** Known values of {@link CreatedByType} that the service accepts. */
951
+ export declare enum KnownCreatedByType {
952
+ /** User */
953
+ User = "User",
954
+ /** Application */
955
+ Application = "Application",
956
+ /** ManagedIdentity */
957
+ ManagedIdentity = "ManagedIdentity",
958
+ /** Key */
959
+ Key = "Key"
960
+ }
961
+
962
+ /** Known values of {@link EndpointType} that the service accepts. */
963
+ export declare enum KnownEndpointType {
964
+ /** AzureStorageBlobContainer */
965
+ AzureStorageBlobContainer = "AzureStorageBlobContainer",
966
+ /** NfsMount */
967
+ NfsMount = "NfsMount"
968
+ }
969
+
970
+ /** Known values of {@link JobRunScanStatus} that the service accepts. */
971
+ export declare enum KnownJobRunScanStatus {
972
+ /** NotStarted */
973
+ NotStarted = "NotStarted",
974
+ /** Scanning */
975
+ Scanning = "Scanning",
976
+ /** Completed */
977
+ Completed = "Completed"
978
+ }
979
+
980
+ /** Known values of {@link JobRunStatus} that the service accepts. */
981
+ export declare enum KnownJobRunStatus {
982
+ /** Queued */
983
+ Queued = "Queued",
984
+ /** Started */
985
+ Started = "Started",
986
+ /** Running */
987
+ Running = "Running",
988
+ /** CancelRequested */
989
+ CancelRequested = "CancelRequested",
990
+ /** Canceling */
991
+ Canceling = "Canceling",
992
+ /** Canceled */
993
+ Canceled = "Canceled",
994
+ /** Failed */
995
+ Failed = "Failed",
996
+ /** Succeeded */
997
+ Succeeded = "Succeeded"
998
+ }
999
+
1000
+ /** Known values of {@link NfsVersion} that the service accepts. */
1001
+ export declare enum KnownNfsVersion {
1002
+ /** NFSauto */
1003
+ NFSauto = "NFSauto",
1004
+ /** NFSv3 */
1005
+ NFSv3 = "NFSv3",
1006
+ /** NFSv4 */
1007
+ NFSv4 = "NFSv4"
1008
+ }
1009
+
1010
+ /** Known values of {@link Origin} that the service accepts. */
1011
+ export declare enum KnownOrigin {
1012
+ /** User */
1013
+ User = "user",
1014
+ /** System */
1015
+ System = "system",
1016
+ /** UserSystem */
1017
+ UserSystem = "user,system"
1018
+ }
1019
+
1020
+ /** Known values of {@link ProvisioningState} that the service accepts. */
1021
+ export declare enum KnownProvisioningState {
1022
+ /** Succeeded */
1023
+ Succeeded = "Succeeded"
1024
+ }
1025
+
1026
+ export declare interface NfsMountEndpointProperties extends EndpointBaseProperties {
1027
+ /** Polymorphic discriminator, which specifies the different types this object can be */
1028
+ endpointType: "NfsMount";
1029
+ /** The host name or IP address of the server exporting the file system. */
1030
+ host: string;
1031
+ /** The NFS protocol version. */
1032
+ nfsVersion?: NfsVersion;
1033
+ /** The directory being exported from the server. */
1034
+ export: string;
1035
+ }
1036
+
1037
+ export declare interface NfsMountEndpointUpdateProperties extends EndpointBaseUpdateProperties {
1038
+ }
1039
+
1040
+ /**
1041
+ * Defines values for NfsVersion. \
1042
+ * {@link KnownNfsVersion} can be used interchangeably with NfsVersion,
1043
+ * this enum contains the known values that the service supports.
1044
+ * ### Known values supported by the service
1045
+ * **NFSauto** \
1046
+ * **NFSv3** \
1047
+ * **NFSv4**
1048
+ */
1049
+ export declare type NfsVersion = string;
1050
+
1051
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
1052
+ export declare interface Operation {
1053
+ /**
1054
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
1055
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1056
+ */
1057
+ readonly name?: string;
1058
+ /**
1059
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
1060
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1061
+ */
1062
+ readonly isDataAction?: boolean;
1063
+ /** Localized display information for this particular operation. */
1064
+ display?: OperationDisplay;
1065
+ /**
1066
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
1067
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1068
+ */
1069
+ readonly origin?: Origin;
1070
+ /**
1071
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
1072
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1073
+ */
1074
+ readonly actionType?: ActionType;
1075
+ }
1076
+
1077
+ /** Localized display information for this particular operation. */
1078
+ export declare interface OperationDisplay {
1079
+ /**
1080
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
1081
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1082
+ */
1083
+ readonly provider?: string;
1084
+ /**
1085
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
1086
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1087
+ */
1088
+ readonly resource?: string;
1089
+ /**
1090
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
1091
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1092
+ */
1093
+ readonly operation?: string;
1094
+ /**
1095
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
1096
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1097
+ */
1098
+ readonly description?: string;
1099
+ }
1100
+
1101
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
1102
+ export declare interface OperationListResult {
1103
+ /**
1104
+ * List of operations supported by the resource provider
1105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1106
+ */
1107
+ readonly value?: Operation[];
1108
+ /**
1109
+ * URL to get the next set of operation list results (if there are any).
1110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1111
+ */
1112
+ readonly nextLink?: string;
1113
+ }
1114
+
1115
+ /** Interface representing a Operations. */
1116
+ export declare interface Operations {
1117
+ /**
1118
+ * Lists all the supported operations for the Azure Storage Mover REST API.
1119
+ * @param options The options parameters.
1120
+ */
1121
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1122
+ }
1123
+
1124
+ /** Optional parameters. */
1125
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1126
+ }
1127
+
1128
+ /** Contains response data for the listNext operation. */
1129
+ export declare type OperationsListNextResponse = OperationListResult;
1130
+
1131
+ /** Optional parameters. */
1132
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1133
+ }
1134
+
1135
+ /** Contains response data for the list operation. */
1136
+ export declare type OperationsListResponse = OperationListResult;
1137
+
1138
+ /**
1139
+ * Defines values for Origin. \
1140
+ * {@link KnownOrigin} can be used interchangeably with Origin,
1141
+ * this enum contains the known values that the service supports.
1142
+ * ### Known values supported by the service
1143
+ * **user** \
1144
+ * **system** \
1145
+ * **user,system**
1146
+ */
1147
+ export declare type Origin = string;
1148
+
1149
+ /** The Project resource. */
1150
+ export declare interface Project extends ProxyResource {
1151
+ /**
1152
+ * Resource system metadata.
1153
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1154
+ */
1155
+ readonly systemData?: SystemData;
1156
+ /** A description for the Project. */
1157
+ description?: string;
1158
+ /**
1159
+ * The provisioning state of this resource.
1160
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1161
+ */
1162
+ readonly provisioningState?: ProvisioningState;
1163
+ }
1164
+
1165
+ /** List of Project resources. */
1166
+ export declare interface ProjectList {
1167
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1168
+ readonly value?: Project[];
1169
+ /**
1170
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
1171
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1172
+ */
1173
+ readonly nextLink?: string;
1174
+ }
1175
+
1176
+ /** Interface representing a Projects. */
1177
+ export declare interface Projects {
1178
+ /**
1179
+ * Lists all Projects in a Storage Mover.
1180
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1181
+ * @param storageMoverName The name of the Storage Mover resource.
1182
+ * @param options The options parameters.
1183
+ */
1184
+ list(resourceGroupName: string, storageMoverName: string, options?: ProjectsListOptionalParams): PagedAsyncIterableIterator<Project>;
1185
+ /**
1186
+ * Gets a Project resource.
1187
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1188
+ * @param storageMoverName The name of the Storage Mover resource.
1189
+ * @param projectName The name of the Project resource.
1190
+ * @param options The options parameters.
1191
+ */
1192
+ get(resourceGroupName: string, storageMoverName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
1193
+ /**
1194
+ * Creates or updates a Project resource, which is a logical grouping of related jobs.
1195
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1196
+ * @param storageMoverName The name of the Storage Mover resource.
1197
+ * @param projectName The name of the Project resource.
1198
+ * @param project The Project resource.
1199
+ * @param options The options parameters.
1200
+ */
1201
+ createOrUpdate(resourceGroupName: string, storageMoverName: string, projectName: string, project: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<ProjectsCreateOrUpdateResponse>;
1202
+ /**
1203
+ * Updates properties for a Project resource. Properties not specified in the request body will be
1204
+ * unchanged.
1205
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1206
+ * @param storageMoverName The name of the Storage Mover resource.
1207
+ * @param projectName The name of the Project resource.
1208
+ * @param project The Project resource.
1209
+ * @param options The options parameters.
1210
+ */
1211
+ update(resourceGroupName: string, storageMoverName: string, projectName: string, project: ProjectUpdateParameters, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
1212
+ /**
1213
+ * Deletes a Project resource.
1214
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1215
+ * @param storageMoverName The name of the Storage Mover resource.
1216
+ * @param projectName The name of the Project resource.
1217
+ * @param options The options parameters.
1218
+ */
1219
+ beginDelete(resourceGroupName: string, storageMoverName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1220
+ /**
1221
+ * Deletes a Project resource.
1222
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1223
+ * @param storageMoverName The name of the Storage Mover resource.
1224
+ * @param projectName The name of the Project resource.
1225
+ * @param options The options parameters.
1226
+ */
1227
+ beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>;
1228
+ }
1229
+
1230
+ /** Optional parameters. */
1231
+ export declare interface ProjectsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1232
+ }
1233
+
1234
+ /** Contains response data for the createOrUpdate operation. */
1235
+ export declare type ProjectsCreateOrUpdateResponse = Project;
1236
+
1237
+ /** Optional parameters. */
1238
+ export declare interface ProjectsDeleteOptionalParams extends coreClient.OperationOptions {
1239
+ /** Delay to wait until next poll, in milliseconds. */
1240
+ updateIntervalInMs?: number;
1241
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1242
+ resumeFrom?: string;
1243
+ }
1244
+
1245
+ /** Optional parameters. */
1246
+ export declare interface ProjectsGetOptionalParams extends coreClient.OperationOptions {
1247
+ }
1248
+
1249
+ /** Contains response data for the get operation. */
1250
+ export declare type ProjectsGetResponse = Project;
1251
+
1252
+ /** Optional parameters. */
1253
+ export declare interface ProjectsListNextOptionalParams extends coreClient.OperationOptions {
1254
+ }
1255
+
1256
+ /** Contains response data for the listNext operation. */
1257
+ export declare type ProjectsListNextResponse = ProjectList;
1258
+
1259
+ /** Optional parameters. */
1260
+ export declare interface ProjectsListOptionalParams extends coreClient.OperationOptions {
1261
+ }
1262
+
1263
+ /** Contains response data for the list operation. */
1264
+ export declare type ProjectsListResponse = ProjectList;
1265
+
1266
+ /** Optional parameters. */
1267
+ export declare interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions {
1268
+ }
1269
+
1270
+ /** Contains response data for the update operation. */
1271
+ export declare type ProjectsUpdateResponse = Project;
1272
+
1273
+ /** The Project resource. */
1274
+ export declare interface ProjectUpdateParameters {
1275
+ /** A description for the Project. */
1276
+ description?: string;
1277
+ }
1278
+
1279
+ /**
1280
+ * Defines values for ProvisioningState. \
1281
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
1282
+ * this enum contains the known values that the service supports.
1283
+ * ### Known values supported by the service
1284
+ * **Succeeded**
1285
+ */
1286
+ export declare type ProvisioningState = string;
1287
+
1288
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1289
+ export declare interface ProxyResource extends Resource {
1290
+ }
1291
+
1292
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1293
+ export declare interface Resource {
1294
+ /**
1295
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1297
+ */
1298
+ readonly id?: string;
1299
+ /**
1300
+ * The name of the resource
1301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1302
+ */
1303
+ readonly name?: string;
1304
+ /**
1305
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1307
+ */
1308
+ readonly type?: string;
1309
+ }
1310
+
1311
+ /** The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. */
1312
+ export declare interface StorageMover extends TrackedResource {
1313
+ /**
1314
+ * Resource system metadata.
1315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1316
+ */
1317
+ readonly systemData?: SystemData;
1318
+ /** A description for the Storage Mover. */
1319
+ description?: string;
1320
+ /**
1321
+ * The provisioning state of this resource.
1322
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1323
+ */
1324
+ readonly provisioningState?: ProvisioningState;
1325
+ }
1326
+
1327
+ export declare class StorageMoverClient extends coreClient.ServiceClient {
1328
+ $host: string;
1329
+ apiVersion: string;
1330
+ subscriptionId: string;
1331
+ /**
1332
+ * Initializes a new instance of the StorageMoverClient class.
1333
+ * @param credentials Subscription credentials which uniquely identify client subscription.
1334
+ * @param subscriptionId The ID of the target subscription.
1335
+ * @param options The parameter options
1336
+ */
1337
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: StorageMoverClientOptionalParams);
1338
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
1339
+ private addCustomApiVersionPolicy;
1340
+ operations: Operations;
1341
+ storageMovers: StorageMovers;
1342
+ agents: Agents;
1343
+ endpoints: Endpoints;
1344
+ projects: Projects;
1345
+ jobDefinitions: JobDefinitions;
1346
+ jobRuns: JobRuns;
1347
+ }
1348
+
1349
+ /** Optional parameters. */
1350
+ export declare interface StorageMoverClientOptionalParams extends coreClient.ServiceClientOptions {
1351
+ /** server parameter */
1352
+ $host?: string;
1353
+ /** Api Version */
1354
+ apiVersion?: string;
1355
+ /** Overrides client endpoint. */
1356
+ endpoint?: string;
1357
+ }
1358
+
1359
+ /** List of Storage Movers. */
1360
+ export declare interface StorageMoverList {
1361
+ /** NOTE: This property will not be serialized. It can only be populated by the server. */
1362
+ readonly value?: StorageMover[];
1363
+ /**
1364
+ * Request URL that can be used to query next page of containers. Returned when total number of requested containers exceed maximum page size.
1365
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1366
+ */
1367
+ readonly nextLink?: string;
1368
+ }
1369
+
1370
+ /** Interface representing a StorageMovers. */
1371
+ export declare interface StorageMovers {
1372
+ /**
1373
+ * Lists all Storage Movers in a subscription.
1374
+ * @param options The options parameters.
1375
+ */
1376
+ listBySubscription(options?: StorageMoversListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StorageMover>;
1377
+ /**
1378
+ * Lists all Storage Movers in a resource group.
1379
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1380
+ * @param options The options parameters.
1381
+ */
1382
+ list(resourceGroupName: string, options?: StorageMoversListOptionalParams): PagedAsyncIterableIterator<StorageMover>;
1383
+ /**
1384
+ * Gets a Storage Mover resource.
1385
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1386
+ * @param storageMoverName The name of the Storage Mover resource.
1387
+ * @param options The options parameters.
1388
+ */
1389
+ get(resourceGroupName: string, storageMoverName: string, options?: StorageMoversGetOptionalParams): Promise<StorageMoversGetResponse>;
1390
+ /**
1391
+ * Creates or updates a top-level Storage Mover resource.
1392
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1393
+ * @param storageMoverName The name of the Storage Mover resource.
1394
+ * @param storageMover The Storage Mover resource, which is a container for a group of Agents,
1395
+ * Projects, and Endpoints.
1396
+ * @param options The options parameters.
1397
+ */
1398
+ createOrUpdate(resourceGroupName: string, storageMoverName: string, storageMover: StorageMover, options?: StorageMoversCreateOrUpdateOptionalParams): Promise<StorageMoversCreateOrUpdateResponse>;
1399
+ /**
1400
+ * Updates properties for a Storage Mover resource. Properties not specified in the request body will
1401
+ * be unchanged.
1402
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1403
+ * @param storageMoverName The name of the Storage Mover resource.
1404
+ * @param storageMover The Storage Mover resource.
1405
+ * @param options The options parameters.
1406
+ */
1407
+ update(resourceGroupName: string, storageMoverName: string, storageMover: StorageMoverUpdateParameters, options?: StorageMoversUpdateOptionalParams): Promise<StorageMoversUpdateResponse>;
1408
+ /**
1409
+ * Deletes a Storage Mover resource.
1410
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1411
+ * @param storageMoverName The name of the Storage Mover resource.
1412
+ * @param options The options parameters.
1413
+ */
1414
+ beginDelete(resourceGroupName: string, storageMoverName: string, options?: StorageMoversDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1415
+ /**
1416
+ * Deletes a Storage Mover resource.
1417
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1418
+ * @param storageMoverName The name of the Storage Mover resource.
1419
+ * @param options The options parameters.
1420
+ */
1421
+ beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, options?: StorageMoversDeleteOptionalParams): Promise<void>;
1422
+ }
1423
+
1424
+ /** Optional parameters. */
1425
+ export declare interface StorageMoversCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1426
+ }
1427
+
1428
+ /** Contains response data for the createOrUpdate operation. */
1429
+ export declare type StorageMoversCreateOrUpdateResponse = StorageMover;
1430
+
1431
+ /** Optional parameters. */
1432
+ export declare interface StorageMoversDeleteOptionalParams extends coreClient.OperationOptions {
1433
+ /** Delay to wait until next poll, in milliseconds. */
1434
+ updateIntervalInMs?: number;
1435
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1436
+ resumeFrom?: string;
1437
+ }
1438
+
1439
+ /** Optional parameters. */
1440
+ export declare interface StorageMoversGetOptionalParams extends coreClient.OperationOptions {
1441
+ }
1442
+
1443
+ /** Contains response data for the get operation. */
1444
+ export declare type StorageMoversGetResponse = StorageMover;
1445
+
1446
+ /** Optional parameters. */
1447
+ export declare interface StorageMoversListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
1448
+ }
1449
+
1450
+ /** Contains response data for the listBySubscriptionNext operation. */
1451
+ export declare type StorageMoversListBySubscriptionNextResponse = StorageMoverList;
1452
+
1453
+ /** Optional parameters. */
1454
+ export declare interface StorageMoversListBySubscriptionOptionalParams extends coreClient.OperationOptions {
1455
+ }
1456
+
1457
+ /** Contains response data for the listBySubscription operation. */
1458
+ export declare type StorageMoversListBySubscriptionResponse = StorageMoverList;
1459
+
1460
+ /** Optional parameters. */
1461
+ export declare interface StorageMoversListNextOptionalParams extends coreClient.OperationOptions {
1462
+ }
1463
+
1464
+ /** Contains response data for the listNext operation. */
1465
+ export declare type StorageMoversListNextResponse = StorageMoverList;
1466
+
1467
+ /** Optional parameters. */
1468
+ export declare interface StorageMoversListOptionalParams extends coreClient.OperationOptions {
1469
+ }
1470
+
1471
+ /** Contains response data for the list operation. */
1472
+ export declare type StorageMoversListResponse = StorageMoverList;
1473
+
1474
+ /** Optional parameters. */
1475
+ export declare interface StorageMoversUpdateOptionalParams extends coreClient.OperationOptions {
1476
+ }
1477
+
1478
+ /** Contains response data for the update operation. */
1479
+ export declare type StorageMoversUpdateResponse = StorageMover;
1480
+
1481
+ /** The Storage Mover resource. */
1482
+ export declare interface StorageMoverUpdateParameters {
1483
+ /** Resource tags. */
1484
+ tags?: {
1485
+ [propertyName: string]: string;
1486
+ };
1487
+ /** A description for the Storage Mover. */
1488
+ description?: string;
1489
+ }
1490
+
1491
+ /** Metadata pertaining to creation and last modification of the resource. */
1492
+ export declare interface SystemData {
1493
+ /** The identity that created the resource. */
1494
+ createdBy?: string;
1495
+ /** The type of identity that created the resource. */
1496
+ createdByType?: CreatedByType;
1497
+ /** The timestamp of resource creation (UTC). */
1498
+ createdAt?: Date;
1499
+ /** The identity that last modified the resource. */
1500
+ lastModifiedBy?: string;
1501
+ /** The type of identity that last modified the resource. */
1502
+ lastModifiedByType?: CreatedByType;
1503
+ /** The timestamp of resource last modification (UTC) */
1504
+ lastModifiedAt?: Date;
1505
+ }
1506
+
1507
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
1508
+ export declare interface TrackedResource extends Resource {
1509
+ /** Resource tags. */
1510
+ tags?: {
1511
+ [propertyName: string]: string;
1512
+ };
1513
+ /** The geo-location where the resource lives */
1514
+ location: string;
1515
+ }
1516
+
1517
+ export { }