azure_mgmt_data_factory 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 (294) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/data_factory_management_client.rb +1 -1
  3. data/lib/2018-06-01/generated/azure_mgmt_data_factory.rb +256 -120
  4. data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb +9 -5
  5. data/lib/2018-06-01/generated/azure_mgmt_data_factory/{rerun_triggers.rb → data_flow_debug_session.rb} +250 -287
  6. data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_flows.rb +579 -0
  7. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb +4 -0
  8. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb +46 -0
  9. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwssource.rb +9 -1
  10. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb +9 -1
  11. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_table_dataset.rb +177 -0
  12. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3location.rb +15 -8
  13. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3read_settings.rb +15 -8
  14. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_compression_codec.rb +19 -0
  15. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_dataset.rb +182 -0
  16. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_sink.rb +131 -0
  17. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_source.rb +103 -0
  18. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_write_settings.rb +88 -0
  19. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fslocation.rb +15 -8
  20. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fsread_settings.rb +15 -8
  21. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fswrite_settings.rb +27 -8
  22. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_location.rb +15 -8
  23. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_read_settings.rb +27 -8
  24. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_write_settings.rb +27 -8
  25. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_command_activity.rb +158 -0
  26. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_location.rb +15 -8
  27. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_read_settings.rb +15 -8
  28. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_write_settings.rb +15 -8
  29. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb +41 -15
  30. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_linked_service.rb +166 -0
  31. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_location.rb +81 -0
  32. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_read_settings.rb +144 -0
  33. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dblinked_service.rb +153 -0
  34. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dbsource.rb +109 -0
  35. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dbtable_dataset.rb +153 -0
  36. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb +202 -0
  37. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb +6 -6
  38. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlservice_linked_service.rb +205 -0
  39. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_sink.rb +117 -0
  40. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_source.rb +9 -1
  41. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_table_dataset.rb +12 -0
  42. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_sink.rb +117 -0
  43. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_source.rb +9 -1
  44. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_table_dataset.rb +26 -1
  45. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_dwtable_dataset.rb +25 -1
  46. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_milinked_service.rb +193 -0
  47. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_mitable_dataset.rb +177 -0
  48. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_sink.rb +13 -0
  49. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_source.rb +9 -1
  50. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_table_dataset.rb +25 -1
  51. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_source.rb +9 -1
  52. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_dataset.rb +170 -0
  53. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_sink.rb +119 -0
  54. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_source.rb +103 -0
  55. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb +12 -0
  56. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_source.rb +9 -1
  57. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/chaining_trigger.rb +148 -0
  58. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cmdkey_setup.rb +86 -0
  59. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_entity_dataset.rb +153 -0
  60. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_linked_service.rb +287 -0
  61. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_sink.rb +144 -0
  62. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_source.rb +102 -0
  63. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/component_setup.rb +75 -0
  64. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_source.rb +9 -1
  65. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb +13 -0
  66. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb +38 -17
  67. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_linked_service.rb +30 -4
  68. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_source.rb +13 -1
  69. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_collection_dataset.rb +153 -0
  70. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_sink.rb +118 -0
  71. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_source.rb +125 -0
  72. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/couchbase_source.rb +9 -1
  73. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb +83 -0
  74. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb +57 -0
  75. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb +48 -0
  76. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb +90 -0
  77. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_compute_type.rb +17 -0
  78. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_payload.rb +87 -0
  79. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_request.rb +71 -0
  80. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_response.rb +60 -0
  81. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_type.rb +17 -0
  82. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb +141 -0
  83. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb +86 -0
  84. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_resource.rb +57 -0
  85. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_session_info.rb +154 -0
  86. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb +47 -0
  87. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/{rerun_trigger_list_response.rb → data_flow_list_response.rb} +12 -13
  88. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_reference.rb +71 -0
  89. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/{rerun_trigger_resource.rb → data_flow_resource.rb} +9 -7
  90. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_sink.rb +63 -0
  91. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source.rb +63 -0
  92. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb +76 -0
  93. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb +58 -0
  94. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb +20 -0
  95. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_debug_resource.rb +58 -0
  96. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb +21 -11
  97. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2linked_service.rb +24 -0
  98. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2source.rb +109 -0
  99. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2table_dataset.rb +177 -0
  100. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb +46 -0
  101. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_dataset.rb +2 -0
  102. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_read_settings.rb +7 -0
  103. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_sink.rb +2 -0
  104. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_source.rb +2 -0
  105. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb +7 -0
  106. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_sink.rb +3 -2
  107. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_source.rb +12 -0
  108. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_source.rb +9 -1
  109. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_table_dataset.rb +26 -2
  110. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb +59 -0
  111. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_settings.rb +81 -0
  112. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_authentication_type.rb +17 -0
  113. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axsource.rb +9 -1
  114. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_entity_dataset.rb +153 -0
  115. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_linked_service.rb +284 -0
  116. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_sink.rb +144 -0
  117. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_source.rb +102 -0
  118. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_deployment_type.rb +16 -0
  119. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_linked_service.rb +49 -2
  120. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink.rb +12 -0
  121. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/eloqua_source.rb +9 -1
  122. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/environment_variable_setup.rb +72 -0
  123. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/event_subscription_status.rb +19 -0
  124. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity.rb +185 -0
  125. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb +61 -0
  126. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_ssispackage_activity.rb +12 -0
  127. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_location.rb +15 -8
  128. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_read_settings.rb +15 -8
  129. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_write_settings.rb +15 -8
  130. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb +11 -11
  131. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb +13 -11
  132. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_read_settings.rb +15 -8
  133. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_server_location.rb +15 -8
  134. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/get_data_factory_operation_status_response.rb +65 -0
  135. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_linked_service.rb +3 -6
  136. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_source.rb +9 -1
  137. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb +3 -6
  138. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_object_dataset.rb +26 -2
  139. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_source.rb +9 -1
  140. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_linked_service.rb +171 -0
  141. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_location.rb +105 -0
  142. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_read_settings.rb +156 -0
  143. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_source.rb +9 -1
  144. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_table_dataset.rb +26 -2
  145. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_source.rb +9 -1
  146. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_location.rb +15 -8
  147. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_read_settings.rb +15 -8
  148. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_pig_activity.rb +3 -10
  149. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_spark_activity.rb +1 -1
  150. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_object_dataset.rb +26 -2
  151. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_source.rb +9 -1
  152. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_read_settings.rb +15 -8
  153. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_server_location.rb +15 -8
  154. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hubspot_source.rb +9 -1
  155. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_object_dataset.rb +26 -2
  156. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_source.rb +9 -1
  157. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_linked_service.rb +195 -0
  158. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_sink.rb +117 -0
  159. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_source.rb +109 -0
  160. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_table_dataset.rb +153 -0
  161. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb +13 -0
  162. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.rb +94 -0
  163. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_debug_resource.rb +57 -0
  164. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb +23 -0
  165. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb +20 -0
  166. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/jira_source.rb +9 -1
  167. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_dataset.rb +186 -0
  168. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_sink.rb +131 -0
  169. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_source.rb +103 -0
  170. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_write_file_pattern.rb +16 -0
  171. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_write_settings.rb +79 -0
  172. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb +10 -0
  173. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_debug_resource.rb +58 -0
  174. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/magento_source.rb +9 -1
  175. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mapping_data_flow.rb +154 -0
  176. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/maria_dbsource.rb +9 -1
  177. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/marketo_source.rb +9 -1
  178. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_linked_service.rb +195 -0
  179. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_sink.rb +117 -0
  180. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_source.rb +101 -0
  181. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_table_dataset.rb +153 -0
  182. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2source.rb +13 -1
  183. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_linked_service.rb +2 -5
  184. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_source.rb +109 -0
  185. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_table_dataset.rb +153 -0
  186. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_option.rb +17 -0
  187. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb +74 -0
  188. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_source.rb +35 -1
  189. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_table_dataset.rb +26 -2
  190. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_source.rb +101 -0
  191. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_source.rb +109 -0
  192. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_table_dataset.rb +153 -0
  193. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/office365source.rb +75 -1
  194. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_option.rb +17 -0
  195. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_settings.rb +85 -0
  196. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_source.rb +9 -1
  197. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb +26 -0
  198. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_table_dataset.rb +25 -1
  199. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_compression_codec.rb +17 -0
  200. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_dataset.rb +167 -0
  201. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_sink.rb +119 -0
  202. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_source.rb +103 -0
  203. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_dataset.rb +2 -0
  204. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb +2 -0
  205. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_source.rb +2 -0
  206. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/paypal_source.rb +9 -1
  207. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_object_dataset.rb +26 -2
  208. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_source.rb +9 -1
  209. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_resource.rb +19 -0
  210. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb +21 -0
  211. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_linked_service.rb +2 -5
  212. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_source.rb +109 -0
  213. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_table_dataset.rb +177 -0
  214. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_object_dataset.rb +26 -2
  215. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_source.rb +9 -1
  216. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/query_data_flow_debug_sessions_response.rb +100 -0
  217. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_source.rb +9 -1
  218. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger.rb +3 -3
  219. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/responsys_source.rb +9 -1
  220. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_source.rb +48 -0
  221. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_source.rb +9 -1
  222. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_linked_service.rb +197 -0
  223. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_object_dataset.rb +153 -0
  224. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_sink.rb +149 -0
  225. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_source.rb +114 -0
  226. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_source.rb +9 -1
  227. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_bw_cube_dataset.rb +141 -0
  228. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_bw_source.rb +108 -0
  229. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_source.rb +9 -1
  230. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_source.rb +9 -1
  231. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_option.rb +17 -0
  232. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb +47 -0
  233. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_source.rb +35 -1
  234. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_source.rb +35 -1
  235. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_option.rb +20 -0
  236. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb +85 -0
  237. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_source.rb +37 -1
  238. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_dependency_tumbling_window_trigger_reference.rb +1 -1
  239. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_source.rb +9 -1
  240. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_location.rb +15 -8
  241. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb +15 -8
  242. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_write_settings.rb +94 -0
  243. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/shopify_source.rb +9 -1
  244. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_object_dataset.rb +26 -2
  245. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_source.rb +9 -1
  246. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsink.rb +38 -0
  247. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +9 -1
  248. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misink.rb +187 -0
  249. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misource.rb +155 -0
  250. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_sink.rb +13 -0
  251. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_source.rb +9 -1
  252. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_table_dataset.rb +25 -1
  253. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_sink.rb +13 -0
  254. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_source.rb +9 -1
  255. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_source.rb +9 -1
  256. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package_location_type.rb +17 -0
  257. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb +71 -0
  258. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb +81 -0
  259. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb +86 -0
  260. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +105 -1
  261. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb +21 -11
  262. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb +15 -11
  263. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb +46 -0
  264. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/switch_activity.rb +179 -0
  265. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb +70 -0
  266. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_source.rb +109 -0
  267. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_table_dataset.rb +153 -0
  268. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tabular_source.rb +101 -0
  269. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_linked_service.rb +13 -1
  270. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_option.rb +17 -0
  271. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_settings.rb +74 -0
  272. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_source.rb +135 -0
  273. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_table_dataset.rb +165 -0
  274. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb +57 -0
  275. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb +1 -0
  276. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb +59 -0
  277. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb +67 -0
  278. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb +41 -0
  279. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb +61 -0
  280. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger_dependency_reference.rb +1 -1
  281. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_source.rb +9 -1
  282. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_table_dataset.rb +26 -2
  283. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity.rb +13 -0
  284. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb +8 -5
  285. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity.rb +14 -0
  286. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_source.rb +9 -1
  287. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_source.rb +9 -1
  288. data/lib/2018-06-01/generated/azure_mgmt_data_factory/pipelines.rb +15 -6
  289. data/lib/2018-06-01/generated/azure_mgmt_data_factory/trigger_runs.rb +100 -0
  290. data/lib/2018-06-01/generated/azure_mgmt_data_factory/triggers.rb +523 -0
  291. data/lib/profiles/latest/modules/datafactory_profile_module.rb +932 -390
  292. data/lib/version.rb +1 -1
  293. metadata +142 -6
  294. data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger_action_parameters.rb +0 -76
@@ -72,12 +72,15 @@ module Azure::DataFactory::Mgmt::V2018_06_01
72
72
  # @return [Triggers] triggers
73
73
  attr_reader :triggers
74
74
 
75
- # @return [RerunTriggers] rerun_triggers
76
- attr_reader :rerun_triggers
77
-
78
75
  # @return [TriggerRuns] trigger_runs
79
76
  attr_reader :trigger_runs
80
77
 
78
+ # @return [DataFlows] data_flows
79
+ attr_reader :data_flows
80
+
81
+ # @return [DataFlowDebugSession] data_flow_debug_session
82
+ attr_reader :data_flow_debug_session
83
+
81
84
  #
82
85
  # Creates initializes a new instance of the DataFactoryManagementClient class.
83
86
  # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
@@ -103,8 +106,9 @@ module Azure::DataFactory::Mgmt::V2018_06_01
103
106
  @pipeline_runs = PipelineRuns.new(self)
104
107
  @activity_runs = ActivityRuns.new(self)
105
108
  @triggers = Triggers.new(self)
106
- @rerun_triggers = RerunTriggers.new(self)
107
109
  @trigger_runs = TriggerRuns.new(self)
110
+ @data_flows = DataFlows.new(self)
111
+ @data_flow_debug_session = DataFlowDebugSession.new(self)
108
112
  @api_version = '2018-06-01'
109
113
  @accept_language = 'en-US'
110
114
  @long_running_operation_retry_timeout = 30
@@ -177,7 +181,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
177
181
  #
178
182
  def add_telemetry
179
183
  sdk_information = 'azure_mgmt_data_factory'
180
- sdk_information = "#{sdk_information}/0.17.0"
184
+ sdk_information = "#{sdk_information}/0.18.0"
181
185
  add_user_agent_information(sdk_information)
182
186
  end
183
187
  end
@@ -8,11 +8,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
8
8
  # The Azure Data Factory V2 management API provides a RESTful set of web
9
9
  # services that interact with Azure Data Factory V2 services.
10
10
  #
11
- class RerunTriggers
11
+ class DataFlowDebugSession
12
12
  include MsRestAzure
13
13
 
14
14
  #
15
- # Creates and initializes a new instance of the RerunTriggers class.
15
+ # Creates and initializes a new instance of the DataFlowDebugSession class.
16
16
  # @param client service class for accessing basic functionality.
17
17
  #
18
18
  def initialize(client)
@@ -23,60 +23,91 @@ module Azure::DataFactory::Mgmt::V2018_06_01
23
23
  attr_reader :client
24
24
 
25
25
  #
26
- # Creates a rerun trigger.
26
+ # Creates a data flow debug session.
27
27
  #
28
28
  # @param resource_group_name [String] The resource group name.
29
29
  # @param factory_name [String] The factory name.
30
- # @param trigger_name [String] The trigger name.
31
- # @param rerun_trigger_name [String] The rerun trigger name.
32
- # @param rerun_tumbling_window_trigger_action_parameters
33
- # [RerunTumblingWindowTriggerActionParameters] Rerun tumbling window trigger
34
- # action parameters.
30
+ # @param request [CreateDataFlowDebugSessionRequest] Data flow debug session
31
+ # definition
35
32
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
36
33
  # will be added to the HTTP request.
37
34
  #
38
- # @return [TriggerResource] operation results.
35
+ # @return [CreateDataFlowDebugSessionResponse] operation results.
39
36
  #
40
- def create(resource_group_name, factory_name, trigger_name, rerun_trigger_name, rerun_tumbling_window_trigger_action_parameters, custom_headers:nil)
41
- response = create_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, rerun_tumbling_window_trigger_action_parameters, custom_headers:custom_headers).value!
37
+ def create(resource_group_name, factory_name, request, custom_headers:nil)
38
+ response = create_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
42
39
  response.body unless response.nil?
43
40
  end
44
41
 
45
42
  #
46
- # Creates a rerun trigger.
43
+ # @param resource_group_name [String] The resource group name.
44
+ # @param factory_name [String] The factory name.
45
+ # @param request [CreateDataFlowDebugSessionRequest] Data flow debug session
46
+ # definition
47
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
48
+ # will be added to the HTTP request.
49
+ #
50
+ # @return [Concurrent::Promise] promise which provides async access to http
51
+ # response.
52
+ #
53
+ def create_async(resource_group_name, factory_name, request, custom_headers:nil)
54
+ # Send request
55
+ promise = begin_create_async(resource_group_name, factory_name, request, custom_headers:custom_headers)
56
+
57
+ promise = promise.then do |response|
58
+ # Defining deserialization method.
59
+ deserialize_method = lambda do |parsed_response|
60
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::CreateDataFlowDebugSessionResponse.mapper()
61
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
62
+ end
63
+
64
+ # Waiting for response.
65
+ @client.get_long_running_operation_result(response, deserialize_method)
66
+ end
67
+
68
+ promise
69
+ end
70
+
71
+ #
72
+ # Query all active data flow debug sessions.
73
+ #
74
+ # @param resource_group_name [String] The resource group name.
75
+ # @param factory_name [String] The factory name.
76
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
77
+ # will be added to the HTTP request.
78
+ #
79
+ # @return [Array<DataFlowDebugSessionInfo>] operation results.
80
+ #
81
+ def query_by_factory(resource_group_name, factory_name, custom_headers:nil)
82
+ first_page = query_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:custom_headers)
83
+ first_page.get_all_items
84
+ end
85
+
86
+ #
87
+ # Query all active data flow debug sessions.
47
88
  #
48
89
  # @param resource_group_name [String] The resource group name.
49
90
  # @param factory_name [String] The factory name.
50
- # @param trigger_name [String] The trigger name.
51
- # @param rerun_trigger_name [String] The rerun trigger name.
52
- # @param rerun_tumbling_window_trigger_action_parameters
53
- # [RerunTumblingWindowTriggerActionParameters] Rerun tumbling window trigger
54
- # action parameters.
55
91
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
56
92
  # will be added to the HTTP request.
57
93
  #
58
94
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
59
95
  #
60
- def create_with_http_info(resource_group_name, factory_name, trigger_name, rerun_trigger_name, rerun_tumbling_window_trigger_action_parameters, custom_headers:nil)
61
- create_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, rerun_tumbling_window_trigger_action_parameters, custom_headers:custom_headers).value!
96
+ def query_by_factory_with_http_info(resource_group_name, factory_name, custom_headers:nil)
97
+ query_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
62
98
  end
63
99
 
64
100
  #
65
- # Creates a rerun trigger.
101
+ # Query all active data flow debug sessions.
66
102
  #
67
103
  # @param resource_group_name [String] The resource group name.
68
104
  # @param factory_name [String] The factory name.
69
- # @param trigger_name [String] The trigger name.
70
- # @param rerun_trigger_name [String] The rerun trigger name.
71
- # @param rerun_tumbling_window_trigger_action_parameters
72
- # [RerunTumblingWindowTriggerActionParameters] Rerun tumbling window trigger
73
- # action parameters.
74
105
  # @param [Hash{String => String}] A hash of custom headers that will be added
75
106
  # to the HTTP request.
76
107
  #
77
108
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
78
109
  #
79
- def create_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, rerun_tumbling_window_trigger_action_parameters, custom_headers:nil)
110
+ def query_by_factory_async(resource_group_name, factory_name, custom_headers:nil)
80
111
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
81
112
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
82
113
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
@@ -86,16 +117,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
86
117
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
87
118
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
88
119
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
89
- fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
90
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
91
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
92
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
93
- fail ArgumentError, 'rerun_trigger_name is nil' if rerun_trigger_name.nil?
94
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !rerun_trigger_name.nil? && rerun_trigger_name.length > 260
95
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MinLength': '1'" if !rerun_trigger_name.nil? && rerun_trigger_name.length < 1
96
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !rerun_trigger_name.nil? && rerun_trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
97
120
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
98
- fail ArgumentError, 'rerun_tumbling_window_trigger_action_parameters is nil' if rerun_tumbling_window_trigger_action_parameters.nil?
99
121
 
100
122
 
101
123
  request_headers = {}
@@ -104,25 +126,18 @@ module Azure::DataFactory::Mgmt::V2018_06_01
104
126
  # Set Headers
105
127
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
106
128
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
107
-
108
- # Serialize Request
109
- request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::RerunTumblingWindowTriggerActionParameters.mapper()
110
- request_content = @client.serialize(request_mapper, rerun_tumbling_window_trigger_action_parameters)
111
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
112
-
113
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}'
129
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/queryDataFlowDebugSessions'
114
130
 
115
131
  request_url = @base_url || @client.base_url
116
132
 
117
133
  options = {
118
134
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
119
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name,'rerunTriggerName' => rerun_trigger_name},
135
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
120
136
  query_params: {'api-version' => @client.api_version},
121
- body: request_content,
122
137
  headers: request_headers.merge(custom_headers || {}),
123
138
  base_url: request_url
124
139
  }
125
- promise = @client.make_request_async(:put, path_template, options)
140
+ promise = @client.make_request_async(:post, path_template, options)
126
141
 
127
142
  promise = promise.then do |result|
128
143
  http_response = result.response
@@ -140,7 +155,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
140
155
  if status_code == 200
141
156
  begin
142
157
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
143
- result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::TriggerResource.mapper()
158
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::QueryDataFlowDebugSessionsResponse.mapper()
144
159
  result.body = @client.deserialize(result_mapper, parsed_response)
145
160
  rescue Exception => e
146
161
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -154,174 +169,51 @@ module Azure::DataFactory::Mgmt::V2018_06_01
154
169
  end
155
170
 
156
171
  #
157
- # Starts a trigger.
158
- #
159
- # @param resource_group_name [String] The resource group name.
160
- # @param factory_name [String] The factory name.
161
- # @param trigger_name [String] The trigger name.
162
- # @param rerun_trigger_name [String] The rerun trigger name.
163
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
164
- # will be added to the HTTP request.
165
- #
166
- def start(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
167
- response = start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
168
- nil
169
- end
170
-
171
- #
172
- # @param resource_group_name [String] The resource group name.
173
- # @param factory_name [String] The factory name.
174
- # @param trigger_name [String] The trigger name.
175
- # @param rerun_trigger_name [String] The rerun trigger name.
176
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
177
- # will be added to the HTTP request.
178
- #
179
- # @return [Concurrent::Promise] promise which provides async access to http
180
- # response.
181
- #
182
- def start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
183
- # Send request
184
- promise = begin_start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers)
185
-
186
- promise = promise.then do |response|
187
- # Defining deserialization method.
188
- deserialize_method = lambda do |parsed_response|
189
- end
190
-
191
- # Waiting for response.
192
- @client.get_long_running_operation_result(response, deserialize_method)
193
- end
194
-
195
- promise
196
- end
197
-
198
- #
199
- # Stops a trigger.
200
- #
201
- # @param resource_group_name [String] The resource group name.
202
- # @param factory_name [String] The factory name.
203
- # @param trigger_name [String] The trigger name.
204
- # @param rerun_trigger_name [String] The rerun trigger name.
205
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
206
- # will be added to the HTTP request.
207
- #
208
- def stop(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
209
- response = stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
210
- nil
211
- end
212
-
213
- #
214
- # @param resource_group_name [String] The resource group name.
215
- # @param factory_name [String] The factory name.
216
- # @param trigger_name [String] The trigger name.
217
- # @param rerun_trigger_name [String] The rerun trigger name.
218
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
219
- # will be added to the HTTP request.
220
- #
221
- # @return [Concurrent::Promise] promise which provides async access to http
222
- # response.
223
- #
224
- def stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
225
- # Send request
226
- promise = begin_stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers)
227
-
228
- promise = promise.then do |response|
229
- # Defining deserialization method.
230
- deserialize_method = lambda do |parsed_response|
231
- end
232
-
233
- # Waiting for response.
234
- @client.get_long_running_operation_result(response, deserialize_method)
235
- end
236
-
237
- promise
238
- end
239
-
240
- #
241
- # Cancels a trigger.
242
- #
243
- # @param resource_group_name [String] The resource group name.
244
- # @param factory_name [String] The factory name.
245
- # @param trigger_name [String] The trigger name.
246
- # @param rerun_trigger_name [String] The rerun trigger name.
247
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
248
- # will be added to the HTTP request.
249
- #
250
- def cancel(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
251
- response = cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
252
- nil
253
- end
254
-
255
- #
256
- # @param resource_group_name [String] The resource group name.
257
- # @param factory_name [String] The factory name.
258
- # @param trigger_name [String] The trigger name.
259
- # @param rerun_trigger_name [String] The rerun trigger name.
260
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
261
- # will be added to the HTTP request.
262
- #
263
- # @return [Concurrent::Promise] promise which provides async access to http
264
- # response.
265
- #
266
- def cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
267
- # Send request
268
- promise = begin_cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers)
269
-
270
- promise = promise.then do |response|
271
- # Defining deserialization method.
272
- deserialize_method = lambda do |parsed_response|
273
- end
274
-
275
- # Waiting for response.
276
- @client.get_long_running_operation_result(response, deserialize_method)
277
- end
278
-
279
- promise
280
- end
281
-
282
- #
283
- # Lists rerun triggers by an original trigger name.
172
+ # Add a data flow into debug session.
284
173
  #
285
174
  # @param resource_group_name [String] The resource group name.
286
175
  # @param factory_name [String] The factory name.
287
- # @param trigger_name [String] The trigger name.
176
+ # @param request [DataFlowDebugPackage] Data flow debug session definition with
177
+ # debug content.
288
178
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
289
179
  # will be added to the HTTP request.
290
180
  #
291
- # @return [Array<RerunTriggerResource>] operation results.
181
+ # @return [AddDataFlowToDebugSessionResponse] operation results.
292
182
  #
293
- def list_by_trigger(resource_group_name, factory_name, trigger_name, custom_headers:nil)
294
- first_page = list_by_trigger_as_lazy(resource_group_name, factory_name, trigger_name, custom_headers:custom_headers)
295
- first_page.get_all_items
183
+ def add_data_flow(resource_group_name, factory_name, request, custom_headers:nil)
184
+ response = add_data_flow_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
185
+ response.body unless response.nil?
296
186
  end
297
187
 
298
188
  #
299
- # Lists rerun triggers by an original trigger name.
189
+ # Add a data flow into debug session.
300
190
  #
301
191
  # @param resource_group_name [String] The resource group name.
302
192
  # @param factory_name [String] The factory name.
303
- # @param trigger_name [String] The trigger name.
193
+ # @param request [DataFlowDebugPackage] Data flow debug session definition with
194
+ # debug content.
304
195
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
305
196
  # will be added to the HTTP request.
306
197
  #
307
198
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
308
199
  #
309
- def list_by_trigger_with_http_info(resource_group_name, factory_name, trigger_name, custom_headers:nil)
310
- list_by_trigger_async(resource_group_name, factory_name, trigger_name, custom_headers:custom_headers).value!
200
+ def add_data_flow_with_http_info(resource_group_name, factory_name, request, custom_headers:nil)
201
+ add_data_flow_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
311
202
  end
312
203
 
313
204
  #
314
- # Lists rerun triggers by an original trigger name.
205
+ # Add a data flow into debug session.
315
206
  #
316
207
  # @param resource_group_name [String] The resource group name.
317
208
  # @param factory_name [String] The factory name.
318
- # @param trigger_name [String] The trigger name.
209
+ # @param request [DataFlowDebugPackage] Data flow debug session definition with
210
+ # debug content.
319
211
  # @param [Hash{String => String}] A hash of custom headers that will be added
320
212
  # to the HTTP request.
321
213
  #
322
214
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
323
215
  #
324
- def list_by_trigger_async(resource_group_name, factory_name, trigger_name, custom_headers:nil)
216
+ def add_data_flow_async(resource_group_name, factory_name, request, custom_headers:nil)
325
217
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
326
218
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
327
219
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
@@ -331,11 +223,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
331
223
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
332
224
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
333
225
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
334
- fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
335
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
336
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
337
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
338
226
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
227
+ fail ArgumentError, 'request is nil' if request.nil?
339
228
 
340
229
 
341
230
  request_headers = {}
@@ -344,18 +233,25 @@ module Azure::DataFactory::Mgmt::V2018_06_01
344
233
  # Set Headers
345
234
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
346
235
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
347
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers'
236
+
237
+ # Serialize Request
238
+ request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowDebugPackage.mapper()
239
+ request_content = @client.serialize(request_mapper, request)
240
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
241
+
242
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/addDataFlowToDebugSession'
348
243
 
349
244
  request_url = @base_url || @client.base_url
350
245
 
351
246
  options = {
352
247
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
353
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name},
248
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
354
249
  query_params: {'api-version' => @client.api_version},
250
+ body: request_content,
355
251
  headers: request_headers.merge(custom_headers || {}),
356
252
  base_url: request_url
357
253
  }
358
- promise = @client.make_request_async(:get, path_template, options)
254
+ promise = @client.make_request_async(:post, path_template, options)
359
255
 
360
256
  promise = promise.then do |result|
361
257
  http_response = result.response
@@ -373,7 +269,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
373
269
  if status_code == 200
374
270
  begin
375
271
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
376
- result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::RerunTriggerListResponse.mapper()
272
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::AddDataFlowToDebugSessionResponse.mapper()
377
273
  result.body = @client.deserialize(result_mapper, parsed_response)
378
274
  rescue Exception => e
379
275
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -387,50 +283,50 @@ module Azure::DataFactory::Mgmt::V2018_06_01
387
283
  end
388
284
 
389
285
  #
390
- # Starts a trigger.
286
+ # Deletes a data flow debug session.
391
287
  #
392
288
  # @param resource_group_name [String] The resource group name.
393
289
  # @param factory_name [String] The factory name.
394
- # @param trigger_name [String] The trigger name.
395
- # @param rerun_trigger_name [String] The rerun trigger name.
290
+ # @param request [DeleteDataFlowDebugSessionRequest] Data flow debug session
291
+ # definition for deletion
396
292
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
397
293
  # will be added to the HTTP request.
398
294
  #
399
295
  #
400
- def begin_start(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
401
- response = begin_start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
296
+ def delete(resource_group_name, factory_name, request, custom_headers:nil)
297
+ response = delete_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
402
298
  nil
403
299
  end
404
300
 
405
301
  #
406
- # Starts a trigger.
302
+ # Deletes a data flow debug session.
407
303
  #
408
304
  # @param resource_group_name [String] The resource group name.
409
305
  # @param factory_name [String] The factory name.
410
- # @param trigger_name [String] The trigger name.
411
- # @param rerun_trigger_name [String] The rerun trigger name.
306
+ # @param request [DeleteDataFlowDebugSessionRequest] Data flow debug session
307
+ # definition for deletion
412
308
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
413
309
  # will be added to the HTTP request.
414
310
  #
415
311
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
416
312
  #
417
- def begin_start_with_http_info(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
418
- begin_start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
313
+ def delete_with_http_info(resource_group_name, factory_name, request, custom_headers:nil)
314
+ delete_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
419
315
  end
420
316
 
421
317
  #
422
- # Starts a trigger.
318
+ # Deletes a data flow debug session.
423
319
  #
424
320
  # @param resource_group_name [String] The resource group name.
425
321
  # @param factory_name [String] The factory name.
426
- # @param trigger_name [String] The trigger name.
427
- # @param rerun_trigger_name [String] The rerun trigger name.
322
+ # @param request [DeleteDataFlowDebugSessionRequest] Data flow debug session
323
+ # definition for deletion
428
324
  # @param [Hash{String => String}] A hash of custom headers that will be added
429
325
  # to the HTTP request.
430
326
  #
431
327
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
432
328
  #
433
- def begin_start_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
329
+ def delete_async(resource_group_name, factory_name, request, custom_headers:nil)
434
330
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
435
331
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
436
332
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
@@ -440,15 +336,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
440
336
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
441
337
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
442
338
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
443
- fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
444
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
445
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
446
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
447
- fail ArgumentError, 'rerun_trigger_name is nil' if rerun_trigger_name.nil?
448
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !rerun_trigger_name.nil? && rerun_trigger_name.length > 260
449
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MinLength': '1'" if !rerun_trigger_name.nil? && rerun_trigger_name.length < 1
450
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !rerun_trigger_name.nil? && rerun_trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
451
339
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
340
+ fail ArgumentError, 'request is nil' if request.nil?
452
341
 
453
342
 
454
343
  request_headers = {}
@@ -457,14 +346,21 @@ module Azure::DataFactory::Mgmt::V2018_06_01
457
346
  # Set Headers
458
347
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
459
348
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
460
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/start'
349
+
350
+ # Serialize Request
351
+ request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DeleteDataFlowDebugSessionRequest.mapper()
352
+ request_content = @client.serialize(request_mapper, request)
353
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
354
+
355
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/deleteDataFlowDebugSession'
461
356
 
462
357
  request_url = @base_url || @client.base_url
463
358
 
464
359
  options = {
465
360
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
466
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name,'rerunTriggerName' => rerun_trigger_name},
361
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
467
362
  query_params: {'api-version' => @client.api_version},
363
+ body: request_content,
468
364
  headers: request_headers.merge(custom_headers || {}),
469
365
  base_url: request_url
470
366
  }
@@ -490,50 +386,97 @@ module Azure::DataFactory::Mgmt::V2018_06_01
490
386
  end
491
387
 
492
388
  #
493
- # Stops a trigger.
389
+ # Execute a data flow debug command.
494
390
  #
495
391
  # @param resource_group_name [String] The resource group name.
496
392
  # @param factory_name [String] The factory name.
497
- # @param trigger_name [String] The trigger name.
498
- # @param rerun_trigger_name [String] The rerun trigger name.
393
+ # @param request [DataFlowDebugCommandRequest] Data flow debug command
394
+ # definition.
499
395
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
500
396
  # will be added to the HTTP request.
501
397
  #
398
+ # @return [DataFlowDebugCommandResponse] operation results.
502
399
  #
503
- def begin_stop(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
504
- response = begin_stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
505
- nil
400
+ def execute_command(resource_group_name, factory_name, request, custom_headers:nil)
401
+ response = execute_command_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
402
+ response.body unless response.nil?
506
403
  end
507
404
 
508
405
  #
509
- # Stops a trigger.
406
+ # @param resource_group_name [String] The resource group name.
407
+ # @param factory_name [String] The factory name.
408
+ # @param request [DataFlowDebugCommandRequest] Data flow debug command
409
+ # definition.
410
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
411
+ # will be added to the HTTP request.
412
+ #
413
+ # @return [Concurrent::Promise] promise which provides async access to http
414
+ # response.
415
+ #
416
+ def execute_command_async(resource_group_name, factory_name, request, custom_headers:nil)
417
+ # Send request
418
+ promise = begin_execute_command_async(resource_group_name, factory_name, request, custom_headers:custom_headers)
419
+
420
+ promise = promise.then do |response|
421
+ # Defining deserialization method.
422
+ deserialize_method = lambda do |parsed_response|
423
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowDebugCommandResponse.mapper()
424
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
425
+ end
426
+
427
+ # Waiting for response.
428
+ @client.get_long_running_operation_result(response, deserialize_method)
429
+ end
430
+
431
+ promise
432
+ end
433
+
434
+ #
435
+ # Creates a data flow debug session.
436
+ #
437
+ # @param resource_group_name [String] The resource group name.
438
+ # @param factory_name [String] The factory name.
439
+ # @param request [CreateDataFlowDebugSessionRequest] Data flow debug session
440
+ # definition
441
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
442
+ # will be added to the HTTP request.
443
+ #
444
+ # @return [CreateDataFlowDebugSessionResponse] operation results.
445
+ #
446
+ def begin_create(resource_group_name, factory_name, request, custom_headers:nil)
447
+ response = begin_create_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
448
+ response.body unless response.nil?
449
+ end
450
+
451
+ #
452
+ # Creates a data flow debug session.
510
453
  #
511
454
  # @param resource_group_name [String] The resource group name.
512
455
  # @param factory_name [String] The factory name.
513
- # @param trigger_name [String] The trigger name.
514
- # @param rerun_trigger_name [String] The rerun trigger name.
456
+ # @param request [CreateDataFlowDebugSessionRequest] Data flow debug session
457
+ # definition
515
458
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
516
459
  # will be added to the HTTP request.
517
460
  #
518
461
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
519
462
  #
520
- def begin_stop_with_http_info(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
521
- begin_stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
463
+ def begin_create_with_http_info(resource_group_name, factory_name, request, custom_headers:nil)
464
+ begin_create_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
522
465
  end
523
466
 
524
467
  #
525
- # Stops a trigger.
468
+ # Creates a data flow debug session.
526
469
  #
527
470
  # @param resource_group_name [String] The resource group name.
528
471
  # @param factory_name [String] The factory name.
529
- # @param trigger_name [String] The trigger name.
530
- # @param rerun_trigger_name [String] The rerun trigger name.
472
+ # @param request [CreateDataFlowDebugSessionRequest] Data flow debug session
473
+ # definition
531
474
  # @param [Hash{String => String}] A hash of custom headers that will be added
532
475
  # to the HTTP request.
533
476
  #
534
477
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
535
478
  #
536
- def begin_stop_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
479
+ def begin_create_async(resource_group_name, factory_name, request, custom_headers:nil)
537
480
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
538
481
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
539
482
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
@@ -543,15 +486,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
543
486
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
544
487
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
545
488
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
546
- fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
547
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
548
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
549
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
550
- fail ArgumentError, 'rerun_trigger_name is nil' if rerun_trigger_name.nil?
551
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !rerun_trigger_name.nil? && rerun_trigger_name.length > 260
552
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MinLength': '1'" if !rerun_trigger_name.nil? && rerun_trigger_name.length < 1
553
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !rerun_trigger_name.nil? && rerun_trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
554
489
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
490
+ fail ArgumentError, 'request is nil' if request.nil?
555
491
 
556
492
 
557
493
  request_headers = {}
@@ -560,14 +496,21 @@ module Azure::DataFactory::Mgmt::V2018_06_01
560
496
  # Set Headers
561
497
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
562
498
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
563
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/stop'
499
+
500
+ # Serialize Request
501
+ request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::CreateDataFlowDebugSessionRequest.mapper()
502
+ request_content = @client.serialize(request_mapper, request)
503
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
504
+
505
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/createDataFlowDebugSession'
564
506
 
565
507
  request_url = @base_url || @client.base_url
566
508
 
567
509
  options = {
568
510
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
569
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name,'rerunTriggerName' => rerun_trigger_name},
511
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
570
512
  query_params: {'api-version' => @client.api_version},
513
+ body: request_content,
571
514
  headers: request_headers.merge(custom_headers || {}),
572
515
  base_url: request_url
573
516
  }
@@ -577,7 +520,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
577
520
  http_response = result.response
578
521
  status_code = http_response.status
579
522
  response_content = http_response.body
580
- unless status_code == 200
523
+ unless status_code == 202 || status_code == 200
581
524
  error_model = JSON.load(response_content)
582
525
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
583
526
  end
@@ -585,6 +528,16 @@ module Azure::DataFactory::Mgmt::V2018_06_01
585
528
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
586
529
  result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
587
530
  result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
531
+ # Deserialize Response
532
+ if status_code == 200
533
+ begin
534
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
535
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::CreateDataFlowDebugSessionResponse.mapper()
536
+ result.body = @client.deserialize(result_mapper, parsed_response)
537
+ rescue Exception => e
538
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
539
+ end
540
+ end
588
541
 
589
542
  result
590
543
  end
@@ -593,50 +546,51 @@ module Azure::DataFactory::Mgmt::V2018_06_01
593
546
  end
594
547
 
595
548
  #
596
- # Cancels a trigger.
549
+ # Execute a data flow debug command.
597
550
  #
598
551
  # @param resource_group_name [String] The resource group name.
599
552
  # @param factory_name [String] The factory name.
600
- # @param trigger_name [String] The trigger name.
601
- # @param rerun_trigger_name [String] The rerun trigger name.
553
+ # @param request [DataFlowDebugCommandRequest] Data flow debug command
554
+ # definition.
602
555
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
603
556
  # will be added to the HTTP request.
604
557
  #
558
+ # @return [DataFlowDebugCommandResponse] operation results.
605
559
  #
606
- def begin_cancel(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
607
- response = begin_cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
608
- nil
560
+ def begin_execute_command(resource_group_name, factory_name, request, custom_headers:nil)
561
+ response = begin_execute_command_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
562
+ response.body unless response.nil?
609
563
  end
610
564
 
611
565
  #
612
- # Cancels a trigger.
566
+ # Execute a data flow debug command.
613
567
  #
614
568
  # @param resource_group_name [String] The resource group name.
615
569
  # @param factory_name [String] The factory name.
616
- # @param trigger_name [String] The trigger name.
617
- # @param rerun_trigger_name [String] The rerun trigger name.
570
+ # @param request [DataFlowDebugCommandRequest] Data flow debug command
571
+ # definition.
618
572
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
619
573
  # will be added to the HTTP request.
620
574
  #
621
575
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
622
576
  #
623
- def begin_cancel_with_http_info(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
624
- begin_cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:custom_headers).value!
577
+ def begin_execute_command_with_http_info(resource_group_name, factory_name, request, custom_headers:nil)
578
+ begin_execute_command_async(resource_group_name, factory_name, request, custom_headers:custom_headers).value!
625
579
  end
626
580
 
627
581
  #
628
- # Cancels a trigger.
582
+ # Execute a data flow debug command.
629
583
  #
630
584
  # @param resource_group_name [String] The resource group name.
631
585
  # @param factory_name [String] The factory name.
632
- # @param trigger_name [String] The trigger name.
633
- # @param rerun_trigger_name [String] The rerun trigger name.
586
+ # @param request [DataFlowDebugCommandRequest] Data flow debug command
587
+ # definition.
634
588
  # @param [Hash{String => String}] A hash of custom headers that will be added
635
589
  # to the HTTP request.
636
590
  #
637
591
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
638
592
  #
639
- def begin_cancel_async(resource_group_name, factory_name, trigger_name, rerun_trigger_name, custom_headers:nil)
593
+ def begin_execute_command_async(resource_group_name, factory_name, request, custom_headers:nil)
640
594
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
641
595
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
642
596
  fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
@@ -646,15 +600,8 @@ module Azure::DataFactory::Mgmt::V2018_06_01
646
600
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
647
601
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
648
602
  fail ArgumentError, "'factory_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !factory_name.nil? && factory_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
649
- fail ArgumentError, 'trigger_name is nil' if trigger_name.nil?
650
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !trigger_name.nil? && trigger_name.length > 260
651
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'MinLength': '1'" if !trigger_name.nil? && trigger_name.length < 1
652
- fail ArgumentError, "'trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !trigger_name.nil? && trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
653
- fail ArgumentError, 'rerun_trigger_name is nil' if rerun_trigger_name.nil?
654
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MaxLength': '260'" if !rerun_trigger_name.nil? && rerun_trigger_name.length > 260
655
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'MinLength': '1'" if !rerun_trigger_name.nil? && rerun_trigger_name.length < 1
656
- fail ArgumentError, "'rerun_trigger_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !rerun_trigger_name.nil? && rerun_trigger_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
657
603
  fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
604
+ fail ArgumentError, 'request is nil' if request.nil?
658
605
 
659
606
 
660
607
  request_headers = {}
@@ -663,14 +610,21 @@ module Azure::DataFactory::Mgmt::V2018_06_01
663
610
  # Set Headers
664
611
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
665
612
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
666
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}/cancel'
613
+
614
+ # Serialize Request
615
+ request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowDebugCommandRequest.mapper()
616
+ request_content = @client.serialize(request_mapper, request)
617
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
618
+
619
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/executeDataFlowDebugCommand'
667
620
 
668
621
  request_url = @base_url || @client.base_url
669
622
 
670
623
  options = {
671
624
  middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
672
- path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'triggerName' => trigger_name,'rerunTriggerName' => rerun_trigger_name},
625
+ path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
673
626
  query_params: {'api-version' => @client.api_version},
627
+ body: request_content,
674
628
  headers: request_headers.merge(custom_headers || {}),
675
629
  base_url: request_url
676
630
  }
@@ -680,7 +634,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
680
634
  http_response = result.response
681
635
  status_code = http_response.status
682
636
  response_content = http_response.body
683
- unless status_code == 200
637
+ unless status_code == 202 || status_code == 200
684
638
  error_model = JSON.load(response_content)
685
639
  fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
686
640
  end
@@ -688,6 +642,16 @@ module Azure::DataFactory::Mgmt::V2018_06_01
688
642
  result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
689
643
  result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
690
644
  result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
645
+ # Deserialize Response
646
+ if status_code == 200
647
+ begin
648
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
649
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowDebugCommandResponse.mapper()
650
+ result.body = @client.deserialize(result_mapper, parsed_response)
651
+ rescue Exception => e
652
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
653
+ end
654
+ end
691
655
 
692
656
  result
693
657
  end
@@ -696,22 +660,22 @@ module Azure::DataFactory::Mgmt::V2018_06_01
696
660
  end
697
661
 
698
662
  #
699
- # Lists rerun triggers by an original trigger name.
663
+ # Query all active data flow debug sessions.
700
664
  #
701
665
  # @param next_page_link [String] The NextLink from the previous successful call
702
666
  # to List operation.
703
667
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
704
668
  # will be added to the HTTP request.
705
669
  #
706
- # @return [RerunTriggerListResponse] operation results.
670
+ # @return [QueryDataFlowDebugSessionsResponse] operation results.
707
671
  #
708
- def list_by_trigger_next(next_page_link, custom_headers:nil)
709
- response = list_by_trigger_next_async(next_page_link, custom_headers:custom_headers).value!
672
+ def query_by_factory_next(next_page_link, custom_headers:nil)
673
+ response = query_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
710
674
  response.body unless response.nil?
711
675
  end
712
676
 
713
677
  #
714
- # Lists rerun triggers by an original trigger name.
678
+ # Query all active data flow debug sessions.
715
679
  #
716
680
  # @param next_page_link [String] The NextLink from the previous successful call
717
681
  # to List operation.
@@ -720,12 +684,12 @@ module Azure::DataFactory::Mgmt::V2018_06_01
720
684
  #
721
685
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
722
686
  #
723
- def list_by_trigger_next_with_http_info(next_page_link, custom_headers:nil)
724
- list_by_trigger_next_async(next_page_link, custom_headers:custom_headers).value!
687
+ def query_by_factory_next_with_http_info(next_page_link, custom_headers:nil)
688
+ query_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
725
689
  end
726
690
 
727
691
  #
728
- # Lists rerun triggers by an original trigger name.
692
+ # Query all active data flow debug sessions.
729
693
  #
730
694
  # @param next_page_link [String] The NextLink from the previous successful call
731
695
  # to List operation.
@@ -734,7 +698,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
734
698
  #
735
699
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
736
700
  #
737
- def list_by_trigger_next_async(next_page_link, custom_headers:nil)
701
+ def query_by_factory_next_async(next_page_link, custom_headers:nil)
738
702
  fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
739
703
 
740
704
 
@@ -754,7 +718,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
754
718
  headers: request_headers.merge(custom_headers || {}),
755
719
  base_url: request_url
756
720
  }
757
- promise = @client.make_request_async(:get, path_template, options)
721
+ promise = @client.make_request_async(:post, path_template, options)
758
722
 
759
723
  promise = promise.then do |result|
760
724
  http_response = result.response
@@ -772,7 +736,7 @@ module Azure::DataFactory::Mgmt::V2018_06_01
772
736
  if status_code == 200
773
737
  begin
774
738
  parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
775
- result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::RerunTriggerListResponse.mapper()
739
+ result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::QueryDataFlowDebugSessionsResponse.mapper()
776
740
  result.body = @client.deserialize(result_mapper, parsed_response)
777
741
  rescue Exception => e
778
742
  fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -786,23 +750,22 @@ module Azure::DataFactory::Mgmt::V2018_06_01
786
750
  end
787
751
 
788
752
  #
789
- # Lists rerun triggers by an original trigger name.
753
+ # Query all active data flow debug sessions.
790
754
  #
791
755
  # @param resource_group_name [String] The resource group name.
792
756
  # @param factory_name [String] The factory name.
793
- # @param trigger_name [String] The trigger name.
794
757
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
795
758
  # will be added to the HTTP request.
796
759
  #
797
- # @return [RerunTriggerListResponse] which provide lazy access to pages of the
798
- # response.
760
+ # @return [QueryDataFlowDebugSessionsResponse] which provide lazy access to
761
+ # pages of the response.
799
762
  #
800
- def list_by_trigger_as_lazy(resource_group_name, factory_name, trigger_name, custom_headers:nil)
801
- response = list_by_trigger_async(resource_group_name, factory_name, trigger_name, custom_headers:custom_headers).value!
763
+ def query_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:nil)
764
+ response = query_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
802
765
  unless response.nil?
803
766
  page = response.body
804
767
  page.next_method = Proc.new do |next_page_link|
805
- list_by_trigger_next_async(next_page_link, custom_headers:custom_headers)
768
+ query_by_factory_next_async(next_page_link, custom_headers:custom_headers)
806
769
  end
807
770
  page
808
771
  end