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