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,81 @@
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
+ module Models
8
+ #
9
+ # The parameters used when calling trigger change detection action on cloud
10
+ # endpoint.
11
+ #
12
+ class TriggerChangeDetectionParameters
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Relative path to a directory Azure File share for
17
+ # which change detection is to be performed.
18
+ attr_accessor :directory_path
19
+
20
+ # @return [ChangeDetectionMode] Change Detection Mode. Applies to a
21
+ # directory specified in directoryPath parameter. Possible values
22
+ # include: 'Default', 'Recursive'
23
+ attr_accessor :change_detection_mode
24
+
25
+ # @return [Array<String>] Array of relative paths on the Azure File share
26
+ # to be included in the change detection. Can be files and directories.
27
+ attr_accessor :paths
28
+
29
+
30
+ #
31
+ # Mapper for TriggerChangeDetectionParameters class as Ruby Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'TriggerChangeDetectionParameters',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'TriggerChangeDetectionParameters',
42
+ model_properties: {
43
+ directory_path: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'directoryPath',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ change_detection_mode: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'changeDetectionMode',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ paths: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'paths',
63
+ type: {
64
+ name: 'Sequence',
65
+ element: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'StringElementType',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ end
79
+ end
80
+ end
81
+ end
@@ -0,0 +1,46 @@
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
+ module Models
8
+ #
9
+ # Trigger Rollover Request.
10
+ #
11
+ class TriggerRolloverRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Certificate Data
16
+ attr_accessor :server_certificate
17
+
18
+
19
+ #
20
+ # Mapper for TriggerRolloverRequest class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'TriggerRolloverRequest',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'TriggerRolloverRequest',
31
+ model_properties: {
32
+ server_certificate: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'serverCertificate',
36
+ type: {
37
+ name: 'String'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,119 @@
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
+ module Models
8
+ #
9
+ # Workflow resource.
10
+ #
11
+ class Workflow < ProxyResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] last step name
16
+ attr_accessor :last_step_name
17
+
18
+ # @return [Enum] workflow status. Possible values include: 'active',
19
+ # 'expired', 'succeeded', 'aborted', 'failed'
20
+ attr_accessor :status
21
+
22
+ # @return [Enum] operation direction. Possible values include: 'do',
23
+ # 'undo', 'cancel'
24
+ attr_accessor :operation
25
+
26
+ # @return [String] workflow steps
27
+ attr_accessor :steps
28
+
29
+ # @return [String] workflow last operation identifier.
30
+ attr_accessor :last_operation_id
31
+
32
+
33
+ #
34
+ # Mapper for Workflow class as Ruby Hash.
35
+ # This will be used for serialization/deserialization.
36
+ #
37
+ def self.mapper()
38
+ {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'Workflow',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Workflow',
45
+ model_properties: {
46
+ id: {
47
+ client_side_validation: true,
48
+ required: false,
49
+ read_only: true,
50
+ serialized_name: 'id',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ name: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ read_only: true,
59
+ serialized_name: 'name',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ },
64
+ type: {
65
+ client_side_validation: true,
66
+ required: false,
67
+ read_only: true,
68
+ serialized_name: 'type',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ },
73
+ last_step_name: {
74
+ client_side_validation: true,
75
+ required: false,
76
+ serialized_name: 'properties.lastStepName',
77
+ type: {
78
+ name: 'String'
79
+ }
80
+ },
81
+ status: {
82
+ client_side_validation: true,
83
+ required: false,
84
+ serialized_name: 'properties.status',
85
+ type: {
86
+ name: 'String'
87
+ }
88
+ },
89
+ operation: {
90
+ client_side_validation: true,
91
+ required: false,
92
+ serialized_name: 'properties.operation',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ steps: {
98
+ client_side_validation: true,
99
+ required: false,
100
+ serialized_name: 'properties.steps',
101
+ type: {
102
+ name: 'String'
103
+ }
104
+ },
105
+ last_operation_id: {
106
+ client_side_validation: true,
107
+ required: false,
108
+ serialized_name: 'properties.lastOperationId',
109
+ type: {
110
+ name: 'String'
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,55 @@
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
+ module Models
8
+ #
9
+ # Array of Workflow
10
+ #
11
+ class WorkflowArray
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Workflow>] Collection of workflow items.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for WorkflowArray class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'WorkflowArray',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'WorkflowArray',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'WorkflowElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Workflow'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,9 @@
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 end
7
+ module Azure::StorageSync end
8
+ module Azure::StorageSync::Mgmt end
9
+ module Azure::StorageSync::Mgmt::V2019_06_01 end
@@ -0,0 +1,135 @@
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 OperationStatusOperations
11
+ include MsRestAzure
12
+
13
+ #
14
+ # Creates and initializes a new instance of the OperationStatusOperations 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 Operation status
26
+ #
27
+ # @param resource_group_name [String] The name of the resource group. The name
28
+ # is case insensitive.
29
+ # @param location_name [String] The desired region to obtain information from.
30
+ # @param workflow_id [String] workflow Id
31
+ # @param operation_id [String] operation Id
32
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
33
+ # will be added to the HTTP request.
34
+ #
35
+ # @return [OperationStatus] operation results.
36
+ #
37
+ def get(resource_group_name, location_name, workflow_id, operation_id, custom_headers:nil)
38
+ response = get_async(resource_group_name, location_name, workflow_id, operation_id, custom_headers:custom_headers).value!
39
+ response.body unless response.nil?
40
+ end
41
+
42
+ #
43
+ # Get Operation status
44
+ #
45
+ # @param resource_group_name [String] The name of the resource group. The name
46
+ # is case insensitive.
47
+ # @param location_name [String] The desired region to obtain information from.
48
+ # @param workflow_id [String] workflow Id
49
+ # @param operation_id [String] operation Id
50
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
51
+ # will be added to the HTTP request.
52
+ #
53
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
54
+ #
55
+ def get_with_http_info(resource_group_name, location_name, workflow_id, operation_id, custom_headers:nil)
56
+ get_async(resource_group_name, location_name, workflow_id, operation_id, custom_headers:custom_headers).value!
57
+ end
58
+
59
+ #
60
+ # Get Operation status
61
+ #
62
+ # @param resource_group_name [String] The name of the resource group. The name
63
+ # is case insensitive.
64
+ # @param location_name [String] The desired region to obtain information from.
65
+ # @param workflow_id [String] workflow Id
66
+ # @param operation_id [String] operation Id
67
+ # @param [Hash{String => String}] A hash of custom headers that will be added
68
+ # to the HTTP request.
69
+ #
70
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
+ #
72
+ def get_async(resource_group_name, location_name, workflow_id, operation_id, custom_headers:nil)
73
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
74
+ fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
75
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
76
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
77
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
78
+ fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
79
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
80
+ fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
81
+ fail ArgumentError, 'location_name is nil' if location_name.nil?
82
+ fail ArgumentError, 'workflow_id is nil' if workflow_id.nil?
83
+ fail ArgumentError, 'operation_id is nil' if operation_id.nil?
84
+
85
+
86
+ request_headers = {}
87
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
88
+
89
+ # Set Headers
90
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
91
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
92
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}'
93
+
94
+ request_url = @base_url || @client.base_url
95
+
96
+ options = {
97
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
98
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'locationName' => location_name,'workflowId' => workflow_id,'operationId' => operation_id},
99
+ query_params: {'api-version' => @client.api_version},
100
+ headers: request_headers.merge(custom_headers || {}),
101
+ base_url: request_url
102
+ }
103
+ promise = @client.make_request_async(:get, path_template, options)
104
+
105
+ promise = promise.then do |result|
106
+ http_response = result.response
107
+ status_code = http_response.status
108
+ response_content = http_response.body
109
+ unless status_code == 200
110
+ error_model = JSON.load(response_content)
111
+ fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
112
+ end
113
+
114
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
115
+ result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
116
+ result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
117
+ # Deserialize Response
118
+ if status_code == 200
119
+ begin
120
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
121
+ result_mapper = Azure::StorageSync::Mgmt::V2019_06_01::Models::OperationStatus.mapper()
122
+ result.body = @client.deserialize(result_mapper, parsed_response)
123
+ rescue Exception => e
124
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
125
+ end
126
+ end
127
+
128
+ result
129
+ end
130
+
131
+ promise.execute
132
+ end
133
+
134
+ end
135
+ end