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.
- checksums.yaml +4 -4
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/data_factory_management_client.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory.rb +256 -120
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb +9 -5
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/{rerun_triggers.rb → data_flow_debug_session.rb} +250 -287
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_flows.rb +579 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb +4 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwssource.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_table_dataset.rb +177 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_compression_codec.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_dataset.rb +182 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_sink.rb +131 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_source.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_write_settings.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fslocation.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fsread_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fswrite_settings.rb +27 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_read_settings.rb +27 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_write_settings.rb +27 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_command_activity.rb +158 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_write_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb +41 -15
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_linked_service.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_location.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_file_storage_read_settings.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dblinked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dbsource.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_maria_dbtable_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlexecute_pipeline_activity.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb +6 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlservice_linked_service.rb +205 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_table_dataset.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_table_dataset.rb +26 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_dwtable_dataset.rb +25 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_milinked_service.rb +193 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_mitable_dataset.rb +177 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_sink.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_table_dataset.rb +25 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_dataset.rb +170 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_sink.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/binary_source.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/chaining_trigger.rb +148 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cmdkey_setup.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_entity_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_linked_service.rb +287 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_sink.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/common_data_service_for_apps_source.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/component_setup.rb +75 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb +38 -17
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_linked_service.rb +30 -4
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_source.rb +13 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_sink.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_sql_api_source.rb +125 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/couchbase_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_compute_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_payload.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_request.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_response.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_resource.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_session_info.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/{rerun_trigger_list_response.rb → data_flow_list_response.rb} +12 -13
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_reference.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/{rerun_trigger_resource.rb → data_flow_resource.rb} +9 -7
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_sink.rb +63 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source.rb +63 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_debug_resource.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb +21 -11
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2linked_service.rb +24 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2table_dataset.rb +177 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_dataset.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_read_settings.rb +7 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_sink.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_source.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb +7 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_sink.rb +3 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_source.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_table_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_settings.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_authentication_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axsource.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_entity_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_linked_service.rb +284 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_sink.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_crm_source.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_deployment_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_linked_service.rb +49 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/eloqua_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/environment_variable_setup.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/event_subscription_status.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity.rb +185 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_ssispackage_activity.rb +12 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_write_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb +11 -11
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb +13 -11
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_server_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/get_data_factory_operation_status_response.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_linked_service.rb +3 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb +3 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_linked_service.rb +171 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_location.rb +105 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_cloud_storage_read_settings.rb +156 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_table_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_pig_activity.rb +3 -10
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_spark_activity.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_server_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hubspot_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_linked_service.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/informix_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.rb +94 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_debug_resource.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb +23 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/jira_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_dataset.rb +186 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_sink.rb +131 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_source.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_write_file_pattern.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_write_settings.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb +10 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_debug_resource.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/magento_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mapping_data_flow.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/maria_dbsource.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/marketo_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_linked_service.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/microsoft_access_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2source.rb +13 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_linked_service.rb +2 -5
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_option.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_source.rb +35 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_table_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/office365source.rb +75 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_option.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_settings.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb +26 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_table_dataset.rb +25 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_compression_codec.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_dataset.rb +167 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_sink.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_source.rb +103 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_dataset.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_source.rb +2 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/paypal_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_resource.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_linked_service.rb +2 -5
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_table_dataset.rb +177 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/query_data_flow_debug_sessions_response.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger.rb +3 -3
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/responsys_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_source.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_linked_service.rb +197 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_sink.rb +149 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_service_cloud_source.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_bw_cube_dataset.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_bw_source.rb +108 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_option.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_source.rb +35 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_source.rb +35 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_option.rb +20 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_source.rb +37 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_dependency_tumbling_window_trigger_reference.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_location.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb +15 -8
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_write_settings.rb +94 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/shopify_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_object_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsink.rb +38 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misink.rb +187 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_misource.rb +155 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_sink.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_table_dataset.rb +25 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_sink.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package_location_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +105 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb +21 -11
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb +15 -11
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/switch_activity.rb +179 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb +70 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_source.rb +109 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tabular_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_linked_service.rb +13 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_option.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_source.rb +135 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_table_dataset.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb +1 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb +41 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger_dependency_reference.rb +1 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_table_dataset.rb +26 -2
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity.rb +13 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb +8 -5
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity.rb +14 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_source.rb +9 -1
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/pipelines.rb +15 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/trigger_runs.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/triggers.rb +523 -0
- data/lib/profiles/latest/modules/datafactory_profile_module.rb +932 -390
- data/lib/version.rb +1 -1
- metadata +142 -6
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger_action_parameters.rb +0 -76
@@ -0,0 +1,579 @@
|
|
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::DataFactory::Mgmt::V2018_06_01
|
7
|
+
#
|
8
|
+
# The Azure Data Factory V2 management API provides a RESTful set of web
|
9
|
+
# services that interact with Azure Data Factory V2 services.
|
10
|
+
#
|
11
|
+
class DataFlows
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the DataFlows class.
|
16
|
+
# @param client service class for accessing basic functionality.
|
17
|
+
#
|
18
|
+
def initialize(client)
|
19
|
+
@client = client
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [DataFactoryManagementClient] reference to the DataFactoryManagementClient
|
23
|
+
attr_reader :client
|
24
|
+
|
25
|
+
#
|
26
|
+
# Creates or updates a data flow.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The resource group name.
|
29
|
+
# @param factory_name [String] The factory name.
|
30
|
+
# @param data_flow_name [String] The data flow name.
|
31
|
+
# @param data_flow [DataFlowResource] Data flow resource definition.
|
32
|
+
# @param if_match [String] ETag of the data flow entity. Should only be
|
33
|
+
# specified for update, for which it should match existing entity or can be *
|
34
|
+
# for unconditional update.
|
35
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
36
|
+
# will be added to the HTTP request.
|
37
|
+
#
|
38
|
+
# @return [DataFlowResource] operation results.
|
39
|
+
#
|
40
|
+
def create_or_update(resource_group_name, factory_name, data_flow_name, data_flow, if_match:nil, custom_headers:nil)
|
41
|
+
response = create_or_update_async(resource_group_name, factory_name, data_flow_name, data_flow, if_match:if_match, custom_headers:custom_headers).value!
|
42
|
+
response.body unless response.nil?
|
43
|
+
end
|
44
|
+
|
45
|
+
#
|
46
|
+
# Creates or updates a data flow.
|
47
|
+
#
|
48
|
+
# @param resource_group_name [String] The resource group name.
|
49
|
+
# @param factory_name [String] The factory name.
|
50
|
+
# @param data_flow_name [String] The data flow name.
|
51
|
+
# @param data_flow [DataFlowResource] Data flow resource definition.
|
52
|
+
# @param if_match [String] ETag of the data flow entity. Should only be
|
53
|
+
# specified for update, for which it should match existing entity or can be *
|
54
|
+
# for unconditional update.
|
55
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
56
|
+
# will be added to the HTTP request.
|
57
|
+
#
|
58
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
59
|
+
#
|
60
|
+
def create_or_update_with_http_info(resource_group_name, factory_name, data_flow_name, data_flow, if_match:nil, custom_headers:nil)
|
61
|
+
create_or_update_async(resource_group_name, factory_name, data_flow_name, data_flow, if_match:if_match, custom_headers:custom_headers).value!
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Creates or updates a data flow.
|
66
|
+
#
|
67
|
+
# @param resource_group_name [String] The resource group name.
|
68
|
+
# @param factory_name [String] The factory name.
|
69
|
+
# @param data_flow_name [String] The data flow name.
|
70
|
+
# @param data_flow [DataFlowResource] Data flow resource definition.
|
71
|
+
# @param if_match [String] ETag of the data flow entity. Should only be
|
72
|
+
# specified for update, for which it should match existing entity or can be *
|
73
|
+
# for unconditional update.
|
74
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
75
|
+
# to the HTTP request.
|
76
|
+
#
|
77
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
78
|
+
#
|
79
|
+
def create_or_update_async(resource_group_name, factory_name, data_flow_name, data_flow, if_match:nil, custom_headers:nil)
|
80
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
81
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
82
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
83
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
84
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
85
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
86
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
87
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
88
|
+
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, 'data_flow_name is nil' if data_flow_name.nil?
|
90
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MaxLength': '260'" if !data_flow_name.nil? && data_flow_name.length > 260
|
91
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MinLength': '1'" if !data_flow_name.nil? && data_flow_name.length < 1
|
92
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !data_flow_name.nil? && data_flow_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
|
93
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
94
|
+
fail ArgumentError, 'data_flow is nil' if data_flow.nil?
|
95
|
+
|
96
|
+
|
97
|
+
request_headers = {}
|
98
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
99
|
+
|
100
|
+
# Set Headers
|
101
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
102
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
103
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
104
|
+
|
105
|
+
# Serialize Request
|
106
|
+
request_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowResource.mapper()
|
107
|
+
request_content = @client.serialize(request_mapper, data_flow)
|
108
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
109
|
+
|
110
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'
|
111
|
+
|
112
|
+
request_url = @base_url || @client.base_url
|
113
|
+
|
114
|
+
options = {
|
115
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
116
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'dataFlowName' => data_flow_name},
|
117
|
+
query_params: {'api-version' => @client.api_version},
|
118
|
+
body: request_content,
|
119
|
+
headers: request_headers.merge(custom_headers || {}),
|
120
|
+
base_url: request_url
|
121
|
+
}
|
122
|
+
promise = @client.make_request_async(:put, path_template, options)
|
123
|
+
|
124
|
+
promise = promise.then do |result|
|
125
|
+
http_response = result.response
|
126
|
+
status_code = http_response.status
|
127
|
+
response_content = http_response.body
|
128
|
+
unless status_code == 200
|
129
|
+
error_model = JSON.load(response_content)
|
130
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
131
|
+
end
|
132
|
+
|
133
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
134
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
135
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
136
|
+
# Deserialize Response
|
137
|
+
if status_code == 200
|
138
|
+
begin
|
139
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
140
|
+
result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowResource.mapper()
|
141
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
142
|
+
rescue Exception => e
|
143
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
result
|
148
|
+
end
|
149
|
+
|
150
|
+
promise.execute
|
151
|
+
end
|
152
|
+
|
153
|
+
#
|
154
|
+
# Gets a data flow.
|
155
|
+
#
|
156
|
+
# @param resource_group_name [String] The resource group name.
|
157
|
+
# @param factory_name [String] The factory name.
|
158
|
+
# @param data_flow_name [String] The data flow name.
|
159
|
+
# @param if_none_match [String] ETag of the data flow entity. Should only be
|
160
|
+
# specified for get. If the ETag matches the existing entity tag, or if * was
|
161
|
+
# provided, then no content will be returned.
|
162
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
163
|
+
# will be added to the HTTP request.
|
164
|
+
#
|
165
|
+
# @return [DataFlowResource] operation results.
|
166
|
+
#
|
167
|
+
def get(resource_group_name, factory_name, data_flow_name, if_none_match:nil, custom_headers:nil)
|
168
|
+
response = get_async(resource_group_name, factory_name, data_flow_name, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
169
|
+
response.body unless response.nil?
|
170
|
+
end
|
171
|
+
|
172
|
+
#
|
173
|
+
# Gets a data flow.
|
174
|
+
#
|
175
|
+
# @param resource_group_name [String] The resource group name.
|
176
|
+
# @param factory_name [String] The factory name.
|
177
|
+
# @param data_flow_name [String] The data flow name.
|
178
|
+
# @param if_none_match [String] ETag of the data flow entity. Should only be
|
179
|
+
# specified for get. If the ETag matches the existing entity tag, or if * was
|
180
|
+
# provided, then no content will be returned.
|
181
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
182
|
+
# will be added to the HTTP request.
|
183
|
+
#
|
184
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
185
|
+
#
|
186
|
+
def get_with_http_info(resource_group_name, factory_name, data_flow_name, if_none_match:nil, custom_headers:nil)
|
187
|
+
get_async(resource_group_name, factory_name, data_flow_name, if_none_match:if_none_match, custom_headers:custom_headers).value!
|
188
|
+
end
|
189
|
+
|
190
|
+
#
|
191
|
+
# Gets a data flow.
|
192
|
+
#
|
193
|
+
# @param resource_group_name [String] The resource group name.
|
194
|
+
# @param factory_name [String] The factory name.
|
195
|
+
# @param data_flow_name [String] The data flow name.
|
196
|
+
# @param if_none_match [String] ETag of the data flow entity. Should only be
|
197
|
+
# specified for get. If the ETag matches the existing entity tag, or if * was
|
198
|
+
# provided, then no content will be returned.
|
199
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
200
|
+
# to the HTTP request.
|
201
|
+
#
|
202
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
203
|
+
#
|
204
|
+
def get_async(resource_group_name, factory_name, data_flow_name, if_none_match:nil, custom_headers:nil)
|
205
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
206
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
207
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
208
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
209
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
210
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
211
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
212
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
213
|
+
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?
|
214
|
+
fail ArgumentError, 'data_flow_name is nil' if data_flow_name.nil?
|
215
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MaxLength': '260'" if !data_flow_name.nil? && data_flow_name.length > 260
|
216
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MinLength': '1'" if !data_flow_name.nil? && data_flow_name.length < 1
|
217
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !data_flow_name.nil? && data_flow_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
|
218
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
219
|
+
|
220
|
+
|
221
|
+
request_headers = {}
|
222
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
223
|
+
|
224
|
+
# Set Headers
|
225
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
226
|
+
request_headers['If-None-Match'] = if_none_match unless if_none_match.nil?
|
227
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
228
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'
|
229
|
+
|
230
|
+
request_url = @base_url || @client.base_url
|
231
|
+
|
232
|
+
options = {
|
233
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
234
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'dataFlowName' => data_flow_name},
|
235
|
+
query_params: {'api-version' => @client.api_version},
|
236
|
+
headers: request_headers.merge(custom_headers || {}),
|
237
|
+
base_url: request_url
|
238
|
+
}
|
239
|
+
promise = @client.make_request_async(:get, path_template, options)
|
240
|
+
|
241
|
+
promise = promise.then do |result|
|
242
|
+
http_response = result.response
|
243
|
+
status_code = http_response.status
|
244
|
+
response_content = http_response.body
|
245
|
+
unless status_code == 200
|
246
|
+
error_model = JSON.load(response_content)
|
247
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
248
|
+
end
|
249
|
+
|
250
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
251
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
252
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
253
|
+
# Deserialize Response
|
254
|
+
if status_code == 200
|
255
|
+
begin
|
256
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
257
|
+
result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowResource.mapper()
|
258
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
259
|
+
rescue Exception => e
|
260
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
result
|
265
|
+
end
|
266
|
+
|
267
|
+
promise.execute
|
268
|
+
end
|
269
|
+
|
270
|
+
#
|
271
|
+
# Deletes a data flow.
|
272
|
+
#
|
273
|
+
# @param resource_group_name [String] The resource group name.
|
274
|
+
# @param factory_name [String] The factory name.
|
275
|
+
# @param data_flow_name [String] The data flow name.
|
276
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
277
|
+
# will be added to the HTTP request.
|
278
|
+
#
|
279
|
+
#
|
280
|
+
def delete(resource_group_name, factory_name, data_flow_name, custom_headers:nil)
|
281
|
+
response = delete_async(resource_group_name, factory_name, data_flow_name, custom_headers:custom_headers).value!
|
282
|
+
nil
|
283
|
+
end
|
284
|
+
|
285
|
+
#
|
286
|
+
# Deletes a data flow.
|
287
|
+
#
|
288
|
+
# @param resource_group_name [String] The resource group name.
|
289
|
+
# @param factory_name [String] The factory name.
|
290
|
+
# @param data_flow_name [String] The data flow name.
|
291
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
292
|
+
# will be added to the HTTP request.
|
293
|
+
#
|
294
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
295
|
+
#
|
296
|
+
def delete_with_http_info(resource_group_name, factory_name, data_flow_name, custom_headers:nil)
|
297
|
+
delete_async(resource_group_name, factory_name, data_flow_name, custom_headers:custom_headers).value!
|
298
|
+
end
|
299
|
+
|
300
|
+
#
|
301
|
+
# Deletes a data flow.
|
302
|
+
#
|
303
|
+
# @param resource_group_name [String] The resource group name.
|
304
|
+
# @param factory_name [String] The factory name.
|
305
|
+
# @param data_flow_name [String] The data flow name.
|
306
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
307
|
+
# to the HTTP request.
|
308
|
+
#
|
309
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
310
|
+
#
|
311
|
+
def delete_async(resource_group_name, factory_name, data_flow_name, custom_headers:nil)
|
312
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
313
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
314
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
315
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
316
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
317
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
318
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
319
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
320
|
+
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?
|
321
|
+
fail ArgumentError, 'data_flow_name is nil' if data_flow_name.nil?
|
322
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MaxLength': '260'" if !data_flow_name.nil? && data_flow_name.length > 260
|
323
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'MinLength': '1'" if !data_flow_name.nil? && data_flow_name.length < 1
|
324
|
+
fail ArgumentError, "'data_flow_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$'" if !data_flow_name.nil? && data_flow_name.match(Regexp.new('^^[A-Za-z0-9_][^<>*#.%&:\\+?/]*$$')).nil?
|
325
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
326
|
+
|
327
|
+
|
328
|
+
request_headers = {}
|
329
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
330
|
+
|
331
|
+
# Set Headers
|
332
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
333
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
334
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows/{dataFlowName}'
|
335
|
+
|
336
|
+
request_url = @base_url || @client.base_url
|
337
|
+
|
338
|
+
options = {
|
339
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
340
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'dataFlowName' => data_flow_name},
|
341
|
+
query_params: {'api-version' => @client.api_version},
|
342
|
+
headers: request_headers.merge(custom_headers || {}),
|
343
|
+
base_url: request_url
|
344
|
+
}
|
345
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
346
|
+
|
347
|
+
promise = promise.then do |result|
|
348
|
+
http_response = result.response
|
349
|
+
status_code = http_response.status
|
350
|
+
response_content = http_response.body
|
351
|
+
unless status_code == 200 || status_code == 204
|
352
|
+
error_model = JSON.load(response_content)
|
353
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
354
|
+
end
|
355
|
+
|
356
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
357
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
358
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
359
|
+
|
360
|
+
result
|
361
|
+
end
|
362
|
+
|
363
|
+
promise.execute
|
364
|
+
end
|
365
|
+
|
366
|
+
#
|
367
|
+
# Lists data flows.
|
368
|
+
#
|
369
|
+
# @param resource_group_name [String] The resource group name.
|
370
|
+
# @param factory_name [String] The factory name.
|
371
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
372
|
+
# will be added to the HTTP request.
|
373
|
+
#
|
374
|
+
# @return [Array<DataFlowResource>] operation results.
|
375
|
+
#
|
376
|
+
def list_by_factory(resource_group_name, factory_name, custom_headers:nil)
|
377
|
+
first_page = list_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:custom_headers)
|
378
|
+
first_page.get_all_items
|
379
|
+
end
|
380
|
+
|
381
|
+
#
|
382
|
+
# Lists data flows.
|
383
|
+
#
|
384
|
+
# @param resource_group_name [String] The resource group name.
|
385
|
+
# @param factory_name [String] The factory name.
|
386
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
387
|
+
# will be added to the HTTP request.
|
388
|
+
#
|
389
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
390
|
+
#
|
391
|
+
def list_by_factory_with_http_info(resource_group_name, factory_name, custom_headers:nil)
|
392
|
+
list_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
|
393
|
+
end
|
394
|
+
|
395
|
+
#
|
396
|
+
# Lists data flows.
|
397
|
+
#
|
398
|
+
# @param resource_group_name [String] The resource group name.
|
399
|
+
# @param factory_name [String] The factory name.
|
400
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
401
|
+
# to the HTTP request.
|
402
|
+
#
|
403
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
404
|
+
#
|
405
|
+
def list_by_factory_async(resource_group_name, factory_name, custom_headers:nil)
|
406
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
407
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
408
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
409
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
410
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
411
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
412
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
413
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
414
|
+
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?
|
415
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
416
|
+
|
417
|
+
|
418
|
+
request_headers = {}
|
419
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
420
|
+
|
421
|
+
# Set Headers
|
422
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
423
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
424
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/dataflows'
|
425
|
+
|
426
|
+
request_url = @base_url || @client.base_url
|
427
|
+
|
428
|
+
options = {
|
429
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
430
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
|
431
|
+
query_params: {'api-version' => @client.api_version},
|
432
|
+
headers: request_headers.merge(custom_headers || {}),
|
433
|
+
base_url: request_url
|
434
|
+
}
|
435
|
+
promise = @client.make_request_async(:get, path_template, options)
|
436
|
+
|
437
|
+
promise = promise.then do |result|
|
438
|
+
http_response = result.response
|
439
|
+
status_code = http_response.status
|
440
|
+
response_content = http_response.body
|
441
|
+
unless status_code == 200
|
442
|
+
error_model = JSON.load(response_content)
|
443
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
444
|
+
end
|
445
|
+
|
446
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
447
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
448
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
449
|
+
# Deserialize Response
|
450
|
+
if status_code == 200
|
451
|
+
begin
|
452
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
453
|
+
result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowListResponse.mapper()
|
454
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
455
|
+
rescue Exception => e
|
456
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
result
|
461
|
+
end
|
462
|
+
|
463
|
+
promise.execute
|
464
|
+
end
|
465
|
+
|
466
|
+
#
|
467
|
+
# Lists data flows.
|
468
|
+
#
|
469
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
470
|
+
# to List operation.
|
471
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
472
|
+
# will be added to the HTTP request.
|
473
|
+
#
|
474
|
+
# @return [DataFlowListResponse] operation results.
|
475
|
+
#
|
476
|
+
def list_by_factory_next(next_page_link, custom_headers:nil)
|
477
|
+
response = list_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
|
478
|
+
response.body unless response.nil?
|
479
|
+
end
|
480
|
+
|
481
|
+
#
|
482
|
+
# Lists data flows.
|
483
|
+
#
|
484
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
485
|
+
# to List operation.
|
486
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
487
|
+
# will be added to the HTTP request.
|
488
|
+
#
|
489
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
490
|
+
#
|
491
|
+
def list_by_factory_next_with_http_info(next_page_link, custom_headers:nil)
|
492
|
+
list_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
|
493
|
+
end
|
494
|
+
|
495
|
+
#
|
496
|
+
# Lists data flows.
|
497
|
+
#
|
498
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
499
|
+
# to List operation.
|
500
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
501
|
+
# to the HTTP request.
|
502
|
+
#
|
503
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
504
|
+
#
|
505
|
+
def list_by_factory_next_async(next_page_link, custom_headers:nil)
|
506
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
507
|
+
|
508
|
+
|
509
|
+
request_headers = {}
|
510
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
511
|
+
|
512
|
+
# Set Headers
|
513
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
514
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
515
|
+
path_template = '{nextLink}'
|
516
|
+
|
517
|
+
request_url = @base_url || @client.base_url
|
518
|
+
|
519
|
+
options = {
|
520
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
521
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
522
|
+
headers: request_headers.merge(custom_headers || {}),
|
523
|
+
base_url: request_url
|
524
|
+
}
|
525
|
+
promise = @client.make_request_async(:get, path_template, options)
|
526
|
+
|
527
|
+
promise = promise.then do |result|
|
528
|
+
http_response = result.response
|
529
|
+
status_code = http_response.status
|
530
|
+
response_content = http_response.body
|
531
|
+
unless status_code == 200
|
532
|
+
error_model = JSON.load(response_content)
|
533
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
534
|
+
end
|
535
|
+
|
536
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
537
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
538
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
539
|
+
# Deserialize Response
|
540
|
+
if status_code == 200
|
541
|
+
begin
|
542
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
543
|
+
result_mapper = Azure::DataFactory::Mgmt::V2018_06_01::Models::DataFlowListResponse.mapper()
|
544
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
545
|
+
rescue Exception => e
|
546
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
result
|
551
|
+
end
|
552
|
+
|
553
|
+
promise.execute
|
554
|
+
end
|
555
|
+
|
556
|
+
#
|
557
|
+
# Lists data flows.
|
558
|
+
#
|
559
|
+
# @param resource_group_name [String] The resource group name.
|
560
|
+
# @param factory_name [String] The factory name.
|
561
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
562
|
+
# will be added to the HTTP request.
|
563
|
+
#
|
564
|
+
# @return [DataFlowListResponse] which provide lazy access to pages of the
|
565
|
+
# response.
|
566
|
+
#
|
567
|
+
def list_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:nil)
|
568
|
+
response = list_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
|
569
|
+
unless response.nil?
|
570
|
+
page = response.body
|
571
|
+
page.next_method = Proc.new do |next_page_link|
|
572
|
+
list_by_factory_next_async(next_page_link, custom_headers:custom_headers)
|
573
|
+
end
|
574
|
+
page
|
575
|
+
end
|
576
|
+
end
|
577
|
+
|
578
|
+
end
|
579
|
+
end
|