@azure/arm-storagesync 7.0.0 → 9.0.0

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 (424) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +7404 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts +2 -0
  10. package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/cloudEndpointsCreate.js +39 -0
  12. package/dist-esm/samples-dev/cloudEndpointsCreate.js.map +1 -0
  13. package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts +2 -0
  14. package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/cloudEndpointsDelete.js +33 -0
  16. package/dist-esm/samples-dev/cloudEndpointsDelete.js.map +1 -0
  17. package/dist-esm/samples-dev/cloudEndpointsGet.d.ts +2 -0
  18. package/dist-esm/samples-dev/cloudEndpointsGet.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/cloudEndpointsGet.js +33 -0
  20. package/dist-esm/samples-dev/cloudEndpointsGet.js.map +1 -0
  21. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts +2 -0
  22. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js +46 -0
  24. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js.map +1 -0
  25. package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts +2 -0
  26. package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/cloudEndpointsPostBackup.js +36 -0
  28. package/dist-esm/samples-dev/cloudEndpointsPostBackup.js.map +1 -0
  29. package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts +2 -0
  30. package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/cloudEndpointsPostRestore.js +44 -0
  32. package/dist-esm/samples-dev/cloudEndpointsPostRestore.js.map +1 -0
  33. package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts +2 -0
  34. package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/cloudEndpointsPreBackup.js +36 -0
  36. package/dist-esm/samples-dev/cloudEndpointsPreBackup.js.map +1 -0
  37. package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts +2 -0
  38. package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/cloudEndpointsPreRestore.js +42 -0
  40. package/dist-esm/samples-dev/cloudEndpointsPreRestore.js.map +1 -0
  41. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts +2 -0
  42. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js +33 -0
  44. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js.map +1 -0
  45. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts +2 -0
  46. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js +37 -0
  48. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js.map +1 -0
  49. package/dist-esm/samples-dev/operationsList.d.ts +2 -0
  50. package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/operationsList.js +43 -0
  52. package/dist-esm/samples-dev/operationsList.js.map +1 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts +2 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js +38 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts +2 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsGet.js +32 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsGet.js.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts +2 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js +45 -0
  68. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js.map +1 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesList.d.ts +2 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesList.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesList.js +31 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesList.js.map +1 -0
  73. package/dist-esm/samples-dev/registeredServersCreate.d.ts +2 -0
  74. package/dist-esm/samples-dev/registeredServersCreate.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/registeredServersCreate.js +40 -0
  76. package/dist-esm/samples-dev/registeredServersCreate.js.map +1 -0
  77. package/dist-esm/samples-dev/registeredServersDelete.d.ts +2 -0
  78. package/dist-esm/samples-dev/registeredServersDelete.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/registeredServersDelete.js +32 -0
  80. package/dist-esm/samples-dev/registeredServersDelete.js.map +1 -0
  81. package/dist-esm/samples-dev/registeredServersGet.d.ts +2 -0
  82. package/dist-esm/samples-dev/registeredServersGet.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/registeredServersGet.js +32 -0
  84. package/dist-esm/samples-dev/registeredServersGet.js.map +1 -0
  85. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts +2 -0
  86. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js +45 -0
  88. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js.map +1 -0
  89. package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts +2 -0
  90. package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/registeredServersTriggerRollover.js +35 -0
  92. package/dist-esm/samples-dev/registeredServersTriggerRollover.js.map +1 -0
  93. package/dist-esm/samples-dev/serverEndpointsCreate.d.ts +2 -0
  94. package/dist-esm/samples-dev/serverEndpointsCreate.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/serverEndpointsCreate.js +45 -0
  96. package/dist-esm/samples-dev/serverEndpointsCreate.js.map +1 -0
  97. package/dist-esm/samples-dev/serverEndpointsDelete.d.ts +2 -0
  98. package/dist-esm/samples-dev/serverEndpointsDelete.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/serverEndpointsDelete.js +33 -0
  100. package/dist-esm/samples-dev/serverEndpointsDelete.js.map +1 -0
  101. package/dist-esm/samples-dev/serverEndpointsGet.d.ts +2 -0
  102. package/dist-esm/samples-dev/serverEndpointsGet.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/serverEndpointsGet.js +33 -0
  104. package/dist-esm/samples-dev/serverEndpointsGet.js.map +1 -0
  105. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts +2 -0
  106. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js +46 -0
  108. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js.map +1 -0
  109. package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts +2 -0
  110. package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/serverEndpointsRecallAction.js +34 -0
  112. package/dist-esm/samples-dev/serverEndpointsRecallAction.js.map +1 -0
  113. package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts +2 -0
  114. package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/serverEndpointsUpdate.js +41 -0
  116. package/dist-esm/samples-dev/serverEndpointsUpdate.js.map +1 -0
  117. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts +2 -0
  118. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js +34 -0
  120. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map +1 -0
  121. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts +2 -0
  122. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js +34 -0
  124. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js.map +1 -0
  125. package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts +2 -0
  126. package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts.map +1 -0
  127. package/dist-esm/samples-dev/storageSyncServicesCreate.js +36 -0
  128. package/dist-esm/samples-dev/storageSyncServicesCreate.js.map +1 -0
  129. package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts +2 -0
  130. package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/storageSyncServicesDelete.js +31 -0
  132. package/dist-esm/samples-dev/storageSyncServicesDelete.js.map +1 -0
  133. package/dist-esm/samples-dev/storageSyncServicesGet.d.ts +2 -0
  134. package/dist-esm/samples-dev/storageSyncServicesGet.d.ts.map +1 -0
  135. package/dist-esm/samples-dev/storageSyncServicesGet.js +31 -0
  136. package/dist-esm/samples-dev/storageSyncServicesGet.js.map +1 -0
  137. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts +2 -0
  138. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts.map +1 -0
  139. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js +44 -0
  140. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js.map +1 -0
  141. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts +2 -0
  142. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts.map +1 -0
  143. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js +43 -0
  144. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js.map +1 -0
  145. package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts +2 -0
  146. package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts.map +1 -0
  147. package/dist-esm/samples-dev/storageSyncServicesUpdate.js +36 -0
  148. package/dist-esm/samples-dev/storageSyncServicesUpdate.js.map +1 -0
  149. package/dist-esm/samples-dev/syncGroupsCreate.d.ts +2 -0
  150. package/dist-esm/samples-dev/syncGroupsCreate.d.ts.map +1 -0
  151. package/dist-esm/samples-dev/syncGroupsCreate.js +33 -0
  152. package/dist-esm/samples-dev/syncGroupsCreate.js.map +1 -0
  153. package/dist-esm/samples-dev/syncGroupsDelete.d.ts +2 -0
  154. package/dist-esm/samples-dev/syncGroupsDelete.d.ts.map +1 -0
  155. package/dist-esm/samples-dev/syncGroupsDelete.js +32 -0
  156. package/dist-esm/samples-dev/syncGroupsDelete.js.map +1 -0
  157. package/dist-esm/samples-dev/syncGroupsGet.d.ts +2 -0
  158. package/dist-esm/samples-dev/syncGroupsGet.d.ts.map +1 -0
  159. package/dist-esm/samples-dev/syncGroupsGet.js +32 -0
  160. package/dist-esm/samples-dev/syncGroupsGet.js.map +1 -0
  161. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts +2 -0
  162. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts.map +1 -0
  163. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js +45 -0
  164. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js.map +1 -0
  165. package/dist-esm/samples-dev/workflowsAbort.d.ts +2 -0
  166. package/dist-esm/samples-dev/workflowsAbort.d.ts.map +1 -0
  167. package/dist-esm/samples-dev/workflowsAbort.js +32 -0
  168. package/dist-esm/samples-dev/workflowsAbort.js.map +1 -0
  169. package/dist-esm/samples-dev/workflowsGet.d.ts +2 -0
  170. package/dist-esm/samples-dev/workflowsGet.d.ts.map +1 -0
  171. package/dist-esm/samples-dev/workflowsGet.js +31 -0
  172. package/dist-esm/samples-dev/workflowsGet.js.map +1 -0
  173. package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts +2 -0
  174. package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts.map +1 -0
  175. package/dist-esm/samples-dev/workflowsListByStorageSyncService.js +45 -0
  176. package/dist-esm/samples-dev/workflowsListByStorageSyncService.js.map +1 -0
  177. package/dist-esm/src/index.d.ts +5 -0
  178. package/dist-esm/src/index.d.ts.map +1 -0
  179. package/dist-esm/src/index.js +12 -0
  180. package/dist-esm/src/index.js.map +1 -0
  181. package/dist-esm/src/lroImpl.d.ts +16 -0
  182. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  183. package/dist-esm/src/lroImpl.js +29 -0
  184. package/dist-esm/src/lroImpl.js.map +1 -0
  185. package/dist-esm/src/microsoftStorageSync.d.ts +34 -0
  186. package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -0
  187. package/dist-esm/src/microsoftStorageSync.js +95 -0
  188. package/dist-esm/src/microsoftStorageSync.js.map +1 -0
  189. package/dist-esm/src/models/index.d.ts +2205 -0
  190. package/dist-esm/src/models/index.d.ts.map +1 -0
  191. package/dist-esm/src/models/index.js +145 -0
  192. package/dist-esm/src/models/index.js.map +1 -0
  193. package/dist-esm/src/models/mappers.d.ts +114 -0
  194. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  195. package/{esm → dist-esm/src}/models/mappers.js +2357 -1046
  196. package/dist-esm/src/models/mappers.js.map +1 -0
  197. package/dist-esm/src/models/parameters.d.ts +33 -0
  198. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  199. package/dist-esm/src/models/parameters.js +241 -0
  200. package/dist-esm/src/models/parameters.js.map +1 -0
  201. package/{esm → dist-esm/src}/operations/cloudEndpoints.d.ts +75 -106
  202. package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -0
  203. package/dist-esm/src/operations/cloudEndpoints.js +839 -0
  204. package/dist-esm/src/operations/cloudEndpoints.js.map +1 -0
  205. package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
  206. package/dist-esm/src/operations/index.d.ts.map +1 -0
  207. package/dist-esm/src/operations/index.js +18 -0
  208. package/dist-esm/src/operations/index.js.map +1 -0
  209. package/dist-esm/src/operations/operationStatusOperations.d.ts +22 -0
  210. package/dist-esm/src/operations/operationStatusOperations.d.ts.map +1 -0
  211. package/dist-esm/src/operations/operationStatusOperations.js +58 -0
  212. package/dist-esm/src/operations/operationStatusOperations.js.map +1 -0
  213. package/dist-esm/src/operations/operations.d.ts +32 -0
  214. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  215. package/dist-esm/src/operations/operations.js +122 -0
  216. package/dist-esm/src/operations/operations.js.map +1 -0
  217. package/dist-esm/src/operations/privateEndpointConnections.d.ts +83 -0
  218. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  219. package/dist-esm/src/operations/privateEndpointConnections.js +320 -0
  220. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  221. package/dist-esm/src/operations/privateLinkResources.d.ts +21 -0
  222. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  223. package/dist-esm/src/operations/privateLinkResources.js +51 -0
  224. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  225. package/dist-esm/src/operations/registeredServers.d.ts +91 -0
  226. package/dist-esm/src/operations/registeredServers.d.ts.map +1 -0
  227. package/dist-esm/src/operations/registeredServers.js +405 -0
  228. package/dist-esm/src/operations/registeredServers.js.map +1 -0
  229. package/dist-esm/src/operations/serverEndpoints.d.ts +118 -0
  230. package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -0
  231. package/dist-esm/src/operations/serverEndpoints.js +530 -0
  232. package/dist-esm/src/operations/serverEndpoints.js.map +1 -0
  233. package/dist-esm/src/operations/storageSyncServices.d.ts +99 -0
  234. package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -0
  235. package/dist-esm/src/operations/storageSyncServices.js +471 -0
  236. package/dist-esm/src/operations/storageSyncServices.js.map +1 -0
  237. package/dist-esm/src/operations/syncGroups.d.ts +55 -0
  238. package/dist-esm/src/operations/syncGroups.d.ts.map +1 -0
  239. package/dist-esm/src/operations/syncGroups.js +208 -0
  240. package/dist-esm/src/operations/syncGroups.js.map +1 -0
  241. package/dist-esm/src/operations/workflows.d.ts +46 -0
  242. package/dist-esm/src/operations/workflows.d.ts.map +1 -0
  243. package/dist-esm/src/operations/workflows.js +165 -0
  244. package/dist-esm/src/operations/workflows.js.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts +173 -0
  246. package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/cloudEndpoints.js +9 -0
  248. package/dist-esm/src/operationsInterfaces/cloudEndpoints.js.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  250. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  251. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  252. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts +14 -0
  254. package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/operationStatusOperations.js +9 -0
  256. package/dist-esm/src/operationsInterfaces/operationStatusOperations.js.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  258. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  260. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +66 -0
  262. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  264. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
  266. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  268. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  269. package/dist-esm/src/operationsInterfaces/registeredServers.d.ts +74 -0
  270. package/dist-esm/src/operationsInterfaces/registeredServers.d.ts.map +1 -0
  271. package/dist-esm/src/operationsInterfaces/registeredServers.js +9 -0
  272. package/dist-esm/src/operationsInterfaces/registeredServers.js.map +1 -0
  273. package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts +100 -0
  274. package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts.map +1 -0
  275. package/dist-esm/src/operationsInterfaces/serverEndpoints.js +9 -0
  276. package/dist-esm/src/operationsInterfaces/serverEndpoints.js.map +1 -0
  277. package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts +76 -0
  278. package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts.map +1 -0
  279. package/dist-esm/src/operationsInterfaces/storageSyncServices.js +9 -0
  280. package/dist-esm/src/operationsInterfaces/storageSyncServices.js.map +1 -0
  281. package/dist-esm/src/operationsInterfaces/syncGroups.d.ts +38 -0
  282. package/dist-esm/src/operationsInterfaces/syncGroups.d.ts.map +1 -0
  283. package/dist-esm/src/operationsInterfaces/syncGroups.js +9 -0
  284. package/dist-esm/src/operationsInterfaces/syncGroups.js.map +1 -0
  285. package/dist-esm/src/operationsInterfaces/workflows.d.ts +29 -0
  286. package/dist-esm/src/operationsInterfaces/workflows.d.ts.map +1 -0
  287. package/dist-esm/src/operationsInterfaces/workflows.js +9 -0
  288. package/dist-esm/src/operationsInterfaces/workflows.js.map +1 -0
  289. package/dist-esm/test/sampleTest.d.ts +2 -0
  290. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  291. package/dist-esm/test/sampleTest.js +40 -0
  292. package/dist-esm/test/sampleTest.js.map +1 -0
  293. package/package.json +79 -34
  294. package/review/arm-storagesync.api.md +1614 -0
  295. package/rollup.config.js +181 -30
  296. package/src/index.ts +12 -0
  297. package/src/lroImpl.ts +34 -0
  298. package/src/microsoftStorageSync.ts +164 -0
  299. package/src/models/index.ts +2483 -0
  300. package/{lib → src}/models/mappers.ts +2459 -1083
  301. package/src/models/parameters.ts +293 -0
  302. package/src/operations/cloudEndpoints.ts +1229 -0
  303. package/{lib → src}/operations/index.ts +6 -5
  304. package/src/operations/operationStatusOperations.ts +80 -0
  305. package/src/operations/operations.ts +139 -0
  306. package/src/operations/privateEndpointConnections.ts +451 -0
  307. package/src/operations/privateLinkResources.ts +70 -0
  308. package/src/operations/registeredServers.ts +587 -0
  309. package/src/operations/serverEndpoints.ts +775 -0
  310. package/src/operations/storageSyncServices.ts +637 -0
  311. package/src/operations/syncGroups.ts +282 -0
  312. package/src/operations/workflows.ts +225 -0
  313. package/src/operationsInterfaces/cloudEndpoints.ts +338 -0
  314. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  315. package/src/operationsInterfaces/operationStatusOperations.ts +31 -0
  316. package/src/operationsInterfaces/operations.ts +22 -0
  317. package/src/operationsInterfaces/privateEndpointConnections.ts +119 -0
  318. package/src/operationsInterfaces/privateLinkResources.ts +28 -0
  319. package/src/operationsInterfaces/registeredServers.ts +154 -0
  320. package/src/operationsInterfaces/serverEndpoints.ts +207 -0
  321. package/src/operationsInterfaces/storageSyncServices.ts +155 -0
  322. package/src/operationsInterfaces/syncGroups.ts +77 -0
  323. package/src/operationsInterfaces/workflows.ts +59 -0
  324. package/tsconfig.json +6 -5
  325. package/types/arm-storagesync.d.ts +3047 -0
  326. package/types/tsdoc-metadata.json +11 -0
  327. package/dist/arm-storagesync.js +0 -4821
  328. package/dist/arm-storagesync.js.map +0 -1
  329. package/dist/arm-storagesync.min.js +0 -1
  330. package/dist/arm-storagesync.min.js.map +0 -1
  331. package/esm/models/cloudEndpointsMappers.d.ts +0 -2
  332. package/esm/models/cloudEndpointsMappers.d.ts.map +0 -1
  333. package/esm/models/cloudEndpointsMappers.js +0 -9
  334. package/esm/models/cloudEndpointsMappers.js.map +0 -1
  335. package/esm/models/index.d.ts +0 -2307
  336. package/esm/models/index.d.ts.map +0 -1
  337. package/esm/models/index.js +0 -8
  338. package/esm/models/index.js.map +0 -1
  339. package/esm/models/mappers.d.ts +0 -82
  340. package/esm/models/mappers.d.ts.map +0 -1
  341. package/esm/models/mappers.js.map +0 -1
  342. package/esm/models/operationsMappers.d.ts +0 -2
  343. package/esm/models/operationsMappers.d.ts.map +0 -1
  344. package/esm/models/operationsMappers.js +0 -9
  345. package/esm/models/operationsMappers.js.map +0 -1
  346. package/esm/models/parameters.d.ts +0 -14
  347. package/esm/models/parameters.d.ts.map +0 -1
  348. package/esm/models/parameters.js +0 -142
  349. package/esm/models/parameters.js.map +0 -1
  350. package/esm/models/registeredServersMappers.d.ts +0 -2
  351. package/esm/models/registeredServersMappers.d.ts.map +0 -1
  352. package/esm/models/registeredServersMappers.js +0 -9
  353. package/esm/models/registeredServersMappers.js.map +0 -1
  354. package/esm/models/serverEndpointsMappers.d.ts +0 -2
  355. package/esm/models/serverEndpointsMappers.d.ts.map +0 -1
  356. package/esm/models/serverEndpointsMappers.js +0 -9
  357. package/esm/models/serverEndpointsMappers.js.map +0 -1
  358. package/esm/models/storageSyncServicesMappers.d.ts +0 -2
  359. package/esm/models/storageSyncServicesMappers.d.ts.map +0 -1
  360. package/esm/models/storageSyncServicesMappers.js +0 -9
  361. package/esm/models/storageSyncServicesMappers.js.map +0 -1
  362. package/esm/models/syncGroupsMappers.d.ts +0 -2
  363. package/esm/models/syncGroupsMappers.d.ts.map +0 -1
  364. package/esm/models/syncGroupsMappers.js +0 -9
  365. package/esm/models/syncGroupsMappers.js.map +0 -1
  366. package/esm/models/workflowsMappers.d.ts +0 -2
  367. package/esm/models/workflowsMappers.d.ts.map +0 -1
  368. package/esm/models/workflowsMappers.js +0 -9
  369. package/esm/models/workflowsMappers.js.map +0 -1
  370. package/esm/operations/cloudEndpoints.d.ts.map +0 -1
  371. package/esm/operations/cloudEndpoints.js +0 -533
  372. package/esm/operations/cloudEndpoints.js.map +0 -1
  373. package/esm/operations/index.d.ts.map +0 -1
  374. package/esm/operations/index.js.map +0 -1
  375. package/esm/operations/operations.d.ts +0 -46
  376. package/esm/operations/operations.d.ts.map +0 -1
  377. package/esm/operations/operations.js +0 -79
  378. package/esm/operations/operations.js.map +0 -1
  379. package/esm/operations/registeredServers.d.ts +0 -117
  380. package/esm/operations/registeredServers.d.ts.map +0 -1
  381. package/esm/operations/registeredServers.js +0 -280
  382. package/esm/operations/registeredServers.js.map +0 -1
  383. package/esm/operations/serverEndpoints.d.ts +0 -149
  384. package/esm/operations/serverEndpoints.d.ts.map +0 -1
  385. package/esm/operations/serverEndpoints.js +0 -361
  386. package/esm/operations/serverEndpoints.js.map +0 -1
  387. package/esm/operations/storageSyncServices.d.ts +0 -154
  388. package/esm/operations/storageSyncServices.d.ts.map +0 -1
  389. package/esm/operations/storageSyncServices.js +0 -261
  390. package/esm/operations/storageSyncServices.js.map +0 -1
  391. package/esm/operations/syncGroups.d.ts +0 -109
  392. package/esm/operations/syncGroups.d.ts.map +0 -1
  393. package/esm/operations/syncGroups.js +0 -169
  394. package/esm/operations/syncGroups.js.map +0 -1
  395. package/esm/operations/workflows.d.ts +0 -82
  396. package/esm/operations/workflows.d.ts.map +0 -1
  397. package/esm/operations/workflows.js +0 -126
  398. package/esm/operations/workflows.js.map +0 -1
  399. package/esm/storageSyncManagementClient.d.ts +0 -24
  400. package/esm/storageSyncManagementClient.d.ts.map +0 -1
  401. package/esm/storageSyncManagementClient.js +0 -39
  402. package/esm/storageSyncManagementClient.js.map +0 -1
  403. package/esm/storageSyncManagementClientContext.d.ts +0 -16
  404. package/esm/storageSyncManagementClientContext.d.ts.map +0 -1
  405. package/esm/storageSyncManagementClientContext.js +0 -56
  406. package/esm/storageSyncManagementClientContext.js.map +0 -1
  407. package/lib/models/cloudEndpointsMappers.ts +0 -47
  408. package/lib/models/index.ts +0 -2485
  409. package/lib/models/operationsMappers.ts +0 -17
  410. package/lib/models/parameters.ts +0 -144
  411. package/lib/models/registeredServersMappers.ts +0 -39
  412. package/lib/models/serverEndpointsMappers.ts +0 -41
  413. package/lib/models/storageSyncServicesMappers.ts +0 -43
  414. package/lib/models/syncGroupsMappers.ts +0 -37
  415. package/lib/models/workflowsMappers.ts +0 -36
  416. package/lib/operations/cloudEndpoints.ts +0 -680
  417. package/lib/operations/operations.ts +0 -125
  418. package/lib/operations/registeredServers.ts +0 -362
  419. package/lib/operations/serverEndpoints.ts +0 -455
  420. package/lib/operations/storageSyncServices.ts +0 -445
  421. package/lib/operations/syncGroups.ts +0 -290
  422. package/lib/operations/workflows.ts +0 -213
  423. package/lib/storageSyncManagementClient.ts +0 -54
  424. package/lib/storageSyncManagementClientContext.ts +0 -62
@@ -0,0 +1,3047 @@
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
+ /** Backup request */
8
+ export declare interface BackupRequest {
9
+ /** Azure File Share. */
10
+ azureFileShare?: string;
11
+ }
12
+
13
+ /**
14
+ * Defines values for ChangeDetectionMode. \
15
+ * {@link KnownChangeDetectionMode} can be used interchangeably with ChangeDetectionMode,
16
+ * this enum contains the known values that the service supports.
17
+ * ### Known values supported by the service
18
+ * **Default** \
19
+ * **Recursive**
20
+ */
21
+ export declare type ChangeDetectionMode = string;
22
+
23
+ /** Parameters for a check name availability request. */
24
+ export declare interface CheckNameAvailabilityParameters {
25
+ /** The name to check for availability */
26
+ name: string;
27
+ /** The resource type. Must be set to Microsoft.StorageSync/storageSyncServices */
28
+ type: "Microsoft.StorageSync/storageSyncServices";
29
+ }
30
+
31
+ /** The CheckNameAvailability operation response. */
32
+ export declare interface CheckNameAvailabilityResult {
33
+ /**
34
+ * Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used.
35
+ * NOTE: This property will not be serialized. It can only be populated by the server.
36
+ */
37
+ readonly nameAvailable?: boolean;
38
+ /**
39
+ * Gets the reason that a Storage Sync Service name could not be used. The Reason element is only returned if NameAvailable is false.
40
+ * NOTE: This property will not be serialized. It can only be populated by the server.
41
+ */
42
+ readonly reason?: NameAvailabilityReason;
43
+ /**
44
+ * Gets an error message explaining the Reason value in more detail.
45
+ * NOTE: This property will not be serialized. It can only be populated by the server.
46
+ */
47
+ readonly message?: string;
48
+ }
49
+
50
+ /** Cloud Endpoint object. */
51
+ export declare type CloudEndpoint = ProxyResource & {
52
+ /** Storage Account Resource Id */
53
+ storageAccountResourceId?: string;
54
+ /** Azure file share name */
55
+ azureFileShareName?: string;
56
+ /** Storage Account Tenant Id */
57
+ storageAccountTenantId?: string;
58
+ /** Partnership Id */
59
+ partnershipId?: string;
60
+ /** Friendly Name */
61
+ friendlyName?: string;
62
+ /**
63
+ * Backup Enabled
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly backupEnabled?: string;
67
+ /** CloudEndpoint Provisioning State */
68
+ provisioningState?: string;
69
+ /** CloudEndpoint lastWorkflowId */
70
+ lastWorkflowId?: string;
71
+ /** Resource Last Operation Name */
72
+ lastOperationName?: string;
73
+ /**
74
+ * Cloud endpoint change enumeration status
75
+ * NOTE: This property will not be serialized. It can only be populated by the server.
76
+ */
77
+ readonly changeEnumerationStatus?: CloudEndpointChangeEnumerationStatus;
78
+ };
79
+
80
+ /** Array of CloudEndpoint */
81
+ export declare interface CloudEndpointArray {
82
+ /** Collection of CloudEndpoint. */
83
+ value?: CloudEndpoint[];
84
+ }
85
+
86
+ /** Cloud endpoint change enumeration activity object */
87
+ export declare interface CloudEndpointChangeEnumerationActivity {
88
+ /**
89
+ * Last updated timestamp
90
+ * NOTE: This property will not be serialized. It can only be populated by the server.
91
+ */
92
+ readonly lastUpdatedTimestamp?: Date;
93
+ /**
94
+ * Change enumeration operation state
95
+ * NOTE: This property will not be serialized. It can only be populated by the server.
96
+ */
97
+ readonly operationState?: CloudEndpointChangeEnumerationActivityState;
98
+ /**
99
+ * When non-zero, indicates an issue that is delaying change enumeration
100
+ * NOTE: This property will not be serialized. It can only be populated by the server.
101
+ */
102
+ readonly statusCode?: number;
103
+ /**
104
+ * Timestamp when change enumeration started
105
+ * NOTE: This property will not be serialized. It can only be populated by the server.
106
+ */
107
+ readonly startedTimestamp?: Date;
108
+ /**
109
+ * Count of files processed
110
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
+ */
112
+ readonly processedFilesCount?: number;
113
+ /**
114
+ * Count of directories processed
115
+ * NOTE: This property will not be serialized. It can only be populated by the server.
116
+ */
117
+ readonly processedDirectoriesCount?: number;
118
+ /**
119
+ * Total count of files enumerated
120
+ * NOTE: This property will not be serialized. It can only be populated by the server.
121
+ */
122
+ readonly totalFilesCount?: number;
123
+ /**
124
+ * Total count of directories enumerated
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
+ */
127
+ readonly totalDirectoriesCount?: number;
128
+ /**
129
+ * Total enumerated size in bytes
130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
131
+ */
132
+ readonly totalSizeBytes?: number;
133
+ /**
134
+ * Progress percentage for change enumeration run, excluding processing of deletes
135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
136
+ */
137
+ readonly progressPercent?: number;
138
+ /**
139
+ * Estimate of time remaining for the enumeration run
140
+ * NOTE: This property will not be serialized. It can only be populated by the server.
141
+ */
142
+ readonly minutesRemaining?: number;
143
+ /**
144
+ * Change enumeration total counts state
145
+ * NOTE: This property will not be serialized. It can only be populated by the server.
146
+ */
147
+ readonly totalCountsState?: CloudEndpointChangeEnumerationTotalCountsState;
148
+ /**
149
+ * Progress percentage for processing deletes. This is done separately from the rest of the enumeration run
150
+ * NOTE: This property will not be serialized. It can only be populated by the server.
151
+ */
152
+ readonly deletesProgressPercent?: number;
153
+ }
154
+
155
+ /**
156
+ * Defines values for CloudEndpointChangeEnumerationActivityState. \
157
+ * {@link KnownCloudEndpointChangeEnumerationActivityState} can be used interchangeably with CloudEndpointChangeEnumerationActivityState,
158
+ * this enum contains the known values that the service supports.
159
+ * ### Known values supported by the service
160
+ * **InitialEnumerationInProgress** \
161
+ * **EnumerationInProgress**
162
+ */
163
+ export declare type CloudEndpointChangeEnumerationActivityState = string;
164
+
165
+ /** Cloud endpoint change enumeration status object */
166
+ export declare interface CloudEndpointChangeEnumerationStatus {
167
+ /**
168
+ * Last updated timestamp
169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
170
+ */
171
+ readonly lastUpdatedTimestamp?: Date;
172
+ /**
173
+ * Status of last completed change enumeration
174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
175
+ */
176
+ readonly lastEnumerationStatus?: CloudEndpointLastChangeEnumerationStatus;
177
+ /**
178
+ * Change enumeration activity
179
+ * NOTE: This property will not be serialized. It can only be populated by the server.
180
+ */
181
+ readonly activity?: CloudEndpointChangeEnumerationActivity;
182
+ }
183
+
184
+ /**
185
+ * Defines values for CloudEndpointChangeEnumerationTotalCountsState. \
186
+ * {@link KnownCloudEndpointChangeEnumerationTotalCountsState} can be used interchangeably with CloudEndpointChangeEnumerationTotalCountsState,
187
+ * this enum contains the known values that the service supports.
188
+ * ### Known values supported by the service
189
+ * **Calculating** \
190
+ * **Final**
191
+ */
192
+ export declare type CloudEndpointChangeEnumerationTotalCountsState = string;
193
+
194
+ /** The parameters used when creating a cloud endpoint. */
195
+ export declare type CloudEndpointCreateParameters = ProxyResource & {
196
+ /** Storage Account Resource Id */
197
+ storageAccountResourceId?: string;
198
+ /** Azure file share name */
199
+ azureFileShareName?: string;
200
+ /** Storage Account Tenant Id */
201
+ storageAccountTenantId?: string;
202
+ /** Friendly Name */
203
+ friendlyName?: string;
204
+ };
205
+
206
+ /** Cloud endpoint change enumeration status object */
207
+ export declare interface CloudEndpointLastChangeEnumerationStatus {
208
+ /**
209
+ * Timestamp when change enumeration started
210
+ * NOTE: This property will not be serialized. It can only be populated by the server.
211
+ */
212
+ readonly startedTimestamp?: Date;
213
+ /**
214
+ * Timestamp when change enumeration completed
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
216
+ */
217
+ readonly completedTimestamp?: Date;
218
+ /**
219
+ * Count of files in the namespace
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly namespaceFilesCount?: number;
223
+ /**
224
+ * Count of directories in the namespace
225
+ * NOTE: This property will not be serialized. It can only be populated by the server.
226
+ */
227
+ readonly namespaceDirectoriesCount?: number;
228
+ /**
229
+ * Namespace size in bytes
230
+ * NOTE: This property will not be serialized. It can only be populated by the server.
231
+ */
232
+ readonly namespaceSizeBytes?: number;
233
+ /**
234
+ * Timestamp of when change enumeration is expected to run again
235
+ * NOTE: This property will not be serialized. It can only be populated by the server.
236
+ */
237
+ readonly nextRunTimestamp?: Date;
238
+ }
239
+
240
+ /** Interface representing a CloudEndpoints. */
241
+ export declare interface CloudEndpoints {
242
+ /**
243
+ * Get a CloudEndpoint List.
244
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
245
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
246
+ * @param syncGroupName Name of Sync Group resource.
247
+ * @param options The options parameters.
248
+ */
249
+ listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: CloudEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<CloudEndpoint>;
250
+ /**
251
+ * Create a new CloudEndpoint.
252
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
253
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
254
+ * @param syncGroupName Name of Sync Group resource.
255
+ * @param cloudEndpointName Name of Cloud Endpoint object.
256
+ * @param parameters Body of Cloud Endpoint resource.
257
+ * @param options The options parameters.
258
+ */
259
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsCreateResponse>, CloudEndpointsCreateResponse>>;
260
+ /**
261
+ * Create a new CloudEndpoint.
262
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
263
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
264
+ * @param syncGroupName Name of Sync Group resource.
265
+ * @param cloudEndpointName Name of Cloud Endpoint object.
266
+ * @param parameters Body of Cloud Endpoint resource.
267
+ * @param options The options parameters.
268
+ */
269
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: CloudEndpointCreateParameters, options?: CloudEndpointsCreateOptionalParams): Promise<CloudEndpointsCreateResponse>;
270
+ /**
271
+ * Get a given CloudEndpoint.
272
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
273
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
274
+ * @param syncGroupName Name of Sync Group resource.
275
+ * @param cloudEndpointName Name of Cloud Endpoint object.
276
+ * @param options The options parameters.
277
+ */
278
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsGetOptionalParams): Promise<CloudEndpointsGetResponse>;
279
+ /**
280
+ * Delete a given CloudEndpoint.
281
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
282
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
283
+ * @param syncGroupName Name of Sync Group resource.
284
+ * @param cloudEndpointName Name of Cloud Endpoint object.
285
+ * @param options The options parameters.
286
+ */
287
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsDeleteResponse>, CloudEndpointsDeleteResponse>>;
288
+ /**
289
+ * Delete a given CloudEndpoint.
290
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
291
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
292
+ * @param syncGroupName Name of Sync Group resource.
293
+ * @param cloudEndpointName Name of Cloud Endpoint object.
294
+ * @param options The options parameters.
295
+ */
296
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsDeleteOptionalParams): Promise<CloudEndpointsDeleteResponse>;
297
+ /**
298
+ * Pre Backup a given CloudEndpoint.
299
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
300
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
301
+ * @param syncGroupName Name of Sync Group resource.
302
+ * @param cloudEndpointName Name of Cloud Endpoint object.
303
+ * @param parameters Body of Backup request.
304
+ * @param options The options parameters.
305
+ */
306
+ beginPreBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPreBackupResponse>, CloudEndpointsPreBackupResponse>>;
307
+ /**
308
+ * Pre Backup a given CloudEndpoint.
309
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
310
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
311
+ * @param syncGroupName Name of Sync Group resource.
312
+ * @param cloudEndpointName Name of Cloud Endpoint object.
313
+ * @param parameters Body of Backup request.
314
+ * @param options The options parameters.
315
+ */
316
+ beginPreBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPreBackupOptionalParams): Promise<CloudEndpointsPreBackupResponse>;
317
+ /**
318
+ * Post Backup a given CloudEndpoint.
319
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
320
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
321
+ * @param syncGroupName Name of Sync Group resource.
322
+ * @param cloudEndpointName Name of Cloud Endpoint object.
323
+ * @param parameters Body of Backup request.
324
+ * @param options The options parameters.
325
+ */
326
+ beginPostBackup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<PollerLike<PollOperationState<CloudEndpointsPostBackupResponse>, CloudEndpointsPostBackupResponse>>;
327
+ /**
328
+ * Post Backup a given CloudEndpoint.
329
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
330
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
331
+ * @param syncGroupName Name of Sync Group resource.
332
+ * @param cloudEndpointName Name of Cloud Endpoint object.
333
+ * @param parameters Body of Backup request.
334
+ * @param options The options parameters.
335
+ */
336
+ beginPostBackupAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: BackupRequest, options?: CloudEndpointsPostBackupOptionalParams): Promise<CloudEndpointsPostBackupResponse>;
337
+ /**
338
+ * Pre Restore a given CloudEndpoint.
339
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
340
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
341
+ * @param syncGroupName Name of Sync Group resource.
342
+ * @param cloudEndpointName Name of Cloud Endpoint object.
343
+ * @param parameters Body of Cloud Endpoint object.
344
+ * @param options The options parameters.
345
+ */
346
+ beginPreRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
347
+ /**
348
+ * Pre Restore a given CloudEndpoint.
349
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
350
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
351
+ * @param syncGroupName Name of Sync Group resource.
352
+ * @param cloudEndpointName Name of Cloud Endpoint object.
353
+ * @param parameters Body of Cloud Endpoint object.
354
+ * @param options The options parameters.
355
+ */
356
+ beginPreRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PreRestoreRequest, options?: CloudEndpointsPreRestoreOptionalParams): Promise<void>;
357
+ /**
358
+ * Restore Heartbeat a given CloudEndpoint.
359
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
360
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
361
+ * @param syncGroupName Name of Sync Group resource.
362
+ * @param cloudEndpointName Name of Cloud Endpoint object.
363
+ * @param options The options parameters.
364
+ */
365
+ restoreheartbeat(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, options?: CloudEndpointsRestoreheartbeatOptionalParams): Promise<CloudEndpointsRestoreheartbeatResponse>;
366
+ /**
367
+ * Post Restore a given CloudEndpoint.
368
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
369
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
370
+ * @param syncGroupName Name of Sync Group resource.
371
+ * @param cloudEndpointName Name of Cloud Endpoint object.
372
+ * @param parameters Body of Cloud Endpoint object.
373
+ * @param options The options parameters.
374
+ */
375
+ beginPostRestore(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
376
+ /**
377
+ * Post Restore a given CloudEndpoint.
378
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
379
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
380
+ * @param syncGroupName Name of Sync Group resource.
381
+ * @param cloudEndpointName Name of Cloud Endpoint object.
382
+ * @param parameters Body of Cloud Endpoint object.
383
+ * @param options The options parameters.
384
+ */
385
+ beginPostRestoreAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: PostRestoreRequest, options?: CloudEndpointsPostRestoreOptionalParams): Promise<void>;
386
+ /**
387
+ * Triggers detection of changes performed on Azure File share connected to the specified Azure File
388
+ * Sync Cloud Endpoint.
389
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
390
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
391
+ * @param syncGroupName Name of Sync Group resource.
392
+ * @param cloudEndpointName Name of Cloud Endpoint object.
393
+ * @param parameters Trigger Change Detection Action parameters.
394
+ * @param options The options parameters.
395
+ */
396
+ beginTriggerChangeDetection(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
397
+ /**
398
+ * Triggers detection of changes performed on Azure File share connected to the specified Azure File
399
+ * Sync Cloud Endpoint.
400
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
401
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
402
+ * @param syncGroupName Name of Sync Group resource.
403
+ * @param cloudEndpointName Name of Cloud Endpoint object.
404
+ * @param parameters Trigger Change Detection Action parameters.
405
+ * @param options The options parameters.
406
+ */
407
+ beginTriggerChangeDetectionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, cloudEndpointName: string, parameters: TriggerChangeDetectionParameters, options?: CloudEndpointsTriggerChangeDetectionOptionalParams): Promise<void>;
408
+ }
409
+
410
+ /** Defines headers for CloudEndpoints_create operation. */
411
+ export declare interface CloudEndpointsCreateHeaders {
412
+ /** request id. */
413
+ xMsRequestId?: string;
414
+ /** correlation request id. */
415
+ xMsCorrelationRequestId?: string;
416
+ }
417
+
418
+ /** Optional parameters. */
419
+ export declare interface CloudEndpointsCreateOptionalParams extends coreClient.OperationOptions {
420
+ /** Delay to wait until next poll, in milliseconds. */
421
+ updateIntervalInMs?: number;
422
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
423
+ resumeFrom?: string;
424
+ }
425
+
426
+ /** Contains response data for the create operation. */
427
+ export declare type CloudEndpointsCreateResponse = CloudEndpointsCreateHeaders & CloudEndpoint;
428
+
429
+ /** Defines headers for CloudEndpoints_delete operation. */
430
+ export declare interface CloudEndpointsDeleteHeaders {
431
+ /** request id. */
432
+ xMsRequestId?: string;
433
+ /** correlation request id. */
434
+ xMsCorrelationRequestId?: string;
435
+ }
436
+
437
+ /** Optional parameters. */
438
+ export declare interface CloudEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
439
+ /** Delay to wait until next poll, in milliseconds. */
440
+ updateIntervalInMs?: number;
441
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
442
+ resumeFrom?: string;
443
+ }
444
+
445
+ /** Contains response data for the delete operation. */
446
+ export declare type CloudEndpointsDeleteResponse = CloudEndpointsDeleteHeaders;
447
+
448
+ /** Defines headers for CloudEndpoints_get operation. */
449
+ export declare interface CloudEndpointsGetHeaders {
450
+ /** request id. */
451
+ xMsRequestId?: string;
452
+ /** correlation request id. */
453
+ xMsCorrelationRequestId?: string;
454
+ }
455
+
456
+ /** Optional parameters. */
457
+ export declare interface CloudEndpointsGetOptionalParams extends coreClient.OperationOptions {
458
+ }
459
+
460
+ /** Contains response data for the get operation. */
461
+ export declare type CloudEndpointsGetResponse = CloudEndpointsGetHeaders & CloudEndpoint;
462
+
463
+ /** Defines headers for CloudEndpoints_listBySyncGroup operation. */
464
+ export declare interface CloudEndpointsListBySyncGroupHeaders {
465
+ /** request id. */
466
+ xMsRequestId?: string;
467
+ /** correlation request id. */
468
+ xMsCorrelationRequestId?: string;
469
+ }
470
+
471
+ /** Optional parameters. */
472
+ export declare interface CloudEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
473
+ }
474
+
475
+ /** Contains response data for the listBySyncGroup operation. */
476
+ export declare type CloudEndpointsListBySyncGroupResponse = CloudEndpointsListBySyncGroupHeaders & CloudEndpointArray;
477
+
478
+ /** Defines headers for CloudEndpoints_postBackup operation. */
479
+ export declare interface CloudEndpointsPostBackupHeaders {
480
+ /** Operation Status Location URI */
481
+ location?: string;
482
+ /** request id. */
483
+ xMsRequestId?: string;
484
+ /** correlation request id. */
485
+ xMsCorrelationRequestId?: string;
486
+ }
487
+
488
+ /** Optional parameters. */
489
+ export declare interface CloudEndpointsPostBackupOptionalParams extends coreClient.OperationOptions {
490
+ /** Delay to wait until next poll, in milliseconds. */
491
+ updateIntervalInMs?: number;
492
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
493
+ resumeFrom?: string;
494
+ }
495
+
496
+ /** Contains response data for the postBackup operation. */
497
+ export declare type CloudEndpointsPostBackupResponse = CloudEndpointsPostBackupHeaders & PostBackupResponse;
498
+
499
+ /** Defines headers for CloudEndpoints_postRestore operation. */
500
+ export declare interface CloudEndpointsPostRestoreHeaders {
501
+ /** Operation Status Location URI */
502
+ location?: string;
503
+ /** request id. */
504
+ xMsRequestId?: string;
505
+ /** correlation request id. */
506
+ xMsCorrelationRequestId?: string;
507
+ }
508
+
509
+ /** Optional parameters. */
510
+ export declare interface CloudEndpointsPostRestoreOptionalParams extends coreClient.OperationOptions {
511
+ /** Delay to wait until next poll, in milliseconds. */
512
+ updateIntervalInMs?: number;
513
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
514
+ resumeFrom?: string;
515
+ }
516
+
517
+ /** Defines headers for CloudEndpoints_preBackup operation. */
518
+ export declare interface CloudEndpointsPreBackupHeaders {
519
+ /** Operation Status Location URI */
520
+ location?: string;
521
+ /** request id. */
522
+ xMsRequestId?: string;
523
+ /** correlation request id. */
524
+ xMsCorrelationRequestId?: string;
525
+ }
526
+
527
+ /** Optional parameters. */
528
+ export declare interface CloudEndpointsPreBackupOptionalParams extends coreClient.OperationOptions {
529
+ /** Delay to wait until next poll, in milliseconds. */
530
+ updateIntervalInMs?: number;
531
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
532
+ resumeFrom?: string;
533
+ }
534
+
535
+ /** Contains response data for the preBackup operation. */
536
+ export declare type CloudEndpointsPreBackupResponse = CloudEndpointsPreBackupHeaders;
537
+
538
+ /** Defines headers for CloudEndpoints_preRestore operation. */
539
+ export declare interface CloudEndpointsPreRestoreHeaders {
540
+ /** Operation Status Location URI */
541
+ location?: string;
542
+ /** request id. */
543
+ xMsRequestId?: string;
544
+ /** correlation request id. */
545
+ xMsCorrelationRequestId?: string;
546
+ }
547
+
548
+ /** Optional parameters. */
549
+ export declare interface CloudEndpointsPreRestoreOptionalParams extends coreClient.OperationOptions {
550
+ /** Delay to wait until next poll, in milliseconds. */
551
+ updateIntervalInMs?: number;
552
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
553
+ resumeFrom?: string;
554
+ }
555
+
556
+ /** Defines headers for CloudEndpoints_restoreheartbeat operation. */
557
+ export declare interface CloudEndpointsRestoreheartbeatHeaders {
558
+ /** request id. */
559
+ xMsRequestId?: string;
560
+ /** correlation request id. */
561
+ xMsCorrelationRequestId?: string;
562
+ }
563
+
564
+ /** Optional parameters. */
565
+ export declare interface CloudEndpointsRestoreheartbeatOptionalParams extends coreClient.OperationOptions {
566
+ }
567
+
568
+ /** Contains response data for the restoreheartbeat operation. */
569
+ export declare type CloudEndpointsRestoreheartbeatResponse = CloudEndpointsRestoreheartbeatHeaders;
570
+
571
+ /** Defines headers for CloudEndpoints_triggerChangeDetection operation. */
572
+ export declare interface CloudEndpointsTriggerChangeDetectionHeaders {
573
+ /** Operation Status Location URI */
574
+ location?: string;
575
+ /** request id. */
576
+ xMsRequestId?: string;
577
+ /** correlation request id. */
578
+ xMsCorrelationRequestId?: string;
579
+ }
580
+
581
+ /** Optional parameters. */
582
+ export declare interface CloudEndpointsTriggerChangeDetectionOptionalParams extends coreClient.OperationOptions {
583
+ /** Delay to wait until next poll, in milliseconds. */
584
+ updateIntervalInMs?: number;
585
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
586
+ resumeFrom?: string;
587
+ }
588
+
589
+ /** Server endpoint cloud tiering status object. */
590
+ export declare interface CloudTieringCachePerformance {
591
+ /**
592
+ * Last updated timestamp
593
+ * NOTE: This property will not be serialized. It can only be populated by the server.
594
+ */
595
+ readonly lastUpdatedTimestamp?: Date;
596
+ /**
597
+ * Count of bytes that were served from the local server
598
+ * NOTE: This property will not be serialized. It can only be populated by the server.
599
+ */
600
+ readonly cacheHitBytes?: number;
601
+ /**
602
+ * Count of bytes that were served from the cloud
603
+ * NOTE: This property will not be serialized. It can only be populated by the server.
604
+ */
605
+ readonly cacheMissBytes?: number;
606
+ /**
607
+ * Percentage of total bytes (hit + miss) that were served from the local server
608
+ * NOTE: This property will not be serialized. It can only be populated by the server.
609
+ */
610
+ readonly cacheHitBytesPercent?: number;
611
+ }
612
+
613
+ /** Status of the date policy */
614
+ export declare interface CloudTieringDatePolicyStatus {
615
+ /**
616
+ * Last updated timestamp
617
+ * NOTE: This property will not be serialized. It can only be populated by the server.
618
+ */
619
+ readonly lastUpdatedTimestamp?: Date;
620
+ /**
621
+ * Most recent access time of tiered files
622
+ * NOTE: This property will not be serialized. It can only be populated by the server.
623
+ */
624
+ readonly tieredFilesMostRecentAccessTimestamp?: Date;
625
+ }
626
+
627
+ /** Server endpoint cloud tiering status object. */
628
+ export declare interface CloudTieringFilesNotTiering {
629
+ /**
630
+ * Last updated timestamp
631
+ * NOTE: This property will not be serialized. It can only be populated by the server.
632
+ */
633
+ readonly lastUpdatedTimestamp?: Date;
634
+ /**
635
+ * Last cloud tiering result (HResult)
636
+ * NOTE: This property will not be serialized. It can only be populated by the server.
637
+ */
638
+ readonly totalFileCount?: number;
639
+ /**
640
+ * Array of tiering errors
641
+ * NOTE: This property will not be serialized. It can only be populated by the server.
642
+ */
643
+ readonly errors?: FilesNotTieringError[];
644
+ }
645
+
646
+ /** Server endpoint cloud tiering status object. */
647
+ export declare interface CloudTieringSpaceSavings {
648
+ /**
649
+ * Last updated timestamp
650
+ * NOTE: This property will not be serialized. It can only be populated by the server.
651
+ */
652
+ readonly lastUpdatedTimestamp?: Date;
653
+ /**
654
+ * Volume size
655
+ * NOTE: This property will not be serialized. It can only be populated by the server.
656
+ */
657
+ readonly volumeSizeBytes?: number;
658
+ /**
659
+ * Total size of content in the azure file share
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly totalSizeCloudBytes?: number;
663
+ /**
664
+ * Cached content size on the server
665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
+ */
667
+ readonly cachedSizeBytes?: number;
668
+ /**
669
+ * Percentage of cached size over total size
670
+ * NOTE: This property will not be serialized. It can only be populated by the server.
671
+ */
672
+ readonly spaceSavingsPercent?: number;
673
+ /**
674
+ * Count of bytes saved on the server
675
+ * NOTE: This property will not be serialized. It can only be populated by the server.
676
+ */
677
+ readonly spaceSavingsBytes?: number;
678
+ }
679
+
680
+ /** Status of the volume free space policy */
681
+ export declare interface CloudTieringVolumeFreeSpacePolicyStatus {
682
+ /**
683
+ * Last updated timestamp
684
+ * NOTE: This property will not be serialized. It can only be populated by the server.
685
+ */
686
+ readonly lastUpdatedTimestamp?: Date;
687
+ /**
688
+ * In the case where multiple server endpoints are present in a volume, an effective free space policy is applied.
689
+ * NOTE: This property will not be serialized. It can only be populated by the server.
690
+ */
691
+ readonly effectiveVolumeFreeSpacePolicy?: number;
692
+ /**
693
+ * Current volume free space percentage.
694
+ * NOTE: This property will not be serialized. It can only be populated by the server.
695
+ */
696
+ readonly currentVolumeFreeSpacePercent?: number;
697
+ }
698
+
699
+ /**
700
+ * Defines values for FeatureStatus. \
701
+ * {@link KnownFeatureStatus} can be used interchangeably with FeatureStatus,
702
+ * this enum contains the known values that the service supports.
703
+ * ### Known values supported by the service
704
+ * **on** \
705
+ * **off**
706
+ */
707
+ export declare type FeatureStatus = string;
708
+
709
+ /** Files not tiering error object */
710
+ export declare interface FilesNotTieringError {
711
+ /**
712
+ * Error code (HResult)
713
+ * NOTE: This property will not be serialized. It can only be populated by the server.
714
+ */
715
+ readonly errorCode?: number;
716
+ /**
717
+ * Count of files with this error
718
+ * NOTE: This property will not be serialized. It can only be populated by the server.
719
+ */
720
+ readonly fileCount?: number;
721
+ }
722
+
723
+ /**
724
+ * Defines values for IncomingTrafficPolicy. \
725
+ * {@link KnownIncomingTrafficPolicy} can be used interchangeably with IncomingTrafficPolicy,
726
+ * this enum contains the known values that the service supports.
727
+ * ### Known values supported by the service
728
+ * **AllowAllTraffic** \
729
+ * **AllowVirtualNetworksOnly**
730
+ */
731
+ export declare type IncomingTrafficPolicy = string;
732
+
733
+ /**
734
+ * Defines values for InitialDownloadPolicy. \
735
+ * {@link KnownInitialDownloadPolicy} can be used interchangeably with InitialDownloadPolicy,
736
+ * this enum contains the known values that the service supports.
737
+ * ### Known values supported by the service
738
+ * **NamespaceOnly** \
739
+ * **NamespaceThenModifiedFiles** \
740
+ * **AvoidTieredFiles**
741
+ */
742
+ export declare type InitialDownloadPolicy = string;
743
+
744
+ /**
745
+ * Defines values for InitialUploadPolicy. \
746
+ * {@link KnownInitialUploadPolicy} can be used interchangeably with InitialUploadPolicy,
747
+ * this enum contains the known values that the service supports.
748
+ * ### Known values supported by the service
749
+ * **ServerAuthoritative** \
750
+ * **Merge**
751
+ */
752
+ export declare type InitialUploadPolicy = string;
753
+
754
+ /** Known values of {@link ChangeDetectionMode} that the service accepts. */
755
+ export declare enum KnownChangeDetectionMode {
756
+ Default = "Default",
757
+ Recursive = "Recursive"
758
+ }
759
+
760
+ /** Known values of {@link CloudEndpointChangeEnumerationActivityState} that the service accepts. */
761
+ export declare enum KnownCloudEndpointChangeEnumerationActivityState {
762
+ InitialEnumerationInProgress = "InitialEnumerationInProgress",
763
+ EnumerationInProgress = "EnumerationInProgress"
764
+ }
765
+
766
+ /** Known values of {@link CloudEndpointChangeEnumerationTotalCountsState} that the service accepts. */
767
+ export declare enum KnownCloudEndpointChangeEnumerationTotalCountsState {
768
+ Calculating = "Calculating",
769
+ Final = "Final"
770
+ }
771
+
772
+ /** Known values of {@link FeatureStatus} that the service accepts. */
773
+ export declare enum KnownFeatureStatus {
774
+ On = "on",
775
+ Off = "off"
776
+ }
777
+
778
+ /** Known values of {@link IncomingTrafficPolicy} that the service accepts. */
779
+ export declare enum KnownIncomingTrafficPolicy {
780
+ AllowAllTraffic = "AllowAllTraffic",
781
+ AllowVirtualNetworksOnly = "AllowVirtualNetworksOnly"
782
+ }
783
+
784
+ /** Known values of {@link InitialDownloadPolicy} that the service accepts. */
785
+ export declare enum KnownInitialDownloadPolicy {
786
+ NamespaceOnly = "NamespaceOnly",
787
+ NamespaceThenModifiedFiles = "NamespaceThenModifiedFiles",
788
+ AvoidTieredFiles = "AvoidTieredFiles"
789
+ }
790
+
791
+ /** Known values of {@link InitialUploadPolicy} that the service accepts. */
792
+ export declare enum KnownInitialUploadPolicy {
793
+ ServerAuthoritative = "ServerAuthoritative",
794
+ Merge = "Merge"
795
+ }
796
+
797
+ /** Known values of {@link LocalCacheMode} that the service accepts. */
798
+ export declare enum KnownLocalCacheMode {
799
+ DownloadNewAndModifiedFiles = "DownloadNewAndModifiedFiles",
800
+ UpdateLocallyCachedFiles = "UpdateLocallyCachedFiles"
801
+ }
802
+
803
+ /** Known values of {@link OperationDirection} that the service accepts. */
804
+ export declare enum KnownOperationDirection {
805
+ Do = "do",
806
+ Undo = "undo",
807
+ Cancel = "cancel"
808
+ }
809
+
810
+ /** Known values of {@link PrivateEndpointConnectionProvisioningState} that the service accepts. */
811
+ export declare enum KnownPrivateEndpointConnectionProvisioningState {
812
+ Succeeded = "Succeeded",
813
+ Creating = "Creating",
814
+ Deleting = "Deleting",
815
+ Failed = "Failed"
816
+ }
817
+
818
+ /** Known values of {@link PrivateEndpointServiceConnectionStatus} that the service accepts. */
819
+ export declare enum KnownPrivateEndpointServiceConnectionStatus {
820
+ Pending = "Pending",
821
+ Approved = "Approved",
822
+ Rejected = "Rejected"
823
+ }
824
+
825
+ /** Known values of {@link ProgressType} that the service accepts. */
826
+ export declare enum KnownProgressType {
827
+ None = "none",
828
+ Initialize = "initialize",
829
+ Download = "download",
830
+ Upload = "upload",
831
+ Recall = "recall"
832
+ }
833
+
834
+ /** Known values of {@link Reason} that the service accepts. */
835
+ export declare enum KnownReason {
836
+ Registered = "Registered",
837
+ Unregistered = "Unregistered",
838
+ Warned = "Warned",
839
+ Suspended = "Suspended",
840
+ Deleted = "Deleted"
841
+ }
842
+
843
+ /** Known values of {@link RegisteredServerAgentVersionStatus} that the service accepts. */
844
+ export declare enum KnownRegisteredServerAgentVersionStatus {
845
+ Ok = "Ok",
846
+ NearExpiry = "NearExpiry",
847
+ Expired = "Expired",
848
+ Blocked = "Blocked"
849
+ }
850
+
851
+ /** Known values of {@link ServerEndpointHealthState} that the service accepts. */
852
+ export declare enum KnownServerEndpointHealthState {
853
+ Unavailable = "Unavailable",
854
+ Healthy = "Healthy",
855
+ Error = "Error"
856
+ }
857
+
858
+ /** Known values of {@link ServerEndpointOfflineDataTransferState} that the service accepts. */
859
+ export declare enum KnownServerEndpointOfflineDataTransferState {
860
+ InProgress = "InProgress",
861
+ Stopping = "Stopping",
862
+ NotRunning = "NotRunning",
863
+ Complete = "Complete"
864
+ }
865
+
866
+ /** Known values of {@link ServerEndpointSyncActivityState} that the service accepts. */
867
+ export declare enum KnownServerEndpointSyncActivityState {
868
+ Upload = "Upload",
869
+ Download = "Download",
870
+ UploadAndDownload = "UploadAndDownload"
871
+ }
872
+
873
+ /** Known values of {@link ServerEndpointSyncMode} that the service accepts. */
874
+ export declare enum KnownServerEndpointSyncMode {
875
+ Regular = "Regular",
876
+ NamespaceDownload = "NamespaceDownload",
877
+ InitialUpload = "InitialUpload",
878
+ SnapshotUpload = "SnapshotUpload",
879
+ InitialFullDownload = "InitialFullDownload"
880
+ }
881
+
882
+ /** Known values of {@link WorkflowStatus} that the service accepts. */
883
+ export declare enum KnownWorkflowStatus {
884
+ Active = "active",
885
+ Expired = "expired",
886
+ Succeeded = "succeeded",
887
+ Aborted = "aborted",
888
+ Failed = "failed"
889
+ }
890
+
891
+ /**
892
+ * Defines values for LocalCacheMode. \
893
+ * {@link KnownLocalCacheMode} can be used interchangeably with LocalCacheMode,
894
+ * this enum contains the known values that the service supports.
895
+ * ### Known values supported by the service
896
+ * **DownloadNewAndModifiedFiles** \
897
+ * **UpdateLocallyCachedFiles**
898
+ */
899
+ export declare type LocalCacheMode = string;
900
+
901
+ /** Operation status object */
902
+ export declare interface LocationOperationStatus {
903
+ /**
904
+ * Operation resource Id
905
+ * NOTE: This property will not be serialized. It can only be populated by the server.
906
+ */
907
+ readonly id?: string;
908
+ /**
909
+ * Operation Id
910
+ * NOTE: This property will not be serialized. It can only be populated by the server.
911
+ */
912
+ readonly name?: string;
913
+ /**
914
+ * Operation status
915
+ * NOTE: This property will not be serialized. It can only be populated by the server.
916
+ */
917
+ readonly status?: string;
918
+ /**
919
+ * Start time of the operation
920
+ * NOTE: This property will not be serialized. It can only be populated by the server.
921
+ */
922
+ readonly startTime?: Date;
923
+ /**
924
+ * End time of the operation
925
+ * NOTE: This property will not be serialized. It can only be populated by the server.
926
+ */
927
+ readonly endTime?: Date;
928
+ /**
929
+ * Error details.
930
+ * NOTE: This property will not be serialized. It can only be populated by the server.
931
+ */
932
+ readonly error?: StorageSyncApiError;
933
+ /**
934
+ * Percent complete.
935
+ * NOTE: This property will not be serialized. It can only be populated by the server.
936
+ */
937
+ readonly percentComplete?: number;
938
+ }
939
+
940
+ /** Optional parameters. */
941
+ export declare interface LocationOperationStatusOptionalParams extends coreClient.OperationOptions {
942
+ }
943
+
944
+ /** Contains response data for the locationOperationStatus operation. */
945
+ export declare type LocationOperationStatusResponse = MicrosoftStorageSyncLocationOperationStatusHeaders & LocationOperationStatus;
946
+
947
+ export declare class MicrosoftStorageSync extends coreClient.ServiceClient {
948
+ $host: string;
949
+ apiVersion: string;
950
+ subscriptionId: string;
951
+ /**
952
+ * Initializes a new instance of the MicrosoftStorageSync class.
953
+ * @param credentials Subscription credentials which uniquely identify client subscription.
954
+ * @param subscriptionId The ID of the target subscription.
955
+ * @param options The parameter options
956
+ */
957
+ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MicrosoftStorageSyncOptionalParams);
958
+ /**
959
+ * Get Operation status
960
+ * @param locationName The desired region to obtain information from.
961
+ * @param operationId operation Id
962
+ * @param options The options parameters.
963
+ */
964
+ locationOperationStatus(locationName: string, operationId: string, options?: LocationOperationStatusOptionalParams): Promise<LocationOperationStatusResponse>;
965
+ operations: Operations;
966
+ storageSyncServices: StorageSyncServices;
967
+ privateLinkResources: PrivateLinkResources;
968
+ privateEndpointConnections: PrivateEndpointConnections;
969
+ syncGroups: SyncGroups;
970
+ cloudEndpoints: CloudEndpoints;
971
+ serverEndpoints: ServerEndpoints;
972
+ registeredServers: RegisteredServers;
973
+ workflows: Workflows;
974
+ operationStatusOperations: OperationStatusOperations;
975
+ }
976
+
977
+ /** Defines headers for MicrosoftStorageSync_locationOperationStatus operation. */
978
+ export declare interface MicrosoftStorageSyncLocationOperationStatusHeaders {
979
+ /** request id. */
980
+ xMsRequestId?: string;
981
+ /** correlation request id. */
982
+ xMsCorrelationRequestId?: string;
983
+ }
984
+
985
+ /** Optional parameters. */
986
+ export declare interface MicrosoftStorageSyncOptionalParams extends coreClient.ServiceClientOptions {
987
+ /** server parameter */
988
+ $host?: string;
989
+ /** Api Version */
990
+ apiVersion?: string;
991
+ /** Overrides client endpoint. */
992
+ endpoint?: string;
993
+ }
994
+
995
+ /** Defines values for NameAvailabilityReason. */
996
+ export declare type NameAvailabilityReason = "Invalid" | "AlreadyExists";
997
+
998
+ /**
999
+ * Defines values for OperationDirection. \
1000
+ * {@link KnownOperationDirection} can be used interchangeably with OperationDirection,
1001
+ * this enum contains the known values that the service supports.
1002
+ * ### Known values supported by the service
1003
+ * **do** \
1004
+ * **undo** \
1005
+ * **cancel**
1006
+ */
1007
+ export declare type OperationDirection = string;
1008
+
1009
+ /** The operation supported by storage sync. */
1010
+ export declare interface OperationDisplayInfo {
1011
+ /** The description of the operation. */
1012
+ description?: string;
1013
+ /** The action that users can perform, based on their permission level. */
1014
+ operation?: string;
1015
+ /** Service provider: Microsoft StorageSync. */
1016
+ provider?: string;
1017
+ /** Resource on which the operation is performed. */
1018
+ resource?: string;
1019
+ }
1020
+
1021
+ /** Operation Display Resource object. */
1022
+ export declare interface OperationDisplayResource {
1023
+ /** Operation Display Resource Provider. */
1024
+ provider?: string;
1025
+ /** Operation Display Resource. */
1026
+ resource?: string;
1027
+ /** Operation Display Resource Operation. */
1028
+ operation?: string;
1029
+ /** Operation Display Resource Description. */
1030
+ description?: string;
1031
+ }
1032
+
1033
+ /** The operation supported by storage sync. */
1034
+ export declare interface OperationEntity {
1035
+ /** Operation name: {provider}/{resource}/{operation}. */
1036
+ name?: string;
1037
+ /** The operation supported by storage sync. */
1038
+ display?: OperationDisplayInfo;
1039
+ /** The origin. */
1040
+ origin?: string;
1041
+ /** Properties of the operations resource. */
1042
+ properties?: OperationProperties;
1043
+ }
1044
+
1045
+ /** The list of storage sync operations. */
1046
+ export declare interface OperationEntityListResult {
1047
+ /** The link used to get the next page of operations. */
1048
+ nextLink?: string;
1049
+ /** The list of operations. */
1050
+ value?: OperationEntity[];
1051
+ }
1052
+
1053
+ /** Properties of the operations resource. */
1054
+ export declare interface OperationProperties {
1055
+ /** Service specification for the operations resource. */
1056
+ serviceSpecification?: OperationResourceServiceSpecification;
1057
+ }
1058
+
1059
+ /** Operation Display Resource object. */
1060
+ export declare interface OperationResourceMetricSpecification {
1061
+ /** Name of the metric. */
1062
+ name?: string;
1063
+ /** Display name for the metric. */
1064
+ displayName?: string;
1065
+ /** Display description for the metric. */
1066
+ displayDescription?: string;
1067
+ /** Unit for the metric. */
1068
+ unit?: string;
1069
+ /** Aggregation type for the metric. */
1070
+ aggregationType?: string;
1071
+ /** Fill gaps in the metric with zero. */
1072
+ fillGapWithZero?: boolean;
1073
+ /** Dimensions for the metric specification. */
1074
+ dimensions?: OperationResourceMetricSpecificationDimension[];
1075
+ }
1076
+
1077
+ /** OperationResourceMetricSpecificationDimension object. */
1078
+ export declare interface OperationResourceMetricSpecificationDimension {
1079
+ /** Name of the dimension. */
1080
+ name?: string;
1081
+ /** Display name of the dimensions. */
1082
+ displayName?: string;
1083
+ /** Indicates metric should be exported for Shoebox. */
1084
+ toBeExportedForShoebox?: boolean;
1085
+ }
1086
+
1087
+ /** Service specification. */
1088
+ export declare interface OperationResourceServiceSpecification {
1089
+ /** List of metric specifications. */
1090
+ metricSpecifications?: OperationResourceMetricSpecification[];
1091
+ }
1092
+
1093
+ /** Interface representing a Operations. */
1094
+ export declare interface Operations {
1095
+ /**
1096
+ * Lists all of the available Storage Sync Rest API operations.
1097
+ * @param options The options parameters.
1098
+ */
1099
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationEntity>;
1100
+ }
1101
+
1102
+ /** Defines headers for Operations_list operation. */
1103
+ export declare interface OperationsListHeaders {
1104
+ /** request id. */
1105
+ xMsRequestId?: string;
1106
+ /** correlation request id. */
1107
+ xMsCorrelationRequestId?: string;
1108
+ }
1109
+
1110
+ /** Defines headers for Operations_listNext operation. */
1111
+ export declare interface OperationsListNextHeaders {
1112
+ /** request id. */
1113
+ xMsRequestId?: string;
1114
+ /** correlation request id. */
1115
+ xMsCorrelationRequestId?: string;
1116
+ }
1117
+
1118
+ /** Optional parameters. */
1119
+ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1120
+ }
1121
+
1122
+ /** Contains response data for the listNext operation. */
1123
+ export declare type OperationsListNextResponse = OperationsListNextHeaders & OperationEntityListResult;
1124
+
1125
+ /** Optional parameters. */
1126
+ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1127
+ }
1128
+
1129
+ /** Contains response data for the list operation. */
1130
+ export declare type OperationsListResponse = OperationsListHeaders & OperationEntityListResult;
1131
+
1132
+ /** Operation status object */
1133
+ export declare interface OperationStatus {
1134
+ /**
1135
+ * Operation Id
1136
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1137
+ */
1138
+ readonly name?: string;
1139
+ /**
1140
+ * Operation status
1141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1142
+ */
1143
+ readonly status?: string;
1144
+ /**
1145
+ * Start time of the operation
1146
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1147
+ */
1148
+ readonly startTime?: Date;
1149
+ /**
1150
+ * End time of the operation
1151
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1152
+ */
1153
+ readonly endTime?: Date;
1154
+ /**
1155
+ * Error details.
1156
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1157
+ */
1158
+ readonly error?: StorageSyncApiError;
1159
+ }
1160
+
1161
+ /** Defines headers for OperationStatus_get operation. */
1162
+ export declare interface OperationStatusGetHeaders {
1163
+ /** request id. */
1164
+ xMsRequestId?: string;
1165
+ /** correlation request id. */
1166
+ xMsCorrelationRequestId?: string;
1167
+ }
1168
+
1169
+ /** Optional parameters. */
1170
+ export declare interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {
1171
+ }
1172
+
1173
+ /** Contains response data for the get operation. */
1174
+ export declare type OperationStatusGetResponse = OperationStatusGetHeaders & OperationStatus;
1175
+
1176
+ /** Interface representing a OperationStatusOperations. */
1177
+ export declare interface OperationStatusOperations {
1178
+ /**
1179
+ * Get Operation status
1180
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1181
+ * @param locationName The desired region to obtain information from.
1182
+ * @param workflowId workflow Id
1183
+ * @param operationId operation Id
1184
+ * @param options The options parameters.
1185
+ */
1186
+ get(resourceGroupName: string, locationName: string, workflowId: string, operationId: string, options?: OperationStatusGetOptionalParams): Promise<OperationStatusGetResponse>;
1187
+ }
1188
+
1189
+ /** Post Backup Response */
1190
+ export declare interface PostBackupResponse {
1191
+ /**
1192
+ * cloud endpoint Name.
1193
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1194
+ */
1195
+ readonly cloudEndpointName?: string;
1196
+ }
1197
+
1198
+ /** Post Restore Request */
1199
+ export declare interface PostRestoreRequest {
1200
+ /** Post Restore partition. */
1201
+ partition?: string;
1202
+ /** Post Restore replica group. */
1203
+ replicaGroup?: string;
1204
+ /** Post Restore request id. */
1205
+ requestId?: string;
1206
+ /** Post Restore Azure file share uri. */
1207
+ azureFileShareUri?: string;
1208
+ /** Post Restore Azure status. */
1209
+ status?: string;
1210
+ /** Post Restore Azure source azure file share uri. */
1211
+ sourceAzureFileShareUri?: string;
1212
+ /** Post Restore Azure failed file list. */
1213
+ failedFileList?: string;
1214
+ /** Post Restore restore file spec array. */
1215
+ restoreFileSpec?: RestoreFileSpec[];
1216
+ }
1217
+
1218
+ /** Pre Restore request object. */
1219
+ export declare interface PreRestoreRequest {
1220
+ /** Pre Restore partition. */
1221
+ partition?: string;
1222
+ /** Pre Restore replica group. */
1223
+ replicaGroup?: string;
1224
+ /** Pre Restore request id. */
1225
+ requestId?: string;
1226
+ /** Pre Restore Azure file share uri. */
1227
+ azureFileShareUri?: string;
1228
+ /** Pre Restore Azure status. */
1229
+ status?: string;
1230
+ /** Pre Restore Azure source azure file share uri. */
1231
+ sourceAzureFileShareUri?: string;
1232
+ /** Pre Restore backup metadata property bag. */
1233
+ backupMetadataPropertyBag?: string;
1234
+ /** Pre Restore restore file spec array. */
1235
+ restoreFileSpec?: RestoreFileSpec[];
1236
+ /** Pre Restore pause wait for sync drain time period in seconds. */
1237
+ pauseWaitForSyncDrainTimePeriodInSeconds?: number;
1238
+ }
1239
+
1240
+ /** The Private Endpoint resource. */
1241
+ export declare interface PrivateEndpoint {
1242
+ /**
1243
+ * The ARM identifier for Private Endpoint
1244
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1245
+ */
1246
+ readonly id?: string;
1247
+ }
1248
+
1249
+ /** The Private Endpoint Connection resource. */
1250
+ export declare type PrivateEndpointConnection = Resource & {
1251
+ /** The resource of private end point. */
1252
+ privateEndpoint?: PrivateEndpoint;
1253
+ /** A collection of information about the state of the connection between service consumer and provider. */
1254
+ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
1255
+ /**
1256
+ * The provisioning state of the private endpoint connection resource.
1257
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1258
+ */
1259
+ readonly provisioningState?: PrivateEndpointConnectionProvisioningState;
1260
+ };
1261
+
1262
+ /** List of private endpoint connection associated with the specified storage account */
1263
+ export declare interface PrivateEndpointConnectionListResult {
1264
+ /** Array of private endpoint connections */
1265
+ value?: PrivateEndpointConnection[];
1266
+ }
1267
+
1268
+ /**
1269
+ * Defines values for PrivateEndpointConnectionProvisioningState. \
1270
+ * {@link KnownPrivateEndpointConnectionProvisioningState} can be used interchangeably with PrivateEndpointConnectionProvisioningState,
1271
+ * this enum contains the known values that the service supports.
1272
+ * ### Known values supported by the service
1273
+ * **Succeeded** \
1274
+ * **Creating** \
1275
+ * **Deleting** \
1276
+ * **Failed**
1277
+ */
1278
+ export declare type PrivateEndpointConnectionProvisioningState = string;
1279
+
1280
+ /** Interface representing a PrivateEndpointConnections. */
1281
+ export declare interface PrivateEndpointConnections {
1282
+ /**
1283
+ * Get a PrivateEndpointConnection List.
1284
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1285
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1286
+ * @param options The options parameters.
1287
+ */
1288
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<PrivateEndpointConnection>;
1289
+ /**
1290
+ * Gets the specified private endpoint connection associated with the storage sync service.
1291
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1292
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1293
+ * resource group.
1294
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1295
+ * Azure resource
1296
+ * @param options The options parameters.
1297
+ */
1298
+ get(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsGetOptionalParams): Promise<PrivateEndpointConnectionsGetResponse>;
1299
+ /**
1300
+ * Update the state of specified private endpoint connection associated with the storage sync service.
1301
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1302
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1303
+ * resource group.
1304
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1305
+ * Azure resource
1306
+ * @param properties The private endpoint connection properties.
1307
+ * @param options The options parameters.
1308
+ */
1309
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PollerLike<PollOperationState<PrivateEndpointConnectionsCreateResponse>, PrivateEndpointConnectionsCreateResponse>>;
1310
+ /**
1311
+ * Update the state of specified private endpoint connection associated with the storage sync service.
1312
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1313
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1314
+ * resource group.
1315
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1316
+ * Azure resource
1317
+ * @param properties The private endpoint connection properties.
1318
+ * @param options The options parameters.
1319
+ */
1320
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, properties: PrivateEndpointConnection, options?: PrivateEndpointConnectionsCreateOptionalParams): Promise<PrivateEndpointConnectionsCreateResponse>;
1321
+ /**
1322
+ * Deletes the specified private endpoint connection associated with the storage sync service.
1323
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1324
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1325
+ * resource group.
1326
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1327
+ * Azure resource
1328
+ * @param options The options parameters.
1329
+ */
1330
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
1331
+ /**
1332
+ * Deletes the specified private endpoint connection associated with the storage sync service.
1333
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1334
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1335
+ * resource group.
1336
+ * @param privateEndpointConnectionName The name of the private endpoint connection associated with the
1337
+ * Azure resource
1338
+ * @param options The options parameters.
1339
+ */
1340
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, privateEndpointConnectionName: string, options?: PrivateEndpointConnectionsDeleteOptionalParams): Promise<void>;
1341
+ }
1342
+
1343
+ /** Defines headers for PrivateEndpointConnections_create operation. */
1344
+ export declare interface PrivateEndpointConnectionsCreateHeaders {
1345
+ /** Operation Status Location URI */
1346
+ azureAsyncOperation?: string;
1347
+ /** Operation Status Location URI */
1348
+ location?: string;
1349
+ /** Retry After */
1350
+ retryAfter?: string;
1351
+ /** Request id */
1352
+ xMsRequestId?: string;
1353
+ /** correlation request id */
1354
+ xMsCorrelationRequestId?: string;
1355
+ }
1356
+
1357
+ /** Optional parameters. */
1358
+ export declare interface PrivateEndpointConnectionsCreateOptionalParams extends coreClient.OperationOptions {
1359
+ /** Delay to wait until next poll, in milliseconds. */
1360
+ updateIntervalInMs?: number;
1361
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1362
+ resumeFrom?: string;
1363
+ }
1364
+
1365
+ /** Contains response data for the create operation. */
1366
+ export declare type PrivateEndpointConnectionsCreateResponse = PrivateEndpointConnection;
1367
+
1368
+ /** Defines headers for PrivateEndpointConnections_delete operation. */
1369
+ export declare interface PrivateEndpointConnectionsDeleteHeaders {
1370
+ /** Operation Status Location URI */
1371
+ azureAsyncOperation?: string;
1372
+ /** Operation Status Location URI */
1373
+ location?: string;
1374
+ /** Retry After */
1375
+ retryAfter?: string;
1376
+ /** Request id */
1377
+ xMsRequestId?: string;
1378
+ /** correlation request id */
1379
+ xMsCorrelationRequestId?: string;
1380
+ }
1381
+
1382
+ /** Optional parameters. */
1383
+ export declare interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions {
1384
+ /** Delay to wait until next poll, in milliseconds. */
1385
+ updateIntervalInMs?: number;
1386
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1387
+ resumeFrom?: string;
1388
+ }
1389
+
1390
+ /** Optional parameters. */
1391
+ export declare interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions {
1392
+ }
1393
+
1394
+ /** Contains response data for the get operation. */
1395
+ export declare type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection;
1396
+
1397
+ /** Defines headers for PrivateEndpointConnections_listByStorageSyncService operation. */
1398
+ export declare interface PrivateEndpointConnectionsListByStorageSyncServiceHeaders {
1399
+ /** request id. */
1400
+ xMsRequestId?: string;
1401
+ /** correlation request id. */
1402
+ xMsCorrelationRequestId?: string;
1403
+ }
1404
+
1405
+ /** Optional parameters. */
1406
+ export declare interface PrivateEndpointConnectionsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1407
+ }
1408
+
1409
+ /** Contains response data for the listByStorageSyncService operation. */
1410
+ export declare type PrivateEndpointConnectionsListByStorageSyncServiceResponse = PrivateEndpointConnectionsListByStorageSyncServiceHeaders & PrivateEndpointConnectionListResult;
1411
+
1412
+ /**
1413
+ * Defines values for PrivateEndpointServiceConnectionStatus. \
1414
+ * {@link KnownPrivateEndpointServiceConnectionStatus} can be used interchangeably with PrivateEndpointServiceConnectionStatus,
1415
+ * this enum contains the known values that the service supports.
1416
+ * ### Known values supported by the service
1417
+ * **Pending** \
1418
+ * **Approved** \
1419
+ * **Rejected**
1420
+ */
1421
+ export declare type PrivateEndpointServiceConnectionStatus = string;
1422
+
1423
+ /** A private link resource */
1424
+ export declare type PrivateLinkResource = Resource & {
1425
+ /**
1426
+ * The private link resource group id.
1427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1428
+ */
1429
+ readonly groupId?: string;
1430
+ /**
1431
+ * The private link resource required member names.
1432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1433
+ */
1434
+ readonly requiredMembers?: string[];
1435
+ /** The private link resource Private link DNS zone name. */
1436
+ requiredZoneNames?: string[];
1437
+ };
1438
+
1439
+ /** A list of private link resources */
1440
+ export declare interface PrivateLinkResourceListResult {
1441
+ /** Array of private link resources */
1442
+ value?: PrivateLinkResource[];
1443
+ }
1444
+
1445
+ /** Interface representing a PrivateLinkResources. */
1446
+ export declare interface PrivateLinkResources {
1447
+ /**
1448
+ * Gets the private link resources that need to be created for a storage sync service.
1449
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1450
+ * @param storageSyncServiceName The name of the storage sync service name within the specified
1451
+ * resource group.
1452
+ * @param options The options parameters.
1453
+ */
1454
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: PrivateLinkResourcesListByStorageSyncServiceOptionalParams): Promise<PrivateLinkResourcesListByStorageSyncServiceResponse>;
1455
+ }
1456
+
1457
+ /** Optional parameters. */
1458
+ export declare interface PrivateLinkResourcesListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1459
+ }
1460
+
1461
+ /** Contains response data for the listByStorageSyncService operation. */
1462
+ export declare type PrivateLinkResourcesListByStorageSyncServiceResponse = PrivateLinkResourceListResult;
1463
+
1464
+ /** A collection of information about the state of the connection between service consumer and provider. */
1465
+ export declare interface PrivateLinkServiceConnectionState {
1466
+ /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */
1467
+ status?: PrivateEndpointServiceConnectionStatus;
1468
+ /** The reason for approval/rejection of the connection. */
1469
+ description?: string;
1470
+ /** A message indicating if changes on the service provider require any updates on the consumer. */
1471
+ actionsRequired?: string;
1472
+ }
1473
+
1474
+ /**
1475
+ * Defines values for ProgressType. \
1476
+ * {@link KnownProgressType} can be used interchangeably with ProgressType,
1477
+ * this enum contains the known values that the service supports.
1478
+ * ### Known values supported by the service
1479
+ * **none** \
1480
+ * **initialize** \
1481
+ * **download** \
1482
+ * **upload** \
1483
+ * **recall**
1484
+ */
1485
+ export declare type ProgressType = string;
1486
+
1487
+ /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
1488
+ export declare type ProxyResource = Resource & {};
1489
+
1490
+ /**
1491
+ * Defines values for Reason. \
1492
+ * {@link KnownReason} can be used interchangeably with Reason,
1493
+ * this enum contains the known values that the service supports.
1494
+ * ### Known values supported by the service
1495
+ * **Registered** \
1496
+ * **Unregistered** \
1497
+ * **Warned** \
1498
+ * **Suspended** \
1499
+ * **Deleted**
1500
+ */
1501
+ export declare type Reason = string;
1502
+
1503
+ /** The parameters used when calling recall action on server endpoint. */
1504
+ export declare interface RecallActionParameters {
1505
+ /** Pattern of the files. */
1506
+ pattern?: string;
1507
+ /** Recall path. */
1508
+ recallPath?: string;
1509
+ }
1510
+
1511
+ /** Registered Server resource. */
1512
+ export declare type RegisteredServer = ProxyResource & {
1513
+ /** Registered Server Certificate */
1514
+ serverCertificate?: string;
1515
+ /** Registered Server Agent Version */
1516
+ agentVersion?: string;
1517
+ /**
1518
+ * Registered Server Agent Version Status
1519
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1520
+ */
1521
+ readonly agentVersionStatus?: RegisteredServerAgentVersionStatus;
1522
+ /**
1523
+ * Registered Server Agent Version Expiration Date
1524
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1525
+ */
1526
+ readonly agentVersionExpirationDate?: Date;
1527
+ /** Registered Server OS Version */
1528
+ serverOSVersion?: string;
1529
+ /** Registered Server Management Error Code */
1530
+ serverManagementErrorCode?: number;
1531
+ /** Registered Server last heart beat */
1532
+ lastHeartBeat?: string;
1533
+ /** Registered Server Provisioning State */
1534
+ provisioningState?: string;
1535
+ /** Registered Server serverRole */
1536
+ serverRole?: string;
1537
+ /** Registered Server clusterId */
1538
+ clusterId?: string;
1539
+ /** Registered Server clusterName */
1540
+ clusterName?: string;
1541
+ /** Registered Server serverId */
1542
+ serverId?: string;
1543
+ /** Registered Server storageSyncServiceUid */
1544
+ storageSyncServiceUid?: string;
1545
+ /** Registered Server lastWorkflowId */
1546
+ lastWorkflowId?: string;
1547
+ /** Resource Last Operation Name */
1548
+ lastOperationName?: string;
1549
+ /** Resource discoveryEndpointUri */
1550
+ discoveryEndpointUri?: string;
1551
+ /** Resource Location */
1552
+ resourceLocation?: string;
1553
+ /** Service Location */
1554
+ serviceLocation?: string;
1555
+ /** Friendly Name */
1556
+ friendlyName?: string;
1557
+ /** Management Endpoint Uri */
1558
+ managementEndpointUri?: string;
1559
+ /** Telemetry Endpoint Uri */
1560
+ monitoringEndpointUri?: string;
1561
+ /** Monitoring Configuration */
1562
+ monitoringConfiguration?: string;
1563
+ /**
1564
+ * Server name
1565
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1566
+ */
1567
+ readonly serverName?: string;
1568
+ };
1569
+
1570
+ /**
1571
+ * Defines values for RegisteredServerAgentVersionStatus. \
1572
+ * {@link KnownRegisteredServerAgentVersionStatus} can be used interchangeably with RegisteredServerAgentVersionStatus,
1573
+ * this enum contains the known values that the service supports.
1574
+ * ### Known values supported by the service
1575
+ * **Ok** \
1576
+ * **NearExpiry** \
1577
+ * **Expired** \
1578
+ * **Blocked**
1579
+ */
1580
+ export declare type RegisteredServerAgentVersionStatus = string;
1581
+
1582
+ /** Array of RegisteredServer */
1583
+ export declare interface RegisteredServerArray {
1584
+ /** Collection of Registered Server. */
1585
+ value?: RegisteredServer[];
1586
+ }
1587
+
1588
+ /** The parameters used when creating a registered server. */
1589
+ export declare type RegisteredServerCreateParameters = ProxyResource & {
1590
+ /** Registered Server Certificate */
1591
+ serverCertificate?: string;
1592
+ /** Registered Server Agent Version */
1593
+ agentVersion?: string;
1594
+ /** Registered Server OS Version */
1595
+ serverOSVersion?: string;
1596
+ /** Registered Server last heart beat */
1597
+ lastHeartBeat?: string;
1598
+ /** Registered Server serverRole */
1599
+ serverRole?: string;
1600
+ /** Registered Server clusterId */
1601
+ clusterId?: string;
1602
+ /** Registered Server clusterName */
1603
+ clusterName?: string;
1604
+ /** Registered Server serverId */
1605
+ serverId?: string;
1606
+ /** Friendly Name */
1607
+ friendlyName?: string;
1608
+ };
1609
+
1610
+ /** Interface representing a RegisteredServers. */
1611
+ export declare interface RegisteredServers {
1612
+ /**
1613
+ * Get a given registered server list.
1614
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1615
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1616
+ * @param options The options parameters.
1617
+ */
1618
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: RegisteredServersListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<RegisteredServer>;
1619
+ /**
1620
+ * Get a given registered server.
1621
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1622
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1623
+ * @param serverId GUID identifying the on-premises server.
1624
+ * @param options The options parameters.
1625
+ */
1626
+ get(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersGetOptionalParams): Promise<RegisteredServersGetResponse>;
1627
+ /**
1628
+ * Add a new registered server.
1629
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1630
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1631
+ * @param serverId GUID identifying the on-premises server.
1632
+ * @param parameters Body of Registered Server object.
1633
+ * @param options The options parameters.
1634
+ */
1635
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersCreateResponse>, RegisteredServersCreateResponse>>;
1636
+ /**
1637
+ * Add a new registered server.
1638
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1639
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1640
+ * @param serverId GUID identifying the on-premises server.
1641
+ * @param parameters Body of Registered Server object.
1642
+ * @param options The options parameters.
1643
+ */
1644
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: RegisteredServerCreateParameters, options?: RegisteredServersCreateOptionalParams): Promise<RegisteredServersCreateResponse>;
1645
+ /**
1646
+ * Delete the given registered server.
1647
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1648
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1649
+ * @param serverId GUID identifying the on-premises server.
1650
+ * @param options The options parameters.
1651
+ */
1652
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersDeleteResponse>, RegisteredServersDeleteResponse>>;
1653
+ /**
1654
+ * Delete the given registered server.
1655
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1656
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1657
+ * @param serverId GUID identifying the on-premises server.
1658
+ * @param options The options parameters.
1659
+ */
1660
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, options?: RegisteredServersDeleteOptionalParams): Promise<RegisteredServersDeleteResponse>;
1661
+ /**
1662
+ * Triggers Server certificate rollover.
1663
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1664
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1665
+ * @param serverId Server Id
1666
+ * @param parameters Body of Trigger Rollover request.
1667
+ * @param options The options parameters.
1668
+ */
1669
+ beginTriggerRollover(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<PollerLike<PollOperationState<RegisteredServersTriggerRolloverResponse>, RegisteredServersTriggerRolloverResponse>>;
1670
+ /**
1671
+ * Triggers Server certificate rollover.
1672
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
1673
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
1674
+ * @param serverId Server Id
1675
+ * @param parameters Body of Trigger Rollover request.
1676
+ * @param options The options parameters.
1677
+ */
1678
+ beginTriggerRolloverAndWait(resourceGroupName: string, storageSyncServiceName: string, serverId: string, parameters: TriggerRolloverRequest, options?: RegisteredServersTriggerRolloverOptionalParams): Promise<RegisteredServersTriggerRolloverResponse>;
1679
+ }
1680
+
1681
+ /** Defines headers for RegisteredServers_create operation. */
1682
+ export declare interface RegisteredServersCreateHeaders {
1683
+ /** request id. */
1684
+ xMsRequestId?: string;
1685
+ /** correlation request id. */
1686
+ xMsCorrelationRequestId?: string;
1687
+ }
1688
+
1689
+ /** Optional parameters. */
1690
+ export declare interface RegisteredServersCreateOptionalParams extends coreClient.OperationOptions {
1691
+ /** Delay to wait until next poll, in milliseconds. */
1692
+ updateIntervalInMs?: number;
1693
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1694
+ resumeFrom?: string;
1695
+ }
1696
+
1697
+ /** Contains response data for the create operation. */
1698
+ export declare type RegisteredServersCreateResponse = RegisteredServersCreateHeaders & RegisteredServer;
1699
+
1700
+ /** Defines headers for RegisteredServers_delete operation. */
1701
+ export declare interface RegisteredServersDeleteHeaders {
1702
+ /** request id. */
1703
+ xMsRequestId?: string;
1704
+ /** correlation request id. */
1705
+ xMsCorrelationRequestId?: string;
1706
+ }
1707
+
1708
+ /** Optional parameters. */
1709
+ export declare interface RegisteredServersDeleteOptionalParams extends coreClient.OperationOptions {
1710
+ /** Delay to wait until next poll, in milliseconds. */
1711
+ updateIntervalInMs?: number;
1712
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1713
+ resumeFrom?: string;
1714
+ }
1715
+
1716
+ /** Contains response data for the delete operation. */
1717
+ export declare type RegisteredServersDeleteResponse = RegisteredServersDeleteHeaders;
1718
+
1719
+ /** Defines headers for RegisteredServers_get operation. */
1720
+ export declare interface RegisteredServersGetHeaders {
1721
+ /** request id. */
1722
+ xMsRequestId?: string;
1723
+ /** correlation request id. */
1724
+ xMsCorrelationRequestId?: string;
1725
+ }
1726
+
1727
+ /** Optional parameters. */
1728
+ export declare interface RegisteredServersGetOptionalParams extends coreClient.OperationOptions {
1729
+ }
1730
+
1731
+ /** Contains response data for the get operation. */
1732
+ export declare type RegisteredServersGetResponse = RegisteredServersGetHeaders & RegisteredServer;
1733
+
1734
+ /** Defines headers for RegisteredServers_listByStorageSyncService operation. */
1735
+ export declare interface RegisteredServersListByStorageSyncServiceHeaders {
1736
+ /** request id. */
1737
+ xMsRequestId?: string;
1738
+ /** correlation request id. */
1739
+ xMsCorrelationRequestId?: string;
1740
+ }
1741
+
1742
+ /** Optional parameters. */
1743
+ export declare interface RegisteredServersListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
1744
+ }
1745
+
1746
+ /** Contains response data for the listByStorageSyncService operation. */
1747
+ export declare type RegisteredServersListByStorageSyncServiceResponse = RegisteredServersListByStorageSyncServiceHeaders & RegisteredServerArray;
1748
+
1749
+ /** Defines headers for RegisteredServers_triggerRollover operation. */
1750
+ export declare interface RegisteredServersTriggerRolloverHeaders {
1751
+ /** request id. */
1752
+ xMsRequestId?: string;
1753
+ /** correlation request id. */
1754
+ xMsCorrelationRequestId?: string;
1755
+ }
1756
+
1757
+ /** Optional parameters. */
1758
+ export declare interface RegisteredServersTriggerRolloverOptionalParams extends coreClient.OperationOptions {
1759
+ /** Delay to wait until next poll, in milliseconds. */
1760
+ updateIntervalInMs?: number;
1761
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1762
+ resumeFrom?: string;
1763
+ }
1764
+
1765
+ /** Contains response data for the triggerRollover operation. */
1766
+ export declare type RegisteredServersTriggerRolloverResponse = RegisteredServersTriggerRolloverHeaders;
1767
+
1768
+ /** Common fields that are returned in the response for all Azure Resource Manager resources */
1769
+ export declare interface Resource {
1770
+ /**
1771
+ * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
1772
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1773
+ */
1774
+ readonly id?: string;
1775
+ /**
1776
+ * The name of the resource
1777
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1778
+ */
1779
+ readonly name?: string;
1780
+ /**
1781
+ * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
1782
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1783
+ */
1784
+ readonly type?: string;
1785
+ }
1786
+
1787
+ /** Resource Move Info. */
1788
+ export declare interface ResourcesMoveInfo {
1789
+ /** Target resource group. */
1790
+ targetResourceGroup?: string;
1791
+ /** Collection of Resources. */
1792
+ resources?: string[];
1793
+ }
1794
+
1795
+ /** Restore file spec. */
1796
+ export declare interface RestoreFileSpec {
1797
+ /** Restore file spec path */
1798
+ path?: string;
1799
+ /** Restore file spec isdir */
1800
+ isdir?: boolean;
1801
+ }
1802
+
1803
+ /** Server Endpoint object. */
1804
+ export declare type ServerEndpoint = ProxyResource & {
1805
+ /** Server Local path. */
1806
+ serverLocalPath?: string;
1807
+ /** Cloud Tiering. */
1808
+ cloudTiering?: FeatureStatus;
1809
+ /** Level of free space to be maintained by Cloud Tiering if it is enabled. */
1810
+ volumeFreeSpacePercent?: number;
1811
+ /** Tier files older than days. */
1812
+ tierFilesOlderThanDays?: number;
1813
+ /** Friendly Name */
1814
+ friendlyName?: string;
1815
+ /** Server Resource Id. */
1816
+ serverResourceId?: string;
1817
+ /**
1818
+ * ServerEndpoint Provisioning State
1819
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1820
+ */
1821
+ readonly provisioningState?: string;
1822
+ /**
1823
+ * ServerEndpoint lastWorkflowId
1824
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1825
+ */
1826
+ readonly lastWorkflowId?: string;
1827
+ /**
1828
+ * Resource Last Operation Name
1829
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1830
+ */
1831
+ readonly lastOperationName?: string;
1832
+ /**
1833
+ * Server Endpoint sync status
1834
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1835
+ */
1836
+ readonly syncStatus?: ServerEndpointSyncStatus;
1837
+ /** Offline data transfer */
1838
+ offlineDataTransfer?: FeatureStatus;
1839
+ /**
1840
+ * Offline data transfer storage account resource ID
1841
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1842
+ */
1843
+ readonly offlineDataTransferStorageAccountResourceId?: string;
1844
+ /**
1845
+ * Offline data transfer storage account tenant ID
1846
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1847
+ */
1848
+ readonly offlineDataTransferStorageAccountTenantId?: string;
1849
+ /** Offline data transfer share name */
1850
+ offlineDataTransferShareName?: string;
1851
+ /**
1852
+ * Cloud tiering status. Only populated if cloud tiering is enabled.
1853
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1854
+ */
1855
+ readonly cloudTieringStatus?: ServerEndpointCloudTieringStatus;
1856
+ /**
1857
+ * Recall status. Only populated if cloud tiering is enabled.
1858
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1859
+ */
1860
+ readonly recallStatus?: ServerEndpointRecallStatus;
1861
+ /** Policy for how namespace and files are recalled during FastDr. */
1862
+ initialDownloadPolicy?: InitialDownloadPolicy;
1863
+ /** Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access. */
1864
+ localCacheMode?: LocalCacheMode;
1865
+ /** Policy for how the initial upload sync session is performed. */
1866
+ initialUploadPolicy?: InitialUploadPolicy;
1867
+ /**
1868
+ * Server name
1869
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1870
+ */
1871
+ readonly serverName?: string;
1872
+ };
1873
+
1874
+ /** Array of ServerEndpoint */
1875
+ export declare interface ServerEndpointArray {
1876
+ /** Collection of ServerEndpoint. */
1877
+ value?: ServerEndpoint[];
1878
+ }
1879
+
1880
+ /** Background data download activity object */
1881
+ export declare interface ServerEndpointBackgroundDataDownloadActivity {
1882
+ /**
1883
+ * Timestamp when properties were updated
1884
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1885
+ */
1886
+ readonly timestamp?: Date;
1887
+ /**
1888
+ * Timestamp when the operation started
1889
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1890
+ */
1891
+ readonly startedTimestamp?: Date;
1892
+ /**
1893
+ * Progress percentage
1894
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1895
+ */
1896
+ readonly percentProgress?: number;
1897
+ /**
1898
+ * Running count of bytes downloaded
1899
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1900
+ */
1901
+ readonly downloadedBytes?: number;
1902
+ }
1903
+
1904
+ /** Server endpoint cloud tiering status object. */
1905
+ export declare interface ServerEndpointCloudTieringStatus {
1906
+ /**
1907
+ * Last updated timestamp
1908
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1909
+ */
1910
+ readonly lastUpdatedTimestamp?: Date;
1911
+ /**
1912
+ * Cloud tiering health state.
1913
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1914
+ */
1915
+ readonly health?: ServerEndpointHealthState;
1916
+ /**
1917
+ * The last updated timestamp of health state
1918
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1919
+ */
1920
+ readonly healthLastUpdatedTimestamp?: Date;
1921
+ /**
1922
+ * Last cloud tiering result (HResult)
1923
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1924
+ */
1925
+ readonly lastCloudTieringResult?: number;
1926
+ /**
1927
+ * Last cloud tiering success timestamp
1928
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1929
+ */
1930
+ readonly lastSuccessTimestamp?: Date;
1931
+ /**
1932
+ * Information regarding how much local space cloud tiering is saving.
1933
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1934
+ */
1935
+ readonly spaceSavings?: CloudTieringSpaceSavings;
1936
+ /**
1937
+ * Information regarding how well the local cache on the server is performing.
1938
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1939
+ */
1940
+ readonly cachePerformance?: CloudTieringCachePerformance;
1941
+ /**
1942
+ * Information regarding files that failed to be tiered
1943
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1944
+ */
1945
+ readonly filesNotTiering?: CloudTieringFilesNotTiering;
1946
+ /**
1947
+ * Status of the volume free space policy
1948
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1949
+ */
1950
+ readonly volumeFreeSpacePolicyStatus?: CloudTieringVolumeFreeSpacePolicyStatus;
1951
+ /**
1952
+ * Status of the date policy
1953
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1954
+ */
1955
+ readonly datePolicyStatus?: CloudTieringDatePolicyStatus;
1956
+ }
1957
+
1958
+ /** The parameters used when creating a server endpoint. */
1959
+ export declare type ServerEndpointCreateParameters = ProxyResource & {
1960
+ /** Server Local path. */
1961
+ serverLocalPath?: string;
1962
+ /** Cloud Tiering. */
1963
+ cloudTiering?: FeatureStatus;
1964
+ /** Level of free space to be maintained by Cloud Tiering if it is enabled. */
1965
+ volumeFreeSpacePercent?: number;
1966
+ /** Tier files older than days. */
1967
+ tierFilesOlderThanDays?: number;
1968
+ /** Friendly Name */
1969
+ friendlyName?: string;
1970
+ /** Server Resource Id. */
1971
+ serverResourceId?: string;
1972
+ /** Offline data transfer */
1973
+ offlineDataTransfer?: FeatureStatus;
1974
+ /** Offline data transfer share name */
1975
+ offlineDataTransferShareName?: string;
1976
+ /** Policy for how namespace and files are recalled during FastDr. */
1977
+ initialDownloadPolicy?: InitialDownloadPolicy;
1978
+ /** Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access. */
1979
+ localCacheMode?: LocalCacheMode;
1980
+ /** Policy for how the initial upload sync session is performed. */
1981
+ initialUploadPolicy?: InitialUploadPolicy;
1982
+ };
1983
+
1984
+ /** Files not syncing error object */
1985
+ export declare interface ServerEndpointFilesNotSyncingError {
1986
+ /**
1987
+ * Error code (HResult)
1988
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1989
+ */
1990
+ readonly errorCode?: number;
1991
+ /**
1992
+ * Count of persistent files not syncing with the specified error code
1993
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1994
+ */
1995
+ readonly persistentCount?: number;
1996
+ /**
1997
+ * Count of transient files not syncing with the specified error code
1998
+ * NOTE: This property will not be serialized. It can only be populated by the server.
1999
+ */
2000
+ readonly transientCount?: number;
2001
+ }
2002
+
2003
+ /**
2004
+ * Defines values for ServerEndpointHealthState. \
2005
+ * {@link KnownServerEndpointHealthState} can be used interchangeably with ServerEndpointHealthState,
2006
+ * this enum contains the known values that the service supports.
2007
+ * ### Known values supported by the service
2008
+ * **Unavailable** \
2009
+ * **Healthy** \
2010
+ * **Error**
2011
+ */
2012
+ export declare type ServerEndpointHealthState = string;
2013
+
2014
+ /**
2015
+ * Defines values for ServerEndpointOfflineDataTransferState. \
2016
+ * {@link KnownServerEndpointOfflineDataTransferState} can be used interchangeably with ServerEndpointOfflineDataTransferState,
2017
+ * this enum contains the known values that the service supports.
2018
+ * ### Known values supported by the service
2019
+ * **InProgress** \
2020
+ * **Stopping** \
2021
+ * **NotRunning** \
2022
+ * **Complete**
2023
+ */
2024
+ export declare type ServerEndpointOfflineDataTransferState = string;
2025
+
2026
+ /** Server endpoint recall error object */
2027
+ export declare interface ServerEndpointRecallError {
2028
+ /**
2029
+ * Error code (HResult)
2030
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2031
+ */
2032
+ readonly errorCode?: number;
2033
+ /**
2034
+ * Count of occurences of the error
2035
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2036
+ */
2037
+ readonly count?: number;
2038
+ }
2039
+
2040
+ /** Server endpoint recall status object. */
2041
+ export declare interface ServerEndpointRecallStatus {
2042
+ /**
2043
+ * Last updated timestamp
2044
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2045
+ */
2046
+ readonly lastUpdatedTimestamp?: Date;
2047
+ /**
2048
+ * Total count of recall errors.
2049
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2050
+ */
2051
+ readonly totalRecallErrorsCount?: number;
2052
+ /**
2053
+ * Array of recall errors
2054
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2055
+ */
2056
+ readonly recallErrors?: ServerEndpointRecallError[];
2057
+ }
2058
+
2059
+ /** Interface representing a ServerEndpoints. */
2060
+ export declare interface ServerEndpoints {
2061
+ /**
2062
+ * Get a ServerEndpoint list.
2063
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2064
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2065
+ * @param syncGroupName Name of Sync Group resource.
2066
+ * @param options The options parameters.
2067
+ */
2068
+ listBySyncGroup(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: ServerEndpointsListBySyncGroupOptionalParams): PagedAsyncIterableIterator<ServerEndpoint>;
2069
+ /**
2070
+ * Create a new ServerEndpoint.
2071
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2072
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2073
+ * @param syncGroupName Name of Sync Group resource.
2074
+ * @param serverEndpointName Name of Server Endpoint object.
2075
+ * @param parameters Body of Server Endpoint object.
2076
+ * @param options The options parameters.
2077
+ */
2078
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsCreateResponse>, ServerEndpointsCreateResponse>>;
2079
+ /**
2080
+ * Create a new ServerEndpoint.
2081
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2082
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2083
+ * @param syncGroupName Name of Sync Group resource.
2084
+ * @param serverEndpointName Name of Server Endpoint object.
2085
+ * @param parameters Body of Server Endpoint object.
2086
+ * @param options The options parameters.
2087
+ */
2088
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: ServerEndpointCreateParameters, options?: ServerEndpointsCreateOptionalParams): Promise<ServerEndpointsCreateResponse>;
2089
+ /**
2090
+ * Patch a given ServerEndpoint.
2091
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2092
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2093
+ * @param syncGroupName Name of Sync Group resource.
2094
+ * @param serverEndpointName Name of Server Endpoint object.
2095
+ * @param options The options parameters.
2096
+ */
2097
+ beginUpdate(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsUpdateResponse>, ServerEndpointsUpdateResponse>>;
2098
+ /**
2099
+ * Patch a given ServerEndpoint.
2100
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2101
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2102
+ * @param syncGroupName Name of Sync Group resource.
2103
+ * @param serverEndpointName Name of Server Endpoint object.
2104
+ * @param options The options parameters.
2105
+ */
2106
+ beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsUpdateOptionalParams): Promise<ServerEndpointsUpdateResponse>;
2107
+ /**
2108
+ * Get a ServerEndpoint.
2109
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2110
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2111
+ * @param syncGroupName Name of Sync Group resource.
2112
+ * @param serverEndpointName Name of Server Endpoint object.
2113
+ * @param options The options parameters.
2114
+ */
2115
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsGetOptionalParams): Promise<ServerEndpointsGetResponse>;
2116
+ /**
2117
+ * Delete a given ServerEndpoint.
2118
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2119
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2120
+ * @param syncGroupName Name of Sync Group resource.
2121
+ * @param serverEndpointName Name of Server Endpoint object.
2122
+ * @param options The options parameters.
2123
+ */
2124
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsDeleteResponse>, ServerEndpointsDeleteResponse>>;
2125
+ /**
2126
+ * Delete a given ServerEndpoint.
2127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2128
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2129
+ * @param syncGroupName Name of Sync Group resource.
2130
+ * @param serverEndpointName Name of Server Endpoint object.
2131
+ * @param options The options parameters.
2132
+ */
2133
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, options?: ServerEndpointsDeleteOptionalParams): Promise<ServerEndpointsDeleteResponse>;
2134
+ /**
2135
+ * Recall a server endpoint.
2136
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2137
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2138
+ * @param syncGroupName Name of Sync Group resource.
2139
+ * @param serverEndpointName Name of Server Endpoint object.
2140
+ * @param parameters Body of Recall Action object.
2141
+ * @param options The options parameters.
2142
+ */
2143
+ beginRecallAction(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<PollerLike<PollOperationState<ServerEndpointsRecallActionResponse>, ServerEndpointsRecallActionResponse>>;
2144
+ /**
2145
+ * Recall a server endpoint.
2146
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2147
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2148
+ * @param syncGroupName Name of Sync Group resource.
2149
+ * @param serverEndpointName Name of Server Endpoint object.
2150
+ * @param parameters Body of Recall Action object.
2151
+ * @param options The options parameters.
2152
+ */
2153
+ beginRecallActionAndWait(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, serverEndpointName: string, parameters: RecallActionParameters, options?: ServerEndpointsRecallActionOptionalParams): Promise<ServerEndpointsRecallActionResponse>;
2154
+ }
2155
+
2156
+ /** Defines headers for ServerEndpoints_create operation. */
2157
+ export declare interface ServerEndpointsCreateHeaders {
2158
+ /** request id. */
2159
+ xMsRequestId?: string;
2160
+ /** correlation request id. */
2161
+ xMsCorrelationRequestId?: string;
2162
+ }
2163
+
2164
+ /** Optional parameters. */
2165
+ export declare interface ServerEndpointsCreateOptionalParams extends coreClient.OperationOptions {
2166
+ /** Delay to wait until next poll, in milliseconds. */
2167
+ updateIntervalInMs?: number;
2168
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2169
+ resumeFrom?: string;
2170
+ }
2171
+
2172
+ /** Contains response data for the create operation. */
2173
+ export declare type ServerEndpointsCreateResponse = ServerEndpointsCreateHeaders & ServerEndpoint;
2174
+
2175
+ /** Defines headers for ServerEndpoints_delete operation. */
2176
+ export declare interface ServerEndpointsDeleteHeaders {
2177
+ /** request id. */
2178
+ xMsRequestId?: string;
2179
+ /** correlation request id. */
2180
+ xMsCorrelationRequestId?: string;
2181
+ }
2182
+
2183
+ /** Optional parameters. */
2184
+ export declare interface ServerEndpointsDeleteOptionalParams extends coreClient.OperationOptions {
2185
+ /** Delay to wait until next poll, in milliseconds. */
2186
+ updateIntervalInMs?: number;
2187
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2188
+ resumeFrom?: string;
2189
+ }
2190
+
2191
+ /** Contains response data for the delete operation. */
2192
+ export declare type ServerEndpointsDeleteResponse = ServerEndpointsDeleteHeaders;
2193
+
2194
+ /** Defines headers for ServerEndpoints_get operation. */
2195
+ export declare interface ServerEndpointsGetHeaders {
2196
+ /** request id. */
2197
+ xMsRequestId?: string;
2198
+ /** correlation request id. */
2199
+ xMsCorrelationRequestId?: string;
2200
+ }
2201
+
2202
+ /** Optional parameters. */
2203
+ export declare interface ServerEndpointsGetOptionalParams extends coreClient.OperationOptions {
2204
+ }
2205
+
2206
+ /** Contains response data for the get operation. */
2207
+ export declare type ServerEndpointsGetResponse = ServerEndpointsGetHeaders & ServerEndpoint;
2208
+
2209
+ /** Defines headers for ServerEndpoints_listBySyncGroup operation. */
2210
+ export declare interface ServerEndpointsListBySyncGroupHeaders {
2211
+ /** Operation Status Location URI */
2212
+ location?: string;
2213
+ /** request id. */
2214
+ xMsRequestId?: string;
2215
+ /** correlation request id. */
2216
+ xMsCorrelationRequestId?: string;
2217
+ }
2218
+
2219
+ /** Optional parameters. */
2220
+ export declare interface ServerEndpointsListBySyncGroupOptionalParams extends coreClient.OperationOptions {
2221
+ }
2222
+
2223
+ /** Contains response data for the listBySyncGroup operation. */
2224
+ export declare type ServerEndpointsListBySyncGroupResponse = ServerEndpointsListBySyncGroupHeaders & ServerEndpointArray;
2225
+
2226
+ /** Defines headers for ServerEndpoints_recallAction operation. */
2227
+ export declare interface ServerEndpointsRecallActionHeaders {
2228
+ /** request id. */
2229
+ xMsRequestId?: string;
2230
+ /** correlation request id. */
2231
+ xMsCorrelationRequestId?: string;
2232
+ }
2233
+
2234
+ /** Optional parameters. */
2235
+ export declare interface ServerEndpointsRecallActionOptionalParams extends coreClient.OperationOptions {
2236
+ /** Delay to wait until next poll, in milliseconds. */
2237
+ updateIntervalInMs?: number;
2238
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2239
+ resumeFrom?: string;
2240
+ }
2241
+
2242
+ /** Contains response data for the recallAction operation. */
2243
+ export declare type ServerEndpointsRecallActionResponse = ServerEndpointsRecallActionHeaders;
2244
+
2245
+ /** Defines headers for ServerEndpoints_update operation. */
2246
+ export declare interface ServerEndpointsUpdateHeaders {
2247
+ /** request id. */
2248
+ xMsRequestId?: string;
2249
+ /** correlation request id. */
2250
+ xMsCorrelationRequestId?: string;
2251
+ }
2252
+
2253
+ /** Optional parameters. */
2254
+ export declare interface ServerEndpointsUpdateOptionalParams extends coreClient.OperationOptions {
2255
+ /** Any of the properties applicable in PUT request. */
2256
+ parameters?: ServerEndpointUpdateParameters;
2257
+ /** Delay to wait until next poll, in milliseconds. */
2258
+ updateIntervalInMs?: number;
2259
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2260
+ resumeFrom?: string;
2261
+ }
2262
+
2263
+ /** Contains response data for the update operation. */
2264
+ export declare type ServerEndpointsUpdateResponse = ServerEndpointsUpdateHeaders & ServerEndpoint;
2265
+
2266
+ /**
2267
+ * Defines values for ServerEndpointSyncActivityState. \
2268
+ * {@link KnownServerEndpointSyncActivityState} can be used interchangeably with ServerEndpointSyncActivityState,
2269
+ * this enum contains the known values that the service supports.
2270
+ * ### Known values supported by the service
2271
+ * **Upload** \
2272
+ * **Download** \
2273
+ * **UploadAndDownload**
2274
+ */
2275
+ export declare type ServerEndpointSyncActivityState = string;
2276
+
2277
+ /** Sync Session status object. */
2278
+ export declare interface ServerEndpointSyncActivityStatus {
2279
+ /**
2280
+ * Timestamp when properties were updated
2281
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2282
+ */
2283
+ readonly timestamp?: Date;
2284
+ /**
2285
+ * Per item error count
2286
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2287
+ */
2288
+ readonly perItemErrorCount?: number;
2289
+ /**
2290
+ * Applied item count.
2291
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2292
+ */
2293
+ readonly appliedItemCount?: number;
2294
+ /**
2295
+ * Total item count (if available)
2296
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2297
+ */
2298
+ readonly totalItemCount?: number;
2299
+ /**
2300
+ * Applied bytes
2301
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2302
+ */
2303
+ readonly appliedBytes?: number;
2304
+ /**
2305
+ * Total bytes (if available)
2306
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2307
+ */
2308
+ readonly totalBytes?: number;
2309
+ /**
2310
+ * Sync mode
2311
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2312
+ */
2313
+ readonly syncMode?: ServerEndpointSyncMode;
2314
+ /**
2315
+ * Session minutes remaining (if available)
2316
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2317
+ */
2318
+ readonly sessionMinutesRemaining?: number;
2319
+ }
2320
+
2321
+ /**
2322
+ * Defines values for ServerEndpointSyncMode. \
2323
+ * {@link KnownServerEndpointSyncMode} can be used interchangeably with ServerEndpointSyncMode,
2324
+ * this enum contains the known values that the service supports.
2325
+ * ### Known values supported by the service
2326
+ * **Regular** \
2327
+ * **NamespaceDownload** \
2328
+ * **InitialUpload** \
2329
+ * **SnapshotUpload** \
2330
+ * **InitialFullDownload**
2331
+ */
2332
+ export declare type ServerEndpointSyncMode = string;
2333
+
2334
+ /** Sync Session status object. */
2335
+ export declare interface ServerEndpointSyncSessionStatus {
2336
+ /**
2337
+ * Last sync result (HResult)
2338
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2339
+ */
2340
+ readonly lastSyncResult?: number;
2341
+ /**
2342
+ * Last sync timestamp
2343
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2344
+ */
2345
+ readonly lastSyncTimestamp?: Date;
2346
+ /**
2347
+ * Last sync success timestamp
2348
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2349
+ */
2350
+ readonly lastSyncSuccessTimestamp?: Date;
2351
+ /**
2352
+ * Last sync per item error count.
2353
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2354
+ */
2355
+ readonly lastSyncPerItemErrorCount?: number;
2356
+ /**
2357
+ * Count of persistent files not syncing.
2358
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2359
+ */
2360
+ readonly persistentFilesNotSyncingCount?: number;
2361
+ /**
2362
+ * Count of transient files not syncing.
2363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2364
+ */
2365
+ readonly transientFilesNotSyncingCount?: number;
2366
+ /**
2367
+ * Array of per-item errors coming from the last sync session.
2368
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2369
+ */
2370
+ readonly filesNotSyncingErrors?: ServerEndpointFilesNotSyncingError[];
2371
+ /**
2372
+ * Sync mode
2373
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2374
+ */
2375
+ readonly lastSyncMode?: ServerEndpointSyncMode;
2376
+ }
2377
+
2378
+ /** Server Endpoint sync status */
2379
+ export declare interface ServerEndpointSyncStatus {
2380
+ /**
2381
+ * Download Health Status.
2382
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2383
+ */
2384
+ readonly downloadHealth?: ServerEndpointHealthState;
2385
+ /**
2386
+ * Upload Health Status.
2387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2388
+ */
2389
+ readonly uploadHealth?: ServerEndpointHealthState;
2390
+ /**
2391
+ * Combined Health Status.
2392
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2393
+ */
2394
+ readonly combinedHealth?: ServerEndpointHealthState;
2395
+ /**
2396
+ * Sync activity
2397
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2398
+ */
2399
+ readonly syncActivity?: ServerEndpointSyncActivityState;
2400
+ /**
2401
+ * Total count of persistent files not syncing (combined upload + download).
2402
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2403
+ */
2404
+ readonly totalPersistentFilesNotSyncingCount?: number;
2405
+ /**
2406
+ * Last Updated Timestamp
2407
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2408
+ */
2409
+ readonly lastUpdatedTimestamp?: Date;
2410
+ /**
2411
+ * Upload Status
2412
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2413
+ */
2414
+ readonly uploadStatus?: ServerEndpointSyncSessionStatus;
2415
+ /**
2416
+ * Download Status
2417
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2418
+ */
2419
+ readonly downloadStatus?: ServerEndpointSyncSessionStatus;
2420
+ /**
2421
+ * Upload sync activity
2422
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2423
+ */
2424
+ readonly uploadActivity?: ServerEndpointSyncActivityStatus;
2425
+ /**
2426
+ * Download sync activity
2427
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2428
+ */
2429
+ readonly downloadActivity?: ServerEndpointSyncActivityStatus;
2430
+ /**
2431
+ * Offline Data Transfer State
2432
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2433
+ */
2434
+ readonly offlineDataTransferStatus?: ServerEndpointOfflineDataTransferState;
2435
+ /**
2436
+ * Background data download activity
2437
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2438
+ */
2439
+ readonly backgroundDataDownloadActivity?: ServerEndpointBackgroundDataDownloadActivity;
2440
+ }
2441
+
2442
+ /** Parameters for updating an Server Endpoint. */
2443
+ export declare interface ServerEndpointUpdateParameters {
2444
+ /** Cloud Tiering. */
2445
+ cloudTiering?: FeatureStatus;
2446
+ /** Level of free space to be maintained by Cloud Tiering if it is enabled. */
2447
+ volumeFreeSpacePercent?: number;
2448
+ /** Tier files older than days. */
2449
+ tierFilesOlderThanDays?: number;
2450
+ /** Offline data transfer */
2451
+ offlineDataTransfer?: FeatureStatus;
2452
+ /** Offline data transfer share name */
2453
+ offlineDataTransferShareName?: string;
2454
+ /** Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access. */
2455
+ localCacheMode?: LocalCacheMode;
2456
+ }
2457
+
2458
+ /** Error type */
2459
+ export declare interface StorageSyncApiError {
2460
+ /** Error code of the given entry. */
2461
+ code?: string;
2462
+ /** Error message of the given entry. */
2463
+ message?: string;
2464
+ /** Target of the given error entry. */
2465
+ target?: string;
2466
+ /** Error details of the given entry. */
2467
+ details?: StorageSyncErrorDetails;
2468
+ /** Inner error details of the given entry. */
2469
+ innerError?: StorageSyncInnerErrorDetails;
2470
+ }
2471
+
2472
+ /** Error type */
2473
+ export declare interface StorageSyncError {
2474
+ /** Error details of the given entry. */
2475
+ error?: StorageSyncApiError;
2476
+ /** Error details of the given entry. */
2477
+ innererror?: StorageSyncApiError;
2478
+ }
2479
+
2480
+ /** Error Details object. */
2481
+ export declare interface StorageSyncErrorDetails {
2482
+ /** Error code of the given entry. */
2483
+ code?: string;
2484
+ /** Error message of the given entry. */
2485
+ message?: string;
2486
+ /** Target of the given entry. */
2487
+ target?: string;
2488
+ /** Request URI of the given entry. */
2489
+ requestUri?: string;
2490
+ /** Exception type of the given entry. */
2491
+ exceptionType?: string;
2492
+ /** HTTP method of the given entry. */
2493
+ httpMethod?: string;
2494
+ /** Hashed message of the given entry. */
2495
+ hashedMessage?: string;
2496
+ /** HTTP error code of the given entry. */
2497
+ httpErrorCode?: string;
2498
+ }
2499
+
2500
+ /** Error Details object. */
2501
+ export declare interface StorageSyncInnerErrorDetails {
2502
+ /** Call stack of the error. */
2503
+ callStack?: string;
2504
+ /** Error message of the error. */
2505
+ message?: string;
2506
+ /** Exception of the inner error. */
2507
+ innerException?: string;
2508
+ /** Call stack of the inner error. */
2509
+ innerExceptionCallStack?: string;
2510
+ }
2511
+
2512
+ /** Storage Sync Service object. */
2513
+ export declare type StorageSyncService = TrackedResource & {
2514
+ /** Incoming Traffic Policy */
2515
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
2516
+ /**
2517
+ * Storage Sync service status.
2518
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2519
+ */
2520
+ readonly storageSyncServiceStatus?: number;
2521
+ /**
2522
+ * Storage Sync service Uid
2523
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2524
+ */
2525
+ readonly storageSyncServiceUid?: string;
2526
+ /**
2527
+ * StorageSyncService Provisioning State
2528
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2529
+ */
2530
+ readonly provisioningState?: string;
2531
+ /**
2532
+ * StorageSyncService lastWorkflowId
2533
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2534
+ */
2535
+ readonly lastWorkflowId?: string;
2536
+ /**
2537
+ * Resource Last Operation Name
2538
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2539
+ */
2540
+ readonly lastOperationName?: string;
2541
+ /**
2542
+ * List of private endpoint connection associated with the specified storage sync service
2543
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2544
+ */
2545
+ readonly privateEndpointConnections?: PrivateEndpointConnection[];
2546
+ };
2547
+
2548
+ /** Array of StorageSyncServices */
2549
+ export declare interface StorageSyncServiceArray {
2550
+ /** Collection of StorageSyncServices. */
2551
+ value?: StorageSyncService[];
2552
+ }
2553
+
2554
+ /** The parameters used when creating a storage sync service. */
2555
+ export declare interface StorageSyncServiceCreateParameters {
2556
+ /** Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. */
2557
+ location: string;
2558
+ /** Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. */
2559
+ tags?: {
2560
+ [propertyName: string]: string;
2561
+ };
2562
+ /** Incoming Traffic Policy */
2563
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
2564
+ }
2565
+
2566
+ /** Interface representing a StorageSyncServices. */
2567
+ export declare interface StorageSyncServices {
2568
+ /**
2569
+ * Get a StorageSyncService list by Resource group name.
2570
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2571
+ * @param options The options parameters.
2572
+ */
2573
+ listByResourceGroup(resourceGroupName: string, options?: StorageSyncServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
2574
+ /**
2575
+ * Get a StorageSyncService list by subscription.
2576
+ * @param options The options parameters.
2577
+ */
2578
+ listBySubscription(options?: StorageSyncServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StorageSyncService>;
2579
+ /**
2580
+ * Check the give namespace name availability.
2581
+ * @param locationName The desired region for the name check.
2582
+ * @param parameters Parameters to check availability of the given namespace name
2583
+ * @param options The options parameters.
2584
+ */
2585
+ checkNameAvailability(locationName: string, parameters: CheckNameAvailabilityParameters, options?: StorageSyncServicesCheckNameAvailabilityOptionalParams): Promise<StorageSyncServicesCheckNameAvailabilityResponse>;
2586
+ /**
2587
+ * Create a new StorageSyncService.
2588
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2589
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2590
+ * @param parameters Storage Sync Service resource name.
2591
+ * @param options The options parameters.
2592
+ */
2593
+ beginCreate(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesCreateResponse>, StorageSyncServicesCreateResponse>>;
2594
+ /**
2595
+ * Create a new StorageSyncService.
2596
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2597
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2598
+ * @param parameters Storage Sync Service resource name.
2599
+ * @param options The options parameters.
2600
+ */
2601
+ beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<StorageSyncServicesCreateResponse>;
2602
+ /**
2603
+ * Get a given StorageSyncService.
2604
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2605
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2606
+ * @param options The options parameters.
2607
+ */
2608
+ get(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesGetOptionalParams): Promise<StorageSyncServicesGetResponse>;
2609
+ /**
2610
+ * Patch a given StorageSyncService.
2611
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2612
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2613
+ * @param options The options parameters.
2614
+ */
2615
+ beginUpdate(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesUpdateResponse>, StorageSyncServicesUpdateResponse>>;
2616
+ /**
2617
+ * Patch a given StorageSyncService.
2618
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2619
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2620
+ * @param options The options parameters.
2621
+ */
2622
+ beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<StorageSyncServicesUpdateResponse>;
2623
+ /**
2624
+ * Delete a given StorageSyncService.
2625
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2626
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2627
+ * @param options The options parameters.
2628
+ */
2629
+ beginDelete(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesDeleteResponse>, StorageSyncServicesDeleteResponse>>;
2630
+ /**
2631
+ * Delete a given StorageSyncService.
2632
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2633
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2634
+ * @param options The options parameters.
2635
+ */
2636
+ beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<StorageSyncServicesDeleteResponse>;
2637
+ }
2638
+
2639
+ /** Optional parameters. */
2640
+ export declare interface StorageSyncServicesCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
2641
+ }
2642
+
2643
+ /** Contains response data for the checkNameAvailability operation. */
2644
+ export declare type StorageSyncServicesCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
2645
+
2646
+ /** Defines headers for StorageSyncServices_create operation. */
2647
+ export declare interface StorageSyncServicesCreateHeaders {
2648
+ /** Operation Status Location URI */
2649
+ azureAsyncOperation?: string;
2650
+ /** Operation Status Location URI */
2651
+ location?: string;
2652
+ /** Retry After */
2653
+ retryAfter?: string;
2654
+ /** Request id */
2655
+ xMsRequestId?: string;
2656
+ /** correlation request id */
2657
+ xMsCorrelationRequestId?: string;
2658
+ }
2659
+
2660
+ /** Optional parameters. */
2661
+ export declare interface StorageSyncServicesCreateOptionalParams extends coreClient.OperationOptions {
2662
+ /** Delay to wait until next poll, in milliseconds. */
2663
+ updateIntervalInMs?: number;
2664
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2665
+ resumeFrom?: string;
2666
+ }
2667
+
2668
+ /** Contains response data for the create operation. */
2669
+ export declare type StorageSyncServicesCreateResponse = StorageSyncService;
2670
+
2671
+ /** Defines headers for StorageSyncServices_delete operation. */
2672
+ export declare interface StorageSyncServicesDeleteHeaders {
2673
+ /** request id. */
2674
+ xMsRequestId?: string;
2675
+ /** correlation request id. */
2676
+ xMsCorrelationRequestId?: string;
2677
+ }
2678
+
2679
+ /** Optional parameters. */
2680
+ export declare interface StorageSyncServicesDeleteOptionalParams extends coreClient.OperationOptions {
2681
+ /** Delay to wait until next poll, in milliseconds. */
2682
+ updateIntervalInMs?: number;
2683
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2684
+ resumeFrom?: string;
2685
+ }
2686
+
2687
+ /** Contains response data for the delete operation. */
2688
+ export declare type StorageSyncServicesDeleteResponse = StorageSyncServicesDeleteHeaders;
2689
+
2690
+ /** Defines headers for StorageSyncServices_get operation. */
2691
+ export declare interface StorageSyncServicesGetHeaders {
2692
+ /** request id. */
2693
+ xMsRequestId?: string;
2694
+ /** correlation request id. */
2695
+ xMsCorrelationRequestId?: string;
2696
+ }
2697
+
2698
+ /** Optional parameters. */
2699
+ export declare interface StorageSyncServicesGetOptionalParams extends coreClient.OperationOptions {
2700
+ }
2701
+
2702
+ /** Contains response data for the get operation. */
2703
+ export declare type StorageSyncServicesGetResponse = StorageSyncServicesGetHeaders & StorageSyncService;
2704
+
2705
+ /** Defines headers for StorageSyncServices_listByResourceGroup operation. */
2706
+ export declare interface StorageSyncServicesListByResourceGroupHeaders {
2707
+ /** request id. */
2708
+ xMsRequestId?: string;
2709
+ /** correlation request id. */
2710
+ xMsCorrelationRequestId?: string;
2711
+ }
2712
+
2713
+ /** Optional parameters. */
2714
+ export declare interface StorageSyncServicesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
2715
+ }
2716
+
2717
+ /** Contains response data for the listByResourceGroup operation. */
2718
+ export declare type StorageSyncServicesListByResourceGroupResponse = StorageSyncServicesListByResourceGroupHeaders & StorageSyncServiceArray;
2719
+
2720
+ /** Defines headers for StorageSyncServices_listBySubscription operation. */
2721
+ export declare interface StorageSyncServicesListBySubscriptionHeaders {
2722
+ /** request id. */
2723
+ xMsRequestId?: string;
2724
+ /** correlation request id. */
2725
+ xMsCorrelationRequestId?: string;
2726
+ }
2727
+
2728
+ /** Optional parameters. */
2729
+ export declare interface StorageSyncServicesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
2730
+ }
2731
+
2732
+ /** Contains response data for the listBySubscription operation. */
2733
+ export declare type StorageSyncServicesListBySubscriptionResponse = StorageSyncServicesListBySubscriptionHeaders & StorageSyncServiceArray;
2734
+
2735
+ /** Defines headers for StorageSyncServices_update operation. */
2736
+ export declare interface StorageSyncServicesUpdateHeaders {
2737
+ /** request id. */
2738
+ xMsRequestId?: string;
2739
+ /** correlation request id. */
2740
+ xMsCorrelationRequestId?: string;
2741
+ }
2742
+
2743
+ /** Optional parameters. */
2744
+ export declare interface StorageSyncServicesUpdateOptionalParams extends coreClient.OperationOptions {
2745
+ /** Storage Sync Service resource. */
2746
+ parameters?: StorageSyncServiceUpdateParameters;
2747
+ /** Delay to wait until next poll, in milliseconds. */
2748
+ updateIntervalInMs?: number;
2749
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
2750
+ resumeFrom?: string;
2751
+ }
2752
+
2753
+ /** Contains response data for the update operation. */
2754
+ export declare type StorageSyncServicesUpdateResponse = StorageSyncServicesUpdateHeaders & StorageSyncService;
2755
+
2756
+ /** Parameters for updating an Storage sync service. */
2757
+ export declare interface StorageSyncServiceUpdateParameters {
2758
+ /** The user-specified tags associated with the storage sync service. */
2759
+ tags?: {
2760
+ [propertyName: string]: string;
2761
+ };
2762
+ /** Incoming Traffic Policy */
2763
+ incomingTrafficPolicy?: IncomingTrafficPolicy;
2764
+ }
2765
+
2766
+ /** Subscription State object. */
2767
+ export declare interface SubscriptionState {
2768
+ /** State of Azure Subscription */
2769
+ state?: Reason;
2770
+ /**
2771
+ * Is Transitioning
2772
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2773
+ */
2774
+ readonly istransitioning?: boolean;
2775
+ /** Subscription state properties. */
2776
+ properties?: Record<string, unknown>;
2777
+ }
2778
+
2779
+ /** Sync Group object. */
2780
+ export declare type SyncGroup = ProxyResource & {
2781
+ /**
2782
+ * Unique Id
2783
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2784
+ */
2785
+ readonly uniqueId?: string;
2786
+ /**
2787
+ * Sync group status
2788
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2789
+ */
2790
+ readonly syncGroupStatus?: string;
2791
+ };
2792
+
2793
+ /** Array of SyncGroup */
2794
+ export declare interface SyncGroupArray {
2795
+ /** Collection of SyncGroup. */
2796
+ value?: SyncGroup[];
2797
+ }
2798
+
2799
+ /** The parameters used when creating a sync group. */
2800
+ export declare type SyncGroupCreateParameters = ProxyResource & {
2801
+ /** The parameters used to create the sync group */
2802
+ properties?: Record<string, unknown>;
2803
+ };
2804
+
2805
+ /** Interface representing a SyncGroups. */
2806
+ export declare interface SyncGroups {
2807
+ /**
2808
+ * Get a SyncGroup List.
2809
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2810
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2811
+ * @param options The options parameters.
2812
+ */
2813
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: SyncGroupsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<SyncGroup>;
2814
+ /**
2815
+ * Create a new SyncGroup.
2816
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2817
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2818
+ * @param syncGroupName Name of Sync Group resource.
2819
+ * @param parameters Sync Group Body
2820
+ * @param options The options parameters.
2821
+ */
2822
+ create(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, parameters: SyncGroupCreateParameters, options?: SyncGroupsCreateOptionalParams): Promise<SyncGroupsCreateResponse>;
2823
+ /**
2824
+ * Get a given SyncGroup.
2825
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2826
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2827
+ * @param syncGroupName Name of Sync Group resource.
2828
+ * @param options The options parameters.
2829
+ */
2830
+ get(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsGetOptionalParams): Promise<SyncGroupsGetResponse>;
2831
+ /**
2832
+ * Delete a given SyncGroup.
2833
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2834
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2835
+ * @param syncGroupName Name of Sync Group resource.
2836
+ * @param options The options parameters.
2837
+ */
2838
+ delete(resourceGroupName: string, storageSyncServiceName: string, syncGroupName: string, options?: SyncGroupsDeleteOptionalParams): Promise<SyncGroupsDeleteResponse>;
2839
+ }
2840
+
2841
+ /** Defines headers for SyncGroups_create operation. */
2842
+ export declare interface SyncGroupsCreateHeaders {
2843
+ /** request id. */
2844
+ xMsRequestId?: string;
2845
+ /** correlation request id. */
2846
+ xMsCorrelationRequestId?: string;
2847
+ }
2848
+
2849
+ /** Optional parameters. */
2850
+ export declare interface SyncGroupsCreateOptionalParams extends coreClient.OperationOptions {
2851
+ }
2852
+
2853
+ /** Contains response data for the create operation. */
2854
+ export declare type SyncGroupsCreateResponse = SyncGroupsCreateHeaders & SyncGroup;
2855
+
2856
+ /** Defines headers for SyncGroups_delete operation. */
2857
+ export declare interface SyncGroupsDeleteHeaders {
2858
+ /** Request id */
2859
+ xMsRequestId?: string;
2860
+ /** correlation request id */
2861
+ xMsCorrelationRequestId?: string;
2862
+ }
2863
+
2864
+ /** Optional parameters. */
2865
+ export declare interface SyncGroupsDeleteOptionalParams extends coreClient.OperationOptions {
2866
+ }
2867
+
2868
+ /** Contains response data for the delete operation. */
2869
+ export declare type SyncGroupsDeleteResponse = SyncGroupsDeleteHeaders;
2870
+
2871
+ /** Defines headers for SyncGroups_get operation. */
2872
+ export declare interface SyncGroupsGetHeaders {
2873
+ /** request id. */
2874
+ xMsRequestId?: string;
2875
+ /** correlation request id. */
2876
+ xMsCorrelationRequestId?: string;
2877
+ }
2878
+
2879
+ /** Optional parameters. */
2880
+ export declare interface SyncGroupsGetOptionalParams extends coreClient.OperationOptions {
2881
+ }
2882
+
2883
+ /** Contains response data for the get operation. */
2884
+ export declare type SyncGroupsGetResponse = SyncGroupsGetHeaders & SyncGroup;
2885
+
2886
+ /** Defines headers for SyncGroups_listByStorageSyncService operation. */
2887
+ export declare interface SyncGroupsListByStorageSyncServiceHeaders {
2888
+ /** request id. */
2889
+ xMsRequestId?: string;
2890
+ /** correlation request id. */
2891
+ xMsCorrelationRequestId?: string;
2892
+ }
2893
+
2894
+ /** Optional parameters. */
2895
+ export declare interface SyncGroupsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
2896
+ }
2897
+
2898
+ /** Contains response data for the listByStorageSyncService operation. */
2899
+ export declare type SyncGroupsListByStorageSyncServiceResponse = SyncGroupsListByStorageSyncServiceHeaders & SyncGroupArray;
2900
+
2901
+ /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */
2902
+ export declare type TrackedResource = Resource & {
2903
+ /** Resource tags. */
2904
+ tags?: {
2905
+ [propertyName: string]: string;
2906
+ };
2907
+ /** The geo-location where the resource lives */
2908
+ location: string;
2909
+ };
2910
+
2911
+ /** The parameters used when calling trigger change detection action on cloud endpoint. */
2912
+ export declare interface TriggerChangeDetectionParameters {
2913
+ /** Relative path to a directory Azure File share for which change detection is to be performed. */
2914
+ directoryPath?: string;
2915
+ /** Change Detection Mode. Applies to a directory specified in directoryPath parameter. */
2916
+ changeDetectionMode?: ChangeDetectionMode;
2917
+ /** Array of relative paths on the Azure File share to be included in the change detection. Can be files and directories. */
2918
+ paths?: string[];
2919
+ }
2920
+
2921
+ /** Trigger Rollover Request. */
2922
+ export declare interface TriggerRolloverRequest {
2923
+ /** Certificate Data */
2924
+ serverCertificate?: string;
2925
+ }
2926
+
2927
+ /** Workflow resource. */
2928
+ export declare type Workflow = ProxyResource & {
2929
+ /** last step name */
2930
+ lastStepName?: string;
2931
+ /** workflow status. */
2932
+ status?: WorkflowStatus;
2933
+ /** operation direction. */
2934
+ operation?: OperationDirection;
2935
+ /** workflow steps */
2936
+ steps?: string;
2937
+ /** workflow last operation identifier. */
2938
+ lastOperationId?: string;
2939
+ /**
2940
+ * workflow command name.
2941
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2942
+ */
2943
+ readonly commandName?: string;
2944
+ /**
2945
+ * workflow created timestamp.
2946
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2947
+ */
2948
+ readonly createdTimestamp?: Date;
2949
+ /**
2950
+ * workflow last status timestamp.
2951
+ * NOTE: This property will not be serialized. It can only be populated by the server.
2952
+ */
2953
+ readonly lastStatusTimestamp?: Date;
2954
+ };
2955
+
2956
+ /** Array of Workflow */
2957
+ export declare interface WorkflowArray {
2958
+ /** Collection of workflow items. */
2959
+ value?: Workflow[];
2960
+ }
2961
+
2962
+ /** Interface representing a Workflows. */
2963
+ export declare interface Workflows {
2964
+ /**
2965
+ * Get a Workflow List
2966
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2967
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2968
+ * @param options The options parameters.
2969
+ */
2970
+ listByStorageSyncService(resourceGroupName: string, storageSyncServiceName: string, options?: WorkflowsListByStorageSyncServiceOptionalParams): PagedAsyncIterableIterator<Workflow>;
2971
+ /**
2972
+ * Get Workflows resource
2973
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2974
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2975
+ * @param workflowId workflow Id
2976
+ * @param options The options parameters.
2977
+ */
2978
+ get(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsGetOptionalParams): Promise<WorkflowsGetResponse>;
2979
+ /**
2980
+ * Abort the given workflow.
2981
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
2982
+ * @param storageSyncServiceName Name of Storage Sync Service resource.
2983
+ * @param workflowId workflow Id
2984
+ * @param options The options parameters.
2985
+ */
2986
+ abort(resourceGroupName: string, storageSyncServiceName: string, workflowId: string, options?: WorkflowsAbortOptionalParams): Promise<WorkflowsAbortResponse>;
2987
+ }
2988
+
2989
+ /** Defines headers for Workflows_abort operation. */
2990
+ export declare interface WorkflowsAbortHeaders {
2991
+ /** request id. */
2992
+ xMsRequestId?: string;
2993
+ /** correlation request id. */
2994
+ xMsCorrelationRequestId?: string;
2995
+ }
2996
+
2997
+ /** Optional parameters. */
2998
+ export declare interface WorkflowsAbortOptionalParams extends coreClient.OperationOptions {
2999
+ }
3000
+
3001
+ /** Contains response data for the abort operation. */
3002
+ export declare type WorkflowsAbortResponse = WorkflowsAbortHeaders;
3003
+
3004
+ /** Defines headers for Workflows_get operation. */
3005
+ export declare interface WorkflowsGetHeaders {
3006
+ /** request id. */
3007
+ xMsRequestId?: string;
3008
+ /** correlation request id. */
3009
+ xMsCorrelationRequestId?: string;
3010
+ }
3011
+
3012
+ /** Optional parameters. */
3013
+ export declare interface WorkflowsGetOptionalParams extends coreClient.OperationOptions {
3014
+ }
3015
+
3016
+ /** Contains response data for the get operation. */
3017
+ export declare type WorkflowsGetResponse = WorkflowsGetHeaders & Workflow;
3018
+
3019
+ /** Defines headers for Workflows_listByStorageSyncService operation. */
3020
+ export declare interface WorkflowsListByStorageSyncServiceHeaders {
3021
+ /** request id. */
3022
+ xMsRequestId?: string;
3023
+ /** correlation request id. */
3024
+ xMsCorrelationRequestId?: string;
3025
+ }
3026
+
3027
+ /** Optional parameters. */
3028
+ export declare interface WorkflowsListByStorageSyncServiceOptionalParams extends coreClient.OperationOptions {
3029
+ }
3030
+
3031
+ /** Contains response data for the listByStorageSyncService operation. */
3032
+ export declare type WorkflowsListByStorageSyncServiceResponse = WorkflowsListByStorageSyncServiceHeaders & WorkflowArray;
3033
+
3034
+ /**
3035
+ * Defines values for WorkflowStatus. \
3036
+ * {@link KnownWorkflowStatus} can be used interchangeably with WorkflowStatus,
3037
+ * this enum contains the known values that the service supports.
3038
+ * ### Known values supported by the service
3039
+ * **active** \
3040
+ * **expired** \
3041
+ * **succeeded** \
3042
+ * **aborted** \
3043
+ * **failed**
3044
+ */
3045
+ export declare type WorkflowStatus = string;
3046
+
3047
+ export { }