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