@azure/arm-storagesync 7.0.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (424) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +7404 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts +2 -0
  10. package/dist-esm/samples-dev/cloudEndpointsCreate.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/cloudEndpointsCreate.js +39 -0
  12. package/dist-esm/samples-dev/cloudEndpointsCreate.js.map +1 -0
  13. package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts +2 -0
  14. package/dist-esm/samples-dev/cloudEndpointsDelete.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/cloudEndpointsDelete.js +33 -0
  16. package/dist-esm/samples-dev/cloudEndpointsDelete.js.map +1 -0
  17. package/dist-esm/samples-dev/cloudEndpointsGet.d.ts +2 -0
  18. package/dist-esm/samples-dev/cloudEndpointsGet.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/cloudEndpointsGet.js +33 -0
  20. package/dist-esm/samples-dev/cloudEndpointsGet.js.map +1 -0
  21. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts +2 -0
  22. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js +46 -0
  24. package/dist-esm/samples-dev/cloudEndpointsListBySyncGroup.js.map +1 -0
  25. package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts +2 -0
  26. package/dist-esm/samples-dev/cloudEndpointsPostBackup.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/cloudEndpointsPostBackup.js +36 -0
  28. package/dist-esm/samples-dev/cloudEndpointsPostBackup.js.map +1 -0
  29. package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts +2 -0
  30. package/dist-esm/samples-dev/cloudEndpointsPostRestore.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/cloudEndpointsPostRestore.js +44 -0
  32. package/dist-esm/samples-dev/cloudEndpointsPostRestore.js.map +1 -0
  33. package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts +2 -0
  34. package/dist-esm/samples-dev/cloudEndpointsPreBackup.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/cloudEndpointsPreBackup.js +36 -0
  36. package/dist-esm/samples-dev/cloudEndpointsPreBackup.js.map +1 -0
  37. package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts +2 -0
  38. package/dist-esm/samples-dev/cloudEndpointsPreRestore.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/cloudEndpointsPreRestore.js +42 -0
  40. package/dist-esm/samples-dev/cloudEndpointsPreRestore.js.map +1 -0
  41. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts +2 -0
  42. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js +33 -0
  44. package/dist-esm/samples-dev/cloudEndpointsRestoreheartbeat.js.map +1 -0
  45. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts +2 -0
  46. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js +37 -0
  48. package/dist-esm/samples-dev/cloudEndpointsTriggerChangeDetection.js.map +1 -0
  49. package/dist-esm/samples-dev/operationsList.d.ts +2 -0
  50. package/dist-esm/samples-dev/operationsList.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/operationsList.js +43 -0
  52. package/dist-esm/samples-dev/operationsList.js.map +1 -0
  53. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts +2 -0
  54. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js +38 -0
  56. package/dist-esm/samples-dev/privateEndpointConnectionsCreate.js.map +1 -0
  57. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts +2 -0
  58. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js +32 -0
  60. package/dist-esm/samples-dev/privateEndpointConnectionsDelete.js.map +1 -0
  61. package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts +2 -0
  62. package/dist-esm/samples-dev/privateEndpointConnectionsGet.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/privateEndpointConnectionsGet.js +32 -0
  64. package/dist-esm/samples-dev/privateEndpointConnectionsGet.js.map +1 -0
  65. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts +2 -0
  66. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js +45 -0
  68. package/dist-esm/samples-dev/privateEndpointConnectionsListByStorageSyncService.js.map +1 -0
  69. package/dist-esm/samples-dev/privateLinkResourcesList.d.ts +2 -0
  70. package/dist-esm/samples-dev/privateLinkResourcesList.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/privateLinkResourcesList.js +31 -0
  72. package/dist-esm/samples-dev/privateLinkResourcesList.js.map +1 -0
  73. package/dist-esm/samples-dev/registeredServersCreate.d.ts +2 -0
  74. package/dist-esm/samples-dev/registeredServersCreate.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/registeredServersCreate.js +40 -0
  76. package/dist-esm/samples-dev/registeredServersCreate.js.map +1 -0
  77. package/dist-esm/samples-dev/registeredServersDelete.d.ts +2 -0
  78. package/dist-esm/samples-dev/registeredServersDelete.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/registeredServersDelete.js +32 -0
  80. package/dist-esm/samples-dev/registeredServersDelete.js.map +1 -0
  81. package/dist-esm/samples-dev/registeredServersGet.d.ts +2 -0
  82. package/dist-esm/samples-dev/registeredServersGet.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/registeredServersGet.js +32 -0
  84. package/dist-esm/samples-dev/registeredServersGet.js.map +1 -0
  85. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts +2 -0
  86. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js +45 -0
  88. package/dist-esm/samples-dev/registeredServersListByStorageSyncService.js.map +1 -0
  89. package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts +2 -0
  90. package/dist-esm/samples-dev/registeredServersTriggerRollover.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/registeredServersTriggerRollover.js +35 -0
  92. package/dist-esm/samples-dev/registeredServersTriggerRollover.js.map +1 -0
  93. package/dist-esm/samples-dev/serverEndpointsCreate.d.ts +2 -0
  94. package/dist-esm/samples-dev/serverEndpointsCreate.d.ts.map +1 -0
  95. package/dist-esm/samples-dev/serverEndpointsCreate.js +45 -0
  96. package/dist-esm/samples-dev/serverEndpointsCreate.js.map +1 -0
  97. package/dist-esm/samples-dev/serverEndpointsDelete.d.ts +2 -0
  98. package/dist-esm/samples-dev/serverEndpointsDelete.d.ts.map +1 -0
  99. package/dist-esm/samples-dev/serverEndpointsDelete.js +33 -0
  100. package/dist-esm/samples-dev/serverEndpointsDelete.js.map +1 -0
  101. package/dist-esm/samples-dev/serverEndpointsGet.d.ts +2 -0
  102. package/dist-esm/samples-dev/serverEndpointsGet.d.ts.map +1 -0
  103. package/dist-esm/samples-dev/serverEndpointsGet.js +33 -0
  104. package/dist-esm/samples-dev/serverEndpointsGet.js.map +1 -0
  105. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts +2 -0
  106. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.d.ts.map +1 -0
  107. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js +46 -0
  108. package/dist-esm/samples-dev/serverEndpointsListBySyncGroup.js.map +1 -0
  109. package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts +2 -0
  110. package/dist-esm/samples-dev/serverEndpointsRecallAction.d.ts.map +1 -0
  111. package/dist-esm/samples-dev/serverEndpointsRecallAction.js +34 -0
  112. package/dist-esm/samples-dev/serverEndpointsRecallAction.js.map +1 -0
  113. package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts +2 -0
  114. package/dist-esm/samples-dev/serverEndpointsUpdate.d.ts.map +1 -0
  115. package/dist-esm/samples-dev/serverEndpointsUpdate.js +41 -0
  116. package/dist-esm/samples-dev/serverEndpointsUpdate.js.map +1 -0
  117. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts +2 -0
  118. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts.map +1 -0
  119. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js +34 -0
  120. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map +1 -0
  121. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts +2 -0
  122. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.d.ts.map +1 -0
  123. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js +34 -0
  124. package/dist-esm/samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.js.map +1 -0
  125. package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts +2 -0
  126. package/dist-esm/samples-dev/storageSyncServicesCreate.d.ts.map +1 -0
  127. package/dist-esm/samples-dev/storageSyncServicesCreate.js +36 -0
  128. package/dist-esm/samples-dev/storageSyncServicesCreate.js.map +1 -0
  129. package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts +2 -0
  130. package/dist-esm/samples-dev/storageSyncServicesDelete.d.ts.map +1 -0
  131. package/dist-esm/samples-dev/storageSyncServicesDelete.js +31 -0
  132. package/dist-esm/samples-dev/storageSyncServicesDelete.js.map +1 -0
  133. package/dist-esm/samples-dev/storageSyncServicesGet.d.ts +2 -0
  134. package/dist-esm/samples-dev/storageSyncServicesGet.d.ts.map +1 -0
  135. package/dist-esm/samples-dev/storageSyncServicesGet.js +31 -0
  136. package/dist-esm/samples-dev/storageSyncServicesGet.js.map +1 -0
  137. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts +2 -0
  138. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.d.ts.map +1 -0
  139. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js +44 -0
  140. package/dist-esm/samples-dev/storageSyncServicesListByResourceGroup.js.map +1 -0
  141. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts +2 -0
  142. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.d.ts.map +1 -0
  143. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js +43 -0
  144. package/dist-esm/samples-dev/storageSyncServicesListBySubscription.js.map +1 -0
  145. package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts +2 -0
  146. package/dist-esm/samples-dev/storageSyncServicesUpdate.d.ts.map +1 -0
  147. package/dist-esm/samples-dev/storageSyncServicesUpdate.js +36 -0
  148. package/dist-esm/samples-dev/storageSyncServicesUpdate.js.map +1 -0
  149. package/dist-esm/samples-dev/syncGroupsCreate.d.ts +2 -0
  150. package/dist-esm/samples-dev/syncGroupsCreate.d.ts.map +1 -0
  151. package/dist-esm/samples-dev/syncGroupsCreate.js +33 -0
  152. package/dist-esm/samples-dev/syncGroupsCreate.js.map +1 -0
  153. package/dist-esm/samples-dev/syncGroupsDelete.d.ts +2 -0
  154. package/dist-esm/samples-dev/syncGroupsDelete.d.ts.map +1 -0
  155. package/dist-esm/samples-dev/syncGroupsDelete.js +32 -0
  156. package/dist-esm/samples-dev/syncGroupsDelete.js.map +1 -0
  157. package/dist-esm/samples-dev/syncGroupsGet.d.ts +2 -0
  158. package/dist-esm/samples-dev/syncGroupsGet.d.ts.map +1 -0
  159. package/dist-esm/samples-dev/syncGroupsGet.js +32 -0
  160. package/dist-esm/samples-dev/syncGroupsGet.js.map +1 -0
  161. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts +2 -0
  162. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.d.ts.map +1 -0
  163. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js +45 -0
  164. package/dist-esm/samples-dev/syncGroupsListByStorageSyncService.js.map +1 -0
  165. package/dist-esm/samples-dev/workflowsAbort.d.ts +2 -0
  166. package/dist-esm/samples-dev/workflowsAbort.d.ts.map +1 -0
  167. package/dist-esm/samples-dev/workflowsAbort.js +32 -0
  168. package/dist-esm/samples-dev/workflowsAbort.js.map +1 -0
  169. package/dist-esm/samples-dev/workflowsGet.d.ts +2 -0
  170. package/dist-esm/samples-dev/workflowsGet.d.ts.map +1 -0
  171. package/dist-esm/samples-dev/workflowsGet.js +31 -0
  172. package/dist-esm/samples-dev/workflowsGet.js.map +1 -0
  173. package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts +2 -0
  174. package/dist-esm/samples-dev/workflowsListByStorageSyncService.d.ts.map +1 -0
  175. package/dist-esm/samples-dev/workflowsListByStorageSyncService.js +45 -0
  176. package/dist-esm/samples-dev/workflowsListByStorageSyncService.js.map +1 -0
  177. package/dist-esm/src/index.d.ts +5 -0
  178. package/dist-esm/src/index.d.ts.map +1 -0
  179. package/dist-esm/src/index.js +12 -0
  180. package/dist-esm/src/index.js.map +1 -0
  181. package/dist-esm/src/lroImpl.d.ts +16 -0
  182. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  183. package/dist-esm/src/lroImpl.js +29 -0
  184. package/dist-esm/src/lroImpl.js.map +1 -0
  185. package/dist-esm/src/microsoftStorageSync.d.ts +34 -0
  186. package/dist-esm/src/microsoftStorageSync.d.ts.map +1 -0
  187. package/dist-esm/src/microsoftStorageSync.js +95 -0
  188. package/dist-esm/src/microsoftStorageSync.js.map +1 -0
  189. package/dist-esm/src/models/index.d.ts +2205 -0
  190. package/dist-esm/src/models/index.d.ts.map +1 -0
  191. package/dist-esm/src/models/index.js +145 -0
  192. package/dist-esm/src/models/index.js.map +1 -0
  193. package/dist-esm/src/models/mappers.d.ts +114 -0
  194. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  195. package/{esm → dist-esm/src}/models/mappers.js +2357 -1046
  196. package/dist-esm/src/models/mappers.js.map +1 -0
  197. package/dist-esm/src/models/parameters.d.ts +33 -0
  198. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  199. package/dist-esm/src/models/parameters.js +241 -0
  200. package/dist-esm/src/models/parameters.js.map +1 -0
  201. package/{esm → dist-esm/src}/operations/cloudEndpoints.d.ts +75 -106
  202. package/dist-esm/src/operations/cloudEndpoints.d.ts.map +1 -0
  203. package/dist-esm/src/operations/cloudEndpoints.js +839 -0
  204. package/dist-esm/src/operations/cloudEndpoints.js.map +1 -0
  205. package/{esm → dist-esm/src}/operations/index.d.ts +3 -0
  206. package/dist-esm/src/operations/index.d.ts.map +1 -0
  207. package/dist-esm/src/operations/index.js +18 -0
  208. package/dist-esm/src/operations/index.js.map +1 -0
  209. package/dist-esm/src/operations/operationStatusOperations.d.ts +22 -0
  210. package/dist-esm/src/operations/operationStatusOperations.d.ts.map +1 -0
  211. package/dist-esm/src/operations/operationStatusOperations.js +58 -0
  212. package/dist-esm/src/operations/operationStatusOperations.js.map +1 -0
  213. package/dist-esm/src/operations/operations.d.ts +32 -0
  214. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  215. package/dist-esm/src/operations/operations.js +122 -0
  216. package/dist-esm/src/operations/operations.js.map +1 -0
  217. package/dist-esm/src/operations/privateEndpointConnections.d.ts +83 -0
  218. package/dist-esm/src/operations/privateEndpointConnections.d.ts.map +1 -0
  219. package/dist-esm/src/operations/privateEndpointConnections.js +320 -0
  220. package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -0
  221. package/dist-esm/src/operations/privateLinkResources.d.ts +21 -0
  222. package/dist-esm/src/operations/privateLinkResources.d.ts.map +1 -0
  223. package/dist-esm/src/operations/privateLinkResources.js +51 -0
  224. package/dist-esm/src/operations/privateLinkResources.js.map +1 -0
  225. package/dist-esm/src/operations/registeredServers.d.ts +91 -0
  226. package/dist-esm/src/operations/registeredServers.d.ts.map +1 -0
  227. package/dist-esm/src/operations/registeredServers.js +405 -0
  228. package/dist-esm/src/operations/registeredServers.js.map +1 -0
  229. package/dist-esm/src/operations/serverEndpoints.d.ts +118 -0
  230. package/dist-esm/src/operations/serverEndpoints.d.ts.map +1 -0
  231. package/dist-esm/src/operations/serverEndpoints.js +530 -0
  232. package/dist-esm/src/operations/serverEndpoints.js.map +1 -0
  233. package/dist-esm/src/operations/storageSyncServices.d.ts +99 -0
  234. package/dist-esm/src/operations/storageSyncServices.d.ts.map +1 -0
  235. package/dist-esm/src/operations/storageSyncServices.js +471 -0
  236. package/dist-esm/src/operations/storageSyncServices.js.map +1 -0
  237. package/dist-esm/src/operations/syncGroups.d.ts +55 -0
  238. package/dist-esm/src/operations/syncGroups.d.ts.map +1 -0
  239. package/dist-esm/src/operations/syncGroups.js +208 -0
  240. package/dist-esm/src/operations/syncGroups.js.map +1 -0
  241. package/dist-esm/src/operations/workflows.d.ts +46 -0
  242. package/dist-esm/src/operations/workflows.d.ts.map +1 -0
  243. package/dist-esm/src/operations/workflows.js +165 -0
  244. package/dist-esm/src/operations/workflows.js.map +1 -0
  245. package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts +173 -0
  246. package/dist-esm/src/operationsInterfaces/cloudEndpoints.d.ts.map +1 -0
  247. package/dist-esm/src/operationsInterfaces/cloudEndpoints.js +9 -0
  248. package/dist-esm/src/operationsInterfaces/cloudEndpoints.js.map +1 -0
  249. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  250. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  251. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  252. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  253. package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts +14 -0
  254. package/dist-esm/src/operationsInterfaces/operationStatusOperations.d.ts.map +1 -0
  255. package/dist-esm/src/operationsInterfaces/operationStatusOperations.js +9 -0
  256. package/dist-esm/src/operationsInterfaces/operationStatusOperations.js.map +1 -0
  257. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  258. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  259. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  260. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  261. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts +66 -0
  262. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -0
  263. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js +9 -0
  264. package/dist-esm/src/operationsInterfaces/privateEndpointConnections.js.map +1 -0
  265. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts +13 -0
  266. package/dist-esm/src/operationsInterfaces/privateLinkResources.d.ts.map +1 -0
  267. package/dist-esm/src/operationsInterfaces/privateLinkResources.js +9 -0
  268. package/dist-esm/src/operationsInterfaces/privateLinkResources.js.map +1 -0
  269. package/dist-esm/src/operationsInterfaces/registeredServers.d.ts +74 -0
  270. package/dist-esm/src/operationsInterfaces/registeredServers.d.ts.map +1 -0
  271. package/dist-esm/src/operationsInterfaces/registeredServers.js +9 -0
  272. package/dist-esm/src/operationsInterfaces/registeredServers.js.map +1 -0
  273. package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts +100 -0
  274. package/dist-esm/src/operationsInterfaces/serverEndpoints.d.ts.map +1 -0
  275. package/dist-esm/src/operationsInterfaces/serverEndpoints.js +9 -0
  276. package/dist-esm/src/operationsInterfaces/serverEndpoints.js.map +1 -0
  277. package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts +76 -0
  278. package/dist-esm/src/operationsInterfaces/storageSyncServices.d.ts.map +1 -0
  279. package/dist-esm/src/operationsInterfaces/storageSyncServices.js +9 -0
  280. package/dist-esm/src/operationsInterfaces/storageSyncServices.js.map +1 -0
  281. package/dist-esm/src/operationsInterfaces/syncGroups.d.ts +38 -0
  282. package/dist-esm/src/operationsInterfaces/syncGroups.d.ts.map +1 -0
  283. package/dist-esm/src/operationsInterfaces/syncGroups.js +9 -0
  284. package/dist-esm/src/operationsInterfaces/syncGroups.js.map +1 -0
  285. package/dist-esm/src/operationsInterfaces/workflows.d.ts +29 -0
  286. package/dist-esm/src/operationsInterfaces/workflows.d.ts.map +1 -0
  287. package/dist-esm/src/operationsInterfaces/workflows.js +9 -0
  288. package/dist-esm/src/operationsInterfaces/workflows.js.map +1 -0
  289. package/dist-esm/test/sampleTest.d.ts +2 -0
  290. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  291. package/dist-esm/test/sampleTest.js +40 -0
  292. package/dist-esm/test/sampleTest.js.map +1 -0
  293. package/package.json +79 -34
  294. package/review/arm-storagesync.api.md +1614 -0
  295. package/rollup.config.js +181 -30
  296. package/src/index.ts +12 -0
  297. package/src/lroImpl.ts +34 -0
  298. package/src/microsoftStorageSync.ts +164 -0
  299. package/src/models/index.ts +2483 -0
  300. package/{lib → src}/models/mappers.ts +2459 -1083
  301. package/src/models/parameters.ts +293 -0
  302. package/src/operations/cloudEndpoints.ts +1229 -0
  303. package/{lib → src}/operations/index.ts +6 -5
  304. package/src/operations/operationStatusOperations.ts +80 -0
  305. package/src/operations/operations.ts +139 -0
  306. package/src/operations/privateEndpointConnections.ts +451 -0
  307. package/src/operations/privateLinkResources.ts +70 -0
  308. package/src/operations/registeredServers.ts +587 -0
  309. package/src/operations/serverEndpoints.ts +775 -0
  310. package/src/operations/storageSyncServices.ts +637 -0
  311. package/src/operations/syncGroups.ts +282 -0
  312. package/src/operations/workflows.ts +225 -0
  313. package/src/operationsInterfaces/cloudEndpoints.ts +338 -0
  314. package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +7 -6
  315. package/src/operationsInterfaces/operationStatusOperations.ts +31 -0
  316. package/src/operationsInterfaces/operations.ts +22 -0
  317. package/src/operationsInterfaces/privateEndpointConnections.ts +119 -0
  318. package/src/operationsInterfaces/privateLinkResources.ts +28 -0
  319. package/src/operationsInterfaces/registeredServers.ts +154 -0
  320. package/src/operationsInterfaces/serverEndpoints.ts +207 -0
  321. package/src/operationsInterfaces/storageSyncServices.ts +155 -0
  322. package/src/operationsInterfaces/syncGroups.ts +77 -0
  323. package/src/operationsInterfaces/workflows.ts +59 -0
  324. package/tsconfig.json +6 -5
  325. package/types/arm-storagesync.d.ts +3047 -0
  326. package/types/tsdoc-metadata.json +11 -0
  327. package/dist/arm-storagesync.js +0 -4821
  328. package/dist/arm-storagesync.js.map +0 -1
  329. package/dist/arm-storagesync.min.js +0 -1
  330. package/dist/arm-storagesync.min.js.map +0 -1
  331. package/esm/models/cloudEndpointsMappers.d.ts +0 -2
  332. package/esm/models/cloudEndpointsMappers.d.ts.map +0 -1
  333. package/esm/models/cloudEndpointsMappers.js +0 -9
  334. package/esm/models/cloudEndpointsMappers.js.map +0 -1
  335. package/esm/models/index.d.ts +0 -2307
  336. package/esm/models/index.d.ts.map +0 -1
  337. package/esm/models/index.js +0 -8
  338. package/esm/models/index.js.map +0 -1
  339. package/esm/models/mappers.d.ts +0 -82
  340. package/esm/models/mappers.d.ts.map +0 -1
  341. package/esm/models/mappers.js.map +0 -1
  342. package/esm/models/operationsMappers.d.ts +0 -2
  343. package/esm/models/operationsMappers.d.ts.map +0 -1
  344. package/esm/models/operationsMappers.js +0 -9
  345. package/esm/models/operationsMappers.js.map +0 -1
  346. package/esm/models/parameters.d.ts +0 -14
  347. package/esm/models/parameters.d.ts.map +0 -1
  348. package/esm/models/parameters.js +0 -142
  349. package/esm/models/parameters.js.map +0 -1
  350. package/esm/models/registeredServersMappers.d.ts +0 -2
  351. package/esm/models/registeredServersMappers.d.ts.map +0 -1
  352. package/esm/models/registeredServersMappers.js +0 -9
  353. package/esm/models/registeredServersMappers.js.map +0 -1
  354. package/esm/models/serverEndpointsMappers.d.ts +0 -2
  355. package/esm/models/serverEndpointsMappers.d.ts.map +0 -1
  356. package/esm/models/serverEndpointsMappers.js +0 -9
  357. package/esm/models/serverEndpointsMappers.js.map +0 -1
  358. package/esm/models/storageSyncServicesMappers.d.ts +0 -2
  359. package/esm/models/storageSyncServicesMappers.d.ts.map +0 -1
  360. package/esm/models/storageSyncServicesMappers.js +0 -9
  361. package/esm/models/storageSyncServicesMappers.js.map +0 -1
  362. package/esm/models/syncGroupsMappers.d.ts +0 -2
  363. package/esm/models/syncGroupsMappers.d.ts.map +0 -1
  364. package/esm/models/syncGroupsMappers.js +0 -9
  365. package/esm/models/syncGroupsMappers.js.map +0 -1
  366. package/esm/models/workflowsMappers.d.ts +0 -2
  367. package/esm/models/workflowsMappers.d.ts.map +0 -1
  368. package/esm/models/workflowsMappers.js +0 -9
  369. package/esm/models/workflowsMappers.js.map +0 -1
  370. package/esm/operations/cloudEndpoints.d.ts.map +0 -1
  371. package/esm/operations/cloudEndpoints.js +0 -533
  372. package/esm/operations/cloudEndpoints.js.map +0 -1
  373. package/esm/operations/index.d.ts.map +0 -1
  374. package/esm/operations/index.js.map +0 -1
  375. package/esm/operations/operations.d.ts +0 -46
  376. package/esm/operations/operations.d.ts.map +0 -1
  377. package/esm/operations/operations.js +0 -79
  378. package/esm/operations/operations.js.map +0 -1
  379. package/esm/operations/registeredServers.d.ts +0 -117
  380. package/esm/operations/registeredServers.d.ts.map +0 -1
  381. package/esm/operations/registeredServers.js +0 -280
  382. package/esm/operations/registeredServers.js.map +0 -1
  383. package/esm/operations/serverEndpoints.d.ts +0 -149
  384. package/esm/operations/serverEndpoints.d.ts.map +0 -1
  385. package/esm/operations/serverEndpoints.js +0 -361
  386. package/esm/operations/serverEndpoints.js.map +0 -1
  387. package/esm/operations/storageSyncServices.d.ts +0 -154
  388. package/esm/operations/storageSyncServices.d.ts.map +0 -1
  389. package/esm/operations/storageSyncServices.js +0 -261
  390. package/esm/operations/storageSyncServices.js.map +0 -1
  391. package/esm/operations/syncGroups.d.ts +0 -109
  392. package/esm/operations/syncGroups.d.ts.map +0 -1
  393. package/esm/operations/syncGroups.js +0 -169
  394. package/esm/operations/syncGroups.js.map +0 -1
  395. package/esm/operations/workflows.d.ts +0 -82
  396. package/esm/operations/workflows.d.ts.map +0 -1
  397. package/esm/operations/workflows.js +0 -126
  398. package/esm/operations/workflows.js.map +0 -1
  399. package/esm/storageSyncManagementClient.d.ts +0 -24
  400. package/esm/storageSyncManagementClient.d.ts.map +0 -1
  401. package/esm/storageSyncManagementClient.js +0 -39
  402. package/esm/storageSyncManagementClient.js.map +0 -1
  403. package/esm/storageSyncManagementClientContext.d.ts +0 -16
  404. package/esm/storageSyncManagementClientContext.d.ts.map +0 -1
  405. package/esm/storageSyncManagementClientContext.js +0 -56
  406. package/esm/storageSyncManagementClientContext.js.map +0 -1
  407. package/lib/models/cloudEndpointsMappers.ts +0 -47
  408. package/lib/models/index.ts +0 -2485
  409. package/lib/models/operationsMappers.ts +0 -17
  410. package/lib/models/parameters.ts +0 -144
  411. package/lib/models/registeredServersMappers.ts +0 -39
  412. package/lib/models/serverEndpointsMappers.ts +0 -41
  413. package/lib/models/storageSyncServicesMappers.ts +0 -43
  414. package/lib/models/syncGroupsMappers.ts +0 -37
  415. package/lib/models/workflowsMappers.ts +0 -36
  416. package/lib/operations/cloudEndpoints.ts +0 -680
  417. package/lib/operations/operations.ts +0 -125
  418. package/lib/operations/registeredServers.ts +0 -362
  419. package/lib/operations/serverEndpoints.ts +0 -455
  420. package/lib/operations/storageSyncServices.ts +0 -445
  421. package/lib/operations/syncGroups.ts +0 -290
  422. package/lib/operations/workflows.ts +0 -213
  423. package/lib/storageSyncManagementClient.ts +0 -54
  424. package/lib/storageSyncManagementClientContext.ts +0 -62
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=serverEndpointsRecallAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverEndpointsRecallAction.d.ts","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Recall a server endpoint.
13
+ *
14
+ * @summary Recall a server endpoint.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Recall.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function serverEndpointsRecallAction() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const syncGroupName = "SampleSyncGroup_1";
25
+ const serverEndpointName = "SampleServerEndpoint_1";
26
+ const parameters = { pattern: "", recallPath: "" };
27
+ const credential = new DefaultAzureCredential();
28
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
29
+ const result = yield client.serverEndpoints.beginRecallActionAndWait(resourceGroupName, storageSyncServiceName, syncGroupName, serverEndpointName, parameters);
30
+ console.log(result);
31
+ });
32
+ }
33
+ serverEndpointsRecallAction().catch(console.error);
34
+ //# sourceMappingURL=serverEndpointsRecallAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverEndpointsRecallAction.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsRecallAction.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAA2B,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QAC3E,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,wBAAwB,CAClE,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=serverEndpointsUpdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverEndpointsUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Patch a given ServerEndpoint.
13
+ *
14
+ * @summary Patch a given ServerEndpoint.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function serverEndpointsUpdate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const syncGroupName = "SampleSyncGroup_1";
25
+ const serverEndpointName = "SampleServerEndpoint_1";
26
+ const parameters = {
27
+ cloudTiering: "off",
28
+ localCacheMode: "UpdateLocallyCachedFiles",
29
+ offlineDataTransfer: "off",
30
+ tierFilesOlderThanDays: 0,
31
+ volumeFreeSpacePercent: 100
32
+ };
33
+ const options = { parameters: parameters };
34
+ const credential = new DefaultAzureCredential();
35
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
36
+ const result = yield client.serverEndpoints.beginUpdateAndWait(resourceGroupName, storageSyncServiceName, syncGroupName, serverEndpointName, options);
37
+ console.log(result);
38
+ });
39
+ }
40
+ serverEndpointsUpdate().catch(console.error);
41
+ //# sourceMappingURL=serverEndpointsUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverEndpointsUpdate.js","sourceRoot":"","sources":["../../samples-dev/serverEndpointsUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qBAAqB;;QAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,kBAAkB,GAAG,wBAAwB,CAAC;QACpD,MAAM,UAAU,GAAmC;YACjD,YAAY,EAAE,KAAK;YACnB,cAAc,EAAE,0BAA0B;YAC1C,mBAAmB,EAAE,KAAK;YAC1B,sBAAsB,EAAE,CAAC;YACzB,sBAAsB,EAAE,GAAG;SAC5B,CAAC;QACF,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,eAAe,CAAC,kBAAkB,CAC5D,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,kBAAkB,EAClB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,qBAAqB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Check the give namespace name availability.
13
+ *
14
+ * @summary Check the give namespace name availability.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServiceCheckNameAvailabilityAlreadyExists() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c";
22
+ const locationName = "westus";
23
+ const parameters = {
24
+ name: "newstoragesyncservicename",
25
+ type: "Microsoft.StorageSync/storageSyncServices"
26
+ };
27
+ const credential = new DefaultAzureCredential();
28
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
29
+ const result = yield client.storageSyncServices.checkNameAvailability(locationName, parameters);
30
+ console.log(result);
31
+ });
32
+ }
33
+ storageSyncServiceCheckNameAvailabilityAlreadyExists().catch(console.error);
34
+ //# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAlreadyExists.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServiceCheckNameAvailabilityAlreadyExists.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAlreadyExists.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oDAAoD;;QACjE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CACnE,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oDAAoD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAvailable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Check the give namespace name availability.
13
+ *
14
+ * @summary Check the give namespace name availability.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServiceCheckNameAvailabilityAvailable() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "5c6bc8e1-1eaf-4192-94d8-58ce463ac86c";
22
+ const locationName = "westus";
23
+ const parameters = {
24
+ name: "newstoragesyncservicename",
25
+ type: "Microsoft.StorageSync/storageSyncServices"
26
+ };
27
+ const credential = new DefaultAzureCredential();
28
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
29
+ const result = yield client.storageSyncServices.checkNameAvailability(locationName, parameters);
30
+ console.log(result);
31
+ });
32
+ }
33
+ storageSyncServiceCheckNameAvailabilityAvailable().catch(console.error);
34
+ //# sourceMappingURL=storageSyncServiceCheckNameAvailabilityAvailable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServiceCheckNameAvailabilityAvailable.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServiceCheckNameAvailabilityAvailable.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gDAAgD;;QAC7D,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,YAAY,GAAG,QAAQ,CAAC;QAC9B,MAAM,UAAU,GAAoC;YAClD,IAAI,EAAE,2BAA2B;YACjC,IAAI,EAAE,2CAA2C;SAClD,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,qBAAqB,CACnE,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gDAAgD,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Create a new StorageSyncService.
13
+ *
14
+ * @summary Create a new StorageSyncService.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Create.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesCreate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const parameters = {
25
+ incomingTrafficPolicy: "AllowAllTraffic",
26
+ location: "WestUS",
27
+ tags: {}
28
+ };
29
+ const credential = new DefaultAzureCredential();
30
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
31
+ const result = yield client.storageSyncServices.beginCreateAndWait(resourceGroupName, storageSyncServiceName, parameters);
32
+ console.log(result);
33
+ });
34
+ }
35
+ storageSyncServicesCreate().catch(console.error);
36
+ //# sourceMappingURL=storageSyncServicesCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesCreate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAuC;YACrD,qBAAqB,EAAE,iBAAiB;YACxC,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,EAAE;SACT,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesDelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesDelete.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Delete a given StorageSyncService.
13
+ *
14
+ * @summary Delete a given StorageSyncService.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Delete.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesDelete() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
26
+ const result = yield client.storageSyncServices.beginDeleteAndWait(resourceGroupName, storageSyncServiceName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ storageSyncServicesDelete().catch(console.error);
31
+ //# sourceMappingURL=storageSyncServicesDelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesDelete.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesGet.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesGet.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Get a given StorageSyncService.
13
+ *
14
+ * @summary Get a given StorageSyncService.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Get.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesGet() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
26
+ const result = yield client.storageSyncServices.get(resourceGroupName, storageSyncServiceName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ storageSyncServicesGet().catch(console.error);
31
+ //# sourceMappingURL=storageSyncServicesGet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesGet.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesGet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sBAAsB;;QACnC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,GAAG,CACjD,iBAAiB,EACjB,sBAAsB,CACvB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,sBAAsB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesListByResourceGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesListByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListByResourceGroup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Get a StorageSyncService list by Resource group name.
13
+ *
14
+ * @summary Get a StorageSyncService list by Resource group name.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesListByResourceGroup() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
23
+ const resourceGroupName = "SampleResourceGroup_1";
24
+ const credential = new DefaultAzureCredential();
25
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
26
+ const resArray = new Array();
27
+ try {
28
+ for (var _b = __asyncValues(client.storageSyncServices.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
29
+ let item = _c.value;
30
+ resArray.push(item);
31
+ }
32
+ }
33
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
34
+ finally {
35
+ try {
36
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
37
+ }
38
+ finally { if (e_1) throw e_1.error; }
39
+ }
40
+ console.log(resArray);
41
+ });
42
+ }
43
+ storageSyncServicesListByResourceGroup().catch(console.error);
44
+ //# sourceMappingURL=storageSyncServicesListByResourceGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesListByResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,sCAAsC;;;QACnD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,CACnE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesListBySubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesListBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListBySubscription.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncValues, __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Get a StorageSyncService list by subscription.
13
+ *
14
+ * @summary Get a StorageSyncService list by subscription.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListBySubscription.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesListBySubscription() {
20
+ var e_1, _a;
21
+ return __awaiter(this, void 0, void 0, function* () {
22
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
23
+ const credential = new DefaultAzureCredential();
24
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
25
+ const resArray = new Array();
26
+ try {
27
+ for (var _b = __asyncValues(client.storageSyncServices.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
28
+ let item = _c.value;
29
+ resArray.push(item);
30
+ }
31
+ }
32
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
33
+ finally {
34
+ try {
35
+ if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
36
+ }
37
+ finally { if (e_1) throw e_1.error; }
38
+ }
39
+ console.log(resArray);
40
+ });
41
+ }
42
+ storageSyncServicesListBySubscription().catch(console.error);
43
+ //# sourceMappingURL=storageSyncServicesListBySubscription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesListBySubscription.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesListBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,qCAAqC;;;QAClD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA3D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,qCAAqC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=storageSyncServicesUpdate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesUpdate.d.ts","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesUpdate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Patch a given StorageSyncService.
13
+ *
14
+ * @summary Patch a given StorageSyncService.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Update.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function storageSyncServicesUpdate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const parameters = {
25
+ incomingTrafficPolicy: "AllowAllTraffic",
26
+ tags: { dept: "IT", environment: "Test" }
27
+ };
28
+ const options = { parameters: parameters };
29
+ const credential = new DefaultAzureCredential();
30
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
31
+ const result = yield client.storageSyncServices.beginUpdateAndWait(resourceGroupName, storageSyncServiceName, options);
32
+ console.log(result);
33
+ });
34
+ }
35
+ storageSyncServicesUpdate().catch(console.error);
36
+ //# sourceMappingURL=storageSyncServicesUpdate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageSyncServicesUpdate.js","sourceRoot":"","sources":["../../samples-dev/storageSyncServicesUpdate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,UAAU,GAAuC;YACrD,qBAAqB,EAAE,iBAAiB;YACxC,IAAI,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE;SAC1C,CAAC;QACF,MAAM,OAAO,GAAG,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC;QAC3C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,kBAAkB,CAChE,iBAAiB,EACjB,sBAAsB,EACtB,OAAO,CACR,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=syncGroupsCreate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncGroupsCreate.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsCreate.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Create a new SyncGroup.
13
+ *
14
+ * @summary Create a new SyncGroup.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Create.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function syncGroupsCreate() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const syncGroupName = "SampleSyncGroup_1";
25
+ const parameters = { properties: {} };
26
+ const credential = new DefaultAzureCredential();
27
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
28
+ const result = yield client.syncGroups.create(resourceGroupName, storageSyncServiceName, syncGroupName, parameters);
29
+ console.log(result);
30
+ });
31
+ }
32
+ syncGroupsCreate().catch(console.error);
33
+ //# sourceMappingURL=syncGroupsCreate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncGroupsCreate.js","sourceRoot":"","sources":["../../samples-dev/syncGroupsCreate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,oBAAoB,EACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAA8B,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC;QACjE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=syncGroupsDelete.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncGroupsDelete.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsDelete.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __awaiter } from "tslib";
9
+ // Copyright (c) Microsoft Corporation.
10
+ // Licensed under the MIT License.
11
+ /**
12
+ * This sample demonstrates how to Delete a given SyncGroup.
13
+ *
14
+ * @summary Delete a given SyncGroup.
15
+ * x-ms-original-file: specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Delete.json
16
+ */
17
+ import { MicrosoftStorageSync } from "@azure/arm-storagesync";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function syncGroupsDelete() {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ const subscriptionId = "52b8da2f-61e0-4a1f-8dde-336911f367fb";
22
+ const resourceGroupName = "SampleResourceGroup_1";
23
+ const storageSyncServiceName = "SampleStorageSyncService_1";
24
+ const syncGroupName = "SampleSyncGroup_1";
25
+ const credential = new DefaultAzureCredential();
26
+ const client = new MicrosoftStorageSync(credential, subscriptionId);
27
+ const result = yield client.syncGroups.delete(resourceGroupName, storageSyncServiceName, syncGroupName);
28
+ console.log(result);
29
+ });
30
+ }
31
+ syncGroupsDelete().catch(console.error);
32
+ //# sourceMappingURL=syncGroupsDelete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncGroupsDelete.js","sourceRoot":"","sources":["../../samples-dev/syncGroupsDelete.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,gBAAgB;;QAC7B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;QAClD,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;QAC5D,MAAM,aAAa,GAAG,mBAAmB,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,oBAAoB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QACpE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,MAAM,CAC3C,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,gBAAgB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=syncGroupsGet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncGroupsGet.d.ts","sourceRoot":"","sources":["../../samples-dev/syncGroupsGet.ts"],"names":[],"mappings":""}