azure_mgmt_storagesync 0.17.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +20 -20
  3. data/lib/2018-04-02/generated/azure_mgmt_storagesync.rb +0 -0
  4. data/lib/2018-04-02/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
  5. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
  6. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
  7. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
  8. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
  9. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
  10. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
  11. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
  12. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
  13. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
  14. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
  15. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
  16. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
  17. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
  18. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
  19. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
  20. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
  21. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
  22. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
  23. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
  24. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
  25. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
  26. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
  27. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
  28. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
  29. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
  30. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
  31. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
  32. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
  33. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
  34. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
  35. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
  36. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
  37. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
  38. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
  39. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
  40. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
  41. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
  42. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
  43. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
  44. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
  45. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
  46. data/lib/2018-04-02/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
  47. data/lib/2018-04-02/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
  48. data/lib/2018-04-02/generated/azure_mgmt_storagesync/operations.rb +4 -0
  49. data/lib/2018-04-02/generated/azure_mgmt_storagesync/registered_servers.rb +8 -0
  50. data/lib/2018-04-02/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
  51. data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
  52. data/lib/2018-04-02/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
  53. data/lib/2018-04-02/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
  54. data/lib/2018-04-02/generated/azure_mgmt_storagesync/workflows.rb +4 -0
  55. data/lib/2018-07-01/generated/azure_mgmt_storagesync.rb +0 -0
  56. data/lib/2018-07-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
  57. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
  58. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
  59. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
  60. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
  61. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
  62. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
  63. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
  64. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
  65. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
  66. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
  67. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
  68. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
  69. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
  70. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
  71. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
  72. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
  73. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
  74. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
  75. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
  76. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
  77. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
  78. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
  79. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
  80. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
  81. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
  82. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
  83. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
  84. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
  85. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
  86. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
  87. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
  88. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
  89. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
  90. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
  91. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
  92. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
  93. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
  94. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
  95. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
  96. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
  97. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
  98. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
  99. data/lib/2018-07-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
  100. data/lib/2018-07-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
  101. data/lib/2018-07-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
  102. data/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
  103. data/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
  104. data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
  105. data/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
  106. data/lib/2018-07-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
  107. data/lib/2018-07-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
  108. data/lib/2018-10-01/generated/azure_mgmt_storagesync.rb +0 -0
  109. data/lib/2018-10-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
  110. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
  111. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
  112. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
  113. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
  114. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
  115. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
  116. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
  117. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
  118. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
  119. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
  120. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
  121. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
  122. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
  123. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
  124. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
  125. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
  126. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
  127. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
  128. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
  129. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
  130. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
  131. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
  132. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
  133. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
  134. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
  135. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
  136. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
  137. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_health.rb +0 -0
  138. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
  139. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
  140. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
  141. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
  142. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
  143. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
  144. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
  145. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
  146. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
  147. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
  148. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
  149. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
  150. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_progress_status.rb +0 -0
  151. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +0 -0
  152. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
  153. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
  154. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
  155. data/lib/2018-10-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
  156. data/lib/2018-10-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
  157. data/lib/2018-10-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
  158. data/lib/2018-10-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
  159. data/lib/2018-10-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
  160. data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
  161. data/lib/2018-10-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
  162. data/lib/2018-10-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
  163. data/lib/2018-10-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
  164. data/lib/2019-02-01/generated/azure_mgmt_storagesync.rb +0 -0
  165. data/lib/2019-02-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +18 -0
  166. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +0 -0
  167. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/backup_request.rb +0 -0
  168. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +0 -0
  169. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +0 -0
  170. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +0 -0
  171. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +0 -0
  172. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +0 -0
  173. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/files_not_syncing_error.rb +0 -0
  174. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +0 -0
  175. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +0 -0
  176. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +0 -0
  177. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +0 -0
  178. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +0 -0
  179. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +0 -0
  180. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +0 -0
  181. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +0 -0
  182. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +0 -0
  183. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/reason.rb +0 -0
  184. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +0 -0
  185. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server.rb +0 -0
  186. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +0 -0
  187. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +0 -0
  188. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resource.rb +0 -0
  189. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +0 -0
  190. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +0 -0
  191. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +0 -0
  192. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +0 -0
  193. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +0 -0
  194. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +0 -0
  195. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +0 -0
  196. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +0 -0
  197. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +0 -0
  198. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +0 -0
  199. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +0 -0
  200. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +0 -0
  201. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +0 -0
  202. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +0 -0
  203. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +0 -0
  204. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_activity_status.rb +0 -0
  205. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group.rb +0 -0
  206. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +0 -0
  207. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +0 -0
  208. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +0 -0
  209. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +0 -0
  210. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +0 -0
  211. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow.rb +0 -0
  212. data/lib/2019-02-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +0 -0
  213. data/lib/2019-02-01/generated/azure_mgmt_storagesync/module_definition.rb +0 -0
  214. data/lib/2019-02-01/generated/azure_mgmt_storagesync/operations.rb +4 -0
  215. data/lib/2019-02-01/generated/azure_mgmt_storagesync/registered_servers.rb +10 -0
  216. data/lib/2019-02-01/generated/azure_mgmt_storagesync/server_endpoints.rb +12 -0
  217. data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +1 -1
  218. data/lib/2019-02-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +14 -0
  219. data/lib/2019-02-01/generated/azure_mgmt_storagesync/sync_groups.rb +8 -0
  220. data/lib/2019-02-01/generated/azure_mgmt_storagesync/workflows.rb +6 -0
  221. data/lib/2019-03-01/generated/azure_mgmt_storagesync.rb +85 -0
  222. data/lib/2019-03-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1507 -0
  223. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
  224. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
  225. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/change_detection_mode.rb +16 -0
  226. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
  227. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
  228. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
  229. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
  230. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +106 -0
  231. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/files_not_syncing_error.rb +73 -0
  232. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
  233. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
  234. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
  235. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
  236. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
  237. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/operation_status.rb +96 -0
  238. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
  239. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
  240. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
  241. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
  242. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
  243. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
  244. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
  245. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
  246. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
  247. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
  248. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
  249. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +58 -0
  250. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +233 -0
  251. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
  252. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
  253. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +180 -0
  254. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
  255. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
  256. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
  257. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
  258. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
  259. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
  260. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
  261. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
  262. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
  263. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_activity_status.rb +107 -0
  264. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group.rb +85 -0
  265. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
  266. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
  267. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/sync_session_status.rb +131 -0
  268. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
  269. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/trigger_change_detection_parameters.rb +81 -0
  270. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
  271. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
  272. data/lib/2019-03-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
  273. data/lib/2019-03-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
  274. data/lib/2019-03-01/generated/azure_mgmt_storagesync/operation_status_operations.rb +135 -0
  275. data/lib/2019-03-01/generated/azure_mgmt_storagesync/operations.rb +220 -0
  276. data/lib/2019-03-01/generated/azure_mgmt_storagesync/registered_servers.rb +711 -0
  277. data/lib/2019-03-01/generated/azure_mgmt_storagesync/server_endpoints.rb +917 -0
  278. data/lib/2019-03-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +159 -0
  279. data/lib/2019-03-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +753 -0
  280. data/lib/2019-03-01/generated/azure_mgmt_storagesync/sync_groups.rb +457 -0
  281. data/lib/2019-03-01/generated/azure_mgmt_storagesync/workflows.rb +337 -0
  282. data/lib/2019-06-01/generated/azure_mgmt_storagesync.rb +88 -0
  283. data/lib/2019-06-01/generated/azure_mgmt_storagesync/cloud_endpoints.rb +1507 -0
  284. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/azure_entity_resource.rb +75 -0
  285. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/backup_request.rb +46 -0
  286. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/change_detection_mode.rb +16 -0
  287. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/check_name_availability_parameters.rb +61 -0
  288. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/check_name_availability_result.rb +78 -0
  289. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint.rb +162 -0
  290. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_array.rb +55 -0
  291. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/cloud_endpoint_create_parameters.rb +106 -0
  292. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/name_availability_reason.rb +16 -0
  293. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_display_info.rb +80 -0
  294. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_display_resource.rb +79 -0
  295. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_entity.rb +69 -0
  296. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_entity_list_result.rb +98 -0
  297. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/operation_status.rb +96 -0
  298. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/post_backup_response.rb +47 -0
  299. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/post_restore_request.rb +132 -0
  300. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/pre_restore_request.rb +144 -0
  301. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/proxy_resource.rb +63 -0
  302. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/reason.rb +19 -0
  303. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/recall_action_parameters.rb +57 -0
  304. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server.rb +271 -0
  305. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server_array.rb +55 -0
  306. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/registered_server_create_parameters.rb +161 -0
  307. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/resource.rb +83 -0
  308. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/resources_move_info.rb +65 -0
  309. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/restore_file_spec.rb +57 -0
  310. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint.rb +261 -0
  311. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_array.rb +55 -0
  312. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_cloud_tiering_status.rb +84 -0
  313. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_create_parameters.rb +160 -0
  314. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_files_not_syncing_error.rb +79 -0
  315. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_recall_error.rb +62 -0
  316. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_recall_status.rb +83 -0
  317. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_activity_status.rb +122 -0
  318. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_session_status.rb +138 -0
  319. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_sync_status.rb +183 -0
  320. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/server_endpoint_update_parameters.rb +100 -0
  321. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_api_error.rb +80 -0
  322. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_error.rb +59 -0
  323. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_error_details.rb +68 -0
  324. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service.rb +110 -0
  325. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_array.rb +55 -0
  326. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_create_parameters.rb +85 -0
  327. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/storage_sync_service_update_parameters.rb +66 -0
  328. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/subscription_state.rb +70 -0
  329. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group.rb +86 -0
  330. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group_array.rb +55 -0
  331. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/sync_group_create_parameters.rb +73 -0
  332. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/tracked_resource.rb +92 -0
  333. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/trigger_change_detection_parameters.rb +81 -0
  334. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/trigger_rollover_request.rb +46 -0
  335. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/workflow.rb +119 -0
  336. data/lib/2019-06-01/generated/azure_mgmt_storagesync/models/workflow_array.rb +55 -0
  337. data/lib/2019-06-01/generated/azure_mgmt_storagesync/module_definition.rb +9 -0
  338. data/lib/2019-06-01/generated/azure_mgmt_storagesync/operation_status_operations.rb +135 -0
  339. data/lib/2019-06-01/generated/azure_mgmt_storagesync/operations.rb +220 -0
  340. data/lib/2019-06-01/generated/azure_mgmt_storagesync/registered_servers.rb +711 -0
  341. data/lib/2019-06-01/generated/azure_mgmt_storagesync/server_endpoints.rb +917 -0
  342. data/lib/2019-06-01/generated/azure_mgmt_storagesync/storage_sync_management_client.rb +159 -0
  343. data/lib/2019-06-01/generated/azure_mgmt_storagesync/storage_sync_services.rb +753 -0
  344. data/lib/2019-06-01/generated/azure_mgmt_storagesync/sync_groups.rb +457 -0
  345. data/lib/2019-06-01/generated/azure_mgmt_storagesync/workflows.rb +337 -0
  346. data/lib/azure_mgmt_storagesync.rb +3 -1
  347. data/lib/module_definition.rb +7 -7
  348. data/lib/profiles/latest/modules/storagesync_profile_module.rb +144 -118
  349. data/lib/profiles/latest/storagesync_latest_profile_client.rb +40 -40
  350. data/lib/profiles/latest/storagesync_module_definition.rb +8 -8
  351. data/lib/version.rb +1 -1
  352. metadata +130 -6
@@ -0,0 +1,337 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::StorageSync::Mgmt::V2019_06_01
7
+ #
8
+ # Microsoft Storage Sync Service API
9
+ #
10
+ class Workflows
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the Workflows class.
15
+ # @param client service class for accessing basic functionality.
16
+ #
17
+ def initialize(client)
18
+ @client = client
19
+ end
20
+
21
+ # @return [StorageSyncManagementClient] reference to the StorageSyncManagementClient
22
+ attr_reader :client
23
+
24
+ #
25
+ # Get a Workflow List
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group. The name
28
+ # is case insensitive.
29
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
30
+ # resource.
31
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
32
+ # will be added to the HTTP request.
33
+ #
34
+ # @return [WorkflowArray] operation results.
35
+ #
36
+ def list_by_storage_sync_service(resource_group_name, storage_sync_service_name, custom_headers:nil)
37
+ response = list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
38
+ response.body unless response.nil?
39
+ end
40
+
41
+ #
42
+ # Get a Workflow List
43
+ #
44
+ # @param resource_group_name [String] The name of the resource group. The name
45
+ # is case insensitive.
46
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
47
+ # resource.
48
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
49
+ # will be added to the HTTP request.
50
+ #
51
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
52
+ #
53
+ def list_by_storage_sync_service_with_http_info(resource_group_name, storage_sync_service_name, custom_headers:nil)
54
+ list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
55
+ end
56
+
57
+ #
58
+ # Get a Workflow List
59
+ #
60
+ # @param resource_group_name [String] The name of the resource group. The name
61
+ # is case insensitive.
62
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
63
+ # resource.
64
+ # @param [Hash{String => String}] A hash of custom headers that will be added
65
+ # to the HTTP request.
66
+ #
67
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
68
+ #
69
+ def list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:nil)
70
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
71
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
72
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
73
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
74
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
75
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
76
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
77
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
78
+ fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
79
+
80
+
81
+ request_headers = {}
82
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
83
+
84
+ # Set Headers
85
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
86
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
87
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows'
88
+
89
+ request_url = @base_url || @client.base_url
90
+
91
+ options = {
92
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
93
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name},
94
+ query_params: {'api-version' => @client.api_version},
95
+ headers: request_headers.merge(custom_headers || {}),
96
+ base_url: request_url
97
+ }
98
+ promise = @client.make_request_async(:get, path_template, options)
99
+
100
+ promise = promise.then do |result|
101
+ http_response = result.response
102
+ status_code = http_response.status
103
+ response_content = http_response.body
104
+ unless status_code == 200
105
+ error_model = JSON.load(response_content)
106
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
107
+ end
108
+
109
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
110
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
111
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
112
+ # Deserialize Response
113
+ if status_code == 200
114
+ begin
115
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
116
+ result_mapper = Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray.mapper()
117
+ result.body = @client.deserialize(result_mapper, parsed_response)
118
+ rescue Exception => e
119
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
120
+ end
121
+ end
122
+
123
+ result
124
+ end
125
+
126
+ promise.execute
127
+ end
128
+
129
+ #
130
+ # Get Workflows resource
131
+ #
132
+ # @param resource_group_name [String] The name of the resource group. The name
133
+ # is case insensitive.
134
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
135
+ # resource.
136
+ # @param workflow_id [String] workflow Id
137
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
138
+ # will be added to the HTTP request.
139
+ #
140
+ # @return [Workflow] operation results.
141
+ #
142
+ def get(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
143
+ response = get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
144
+ response.body unless response.nil?
145
+ end
146
+
147
+ #
148
+ # Get Workflows resource
149
+ #
150
+ # @param resource_group_name [String] The name of the resource group. The name
151
+ # is case insensitive.
152
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
153
+ # resource.
154
+ # @param workflow_id [String] workflow Id
155
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
156
+ # will be added to the HTTP request.
157
+ #
158
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
159
+ #
160
+ def get_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
161
+ get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
162
+ end
163
+
164
+ #
165
+ # Get Workflows resource
166
+ #
167
+ # @param resource_group_name [String] The name of the resource group. The name
168
+ # is case insensitive.
169
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
170
+ # resource.
171
+ # @param workflow_id [String] workflow Id
172
+ # @param [Hash{String => String}] A hash of custom headers that will be added
173
+ # to the HTTP request.
174
+ #
175
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
176
+ #
177
+ def get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
178
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
179
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
180
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
181
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
182
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
183
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
184
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
185
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
186
+ fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
187
+ fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
188
+
189
+
190
+ request_headers = {}
191
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
192
+
193
+ # Set Headers
194
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
195
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
196
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}'
197
+
198
+ request_url = @base_url || @client.base_url
199
+
200
+ options = {
201
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
202
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
203
+ query_params: {'api-version' => @client.api_version},
204
+ headers: request_headers.merge(custom_headers || {}),
205
+ base_url: request_url
206
+ }
207
+ promise = @client.make_request_async(:get, path_template, options)
208
+
209
+ promise = promise.then do |result|
210
+ http_response = result.response
211
+ status_code = http_response.status
212
+ response_content = http_response.body
213
+ unless status_code == 200
214
+ error_model = JSON.load(response_content)
215
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
216
+ end
217
+
218
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
219
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
220
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
221
+ # Deserialize Response
222
+ if status_code == 200
223
+ begin
224
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
225
+ result_mapper = Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow.mapper()
226
+ result.body = @client.deserialize(result_mapper, parsed_response)
227
+ rescue Exception => e
228
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
229
+ end
230
+ end
231
+
232
+ result
233
+ end
234
+
235
+ promise.execute
236
+ end
237
+
238
+ #
239
+ # Abort the given workflow.
240
+ #
241
+ # @param resource_group_name [String] The name of the resource group. The name
242
+ # is case insensitive.
243
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
244
+ # resource.
245
+ # @param workflow_id [String] workflow Id
246
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
247
+ # will be added to the HTTP request.
248
+ #
249
+ #
250
+ def abort(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
251
+ response = abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
252
+ nil
253
+ end
254
+
255
+ #
256
+ # Abort the given workflow.
257
+ #
258
+ # @param resource_group_name [String] The name of the resource group. The name
259
+ # is case insensitive.
260
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
261
+ # resource.
262
+ # @param workflow_id [String] workflow Id
263
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
264
+ # will be added to the HTTP request.
265
+ #
266
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
267
+ #
268
+ def abort_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
269
+ abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
270
+ end
271
+
272
+ #
273
+ # Abort the given workflow.
274
+ #
275
+ # @param resource_group_name [String] The name of the resource group. The name
276
+ # is case insensitive.
277
+ # @param storage_sync_service_name [String] Name of Storage Sync Service
278
+ # resource.
279
+ # @param workflow_id [String] workflow Id
280
+ # @param [Hash{String => String}] A hash of custom headers that will be added
281
+ # to the HTTP request.
282
+ #
283
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
284
+ #
285
+ def abort_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
286
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
287
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
288
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
289
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
290
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
291
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
292
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
293
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
294
+ fail ArgumentError, 'storage_sync_service_name is nil' if storage_sync_service_name.nil?
295
+ fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
296
+
297
+
298
+ request_headers = {}
299
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
300
+
301
+ # Set Headers
302
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
303
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
304
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/workflows/{workflowId}/abort'
305
+
306
+ request_url = @base_url || @client.base_url
307
+
308
+ options = {
309
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
310
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'storageSyncServiceName' => storage_sync_service_name,'workflowId' => workflow_id},
311
+ query_params: {'api-version' => @client.api_version},
312
+ headers: request_headers.merge(custom_headers || {}),
313
+ base_url: request_url
314
+ }
315
+ promise = @client.make_request_async(:post, path_template, options)
316
+
317
+ promise = promise.then do |result|
318
+ http_response = result.response
319
+ status_code = http_response.status
320
+ response_content = http_response.body
321
+ unless status_code == 200
322
+ error_model = JSON.load(response_content)
323
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
324
+ end
325
+
326
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
327
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
328
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
329
+
330
+ result
331
+ end
332
+
333
+ promise.execute
334
+ end
335
+
336
+ end
337
+ end
@@ -3,7 +3,9 @@
3
3
  # Licensed under the MIT License. See License.txt in the project root for license information.
4
4
 
5
5
  require '2018-04-02/generated/azure_mgmt_storagesync'
6
- require '2019-02-01/generated/azure_mgmt_storagesync'
7
6
  require '2018-07-01/generated/azure_mgmt_storagesync'
8
7
  require '2018-10-01/generated/azure_mgmt_storagesync'
8
+ require '2019-02-01/generated/azure_mgmt_storagesync'
9
+ require '2019-03-01/generated/azure_mgmt_storagesync'
10
+ require '2019-06-01/generated/azure_mgmt_storagesync'
9
11
  require 'profiles/latest/storagesync_latest_profile_client'
@@ -1,7 +1,7 @@
1
- # encoding: utf-8
2
- # Copyright (c) Microsoft Corporation. All rights reserved.
3
- # Licensed under the MIT License. See License.txt in the project root for license information.
4
-
5
- module Azure end
6
- module Azure::StorageSync end
7
- module Azure::StorageSync::Mgmt end
1
+ # encoding: utf-8
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See License.txt in the project root for license information.
4
+
5
+ module Azure end
6
+ module Azure::StorageSync end
7
+ module Azure::StorageSync::Mgmt end
@@ -6,69 +6,76 @@ require 'azure_mgmt_storagesync'
6
6
 
7
7
  module Azure::StorageSync::Profiles::Latest
8
8
  module Mgmt
9
- Operations = Azure::StorageSync::Mgmt::V2019_02_01::Operations
10
- StorageSyncServices = Azure::StorageSync::Mgmt::V2019_02_01::StorageSyncServices
11
- SyncGroups = Azure::StorageSync::Mgmt::V2019_02_01::SyncGroups
12
- CloudEndpoints = Azure::StorageSync::Mgmt::V2019_02_01::CloudEndpoints
13
- ServerEndpoints = Azure::StorageSync::Mgmt::V2019_02_01::ServerEndpoints
14
- RegisteredServers = Azure::StorageSync::Mgmt::V2019_02_01::RegisteredServers
15
- Workflows = Azure::StorageSync::Mgmt::V2019_02_01::Workflows
9
+ Operations = Azure::StorageSync::Mgmt::V2019_06_01::Operations
10
+ StorageSyncServices = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncServices
11
+ SyncGroups = Azure::StorageSync::Mgmt::V2019_06_01::SyncGroups
12
+ CloudEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::CloudEndpoints
13
+ ServerEndpoints = Azure::StorageSync::Mgmt::V2019_06_01::ServerEndpoints
14
+ RegisteredServers = Azure::StorageSync::Mgmt::V2019_06_01::RegisteredServers
15
+ Workflows = Azure::StorageSync::Mgmt::V2019_06_01::Workflows
16
+ OperationStatusOperations = Azure::StorageSync::Mgmt::V2019_06_01::OperationStatusOperations
16
17
 
17
18
  module Models
18
- ResourcesMoveInfo = Azure::StorageSync::Mgmt::V2019_02_01::Models::ResourcesMoveInfo
19
- StorageSyncErrorDetails = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncErrorDetails
20
- StorageSyncError = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncError
21
- OperationDisplayInfo = Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationDisplayInfo
22
- ServerEndpointSyncStatus = Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointSyncStatus
23
- SyncGroupArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroupArray
24
- StorageSyncServiceUpdateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceUpdateParameters
25
- StorageSyncServiceArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceArray
26
- StorageSyncServiceCreateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceCreateParameters
27
- StorageSyncApiError = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncApiError
28
- RegisteredServerArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServerArray
29
- SubscriptionState = Azure::StorageSync::Mgmt::V2019_02_01::Models::SubscriptionState
30
- TriggerRolloverRequest = Azure::StorageSync::Mgmt::V2019_02_01::Models::TriggerRolloverRequest
31
- PostBackupResponse = Azure::StorageSync::Mgmt::V2019_02_01::Models::PostBackupResponse
32
- ServerEndpointUpdateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointUpdateParameters
33
- OperationEntity = Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationEntity
34
- SyncSessionStatus = Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncSessionStatus
35
- OperationEntityListResult = Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationEntityListResult
36
- Resource = Azure::StorageSync::Mgmt::V2019_02_01::Models::Resource
37
- OperationDisplayResource = Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationDisplayResource
38
- WorkflowArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::WorkflowArray
39
- CheckNameAvailabilityParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::CheckNameAvailabilityParameters
40
- CloudEndpointArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpointArray
41
- CheckNameAvailabilityResult = Azure::StorageSync::Mgmt::V2019_02_01::Models::CheckNameAvailabilityResult
42
- SyncActivityStatus = Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncActivityStatus
43
- RestoreFileSpec = Azure::StorageSync::Mgmt::V2019_02_01::Models::RestoreFileSpec
44
- ServerEndpointArray = Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointArray
45
- PostRestoreRequest = Azure::StorageSync::Mgmt::V2019_02_01::Models::PostRestoreRequest
46
- RecallActionParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::RecallActionParameters
47
- PreRestoreRequest = Azure::StorageSync::Mgmt::V2019_02_01::Models::PreRestoreRequest
48
- FilesNotSyncingError = Azure::StorageSync::Mgmt::V2019_02_01::Models::FilesNotSyncingError
49
- BackupRequest = Azure::StorageSync::Mgmt::V2019_02_01::Models::BackupRequest
50
- StorageSyncService = Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncService
51
- ProxyResource = Azure::StorageSync::Mgmt::V2019_02_01::Models::ProxyResource
52
- SyncGroup = Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroup
53
- CloudEndpoint = Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpoint
54
- SyncGroupCreateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroupCreateParameters
55
- CloudEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpointCreateParameters
56
- ServerEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointCreateParameters
57
- RegisteredServerCreateParameters = Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServerCreateParameters
58
- ServerEndpoint = Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpoint
59
- RegisteredServer = Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServer
60
- Workflow = Azure::StorageSync::Mgmt::V2019_02_01::Models::Workflow
61
- TrackedResource = Azure::StorageSync::Mgmt::V2019_02_01::Models::TrackedResource
62
- AzureEntityResource = Azure::StorageSync::Mgmt::V2019_02_01::Models::AzureEntityResource
63
- Reason = Azure::StorageSync::Mgmt::V2019_02_01::Models::Reason
64
- NameAvailabilityReason = Azure::StorageSync::Mgmt::V2019_02_01::Models::NameAvailabilityReason
19
+ ResourcesMoveInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
20
+ StorageSyncErrorDetails = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
21
+ Resource = Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
22
+ StorageSyncError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
23
+ StorageSyncApiError = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
24
+ ServerEndpointRecallError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
25
+ OperationStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
26
+ ServerEndpointRecallStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
27
+ TriggerChangeDetectionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
28
+ SyncGroupArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
29
+ StorageSyncServiceCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
30
+ SubscriptionState = Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
31
+ RegisteredServerArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
32
+ StorageSyncServiceArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
33
+ TriggerRolloverRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
34
+ ServerEndpointUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
35
+ OperationDisplayInfo = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
36
+ ServerEndpointSyncSessionStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
37
+ OperationEntity = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
38
+ ServerEndpointSyncStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
39
+ OperationEntityListResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
40
+ StorageSyncServiceUpdateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
41
+ OperationDisplayResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
42
+ WorkflowArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
43
+ CheckNameAvailabilityParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
44
+ CloudEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
45
+ CheckNameAvailabilityResult = Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
46
+ ServerEndpointSyncActivityStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
47
+ RestoreFileSpec = Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
48
+ RecallActionParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
49
+ PostRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
50
+ ServerEndpointFilesNotSyncingError = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
51
+ PreRestoreRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
52
+ ServerEndpointArray = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
53
+ BackupRequest = Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
54
+ ServerEndpointCloudTieringStatus = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
55
+ PostBackupResponse = Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
56
+ StorageSyncService = Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
57
+ ProxyResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
58
+ SyncGroup = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
59
+ CloudEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
60
+ SyncGroupCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
61
+ CloudEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
62
+ ServerEndpointCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
63
+ RegisteredServerCreateParameters = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
64
+ ServerEndpoint = Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
65
+ RegisteredServer = Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
66
+ Workflow = Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
67
+ TrackedResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
68
+ AzureEntityResource = Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
69
+ Reason = Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
70
+ ChangeDetectionMode = Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
71
+ NameAvailabilityReason = Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
65
72
  end
66
73
 
67
74
  #
68
75
  # StorageSyncManagementClass
69
76
  #
70
77
  class StorageSyncManagementClass
71
- attr_reader :operations, :storage_sync_services, :sync_groups, :cloud_endpoints, :server_endpoints, :registered_servers, :workflows, :configurable, :base_url, :options, :model_classes
78
+ attr_reader :operations, :storage_sync_services, :sync_groups, :cloud_endpoints, :server_endpoints, :registered_servers, :workflows, :operation_status_operations, :configurable, :base_url, :options, :model_classes
72
79
 
73
80
  def initialize(options = {})
74
81
  if options.is_a?(Hash) && options.length == 0
@@ -83,7 +90,7 @@ module Azure::StorageSync::Profiles::Latest
83
90
  @base_url = options[:base_url].nil? ? nil:options[:base_url]
84
91
  @options = options[:options].nil? ? nil:options[:options]
85
92
 
86
- @client_0 = Azure::StorageSync::Mgmt::V2019_02_01::StorageSyncManagementClient.new(configurable.credentials, base_url, options)
93
+ @client_0 = Azure::StorageSync::Mgmt::V2019_06_01::StorageSyncManagementClient.new(configurable.credentials, base_url, options)
87
94
  if(@client_0.respond_to?(:subscription_id))
88
95
  @client_0.subscription_id = configurable.subscription_id
89
96
  end
@@ -95,6 +102,7 @@ module Azure::StorageSync::Profiles::Latest
95
102
  @server_endpoints = @client_0.server_endpoints
96
103
  @registered_servers = @client_0.registered_servers
97
104
  @workflows = @client_0.workflows
105
+ @operation_status_operations = @client_0.operation_status_operations
98
106
 
99
107
  @model_classes = ModelClasses.new
100
108
  end
@@ -116,145 +124,163 @@ module Azure::StorageSync::Profiles::Latest
116
124
 
117
125
  class ModelClasses
118
126
  def resources_move_info
119
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ResourcesMoveInfo
127
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ResourcesMoveInfo
120
128
  end
121
129
  def storage_sync_error_details
122
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncErrorDetails
130
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncErrorDetails
131
+ end
132
+ def resource
133
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Resource
123
134
  end
124
135
  def storage_sync_error
125
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncError
136
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncError
126
137
  end
127
- def operation_display_info
128
- Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationDisplayInfo
138
+ def storage_sync_api_error
139
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncApiError
129
140
  end
130
- def server_endpoint_sync_status
131
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointSyncStatus
141
+ def server_endpoint_recall_error
142
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallError
132
143
  end
133
- def sync_group_array
134
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroupArray
144
+ def operation_status
145
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus
135
146
  end
136
- def storage_sync_service_update_parameters
137
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceUpdateParameters
147
+ def server_endpoint_recall_status
148
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointRecallStatus
138
149
  end
139
- def storage_sync_service_array
140
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceArray
150
+ def trigger_change_detection_parameters
151
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerChangeDetectionParameters
152
+ end
153
+ def sync_group_array
154
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupArray
141
155
  end
142
156
  def storage_sync_service_create_parameters
143
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncServiceCreateParameters
157
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceCreateParameters
144
158
  end
145
- def storage_sync_api_error
146
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncApiError
159
+ def subscription_state
160
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SubscriptionState
147
161
  end
148
162
  def registered_server_array
149
- Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServerArray
163
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerArray
150
164
  end
151
- def subscription_state
152
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SubscriptionState
165
+ def storage_sync_service_array
166
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceArray
153
167
  end
154
168
  def trigger_rollover_request
155
- Azure::StorageSync::Mgmt::V2019_02_01::Models::TriggerRolloverRequest
156
- end
157
- def post_backup_response
158
- Azure::StorageSync::Mgmt::V2019_02_01::Models::PostBackupResponse
169
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TriggerRolloverRequest
159
170
  end
160
171
  def server_endpoint_update_parameters
161
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointUpdateParameters
172
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointUpdateParameters
173
+ end
174
+ def operation_display_info
175
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayInfo
176
+ end
177
+ def server_endpoint_sync_session_status
178
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncSessionStatus
162
179
  end
163
180
  def operation_entity
164
- Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationEntity
181
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntity
165
182
  end
166
- def sync_session_status
167
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncSessionStatus
183
+ def server_endpoint_sync_status
184
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncStatus
168
185
  end
169
186
  def operation_entity_list_result
170
- Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationEntityListResult
187
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationEntityListResult
171
188
  end
172
- def resource
173
- Azure::StorageSync::Mgmt::V2019_02_01::Models::Resource
189
+ def storage_sync_service_update_parameters
190
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncServiceUpdateParameters
174
191
  end
175
192
  def operation_display_resource
176
- Azure::StorageSync::Mgmt::V2019_02_01::Models::OperationDisplayResource
193
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationDisplayResource
177
194
  end
178
195
  def workflow_array
179
- Azure::StorageSync::Mgmt::V2019_02_01::Models::WorkflowArray
196
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::WorkflowArray
180
197
  end
181
198
  def check_name_availability_parameters
182
- Azure::StorageSync::Mgmt::V2019_02_01::Models::CheckNameAvailabilityParameters
199
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityParameters
183
200
  end
184
201
  def cloud_endpoint_array
185
- Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpointArray
202
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointArray
186
203
  end
187
204
  def check_name_availability_result
188
- Azure::StorageSync::Mgmt::V2019_02_01::Models::CheckNameAvailabilityResult
205
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
189
206
  end
190
- def sync_activity_status
191
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncActivityStatus
207
+ def server_endpoint_sync_activity_status
208
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointSyncActivityStatus
192
209
  end
193
210
  def restore_file_spec
194
- Azure::StorageSync::Mgmt::V2019_02_01::Models::RestoreFileSpec
211
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RestoreFileSpec
195
212
  end
196
- def server_endpoint_array
197
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointArray
213
+ def recall_action_parameters
214
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RecallActionParameters
198
215
  end
199
216
  def post_restore_request
200
- Azure::StorageSync::Mgmt::V2019_02_01::Models::PostRestoreRequest
217
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PostRestoreRequest
201
218
  end
202
- def recall_action_parameters
203
- Azure::StorageSync::Mgmt::V2019_02_01::Models::RecallActionParameters
219
+ def server_endpoint_files_not_syncing_error
220
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointFilesNotSyncingError
204
221
  end
205
222
  def pre_restore_request
206
- Azure::StorageSync::Mgmt::V2019_02_01::Models::PreRestoreRequest
223
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PreRestoreRequest
207
224
  end
208
- def files_not_syncing_error
209
- Azure::StorageSync::Mgmt::V2019_02_01::Models::FilesNotSyncingError
225
+ def server_endpoint_array
226
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointArray
210
227
  end
211
228
  def backup_request
212
- Azure::StorageSync::Mgmt::V2019_02_01::Models::BackupRequest
229
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::BackupRequest
230
+ end
231
+ def server_endpoint_cloud_tiering_status
232
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCloudTieringStatus
233
+ end
234
+ def post_backup_response
235
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::PostBackupResponse
213
236
  end
214
237
  def storage_sync_service
215
- Azure::StorageSync::Mgmt::V2019_02_01::Models::StorageSyncService
238
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::StorageSyncService
216
239
  end
217
240
  def proxy_resource
218
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ProxyResource
241
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ProxyResource
219
242
  end
220
243
  def sync_group
221
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroup
244
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroup
222
245
  end
223
246
  def cloud_endpoint
224
- Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpoint
247
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpoint
225
248
  end
226
249
  def sync_group_create_parameters
227
- Azure::StorageSync::Mgmt::V2019_02_01::Models::SyncGroupCreateParameters
250
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::SyncGroupCreateParameters
228
251
  end
229
252
  def cloud_endpoint_create_parameters
230
- Azure::StorageSync::Mgmt::V2019_02_01::Models::CloudEndpointCreateParameters
253
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::CloudEndpointCreateParameters
231
254
  end
232
255
  def server_endpoint_create_parameters
233
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpointCreateParameters
256
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpointCreateParameters
234
257
  end
235
258
  def registered_server_create_parameters
236
- Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServerCreateParameters
259
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServerCreateParameters
237
260
  end
238
261
  def server_endpoint
239
- Azure::StorageSync::Mgmt::V2019_02_01::Models::ServerEndpoint
262
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ServerEndpoint
240
263
  end
241
264
  def registered_server
242
- Azure::StorageSync::Mgmt::V2019_02_01::Models::RegisteredServer
265
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::RegisteredServer
243
266
  end
244
267
  def workflow
245
- Azure::StorageSync::Mgmt::V2019_02_01::Models::Workflow
268
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Workflow
246
269
  end
247
270
  def tracked_resource
248
- Azure::StorageSync::Mgmt::V2019_02_01::Models::TrackedResource
271
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::TrackedResource
249
272
  end
250
273
  def azure_entity_resource
251
- Azure::StorageSync::Mgmt::V2019_02_01::Models::AzureEntityResource
274
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::AzureEntityResource
252
275
  end
253
276
  def reason
254
- Azure::StorageSync::Mgmt::V2019_02_01::Models::Reason
277
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::Reason
278
+ end
279
+ def change_detection_mode
280
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::ChangeDetectionMode
255
281
  end
256
282
  def name_availability_reason
257
- Azure::StorageSync::Mgmt::V2019_02_01::Models::NameAvailabilityReason
283
+ Azure::StorageSync::Mgmt::V2019_06_01::Models::NameAvailabilityReason
258
284
  end
259
285
  end
260
286
  end