azure_mgmt_data_factory 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory.rb +420 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/activity_runs.rb +272 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/data_factory_management_client.rb +167 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/datasets.rb +569 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/factories.rb +1037 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/integration_runtime_nodes.rb +374 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/integration_runtimes.rb +1849 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/linked_services.rb +572 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/activity.rb +130 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/activity_dependency.rb +85 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/activity_policy.rb +107 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/activity_run.rb +212 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/activity_runs_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb +240 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_mwsobject_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_mwssource.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_linked_service.rb +191 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb +108 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_s3dataset.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/amazon_s3linked_service.rb +156 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/avro_format.rb +81 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_batch_linked_service.rb +192 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_blob_dataset.rb +189 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_analytics_linked_service.rb +218 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb +177 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_linked_service.rb +217 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_sink.rb +108 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_data_lake_store_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb +226 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_key_vault_linked_service.rb +128 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_key_vault_secret_reference.rb +89 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mlbatch_execution_activity.rb +186 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb +208 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mlupdate_resource_activity.rb +156 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_my_sql_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_my_sql_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_my_sql_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_postgre_sql_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_postgre_sql_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_postgre_sql_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_queue_sink.rb +97 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_search_index_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_search_index_sink.rb +109 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_search_linked_service.rb +154 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_sql_database_linked_service.rb +180 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_sql_dwlinked_service.rb +181 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_sql_dwtable_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_sql_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_storage_linked_service.rb +155 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_table_sink.rb +145 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/azure_table_source.rb +105 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_event_types.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb +159 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_sink.rb +144 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_source.rb +117 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/blob_trigger.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/cassandra_linked_service.rb +190 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/cassandra_source.rb +110 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/cassandra_table_dataset.rb +148 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/concur_linked_service.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/concur_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/concur_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/control_activity.rb +98 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/copy_activity.rb +272 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/copy_sink.rb +127 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/copy_source.rb +138 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/cosmos_db_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/couchbase_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/couchbase_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/couchbase_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/create_run_response.rb +46 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/custom_activity.rb +185 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb +75 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/custom_data_source_linked_service.rb +126 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/custom_dataset.rb +135 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/data_lake_analytics_usqlactivity.rb +212 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/databricks_notebook_activity.rb +150 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset.rb +194 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_bzip2compression.rb +65 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_compression.rb +68 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_deflate_compression.rb +76 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_gzip_compression.rb +76 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_reference.rb +79 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_resource.rb +86 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dataset_zip_deflate_compression.rb +76 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/day_of_week.rb +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/days_of_week.rb +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/db2authentication_type.rb +15 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/db2linked_service.rb +190 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dependency_condition.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/distcp_settings.rb +73 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/document_db_collection_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/document_db_collection_sink.rb +109 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/document_db_collection_source.rb +105 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/drill_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/drill_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/drill_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_entity_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_linked_service.rb +233 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_sink.rb +123 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/dynamics_source.rb +94 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/eloqua_linked_service.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/eloqua_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/eloqua_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/entity_reference.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/error_response.rb +88 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/execute_pipeline_activity.rb +142 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/execute_ssispackage_activity.rb +311 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/execution_activity.rb +122 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/expression.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory.rb +166 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory_identity.rb +73 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory_repo_update.rb +70 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb +66 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/factory_vstsconfiguration.rb +112 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/file_server_linked_service.rb +166 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/file_share_dataset.rb +190 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/file_system_sink.rb +108 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/file_system_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/filter_activity.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/for_each_activity.rb +161 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ftp_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ftp_server_linked_service.rb +218 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/get_metadata_activity.rb +148 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb +273 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/google_big_query_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/greenplum_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/greenplum_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/greenplum_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hbase_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hbase_linked_service.rb +253 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hbase_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hbase_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdfs_linked_service.rb +180 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdfs_source.rb +105 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_activity_debug_info_option.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_hive_activity.rb +211 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_linked_service.rb +192 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_map_reduce_activity.rb +241 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_on_demand_linked_service.rb +498 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_pig_activity.rb +211 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_spark_activity.rb +226 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hdinsight_streaming_activity.rb +298 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_authentication_type.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_linked_service.rb +324 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_server_type.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hive_thrift_transport_protocol.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/http_authentication_type.rb +19 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/http_dataset.rb +204 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/http_linked_service.rb +223 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/http_source.rb +96 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hubspot_linked_service.rb +221 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hubspot_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/hubspot_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/if_condition_activity.rb +163 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/impala_authentication_type.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/impala_linked_service.rb +255 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/impala_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/impala_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime.rb +78 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_auth_key_name.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb +57 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_auto_update.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb +122 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb +130 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_custom_setup_script_properties.rb +61 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_data_proxy_properties.rb +72 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_edition.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_entity_reference_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_internal_channel_encryption_mode.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_license_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb +100 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb +67 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb +48 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb +154 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb +79 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb +48 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_remove_node_request.rb +65 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_resource.rb +85 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb +106 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb +118 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_state.rb +23 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_status.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb +68 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb +61 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_update_result.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb +78 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/jira_linked_service.rb +216 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/jira_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/jira_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/json_format.rb +152 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/json_format_file_pattern.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_integration_runtime.rb +98 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_integration_runtime_key.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_integration_runtime_properties.rb +47 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_integration_runtime_rbac.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_service.rb +200 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_service_reference.rb +79 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/linked_service_resource.rb +86 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/lookup_activity.rb +156 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/magento_linked_service.rb +191 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/magento_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/magento_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime.rb +115 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime_error.rb +91 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node.rb +82 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node_status.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime_operation_result.rb +115 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/managed_integration_runtime_status.rb +154 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/maria_dblinked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/maria_dbsource.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/maria_dbtable_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/marketo_linked_service.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/marketo_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/marketo_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/mongo_db_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/mongo_db_collection_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/mongo_db_linked_service.rb +242 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/mongo_db_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/multiple_pipeline_trigger.rb +104 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/my_sql_linked_service.rb +142 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/netezza_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/netezza_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/netezza_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/odata_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/odata_linked_service.rb +179 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/odata_resource_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/odbc_linked_service.rb +195 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/odbc_sink.rb +109 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation.rb +82 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_display.rb +80 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_list_response.rb +68 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_log_specification.rb +69 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_metric_availability.rb +58 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_metric_specification.rb +145 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/operation_service_specification.rb +77 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/oracle_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/oracle_sink.rb +109 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/oracle_source.rb +105 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/oracle_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/orc_format.rb +81 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/parameter_specification.rb +58 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/parameter_type.rb +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/parquet_format.rb +81 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/paypal_linked_service.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/paypal_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/paypal_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/phoenix_authentication_type.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/phoenix_linked_service.rb +266 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/phoenix_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/phoenix_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_reference.rb +71 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_resource.rb +177 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run.rb +185 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_filter_parameters.rb +111 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_filter.rb +79 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_filter_operand.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_filter_operator.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_order.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_order_by.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_order_by_field.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/pipeline_run_query_response.rb +67 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/polybase_settings.rb +104 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/postgre_sql_linked_service.rb +142 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_linked_service.rb +288 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/presto_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/quick_books_linked_service.rb +217 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/quick_books_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/quick_books_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/recurrence_frequency.rb +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb +151 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb +79 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.rb +80 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb +67 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/relational_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/relational_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/resource.rb +110 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/responsys_linked_service.rb +206 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/responsys_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/responsys_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/retry_policy.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_linked_service.rb +185 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_linked_service.rb +196 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_object_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_sink.rb +139 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/salesforce_source.rb +104 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_bwlinked_service.rb +192 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_linked_service.rb +168 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_resource_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_sink.rb +108 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_ecc_linked_service.rb +168 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_ecc_resource_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_ecc_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_hana_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sap_hana_linked_service.rb +179 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/schedule_trigger.rb +111 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb +122 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secret_base.rb +47 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/secure_string.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime.rb +87 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node.rb +273 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node_status.rb +21 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_status.rb +284 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/service_now_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/service_now_linked_service.rb +241 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/service_now_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/service_now_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sftp_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sftp_server_linked_service.rb +265 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/shopify_linked_service.rb +192 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/shopify_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/shopify_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_authentication_type.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_linked_service.rb +288 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_server_type.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/spark_thrift_transport_protocol.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_dwsink.rb +134 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +119 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_server_linked_service.rb +166 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_server_stored_procedure_activity.rb +150 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_server_table_dataset.rb +136 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_sink.rb +154 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sql_source.rb +128 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/square_linked_service.rb +214 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/square_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/square_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb +69 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb +47 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +47 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/staging_settings.rb +92 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb +58 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sub_resource.rb +83 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sybase_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/sybase_linked_service.rb +202 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/teradata_authentication_type.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/teradata_linked_service.rb +178 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/text_format.rb +196 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger.rb +95 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_pipeline_reference.rb +66 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_resource.rb +85 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_run.rb +169 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_run_list_response.rb +99 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_run_status.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/trigger_runtime_state.rb +17 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/tumbling_window_frequency.rb +16 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/tumbling_window_trigger.rb +191 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/until_activity.rb +151 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb +51 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb +61 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/vertica_linked_service.rb +140 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/vertica_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/vertica_table_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/wait_activity.rb +109 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity.rb +222 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb +96 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_activity_method.rb +18 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb +59 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_basic_authentication.rb +85 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb +89 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_linked_service.rb +129 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb +62 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_source.rb +81 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/web_table_dataset.rb +148 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/xero_linked_service.rb +208 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/xero_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/xero_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/zoho_linked_service.rb +191 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/zoho_object_dataset.rb +124 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/models/zoho_source.rb +93 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/module_definition.rb +9 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/operations.rb +110 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/pipeline_runs.rb +244 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/pipelines.rb +701 -0
- data/lib/2017-09-01-preview/generated/azure_mgmt_data_factory/triggers.rb +1071 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory.rb +562 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/activity_runs.rb +144 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/data_factory_management_client.rb +184 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/datasets.rb +579 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/exposure_control.rb +244 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/factories.rb +1189 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/integration_runtime_nodes.rb +488 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/integration_runtime_object_metadata.rb +300 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/integration_runtimes.rb +1986 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/linked_services.rb +582 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/access_policy_response.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb +158 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity_dependency.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity_policy.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity_run.rb +212 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/activity_runs_query_response.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwslinked_service.rb +240 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwsobject_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_mwssource.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_linked_service.rb +191 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_redshift_source.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3dataset.rb +243 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3linked_service.rb +170 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3location.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/amazon_s3read_settings.rb +149 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/append_variable_activity.rb +138 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/avro_format.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_batch_linked_service.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_dataset.rb +230 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fsdataset.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fslinked_service.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fslocation.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fsread_settings.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fssink.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fssource.rb +125 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_fswrite_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_linked_service.rb +233 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_location.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_read_settings.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_blob_storage_write_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_linked_service.rb +181 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_sink.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_source.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_explorer_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_analytics_linked_service.rb +218 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_dataset.rb +194 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_linked_service.rb +217 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_read_settings.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_sink.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_data_lake_store_write_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_databricks_linked_service.rb +301 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_function_activity.rb +185 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_function_activity_method.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_function_linked_service.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_key_vault_linked_service.rb +128 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_key_vault_secret_reference.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlbatch_execution_activity.rb +203 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mllinked_service.rb +208 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlupdate_resource_activity.rb +173 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_my_sql_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_postgre_sql_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_queue_sink.rb +105 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_search_index_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_search_index_sink.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_search_index_write_behavior_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_search_linked_service.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_database_linked_service.rb +193 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_dwlinked_service.rb +194 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_dwtable_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_sink.rb +174 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_source.rb +147 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_sql_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_storage_linked_service.rb +179 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_sink.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/azure_table_storage_linked_service.rb +179 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_event_types.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_events_trigger.rb +175 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_sink.rb +152 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_source.rb +125 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/blob_trigger.rb +152 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_linked_service.rb +190 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_source.rb +120 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_source_read_consistency_levels.rb +24 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cassandra_table_dataset.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_linked_service.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/concur_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/control_activity.rb +115 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_activity.rb +327 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb +146 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_linked_service.rb +140 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_sink.rb +119 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/cosmos_db_mongo_db_api_source.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/couchbase_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/couchbase_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/couchbase_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_linked_integration_runtime_request.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/create_run_response.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity.rb +214 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb +75 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_data_source_linked_service.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/custom_dataset.rb +152 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/data_lake_analytics_usqlactivity.rb +229 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/databricks_notebook_activity.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/databricks_spark_jar_activity.rb +193 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/databricks_spark_python_activity.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb +234 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_bzip2compression.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_deflate_compression.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_folder.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_gzip_compression.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_list_response.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_reference.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_resource.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb +93 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dataset_zip_deflate_compression.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/day_of_week.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/days_of_week.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2authentication_type.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/db2linked_service.rb +190 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delete_activity.rb +200 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_dataset.rb +265 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_read_settings.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_sink.rb +129 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/delimited_text_write_settings.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dependency_condition.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dependency_reference.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/distcp_settings.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_sink.rb +129 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/document_db_collection_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/drill_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axlinked_service.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axresource_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_axsource.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_entity_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_linked_service.rb +233 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_sink.rb +132 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/dynamics_source.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/eloqua_linked_service.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/eloqua_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/eloqua_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/entity_reference.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_pipeline_activity.rb +159 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execute_ssispackage_activity.rb +328 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/execution_activity.rb +139 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_request.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_response.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/expression.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory.rb +176 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_git_hub_configuration.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_identity.rb +73 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_list_response.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_configuration.rb +102 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_update.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb +66 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/factory_vstsconfiguration.rb +112 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_linked_service.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_read_settings.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_server_write_settings.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_share_dataset.rb +231 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_system_sink.rb +116 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/file_system_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/filter_activity.rb +141 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/for_each_activity.rb +178 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_read_settings.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_server_linked_service.rb +218 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ftp_server_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/get_metadata_activity.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/get_ssis_object_metadata_request.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_request.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_response.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_linked_service.rb +265 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_ad_words_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_linked_service.rb +273 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/google_big_query_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/greenplum_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_linked_service.rb +253 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hbase_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_linked_service.rb +180 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_read_settings.rb +149 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdfs_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_activity_debug_info_option.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_hive_activity.rb +259 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_linked_service.rb +216 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_map_reduce_activity.rb +258 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_on_demand_linked_service.rb +546 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_pig_activity.rb +228 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_spark_activity.rb +243 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hdinsight_streaming_activity.rb +315 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_authentication_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_linked_service.rb +324 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_server_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hive_thrift_transport_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_authentication_type.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_dataset.rb +221 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_linked_service.rb +223 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_read_settings.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_server_location.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/http_source.rb +104 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hubspot_linked_service.rb +221 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hubspot_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/hubspot_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/if_condition_activity.rb +180 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_authentication_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_linked_service.rb +255 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/impala_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime.rb +78 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_key_name.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb +57 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auto_update.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb +122 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_custom_setup_script_properties.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_proxy_properties.rb +72 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_edition.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_entity_reference_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_internal_channel_encryption_mode.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_license_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb +48 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_resource.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_pricing_tier.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_state.rb +24 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status.rb +94 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb +68 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_update_result.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb +78 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/jira_linked_service.rb +216 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/jira_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/jira_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/json_format.rb +151 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime.rb +98 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_key_authorization.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_rbac_authorization.rb +64 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_request.rb +46 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_type.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb +215 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_reference.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_resource.rb +86 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/lookup_activity.rb +173 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/magento_linked_service.rb +191 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/magento_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/magento_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime.rb +115 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_error.rb +91 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node_status.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_operation_result.rb +115 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_status.rb +154 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/maria_dblinked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/maria_dbsource.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/maria_dbtable_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/marketo_linked_service.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/marketo_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/marketo_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_cursor_methods_properties.rb +107 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_linked_service.rb +242 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2collection_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2linked_service.rb +140 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_v2source.rb +130 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/multiple_pipeline_trigger.rb +120 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/my_sql_linked_service.rb +155 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/netezza_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_aad_service_principal_credential_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_authentication_type.rb +19 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_linked_service.rb +278 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odata_resource_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_linked_service.rb +195 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/odbc_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/office365dataset.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/office365linked_service.rb +179 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/office365source.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_display.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_list_response.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_log_specification.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_availability.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_dimension.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_specification.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/operation_service_specification.rb +77 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_linked_service.rb +206 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_service_cloud_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/oracle_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/orc_format.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parameter_specification.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parameter_type.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_dataset.rb +164 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_format.rb +81 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_sink.rb +117 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/parquet_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/paypal_linked_service.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/paypal_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/paypal_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_authentication_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_linked_service.rb +266 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/phoenix_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_folder.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_reference.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_resource.rb +211 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb +211 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb +71 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_runs_query_response.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings.rb +105 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings_reject_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/postgre_sql_linked_service.rb +155 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_linked_service.rb +288 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/presto_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_linked_service.rb +217 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/quick_books_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_frequency.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb +151 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.rb +80 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/relational_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/relational_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_trigger_list_response.rb +100 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_trigger_resource.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger.rb +150 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rerun_tumbling_window_trigger_action_parameters.rb +76 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/resource.rb +122 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/responsys_linked_service.rb +206 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/responsys_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/responsys_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_resource_dataset.rb +201 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_service_authentication_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_service_linked_service.rb +241 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/rest_source.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/retry_policy.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_filter_parameters.rb +111 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter.rb +84 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter_operand.rb +26 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter_operator.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by.rb +65 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by_field.rb +23 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_linked_service.rb +185 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_linked_service.rb +196 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_marketing_cloud_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_sink.rb +149 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_sink_write_behavior.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_source.rb +114 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/salesforce_source_read_behavior.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_bwlinked_service.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_linked_service.rb +168 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_resource_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_sink.rb +118 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_sink_write_behavior.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_cloud_for_customer_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_linked_service.rb +168 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_resource_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_ecc_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_linked_service.rb +191 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_source.rb +113 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_table_dataset.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_linked_service.rb +208 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_source.rb +90 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_open_hub_table_dataset.rb +179 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_linked_service.rb +317 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_resource_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_source.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb +122 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/script_action.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/secret_base.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/secure_string.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_dependency_tumbling_window_trigger_reference.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime.rb +87 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node.rb +273 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node_status.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_status.rb +322 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_linked_service.rb +241 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/service_now_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/set_variable_activity.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_location.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_read_settings.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sftp_server_linked_service.rb +265 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/shopify_linked_service.rb +192 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/shopify_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/shopify_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_authentication_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_linked_service.rb +288 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_server_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/spark_thrift_transport_protocol.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsink.rb +142 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_dwsource.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_linked_service.rb +166 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_sink.rb +174 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_source.rb +147 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_stored_procedure_activity.rb +167 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_server_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_sink.rb +174 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sql_source.rb +136 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_linked_service.rb +214 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/square_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment.rb +105 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment_reference.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_folder.rb +74 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata.rb +82 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_list_response.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_status_response.rb +79 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_type.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_package.rb +127 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_parameter.rb +167 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_project.rb +137 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssis_variable.rb +112 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb +69 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb +47 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/staging_settings.rb +92 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb +77 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb +88 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter_type.rb +21 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource.rb +83 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/sybase_linked_service.rb +202 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_authentication_type.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/teradata_linked_service.rb +178 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/text_format.rb +196 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb +115 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_dependency_reference.rb +63 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_list_response.rb +99 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_pipeline_reference.rb +66 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_reference.rb +60 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_resource.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb +169 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run_status.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runs_query_response.rb +67 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runtime_state.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_frequency.rb +16 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger.rb +230 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/tumbling_window_trigger_dependency_reference.rb +94 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/until_activity.rb +168 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb +51 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb +61 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/user_access_policy.rb +97 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/user_property.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/validation_activity.rb +181 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/variable_specification.rb +58 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/variable_type.rb +17 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_linked_service.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/vertica_table_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/wait_activity.rb +126 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity.rb +239 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb +96 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_method.rb +18 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_anonymous_authentication.rb +59 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_basic_authentication.rb +85 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_client_certificate_authentication.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity.rb +194 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_hook_activity_method.rb +15 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service.rb +129 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb +62 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_source.rb +89 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/web_table_dataset.rb +165 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_linked_service.rb +208 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/xero_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_linked_service.rb +191 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_object_dataset.rb +153 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/models/zoho_source.rb +101 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/module_definition.rb +9 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/operations.rb +220 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/pipeline_runs.rb +343 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/pipelines.rb +738 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/rerun_triggers.rb +812 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/trigger_runs.rb +140 -0
- data/lib/2018-06-01/generated/azure_mgmt_data_factory/triggers.rb +851 -0
- data/lib/azure_mgmt_data_factory.rb +7 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/datafactory_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/datafactory_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/datafactory_profile_module.rb +2171 -0
- data/lib/version.rb +7 -0
- metadata +1058 -0
@@ -0,0 +1,374 @@
|
|
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::V2017_09_01_preview
|
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 IntegrationRuntimeNodes
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the IntegrationRuntimeNodes 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
|
+
# Deletes a self-hosted integration runtime node.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The resource group name.
|
29
|
+
# @param factory_name [String] The factory name.
|
30
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
31
|
+
# @param node_name [String] The integration runtime node name.
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
#
|
36
|
+
def delete(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
37
|
+
response = delete_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:custom_headers).value!
|
38
|
+
nil
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Deletes a self-hosted integration runtime node.
|
43
|
+
#
|
44
|
+
# @param resource_group_name [String] The resource group name.
|
45
|
+
# @param factory_name [String] The factory name.
|
46
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
47
|
+
# @param node_name [String] The integration runtime node name.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def delete_with_http_info(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
54
|
+
delete_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Deletes a self-hosted integration runtime node.
|
59
|
+
#
|
60
|
+
# @param resource_group_name [String] The resource group name.
|
61
|
+
# @param factory_name [String] The factory name.
|
62
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
63
|
+
# @param node_name [String] The integration runtime node name.
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def delete_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
70
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
72
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
75
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
76
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
77
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
78
|
+
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?
|
79
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
80
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
81
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
82
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
83
|
+
fail ArgumentError, 'node_name is nil' if node_name.nil?
|
84
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MaxLength': '150'" if !node_name.nil? && node_name.length > 150
|
85
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MinLength': '1'" if !node_name.nil? && node_name.length < 1
|
86
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'Pattern': '^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'" if !node_name.nil? && node_name.match(Regexp.new('^^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$$')).nil?
|
87
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
88
|
+
|
89
|
+
|
90
|
+
request_headers = {}
|
91
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
92
|
+
|
93
|
+
# Set Headers
|
94
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
95
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
96
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'
|
97
|
+
|
98
|
+
request_url = @base_url || @client.base_url
|
99
|
+
|
100
|
+
options = {
|
101
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
102
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name,'nodeName' => node_name},
|
103
|
+
query_params: {'api-version' => @client.api_version},
|
104
|
+
headers: request_headers.merge(custom_headers || {}),
|
105
|
+
base_url: request_url
|
106
|
+
}
|
107
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
108
|
+
|
109
|
+
promise = promise.then do |result|
|
110
|
+
http_response = result.response
|
111
|
+
status_code = http_response.status
|
112
|
+
response_content = http_response.body
|
113
|
+
unless status_code == 200 || status_code == 204
|
114
|
+
error_model = JSON.load(response_content)
|
115
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
116
|
+
end
|
117
|
+
|
118
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
119
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
120
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
121
|
+
|
122
|
+
result
|
123
|
+
end
|
124
|
+
|
125
|
+
promise.execute
|
126
|
+
end
|
127
|
+
|
128
|
+
#
|
129
|
+
# Updates a self-hosted integration runtime node.
|
130
|
+
#
|
131
|
+
# @param resource_group_name [String] The resource group name.
|
132
|
+
# @param factory_name [String] The factory name.
|
133
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
134
|
+
# @param node_name [String] The integration runtime node name.
|
135
|
+
# @param update_integration_runtime_node_request
|
136
|
+
# [UpdateIntegrationRuntimeNodeRequest] The parameters for updating an
|
137
|
+
# integration runtime node.
|
138
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
139
|
+
# will be added to the HTTP request.
|
140
|
+
#
|
141
|
+
# @return [SelfHostedIntegrationRuntimeNode] operation results.
|
142
|
+
#
|
143
|
+
def update(resource_group_name, factory_name, integration_runtime_name, node_name, update_integration_runtime_node_request, custom_headers:nil)
|
144
|
+
response = update_async(resource_group_name, factory_name, integration_runtime_name, node_name, update_integration_runtime_node_request, custom_headers:custom_headers).value!
|
145
|
+
response.body unless response.nil?
|
146
|
+
end
|
147
|
+
|
148
|
+
#
|
149
|
+
# Updates a self-hosted integration runtime node.
|
150
|
+
#
|
151
|
+
# @param resource_group_name [String] The resource group name.
|
152
|
+
# @param factory_name [String] The factory name.
|
153
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
154
|
+
# @param node_name [String] The integration runtime node name.
|
155
|
+
# @param update_integration_runtime_node_request
|
156
|
+
# [UpdateIntegrationRuntimeNodeRequest] The parameters for updating an
|
157
|
+
# integration runtime node.
|
158
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
159
|
+
# will be added to the HTTP request.
|
160
|
+
#
|
161
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
162
|
+
#
|
163
|
+
def update_with_http_info(resource_group_name, factory_name, integration_runtime_name, node_name, update_integration_runtime_node_request, custom_headers:nil)
|
164
|
+
update_async(resource_group_name, factory_name, integration_runtime_name, node_name, update_integration_runtime_node_request, custom_headers:custom_headers).value!
|
165
|
+
end
|
166
|
+
|
167
|
+
#
|
168
|
+
# Updates a self-hosted integration runtime node.
|
169
|
+
#
|
170
|
+
# @param resource_group_name [String] The resource group name.
|
171
|
+
# @param factory_name [String] The factory name.
|
172
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
173
|
+
# @param node_name [String] The integration runtime node name.
|
174
|
+
# @param update_integration_runtime_node_request
|
175
|
+
# [UpdateIntegrationRuntimeNodeRequest] The parameters for updating an
|
176
|
+
# integration runtime node.
|
177
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
178
|
+
# to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
181
|
+
#
|
182
|
+
def update_async(resource_group_name, factory_name, integration_runtime_name, node_name, update_integration_runtime_node_request, custom_headers:nil)
|
183
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
184
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
185
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
186
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
187
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
188
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
189
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
190
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
191
|
+
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?
|
192
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
193
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
194
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
195
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
196
|
+
fail ArgumentError, 'node_name is nil' if node_name.nil?
|
197
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MaxLength': '150'" if !node_name.nil? && node_name.length > 150
|
198
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MinLength': '1'" if !node_name.nil? && node_name.length < 1
|
199
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'Pattern': '^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'" if !node_name.nil? && node_name.match(Regexp.new('^^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$$')).nil?
|
200
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
201
|
+
fail ArgumentError, 'update_integration_runtime_node_request is nil' if update_integration_runtime_node_request.nil?
|
202
|
+
|
203
|
+
|
204
|
+
request_headers = {}
|
205
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
206
|
+
|
207
|
+
# Set Headers
|
208
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
209
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
210
|
+
|
211
|
+
# Serialize Request
|
212
|
+
request_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::UpdateIntegrationRuntimeNodeRequest.mapper()
|
213
|
+
request_content = @client.serialize(request_mapper, update_integration_runtime_node_request)
|
214
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
215
|
+
|
216
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}'
|
217
|
+
|
218
|
+
request_url = @base_url || @client.base_url
|
219
|
+
|
220
|
+
options = {
|
221
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
222
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name,'nodeName' => node_name},
|
223
|
+
query_params: {'api-version' => @client.api_version},
|
224
|
+
body: request_content,
|
225
|
+
headers: request_headers.merge(custom_headers || {}),
|
226
|
+
base_url: request_url
|
227
|
+
}
|
228
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
229
|
+
|
230
|
+
promise = promise.then do |result|
|
231
|
+
http_response = result.response
|
232
|
+
status_code = http_response.status
|
233
|
+
response_content = http_response.body
|
234
|
+
unless status_code == 200
|
235
|
+
error_model = JSON.load(response_content)
|
236
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
237
|
+
end
|
238
|
+
|
239
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
240
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
241
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
242
|
+
# Deserialize Response
|
243
|
+
if status_code == 200
|
244
|
+
begin
|
245
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
246
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::SelfHostedIntegrationRuntimeNode.mapper()
|
247
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
248
|
+
rescue Exception => e
|
249
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
253
|
+
result
|
254
|
+
end
|
255
|
+
|
256
|
+
promise.execute
|
257
|
+
end
|
258
|
+
|
259
|
+
#
|
260
|
+
# Get the IP address of self-hosted integration runtime node.
|
261
|
+
#
|
262
|
+
# @param resource_group_name [String] The resource group name.
|
263
|
+
# @param factory_name [String] The factory name.
|
264
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
265
|
+
# @param node_name [String] The integration runtime node name.
|
266
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
267
|
+
# will be added to the HTTP request.
|
268
|
+
#
|
269
|
+
# @return [IntegrationRuntimeNodeIpAddress] operation results.
|
270
|
+
#
|
271
|
+
def get_ip_address(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
272
|
+
response = get_ip_address_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:custom_headers).value!
|
273
|
+
response.body unless response.nil?
|
274
|
+
end
|
275
|
+
|
276
|
+
#
|
277
|
+
# Get the IP address of self-hosted integration runtime node.
|
278
|
+
#
|
279
|
+
# @param resource_group_name [String] The resource group name.
|
280
|
+
# @param factory_name [String] The factory name.
|
281
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
282
|
+
# @param node_name [String] The integration runtime node name.
|
283
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
284
|
+
# will be added to the HTTP request.
|
285
|
+
#
|
286
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
287
|
+
#
|
288
|
+
def get_ip_address_with_http_info(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
289
|
+
get_ip_address_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:custom_headers).value!
|
290
|
+
end
|
291
|
+
|
292
|
+
#
|
293
|
+
# Get the IP address of self-hosted integration runtime node.
|
294
|
+
#
|
295
|
+
# @param resource_group_name [String] The resource group name.
|
296
|
+
# @param factory_name [String] The factory name.
|
297
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
298
|
+
# @param node_name [String] The integration runtime node name.
|
299
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
300
|
+
# to the HTTP request.
|
301
|
+
#
|
302
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
303
|
+
#
|
304
|
+
def get_ip_address_async(resource_group_name, factory_name, integration_runtime_name, node_name, custom_headers:nil)
|
305
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
306
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
307
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
308
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
309
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
310
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
311
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
312
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
313
|
+
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?
|
314
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
315
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
316
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
317
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
318
|
+
fail ArgumentError, 'node_name is nil' if node_name.nil?
|
319
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MaxLength': '150'" if !node_name.nil? && node_name.length > 150
|
320
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'MinLength': '1'" if !node_name.nil? && node_name.length < 1
|
321
|
+
fail ArgumentError, "'node_name' should satisfy the constraint - 'Pattern': '^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$'" if !node_name.nil? && node_name.match(Regexp.new('^^[a-z0-9A-Z][a-z0-9A-Z_-]{0,149}$$')).nil?
|
322
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
323
|
+
|
324
|
+
|
325
|
+
request_headers = {}
|
326
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
327
|
+
|
328
|
+
# Set Headers
|
329
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
330
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
331
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress'
|
332
|
+
|
333
|
+
request_url = @base_url || @client.base_url
|
334
|
+
|
335
|
+
options = {
|
336
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
337
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name,'nodeName' => node_name},
|
338
|
+
query_params: {'api-version' => @client.api_version},
|
339
|
+
headers: request_headers.merge(custom_headers || {}),
|
340
|
+
base_url: request_url
|
341
|
+
}
|
342
|
+
promise = @client.make_request_async(:post, path_template, options)
|
343
|
+
|
344
|
+
promise = promise.then do |result|
|
345
|
+
http_response = result.response
|
346
|
+
status_code = http_response.status
|
347
|
+
response_content = http_response.body
|
348
|
+
unless status_code == 200
|
349
|
+
error_model = JSON.load(response_content)
|
350
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
351
|
+
end
|
352
|
+
|
353
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
354
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
355
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
356
|
+
# Deserialize Response
|
357
|
+
if status_code == 200
|
358
|
+
begin
|
359
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
360
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeNodeIpAddress.mapper()
|
361
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
362
|
+
rescue Exception => e
|
363
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
367
|
+
result
|
368
|
+
end
|
369
|
+
|
370
|
+
promise.execute
|
371
|
+
end
|
372
|
+
|
373
|
+
end
|
374
|
+
end
|
@@ -0,0 +1,1849 @@
|
|
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::V2017_09_01_preview
|
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 IntegrationRuntimes
|
12
|
+
include MsRestAzure
|
13
|
+
|
14
|
+
#
|
15
|
+
# Creates and initializes a new instance of the IntegrationRuntimes 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
|
+
# Lists integration runtimes.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The resource group name.
|
29
|
+
# @param factory_name [String] The factory name.
|
30
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
31
|
+
# will be added to the HTTP request.
|
32
|
+
#
|
33
|
+
# @return [Array<IntegrationRuntimeResource>] operation results.
|
34
|
+
#
|
35
|
+
def list_by_factory(resource_group_name, factory_name, custom_headers:nil)
|
36
|
+
first_page = list_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:custom_headers)
|
37
|
+
first_page.get_all_items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Lists integration runtimes.
|
42
|
+
#
|
43
|
+
# @param resource_group_name [String] The resource group name.
|
44
|
+
# @param factory_name [String] The factory name.
|
45
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
46
|
+
# will be added to the HTTP request.
|
47
|
+
#
|
48
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
49
|
+
#
|
50
|
+
def list_by_factory_with_http_info(resource_group_name, factory_name, custom_headers:nil)
|
51
|
+
list_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Lists integration runtimes.
|
56
|
+
#
|
57
|
+
# @param resource_group_name [String] The resource group name.
|
58
|
+
# @param factory_name [String] The factory name.
|
59
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
60
|
+
# to the HTTP request.
|
61
|
+
#
|
62
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
63
|
+
#
|
64
|
+
def list_by_factory_async(resource_group_name, factory_name, custom_headers:nil)
|
65
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
66
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
67
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
68
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
69
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
70
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
71
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
72
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
73
|
+
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?
|
74
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
75
|
+
|
76
|
+
|
77
|
+
request_headers = {}
|
78
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
79
|
+
|
80
|
+
# Set Headers
|
81
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
82
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
83
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes'
|
84
|
+
|
85
|
+
request_url = @base_url || @client.base_url
|
86
|
+
|
87
|
+
options = {
|
88
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
89
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name},
|
90
|
+
query_params: {'api-version' => @client.api_version},
|
91
|
+
headers: request_headers.merge(custom_headers || {}),
|
92
|
+
base_url: request_url
|
93
|
+
}
|
94
|
+
promise = @client.make_request_async(:get, path_template, options)
|
95
|
+
|
96
|
+
promise = promise.then do |result|
|
97
|
+
http_response = result.response
|
98
|
+
status_code = http_response.status
|
99
|
+
response_content = http_response.body
|
100
|
+
unless status_code == 200
|
101
|
+
error_model = JSON.load(response_content)
|
102
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
103
|
+
end
|
104
|
+
|
105
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
106
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
107
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
108
|
+
# Deserialize Response
|
109
|
+
if status_code == 200
|
110
|
+
begin
|
111
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
112
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeListResponse.mapper()
|
113
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
114
|
+
rescue Exception => e
|
115
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
result
|
120
|
+
end
|
121
|
+
|
122
|
+
promise.execute
|
123
|
+
end
|
124
|
+
|
125
|
+
#
|
126
|
+
# Creates or updates an integration runtime.
|
127
|
+
#
|
128
|
+
# @param resource_group_name [String] The resource group name.
|
129
|
+
# @param factory_name [String] The factory name.
|
130
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
131
|
+
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
132
|
+
# resource definition.
|
133
|
+
# @param if_match [String] ETag of the integration runtime entity. Should only
|
134
|
+
# be specified for update, for which it should match existing entity or can be
|
135
|
+
# * for unconditional update.
|
136
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
137
|
+
# will be added to the HTTP request.
|
138
|
+
#
|
139
|
+
# @return [IntegrationRuntimeResource] operation results.
|
140
|
+
#
|
141
|
+
def create_or_update(resource_group_name, factory_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
142
|
+
response = create_or_update_async(resource_group_name, factory_name, integration_runtime_name, integration_runtime, if_match:if_match, custom_headers:custom_headers).value!
|
143
|
+
response.body unless response.nil?
|
144
|
+
end
|
145
|
+
|
146
|
+
#
|
147
|
+
# Creates or updates an integration runtime.
|
148
|
+
#
|
149
|
+
# @param resource_group_name [String] The resource group name.
|
150
|
+
# @param factory_name [String] The factory name.
|
151
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
152
|
+
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
153
|
+
# resource definition.
|
154
|
+
# @param if_match [String] ETag of the integration runtime entity. Should only
|
155
|
+
# be specified for update, for which it should match existing entity or can be
|
156
|
+
# * for unconditional update.
|
157
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
158
|
+
# will be added to the HTTP request.
|
159
|
+
#
|
160
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
161
|
+
#
|
162
|
+
def create_or_update_with_http_info(resource_group_name, factory_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
163
|
+
create_or_update_async(resource_group_name, factory_name, integration_runtime_name, integration_runtime, if_match:if_match, custom_headers:custom_headers).value!
|
164
|
+
end
|
165
|
+
|
166
|
+
#
|
167
|
+
# Creates or updates an integration runtime.
|
168
|
+
#
|
169
|
+
# @param resource_group_name [String] The resource group name.
|
170
|
+
# @param factory_name [String] The factory name.
|
171
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
172
|
+
# @param integration_runtime [IntegrationRuntimeResource] Integration runtime
|
173
|
+
# resource definition.
|
174
|
+
# @param if_match [String] ETag of the integration runtime entity. Should only
|
175
|
+
# be specified for update, for which it should match existing entity or can be
|
176
|
+
# * for unconditional update.
|
177
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
178
|
+
# to the HTTP request.
|
179
|
+
#
|
180
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
181
|
+
#
|
182
|
+
def create_or_update_async(resource_group_name, factory_name, integration_runtime_name, integration_runtime, if_match:nil, custom_headers:nil)
|
183
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
184
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
185
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
186
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
187
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
188
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
189
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
190
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
191
|
+
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?
|
192
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
193
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
194
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
195
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
196
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
197
|
+
fail ArgumentError, 'integration_runtime is nil' if integration_runtime.nil?
|
198
|
+
|
199
|
+
|
200
|
+
request_headers = {}
|
201
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
202
|
+
|
203
|
+
# Set Headers
|
204
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
205
|
+
request_headers['If-Match'] = if_match unless if_match.nil?
|
206
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
207
|
+
|
208
|
+
# Serialize Request
|
209
|
+
request_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeResource.mapper()
|
210
|
+
request_content = @client.serialize(request_mapper, integration_runtime)
|
211
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
212
|
+
|
213
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'
|
214
|
+
|
215
|
+
request_url = @base_url || @client.base_url
|
216
|
+
|
217
|
+
options = {
|
218
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
219
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
220
|
+
query_params: {'api-version' => @client.api_version},
|
221
|
+
body: request_content,
|
222
|
+
headers: request_headers.merge(custom_headers || {}),
|
223
|
+
base_url: request_url
|
224
|
+
}
|
225
|
+
promise = @client.make_request_async(:put, path_template, options)
|
226
|
+
|
227
|
+
promise = promise.then do |result|
|
228
|
+
http_response = result.response
|
229
|
+
status_code = http_response.status
|
230
|
+
response_content = http_response.body
|
231
|
+
unless status_code == 200
|
232
|
+
error_model = JSON.load(response_content)
|
233
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
234
|
+
end
|
235
|
+
|
236
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
237
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
238
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
239
|
+
# Deserialize Response
|
240
|
+
if status_code == 200
|
241
|
+
begin
|
242
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
243
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeResource.mapper()
|
244
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
245
|
+
rescue Exception => e
|
246
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
result
|
251
|
+
end
|
252
|
+
|
253
|
+
promise.execute
|
254
|
+
end
|
255
|
+
|
256
|
+
#
|
257
|
+
# Gets an integration runtime.
|
258
|
+
#
|
259
|
+
# @param resource_group_name [String] The resource group name.
|
260
|
+
# @param factory_name [String] The factory name.
|
261
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
262
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
263
|
+
# will be added to the HTTP request.
|
264
|
+
#
|
265
|
+
# @return [IntegrationRuntimeResource] operation results.
|
266
|
+
#
|
267
|
+
def get(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
268
|
+
response = get_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
269
|
+
response.body unless response.nil?
|
270
|
+
end
|
271
|
+
|
272
|
+
#
|
273
|
+
# Gets an integration runtime.
|
274
|
+
#
|
275
|
+
# @param resource_group_name [String] The resource group name.
|
276
|
+
# @param factory_name [String] The factory name.
|
277
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
278
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
279
|
+
# will be added to the HTTP request.
|
280
|
+
#
|
281
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
282
|
+
#
|
283
|
+
def get_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
284
|
+
get_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
285
|
+
end
|
286
|
+
|
287
|
+
#
|
288
|
+
# Gets an integration runtime.
|
289
|
+
#
|
290
|
+
# @param resource_group_name [String] The resource group name.
|
291
|
+
# @param factory_name [String] The factory name.
|
292
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
293
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
294
|
+
# to the HTTP request.
|
295
|
+
#
|
296
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
297
|
+
#
|
298
|
+
def get_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
299
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
300
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
301
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
302
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
303
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
304
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
305
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
306
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
307
|
+
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?
|
308
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
309
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
310
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
311
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
312
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
313
|
+
|
314
|
+
|
315
|
+
request_headers = {}
|
316
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
317
|
+
|
318
|
+
# Set Headers
|
319
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
320
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
321
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'
|
322
|
+
|
323
|
+
request_url = @base_url || @client.base_url
|
324
|
+
|
325
|
+
options = {
|
326
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
327
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
328
|
+
query_params: {'api-version' => @client.api_version},
|
329
|
+
headers: request_headers.merge(custom_headers || {}),
|
330
|
+
base_url: request_url
|
331
|
+
}
|
332
|
+
promise = @client.make_request_async(:get, path_template, options)
|
333
|
+
|
334
|
+
promise = promise.then do |result|
|
335
|
+
http_response = result.response
|
336
|
+
status_code = http_response.status
|
337
|
+
response_content = http_response.body
|
338
|
+
unless status_code == 200
|
339
|
+
error_model = JSON.load(response_content)
|
340
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
341
|
+
end
|
342
|
+
|
343
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
344
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
345
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
346
|
+
# Deserialize Response
|
347
|
+
if status_code == 200
|
348
|
+
begin
|
349
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
350
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeResource.mapper()
|
351
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
352
|
+
rescue Exception => e
|
353
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
357
|
+
result
|
358
|
+
end
|
359
|
+
|
360
|
+
promise.execute
|
361
|
+
end
|
362
|
+
|
363
|
+
#
|
364
|
+
# Updates an integration runtime.
|
365
|
+
#
|
366
|
+
# @param resource_group_name [String] The resource group name.
|
367
|
+
# @param factory_name [String] The factory name.
|
368
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
369
|
+
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
370
|
+
# The parameters for updating an integration runtime.
|
371
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
372
|
+
# will be added to the HTTP request.
|
373
|
+
#
|
374
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
375
|
+
#
|
376
|
+
def update(resource_group_name, factory_name, integration_runtime_name, update_integration_runtime_request, custom_headers:nil)
|
377
|
+
response = update_async(resource_group_name, factory_name, integration_runtime_name, update_integration_runtime_request, custom_headers:custom_headers).value!
|
378
|
+
response.body unless response.nil?
|
379
|
+
end
|
380
|
+
|
381
|
+
#
|
382
|
+
# Updates an integration runtime.
|
383
|
+
#
|
384
|
+
# @param resource_group_name [String] The resource group name.
|
385
|
+
# @param factory_name [String] The factory name.
|
386
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
387
|
+
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
388
|
+
# The parameters for updating an integration runtime.
|
389
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
390
|
+
# will be added to the HTTP request.
|
391
|
+
#
|
392
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
393
|
+
#
|
394
|
+
def update_with_http_info(resource_group_name, factory_name, integration_runtime_name, update_integration_runtime_request, custom_headers:nil)
|
395
|
+
update_async(resource_group_name, factory_name, integration_runtime_name, update_integration_runtime_request, custom_headers:custom_headers).value!
|
396
|
+
end
|
397
|
+
|
398
|
+
#
|
399
|
+
# Updates an integration runtime.
|
400
|
+
#
|
401
|
+
# @param resource_group_name [String] The resource group name.
|
402
|
+
# @param factory_name [String] The factory name.
|
403
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
404
|
+
# @param update_integration_runtime_request [UpdateIntegrationRuntimeRequest]
|
405
|
+
# The parameters for updating an integration runtime.
|
406
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
407
|
+
# to the HTTP request.
|
408
|
+
#
|
409
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
410
|
+
#
|
411
|
+
def update_async(resource_group_name, factory_name, integration_runtime_name, update_integration_runtime_request, custom_headers:nil)
|
412
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
413
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
414
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
415
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
416
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
417
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
418
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
419
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
420
|
+
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?
|
421
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
422
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
423
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
424
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
425
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
426
|
+
fail ArgumentError, 'update_integration_runtime_request is nil' if update_integration_runtime_request.nil?
|
427
|
+
|
428
|
+
|
429
|
+
request_headers = {}
|
430
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
431
|
+
|
432
|
+
# Set Headers
|
433
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
434
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
435
|
+
|
436
|
+
# Serialize Request
|
437
|
+
request_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::UpdateIntegrationRuntimeRequest.mapper()
|
438
|
+
request_content = @client.serialize(request_mapper, update_integration_runtime_request)
|
439
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
440
|
+
|
441
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'
|
442
|
+
|
443
|
+
request_url = @base_url || @client.base_url
|
444
|
+
|
445
|
+
options = {
|
446
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
447
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
448
|
+
query_params: {'api-version' => @client.api_version},
|
449
|
+
body: request_content,
|
450
|
+
headers: request_headers.merge(custom_headers || {}),
|
451
|
+
base_url: request_url
|
452
|
+
}
|
453
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
454
|
+
|
455
|
+
promise = promise.then do |result|
|
456
|
+
http_response = result.response
|
457
|
+
status_code = http_response.status
|
458
|
+
response_content = http_response.body
|
459
|
+
unless status_code == 200
|
460
|
+
error_model = JSON.load(response_content)
|
461
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
462
|
+
end
|
463
|
+
|
464
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
465
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
466
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
467
|
+
# Deserialize Response
|
468
|
+
if status_code == 200
|
469
|
+
begin
|
470
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
471
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
472
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
473
|
+
rescue Exception => e
|
474
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
result
|
479
|
+
end
|
480
|
+
|
481
|
+
promise.execute
|
482
|
+
end
|
483
|
+
|
484
|
+
#
|
485
|
+
# Deletes an integration runtime.
|
486
|
+
#
|
487
|
+
# @param resource_group_name [String] The resource group name.
|
488
|
+
# @param factory_name [String] The factory name.
|
489
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
490
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
491
|
+
# will be added to the HTTP request.
|
492
|
+
#
|
493
|
+
#
|
494
|
+
def delete(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
495
|
+
response = delete_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
496
|
+
nil
|
497
|
+
end
|
498
|
+
|
499
|
+
#
|
500
|
+
# Deletes an integration runtime.
|
501
|
+
#
|
502
|
+
# @param resource_group_name [String] The resource group name.
|
503
|
+
# @param factory_name [String] The factory name.
|
504
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
505
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
506
|
+
# will be added to the HTTP request.
|
507
|
+
#
|
508
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
509
|
+
#
|
510
|
+
def delete_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
511
|
+
delete_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
512
|
+
end
|
513
|
+
|
514
|
+
#
|
515
|
+
# Deletes an integration runtime.
|
516
|
+
#
|
517
|
+
# @param resource_group_name [String] The resource group name.
|
518
|
+
# @param factory_name [String] The factory name.
|
519
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
520
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
521
|
+
# to the HTTP request.
|
522
|
+
#
|
523
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
524
|
+
#
|
525
|
+
def delete_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
526
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
527
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
528
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
529
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
530
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
531
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
532
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
533
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
534
|
+
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?
|
535
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
536
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
537
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
538
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
539
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
540
|
+
|
541
|
+
|
542
|
+
request_headers = {}
|
543
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
544
|
+
|
545
|
+
# Set Headers
|
546
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
547
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
548
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}'
|
549
|
+
|
550
|
+
request_url = @base_url || @client.base_url
|
551
|
+
|
552
|
+
options = {
|
553
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
554
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
555
|
+
query_params: {'api-version' => @client.api_version},
|
556
|
+
headers: request_headers.merge(custom_headers || {}),
|
557
|
+
base_url: request_url
|
558
|
+
}
|
559
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
560
|
+
|
561
|
+
promise = promise.then do |result|
|
562
|
+
http_response = result.response
|
563
|
+
status_code = http_response.status
|
564
|
+
response_content = http_response.body
|
565
|
+
unless status_code == 200 || status_code == 204
|
566
|
+
error_model = JSON.load(response_content)
|
567
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
568
|
+
end
|
569
|
+
|
570
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
571
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
572
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
573
|
+
|
574
|
+
result
|
575
|
+
end
|
576
|
+
|
577
|
+
promise.execute
|
578
|
+
end
|
579
|
+
|
580
|
+
#
|
581
|
+
# Gets detailed status information for an integration runtime.
|
582
|
+
#
|
583
|
+
# @param resource_group_name [String] The resource group name.
|
584
|
+
# @param factory_name [String] The factory name.
|
585
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
586
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
587
|
+
# will be added to the HTTP request.
|
588
|
+
#
|
589
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
590
|
+
#
|
591
|
+
def get_status(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
592
|
+
response = get_status_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
593
|
+
response.body unless response.nil?
|
594
|
+
end
|
595
|
+
|
596
|
+
#
|
597
|
+
# Gets detailed status information for an integration runtime.
|
598
|
+
#
|
599
|
+
# @param resource_group_name [String] The resource group name.
|
600
|
+
# @param factory_name [String] The factory name.
|
601
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
602
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
603
|
+
# will be added to the HTTP request.
|
604
|
+
#
|
605
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
606
|
+
#
|
607
|
+
def get_status_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
608
|
+
get_status_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
609
|
+
end
|
610
|
+
|
611
|
+
#
|
612
|
+
# Gets detailed status information for an integration runtime.
|
613
|
+
#
|
614
|
+
# @param resource_group_name [String] The resource group name.
|
615
|
+
# @param factory_name [String] The factory name.
|
616
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
617
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
618
|
+
# to the HTTP request.
|
619
|
+
#
|
620
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
621
|
+
#
|
622
|
+
def get_status_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
623
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
624
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
625
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
626
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
627
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
628
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
629
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
630
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
631
|
+
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?
|
632
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
633
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
634
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
635
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
636
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
637
|
+
|
638
|
+
|
639
|
+
request_headers = {}
|
640
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
641
|
+
|
642
|
+
# Set Headers
|
643
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
644
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
645
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus'
|
646
|
+
|
647
|
+
request_url = @base_url || @client.base_url
|
648
|
+
|
649
|
+
options = {
|
650
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
651
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
652
|
+
query_params: {'api-version' => @client.api_version},
|
653
|
+
headers: request_headers.merge(custom_headers || {}),
|
654
|
+
base_url: request_url
|
655
|
+
}
|
656
|
+
promise = @client.make_request_async(:post, path_template, options)
|
657
|
+
|
658
|
+
promise = promise.then do |result|
|
659
|
+
http_response = result.response
|
660
|
+
status_code = http_response.status
|
661
|
+
response_content = http_response.body
|
662
|
+
unless status_code == 200
|
663
|
+
error_model = JSON.load(response_content)
|
664
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
665
|
+
end
|
666
|
+
|
667
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
668
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
669
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
670
|
+
# Deserialize Response
|
671
|
+
if status_code == 200
|
672
|
+
begin
|
673
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
674
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
675
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
676
|
+
rescue Exception => e
|
677
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
678
|
+
end
|
679
|
+
end
|
680
|
+
|
681
|
+
result
|
682
|
+
end
|
683
|
+
|
684
|
+
promise.execute
|
685
|
+
end
|
686
|
+
|
687
|
+
#
|
688
|
+
# Gets the on-premises integration runtime connection information for
|
689
|
+
# encrypting the on-premises data source credentials.
|
690
|
+
#
|
691
|
+
# @param resource_group_name [String] The resource group name.
|
692
|
+
# @param factory_name [String] The factory name.
|
693
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
694
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
695
|
+
# will be added to the HTTP request.
|
696
|
+
#
|
697
|
+
# @return [IntegrationRuntimeConnectionInfo] operation results.
|
698
|
+
#
|
699
|
+
def get_connection_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
700
|
+
response = get_connection_info_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
701
|
+
response.body unless response.nil?
|
702
|
+
end
|
703
|
+
|
704
|
+
#
|
705
|
+
# Gets the on-premises integration runtime connection information for
|
706
|
+
# encrypting the on-premises data source credentials.
|
707
|
+
#
|
708
|
+
# @param resource_group_name [String] The resource group name.
|
709
|
+
# @param factory_name [String] The factory name.
|
710
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
711
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
712
|
+
# will be added to the HTTP request.
|
713
|
+
#
|
714
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
715
|
+
#
|
716
|
+
def get_connection_info_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
717
|
+
get_connection_info_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
718
|
+
end
|
719
|
+
|
720
|
+
#
|
721
|
+
# Gets the on-premises integration runtime connection information for
|
722
|
+
# encrypting the on-premises data source credentials.
|
723
|
+
#
|
724
|
+
# @param resource_group_name [String] The resource group name.
|
725
|
+
# @param factory_name [String] The factory name.
|
726
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
727
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
728
|
+
# to the HTTP request.
|
729
|
+
#
|
730
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
731
|
+
#
|
732
|
+
def get_connection_info_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
733
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
734
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
735
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
736
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
737
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
738
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
739
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
740
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
741
|
+
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?
|
742
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
743
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
744
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
745
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
746
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
747
|
+
|
748
|
+
|
749
|
+
request_headers = {}
|
750
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
751
|
+
|
752
|
+
# Set Headers
|
753
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
754
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
755
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo'
|
756
|
+
|
757
|
+
request_url = @base_url || @client.base_url
|
758
|
+
|
759
|
+
options = {
|
760
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
761
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
762
|
+
query_params: {'api-version' => @client.api_version},
|
763
|
+
headers: request_headers.merge(custom_headers || {}),
|
764
|
+
base_url: request_url
|
765
|
+
}
|
766
|
+
promise = @client.make_request_async(:post, path_template, options)
|
767
|
+
|
768
|
+
promise = promise.then do |result|
|
769
|
+
http_response = result.response
|
770
|
+
status_code = http_response.status
|
771
|
+
response_content = http_response.body
|
772
|
+
unless status_code == 200
|
773
|
+
error_model = JSON.load(response_content)
|
774
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
775
|
+
end
|
776
|
+
|
777
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
778
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
779
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
780
|
+
# Deserialize Response
|
781
|
+
if status_code == 200
|
782
|
+
begin
|
783
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
784
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeConnectionInfo.mapper()
|
785
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
786
|
+
rescue Exception => e
|
787
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
result
|
792
|
+
end
|
793
|
+
|
794
|
+
promise.execute
|
795
|
+
end
|
796
|
+
|
797
|
+
#
|
798
|
+
# Regenerates the authentication key for an integration runtime.
|
799
|
+
#
|
800
|
+
# @param resource_group_name [String] The resource group name.
|
801
|
+
# @param factory_name [String] The factory name.
|
802
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
803
|
+
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
804
|
+
# The parameters for regenerating integration runtime authentication key.
|
805
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
806
|
+
# will be added to the HTTP request.
|
807
|
+
#
|
808
|
+
# @return [IntegrationRuntimeAuthKeys] operation results.
|
809
|
+
#
|
810
|
+
def regenerate_auth_key(resource_group_name, factory_name, integration_runtime_name, regenerate_key_parameters, custom_headers:nil)
|
811
|
+
response = regenerate_auth_key_async(resource_group_name, factory_name, integration_runtime_name, regenerate_key_parameters, custom_headers:custom_headers).value!
|
812
|
+
response.body unless response.nil?
|
813
|
+
end
|
814
|
+
|
815
|
+
#
|
816
|
+
# Regenerates the authentication key for an integration runtime.
|
817
|
+
#
|
818
|
+
# @param resource_group_name [String] The resource group name.
|
819
|
+
# @param factory_name [String] The factory name.
|
820
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
821
|
+
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
822
|
+
# The parameters for regenerating integration runtime authentication key.
|
823
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
824
|
+
# will be added to the HTTP request.
|
825
|
+
#
|
826
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
827
|
+
#
|
828
|
+
def regenerate_auth_key_with_http_info(resource_group_name, factory_name, integration_runtime_name, regenerate_key_parameters, custom_headers:nil)
|
829
|
+
regenerate_auth_key_async(resource_group_name, factory_name, integration_runtime_name, regenerate_key_parameters, custom_headers:custom_headers).value!
|
830
|
+
end
|
831
|
+
|
832
|
+
#
|
833
|
+
# Regenerates the authentication key for an integration runtime.
|
834
|
+
#
|
835
|
+
# @param resource_group_name [String] The resource group name.
|
836
|
+
# @param factory_name [String] The factory name.
|
837
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
838
|
+
# @param regenerate_key_parameters [IntegrationRuntimeRegenerateKeyParameters]
|
839
|
+
# The parameters for regenerating integration runtime authentication key.
|
840
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
841
|
+
# to the HTTP request.
|
842
|
+
#
|
843
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
844
|
+
#
|
845
|
+
def regenerate_auth_key_async(resource_group_name, factory_name, integration_runtime_name, regenerate_key_parameters, custom_headers:nil)
|
846
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
847
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
848
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
849
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
850
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
851
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
852
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
853
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
854
|
+
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?
|
855
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
856
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
857
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
858
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
859
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
860
|
+
fail ArgumentError, 'regenerate_key_parameters is nil' if regenerate_key_parameters.nil?
|
861
|
+
|
862
|
+
|
863
|
+
request_headers = {}
|
864
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
865
|
+
|
866
|
+
# Set Headers
|
867
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
868
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
869
|
+
|
870
|
+
# Serialize Request
|
871
|
+
request_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeRegenerateKeyParameters.mapper()
|
872
|
+
request_content = @client.serialize(request_mapper, regenerate_key_parameters)
|
873
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
874
|
+
|
875
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey'
|
876
|
+
|
877
|
+
request_url = @base_url || @client.base_url
|
878
|
+
|
879
|
+
options = {
|
880
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
881
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
882
|
+
query_params: {'api-version' => @client.api_version},
|
883
|
+
body: request_content,
|
884
|
+
headers: request_headers.merge(custom_headers || {}),
|
885
|
+
base_url: request_url
|
886
|
+
}
|
887
|
+
promise = @client.make_request_async(:post, path_template, options)
|
888
|
+
|
889
|
+
promise = promise.then do |result|
|
890
|
+
http_response = result.response
|
891
|
+
status_code = http_response.status
|
892
|
+
response_content = http_response.body
|
893
|
+
unless status_code == 200
|
894
|
+
error_model = JSON.load(response_content)
|
895
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
896
|
+
end
|
897
|
+
|
898
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
899
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
900
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
901
|
+
# Deserialize Response
|
902
|
+
if status_code == 200
|
903
|
+
begin
|
904
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
905
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeAuthKeys.mapper()
|
906
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
907
|
+
rescue Exception => e
|
908
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
912
|
+
result
|
913
|
+
end
|
914
|
+
|
915
|
+
promise.execute
|
916
|
+
end
|
917
|
+
|
918
|
+
#
|
919
|
+
# Retrieves the authentication keys for an integration runtime.
|
920
|
+
#
|
921
|
+
# @param resource_group_name [String] The resource group name.
|
922
|
+
# @param factory_name [String] The factory name.
|
923
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
924
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
925
|
+
# will be added to the HTTP request.
|
926
|
+
#
|
927
|
+
# @return [IntegrationRuntimeAuthKeys] operation results.
|
928
|
+
#
|
929
|
+
def list_auth_keys(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
930
|
+
response = list_auth_keys_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
931
|
+
response.body unless response.nil?
|
932
|
+
end
|
933
|
+
|
934
|
+
#
|
935
|
+
# Retrieves the authentication keys for an integration runtime.
|
936
|
+
#
|
937
|
+
# @param resource_group_name [String] The resource group name.
|
938
|
+
# @param factory_name [String] The factory name.
|
939
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
940
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
941
|
+
# will be added to the HTTP request.
|
942
|
+
#
|
943
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
944
|
+
#
|
945
|
+
def list_auth_keys_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
946
|
+
list_auth_keys_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
947
|
+
end
|
948
|
+
|
949
|
+
#
|
950
|
+
# Retrieves the authentication keys for an integration runtime.
|
951
|
+
#
|
952
|
+
# @param resource_group_name [String] The resource group name.
|
953
|
+
# @param factory_name [String] The factory name.
|
954
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
955
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
956
|
+
# to the HTTP request.
|
957
|
+
#
|
958
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
959
|
+
#
|
960
|
+
def list_auth_keys_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
961
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
962
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
963
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
964
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
965
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
966
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
967
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
968
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
969
|
+
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?
|
970
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
971
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
972
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
973
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
974
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
975
|
+
|
976
|
+
|
977
|
+
request_headers = {}
|
978
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
979
|
+
|
980
|
+
# Set Headers
|
981
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
982
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
983
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys'
|
984
|
+
|
985
|
+
request_url = @base_url || @client.base_url
|
986
|
+
|
987
|
+
options = {
|
988
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
989
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
990
|
+
query_params: {'api-version' => @client.api_version},
|
991
|
+
headers: request_headers.merge(custom_headers || {}),
|
992
|
+
base_url: request_url
|
993
|
+
}
|
994
|
+
promise = @client.make_request_async(:post, path_template, options)
|
995
|
+
|
996
|
+
promise = promise.then do |result|
|
997
|
+
http_response = result.response
|
998
|
+
status_code = http_response.status
|
999
|
+
response_content = http_response.body
|
1000
|
+
unless status_code == 200
|
1001
|
+
error_model = JSON.load(response_content)
|
1002
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1006
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1007
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1008
|
+
# Deserialize Response
|
1009
|
+
if status_code == 200
|
1010
|
+
begin
|
1011
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1012
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeAuthKeys.mapper()
|
1013
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1014
|
+
rescue Exception => e
|
1015
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1016
|
+
end
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
result
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
promise.execute
|
1023
|
+
end
|
1024
|
+
|
1025
|
+
#
|
1026
|
+
# Starts a ManagedReserved type integration runtime.
|
1027
|
+
#
|
1028
|
+
# @param resource_group_name [String] The resource group name.
|
1029
|
+
# @param factory_name [String] The factory name.
|
1030
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1031
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1032
|
+
# will be added to the HTTP request.
|
1033
|
+
#
|
1034
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
1035
|
+
#
|
1036
|
+
def start(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1037
|
+
response = start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1038
|
+
response.body unless response.nil?
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
#
|
1042
|
+
# @param resource_group_name [String] The resource group name.
|
1043
|
+
# @param factory_name [String] The factory name.
|
1044
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1045
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1046
|
+
# will be added to the HTTP request.
|
1047
|
+
#
|
1048
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
1049
|
+
# response.
|
1050
|
+
#
|
1051
|
+
def start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1052
|
+
# Send request
|
1053
|
+
promise = begin_start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers)
|
1054
|
+
|
1055
|
+
promise = promise.then do |response|
|
1056
|
+
# Defining deserialization method.
|
1057
|
+
deserialize_method = lambda do |parsed_response|
|
1058
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
1059
|
+
parsed_response = @client.deserialize(result_mapper, parsed_response)
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# Waiting for response.
|
1063
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
promise
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
#
|
1070
|
+
# Stops a ManagedReserved type integration runtime.
|
1071
|
+
#
|
1072
|
+
# @param resource_group_name [String] The resource group name.
|
1073
|
+
# @param factory_name [String] The factory name.
|
1074
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1075
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1076
|
+
# will be added to the HTTP request.
|
1077
|
+
#
|
1078
|
+
def stop(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1079
|
+
response = stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1080
|
+
nil
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
#
|
1084
|
+
# @param resource_group_name [String] The resource group name.
|
1085
|
+
# @param factory_name [String] The factory name.
|
1086
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1087
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1088
|
+
# will be added to the HTTP request.
|
1089
|
+
#
|
1090
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
1091
|
+
# response.
|
1092
|
+
#
|
1093
|
+
def stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1094
|
+
# Send request
|
1095
|
+
promise = begin_stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers)
|
1096
|
+
|
1097
|
+
promise = promise.then do |response|
|
1098
|
+
# Defining deserialization method.
|
1099
|
+
deserialize_method = lambda do |parsed_response|
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Waiting for response.
|
1103
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
promise
|
1107
|
+
end
|
1108
|
+
|
1109
|
+
#
|
1110
|
+
# Remove a node from integration runtime.
|
1111
|
+
#
|
1112
|
+
# @param resource_group_name [String] The resource group name.
|
1113
|
+
# @param factory_name [String] The factory name.
|
1114
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1115
|
+
# @param remove_node_parameters [IntegrationRuntimeRemoveNodeRequest] The name
|
1116
|
+
# of the node to be removed from an integration runtime.
|
1117
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1118
|
+
# will be added to the HTTP request.
|
1119
|
+
#
|
1120
|
+
#
|
1121
|
+
def remove_node(resource_group_name, factory_name, integration_runtime_name, remove_node_parameters, custom_headers:nil)
|
1122
|
+
response = remove_node_async(resource_group_name, factory_name, integration_runtime_name, remove_node_parameters, custom_headers:custom_headers).value!
|
1123
|
+
nil
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
#
|
1127
|
+
# Remove a node from integration runtime.
|
1128
|
+
#
|
1129
|
+
# @param resource_group_name [String] The resource group name.
|
1130
|
+
# @param factory_name [String] The factory name.
|
1131
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1132
|
+
# @param remove_node_parameters [IntegrationRuntimeRemoveNodeRequest] The name
|
1133
|
+
# of the node to be removed from an integration runtime.
|
1134
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1135
|
+
# will be added to the HTTP request.
|
1136
|
+
#
|
1137
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1138
|
+
#
|
1139
|
+
def remove_node_with_http_info(resource_group_name, factory_name, integration_runtime_name, remove_node_parameters, custom_headers:nil)
|
1140
|
+
remove_node_async(resource_group_name, factory_name, integration_runtime_name, remove_node_parameters, custom_headers:custom_headers).value!
|
1141
|
+
end
|
1142
|
+
|
1143
|
+
#
|
1144
|
+
# Remove a node from integration runtime.
|
1145
|
+
#
|
1146
|
+
# @param resource_group_name [String] The resource group name.
|
1147
|
+
# @param factory_name [String] The factory name.
|
1148
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1149
|
+
# @param remove_node_parameters [IntegrationRuntimeRemoveNodeRequest] The name
|
1150
|
+
# of the node to be removed from an integration runtime.
|
1151
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1152
|
+
# to the HTTP request.
|
1153
|
+
#
|
1154
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1155
|
+
#
|
1156
|
+
def remove_node_async(resource_group_name, factory_name, integration_runtime_name, remove_node_parameters, custom_headers:nil)
|
1157
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1158
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1159
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1160
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1161
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1162
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1163
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1164
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1165
|
+
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?
|
1166
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1167
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1168
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1169
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1170
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1171
|
+
fail ArgumentError, 'remove_node_parameters is nil' if remove_node_parameters.nil?
|
1172
|
+
|
1173
|
+
|
1174
|
+
request_headers = {}
|
1175
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1176
|
+
|
1177
|
+
# Set Headers
|
1178
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1179
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1180
|
+
|
1181
|
+
# Serialize Request
|
1182
|
+
request_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeRemoveNodeRequest.mapper()
|
1183
|
+
request_content = @client.serialize(request_mapper, remove_node_parameters)
|
1184
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
1185
|
+
|
1186
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeNode'
|
1187
|
+
|
1188
|
+
request_url = @base_url || @client.base_url
|
1189
|
+
|
1190
|
+
options = {
|
1191
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1192
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1193
|
+
query_params: {'api-version' => @client.api_version},
|
1194
|
+
body: request_content,
|
1195
|
+
headers: request_headers.merge(custom_headers || {}),
|
1196
|
+
base_url: request_url
|
1197
|
+
}
|
1198
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1199
|
+
|
1200
|
+
promise = promise.then do |result|
|
1201
|
+
http_response = result.response
|
1202
|
+
status_code = http_response.status
|
1203
|
+
response_content = http_response.body
|
1204
|
+
unless status_code == 200 || status_code == 204
|
1205
|
+
error_model = JSON.load(response_content)
|
1206
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1210
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1211
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1212
|
+
|
1213
|
+
result
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
promise.execute
|
1217
|
+
end
|
1218
|
+
|
1219
|
+
#
|
1220
|
+
# Force the integration runtime to synchronize credentials across integration
|
1221
|
+
# runtime nodes, and this will override the credentials across all worker nodes
|
1222
|
+
# with those available on the dispatcher node. If you already have the latest
|
1223
|
+
# credential backup file, you should manually import it (preferred) on any
|
1224
|
+
# self-hosted integration runtime node than using this API directly.
|
1225
|
+
#
|
1226
|
+
# @param resource_group_name [String] The resource group name.
|
1227
|
+
# @param factory_name [String] The factory name.
|
1228
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1229
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1230
|
+
# will be added to the HTTP request.
|
1231
|
+
#
|
1232
|
+
#
|
1233
|
+
def sync_credentials(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1234
|
+
response = sync_credentials_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1235
|
+
nil
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
#
|
1239
|
+
# Force the integration runtime to synchronize credentials across integration
|
1240
|
+
# runtime nodes, and this will override the credentials across all worker nodes
|
1241
|
+
# with those available on the dispatcher node. If you already have the latest
|
1242
|
+
# credential backup file, you should manually import it (preferred) on any
|
1243
|
+
# self-hosted integration runtime node than using this API directly.
|
1244
|
+
#
|
1245
|
+
# @param resource_group_name [String] The resource group name.
|
1246
|
+
# @param factory_name [String] The factory name.
|
1247
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1248
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1249
|
+
# will be added to the HTTP request.
|
1250
|
+
#
|
1251
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1252
|
+
#
|
1253
|
+
def sync_credentials_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1254
|
+
sync_credentials_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1255
|
+
end
|
1256
|
+
|
1257
|
+
#
|
1258
|
+
# Force the integration runtime to synchronize credentials across integration
|
1259
|
+
# runtime nodes, and this will override the credentials across all worker nodes
|
1260
|
+
# with those available on the dispatcher node. If you already have the latest
|
1261
|
+
# credential backup file, you should manually import it (preferred) on any
|
1262
|
+
# self-hosted integration runtime node than using this API directly.
|
1263
|
+
#
|
1264
|
+
# @param resource_group_name [String] The resource group name.
|
1265
|
+
# @param factory_name [String] The factory name.
|
1266
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1267
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1268
|
+
# to the HTTP request.
|
1269
|
+
#
|
1270
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1271
|
+
#
|
1272
|
+
def sync_credentials_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1273
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1274
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1275
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1276
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1277
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1278
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1279
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1280
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1281
|
+
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?
|
1282
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1283
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1284
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1285
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1286
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1287
|
+
|
1288
|
+
|
1289
|
+
request_headers = {}
|
1290
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1291
|
+
|
1292
|
+
# Set Headers
|
1293
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1294
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1295
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials'
|
1296
|
+
|
1297
|
+
request_url = @base_url || @client.base_url
|
1298
|
+
|
1299
|
+
options = {
|
1300
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1301
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1302
|
+
query_params: {'api-version' => @client.api_version},
|
1303
|
+
headers: request_headers.merge(custom_headers || {}),
|
1304
|
+
base_url: request_url
|
1305
|
+
}
|
1306
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1307
|
+
|
1308
|
+
promise = promise.then do |result|
|
1309
|
+
http_response = result.response
|
1310
|
+
status_code = http_response.status
|
1311
|
+
response_content = http_response.body
|
1312
|
+
unless status_code == 200
|
1313
|
+
error_model = JSON.load(response_content)
|
1314
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1318
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1319
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1320
|
+
|
1321
|
+
result
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
promise.execute
|
1325
|
+
end
|
1326
|
+
|
1327
|
+
#
|
1328
|
+
# Get the integration runtime monitoring data, which includes the monitor data
|
1329
|
+
# for all the nodes under this integration runtime.
|
1330
|
+
#
|
1331
|
+
# @param resource_group_name [String] The resource group name.
|
1332
|
+
# @param factory_name [String] The factory name.
|
1333
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1334
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1335
|
+
# will be added to the HTTP request.
|
1336
|
+
#
|
1337
|
+
# @return [IntegrationRuntimeMonitoringData] operation results.
|
1338
|
+
#
|
1339
|
+
def get_monitoring_data(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1340
|
+
response = get_monitoring_data_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1341
|
+
response.body unless response.nil?
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
#
|
1345
|
+
# Get the integration runtime monitoring data, which includes the monitor data
|
1346
|
+
# for all the nodes under this integration runtime.
|
1347
|
+
#
|
1348
|
+
# @param resource_group_name [String] The resource group name.
|
1349
|
+
# @param factory_name [String] The factory name.
|
1350
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1351
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1352
|
+
# will be added to the HTTP request.
|
1353
|
+
#
|
1354
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1355
|
+
#
|
1356
|
+
def get_monitoring_data_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1357
|
+
get_monitoring_data_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1358
|
+
end
|
1359
|
+
|
1360
|
+
#
|
1361
|
+
# Get the integration runtime monitoring data, which includes the monitor data
|
1362
|
+
# for all the nodes under this integration runtime.
|
1363
|
+
#
|
1364
|
+
# @param resource_group_name [String] The resource group name.
|
1365
|
+
# @param factory_name [String] The factory name.
|
1366
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1367
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1368
|
+
# to the HTTP request.
|
1369
|
+
#
|
1370
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1371
|
+
#
|
1372
|
+
def get_monitoring_data_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1373
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1374
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1375
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1376
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1377
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1378
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1379
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1380
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1381
|
+
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?
|
1382
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1383
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1384
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1385
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1386
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1387
|
+
|
1388
|
+
|
1389
|
+
request_headers = {}
|
1390
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1391
|
+
|
1392
|
+
# Set Headers
|
1393
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1394
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1395
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData'
|
1396
|
+
|
1397
|
+
request_url = @base_url || @client.base_url
|
1398
|
+
|
1399
|
+
options = {
|
1400
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1401
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1402
|
+
query_params: {'api-version' => @client.api_version},
|
1403
|
+
headers: request_headers.merge(custom_headers || {}),
|
1404
|
+
base_url: request_url
|
1405
|
+
}
|
1406
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1407
|
+
|
1408
|
+
promise = promise.then do |result|
|
1409
|
+
http_response = result.response
|
1410
|
+
status_code = http_response.status
|
1411
|
+
response_content = http_response.body
|
1412
|
+
unless status_code == 200
|
1413
|
+
error_model = JSON.load(response_content)
|
1414
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1418
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1419
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1420
|
+
# Deserialize Response
|
1421
|
+
if status_code == 200
|
1422
|
+
begin
|
1423
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1424
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeMonitoringData.mapper()
|
1425
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1426
|
+
rescue Exception => e
|
1427
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1428
|
+
end
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
result
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
promise.execute
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
#
|
1438
|
+
# Upgrade self-hosted integration runtime to latest version if availability.
|
1439
|
+
#
|
1440
|
+
# @param resource_group_name [String] The resource group name.
|
1441
|
+
# @param factory_name [String] The factory name.
|
1442
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1443
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1444
|
+
# will be added to the HTTP request.
|
1445
|
+
#
|
1446
|
+
#
|
1447
|
+
def upgrade(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1448
|
+
response = upgrade_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1449
|
+
nil
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
#
|
1453
|
+
# Upgrade self-hosted integration runtime to latest version if availability.
|
1454
|
+
#
|
1455
|
+
# @param resource_group_name [String] The resource group name.
|
1456
|
+
# @param factory_name [String] The factory name.
|
1457
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1458
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1459
|
+
# will be added to the HTTP request.
|
1460
|
+
#
|
1461
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1462
|
+
#
|
1463
|
+
def upgrade_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1464
|
+
upgrade_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1465
|
+
end
|
1466
|
+
|
1467
|
+
#
|
1468
|
+
# Upgrade self-hosted integration runtime to latest version if availability.
|
1469
|
+
#
|
1470
|
+
# @param resource_group_name [String] The resource group name.
|
1471
|
+
# @param factory_name [String] The factory name.
|
1472
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1473
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1474
|
+
# to the HTTP request.
|
1475
|
+
#
|
1476
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1477
|
+
#
|
1478
|
+
def upgrade_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1479
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1480
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1481
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1482
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1483
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1484
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1485
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1486
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1487
|
+
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?
|
1488
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1489
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1490
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1491
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1492
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1493
|
+
|
1494
|
+
|
1495
|
+
request_headers = {}
|
1496
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1497
|
+
|
1498
|
+
# Set Headers
|
1499
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1500
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1501
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade'
|
1502
|
+
|
1503
|
+
request_url = @base_url || @client.base_url
|
1504
|
+
|
1505
|
+
options = {
|
1506
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1507
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1508
|
+
query_params: {'api-version' => @client.api_version},
|
1509
|
+
headers: request_headers.merge(custom_headers || {}),
|
1510
|
+
base_url: request_url
|
1511
|
+
}
|
1512
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1513
|
+
|
1514
|
+
promise = promise.then do |result|
|
1515
|
+
http_response = result.response
|
1516
|
+
status_code = http_response.status
|
1517
|
+
response_content = http_response.body
|
1518
|
+
unless status_code == 200
|
1519
|
+
error_model = JSON.load(response_content)
|
1520
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1524
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1525
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1526
|
+
|
1527
|
+
result
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
promise.execute
|
1531
|
+
end
|
1532
|
+
|
1533
|
+
#
|
1534
|
+
# Starts a ManagedReserved type integration runtime.
|
1535
|
+
#
|
1536
|
+
# @param resource_group_name [String] The resource group name.
|
1537
|
+
# @param factory_name [String] The factory name.
|
1538
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1539
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1540
|
+
# will be added to the HTTP request.
|
1541
|
+
#
|
1542
|
+
# @return [IntegrationRuntimeStatusResponse] operation results.
|
1543
|
+
#
|
1544
|
+
def begin_start(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1545
|
+
response = begin_start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1546
|
+
response.body unless response.nil?
|
1547
|
+
end
|
1548
|
+
|
1549
|
+
#
|
1550
|
+
# Starts a ManagedReserved type integration runtime.
|
1551
|
+
#
|
1552
|
+
# @param resource_group_name [String] The resource group name.
|
1553
|
+
# @param factory_name [String] The factory name.
|
1554
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1555
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1556
|
+
# will be added to the HTTP request.
|
1557
|
+
#
|
1558
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1559
|
+
#
|
1560
|
+
def begin_start_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1561
|
+
begin_start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1562
|
+
end
|
1563
|
+
|
1564
|
+
#
|
1565
|
+
# Starts a ManagedReserved type integration runtime.
|
1566
|
+
#
|
1567
|
+
# @param resource_group_name [String] The resource group name.
|
1568
|
+
# @param factory_name [String] The factory name.
|
1569
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1570
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1571
|
+
# to the HTTP request.
|
1572
|
+
#
|
1573
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1574
|
+
#
|
1575
|
+
def begin_start_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1576
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1577
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1578
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1579
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1580
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1581
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1582
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1583
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1584
|
+
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?
|
1585
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1586
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1587
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1588
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1589
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1590
|
+
|
1591
|
+
|
1592
|
+
request_headers = {}
|
1593
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1594
|
+
|
1595
|
+
# Set Headers
|
1596
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1597
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1598
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start'
|
1599
|
+
|
1600
|
+
request_url = @base_url || @client.base_url
|
1601
|
+
|
1602
|
+
options = {
|
1603
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1604
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1605
|
+
query_params: {'api-version' => @client.api_version},
|
1606
|
+
headers: request_headers.merge(custom_headers || {}),
|
1607
|
+
base_url: request_url
|
1608
|
+
}
|
1609
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1610
|
+
|
1611
|
+
promise = promise.then do |result|
|
1612
|
+
http_response = result.response
|
1613
|
+
status_code = http_response.status
|
1614
|
+
response_content = http_response.body
|
1615
|
+
unless status_code == 200 || status_code == 202
|
1616
|
+
error_model = JSON.load(response_content)
|
1617
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1621
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1622
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1623
|
+
# Deserialize Response
|
1624
|
+
if status_code == 200
|
1625
|
+
begin
|
1626
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1627
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeStatusResponse.mapper()
|
1628
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1629
|
+
rescue Exception => e
|
1630
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1631
|
+
end
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
result
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
promise.execute
|
1638
|
+
end
|
1639
|
+
|
1640
|
+
#
|
1641
|
+
# Stops a ManagedReserved type integration runtime.
|
1642
|
+
#
|
1643
|
+
# @param resource_group_name [String] The resource group name.
|
1644
|
+
# @param factory_name [String] The factory name.
|
1645
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1646
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1647
|
+
# will be added to the HTTP request.
|
1648
|
+
#
|
1649
|
+
#
|
1650
|
+
def begin_stop(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1651
|
+
response = begin_stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1652
|
+
nil
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
#
|
1656
|
+
# Stops a ManagedReserved type integration runtime.
|
1657
|
+
#
|
1658
|
+
# @param resource_group_name [String] The resource group name.
|
1659
|
+
# @param factory_name [String] The factory name.
|
1660
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1661
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1662
|
+
# will be added to the HTTP request.
|
1663
|
+
#
|
1664
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1665
|
+
#
|
1666
|
+
def begin_stop_with_http_info(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1667
|
+
begin_stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:custom_headers).value!
|
1668
|
+
end
|
1669
|
+
|
1670
|
+
#
|
1671
|
+
# Stops a ManagedReserved type integration runtime.
|
1672
|
+
#
|
1673
|
+
# @param resource_group_name [String] The resource group name.
|
1674
|
+
# @param factory_name [String] The factory name.
|
1675
|
+
# @param integration_runtime_name [String] The integration runtime name.
|
1676
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1677
|
+
# to the HTTP request.
|
1678
|
+
#
|
1679
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1680
|
+
#
|
1681
|
+
def begin_stop_async(resource_group_name, factory_name, integration_runtime_name, custom_headers:nil)
|
1682
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
1683
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1684
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
1685
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
1686
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
1687
|
+
fail ArgumentError, 'factory_name is nil' if factory_name.nil?
|
1688
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MaxLength': '63'" if !factory_name.nil? && factory_name.length > 63
|
1689
|
+
fail ArgumentError, "'factory_name' should satisfy the constraint - 'MinLength': '3'" if !factory_name.nil? && factory_name.length < 3
|
1690
|
+
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?
|
1691
|
+
fail ArgumentError, 'integration_runtime_name is nil' if integration_runtime_name.nil?
|
1692
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MaxLength': '63'" if !integration_runtime_name.nil? && integration_runtime_name.length > 63
|
1693
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'MinLength': '3'" if !integration_runtime_name.nil? && integration_runtime_name.length < 3
|
1694
|
+
fail ArgumentError, "'integration_runtime_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$'" if !integration_runtime_name.nil? && integration_runtime_name.match(Regexp.new('^^[A-Za-z0-9]+(?:-[A-Za-z0-9]+)*$$')).nil?
|
1695
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1696
|
+
|
1697
|
+
|
1698
|
+
request_headers = {}
|
1699
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1700
|
+
|
1701
|
+
# Set Headers
|
1702
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1703
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1704
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop'
|
1705
|
+
|
1706
|
+
request_url = @base_url || @client.base_url
|
1707
|
+
|
1708
|
+
options = {
|
1709
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1710
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'factoryName' => factory_name,'integrationRuntimeName' => integration_runtime_name},
|
1711
|
+
query_params: {'api-version' => @client.api_version},
|
1712
|
+
headers: request_headers.merge(custom_headers || {}),
|
1713
|
+
base_url: request_url
|
1714
|
+
}
|
1715
|
+
promise = @client.make_request_async(:post, path_template, options)
|
1716
|
+
|
1717
|
+
promise = promise.then do |result|
|
1718
|
+
http_response = result.response
|
1719
|
+
status_code = http_response.status
|
1720
|
+
response_content = http_response.body
|
1721
|
+
unless status_code == 200 || status_code == 202
|
1722
|
+
error_model = JSON.load(response_content)
|
1723
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1724
|
+
end
|
1725
|
+
|
1726
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1727
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1728
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1729
|
+
|
1730
|
+
result
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
promise.execute
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
#
|
1737
|
+
# Lists integration runtimes.
|
1738
|
+
#
|
1739
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1740
|
+
# to List operation.
|
1741
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1742
|
+
# will be added to the HTTP request.
|
1743
|
+
#
|
1744
|
+
# @return [IntegrationRuntimeListResponse] operation results.
|
1745
|
+
#
|
1746
|
+
def list_by_factory_next(next_page_link, custom_headers:nil)
|
1747
|
+
response = list_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
|
1748
|
+
response.body unless response.nil?
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
#
|
1752
|
+
# Lists integration runtimes.
|
1753
|
+
#
|
1754
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1755
|
+
# to List operation.
|
1756
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1757
|
+
# will be added to the HTTP request.
|
1758
|
+
#
|
1759
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
1760
|
+
#
|
1761
|
+
def list_by_factory_next_with_http_info(next_page_link, custom_headers:nil)
|
1762
|
+
list_by_factory_next_async(next_page_link, custom_headers:custom_headers).value!
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
#
|
1766
|
+
# Lists integration runtimes.
|
1767
|
+
#
|
1768
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
1769
|
+
# to List operation.
|
1770
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
1771
|
+
# to the HTTP request.
|
1772
|
+
#
|
1773
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
1774
|
+
#
|
1775
|
+
def list_by_factory_next_async(next_page_link, custom_headers:nil)
|
1776
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
1777
|
+
|
1778
|
+
|
1779
|
+
request_headers = {}
|
1780
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
1781
|
+
|
1782
|
+
# Set Headers
|
1783
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
1784
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
1785
|
+
path_template = '{nextLink}'
|
1786
|
+
|
1787
|
+
request_url = @base_url || @client.base_url
|
1788
|
+
|
1789
|
+
options = {
|
1790
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
1791
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
1792
|
+
headers: request_headers.merge(custom_headers || {}),
|
1793
|
+
base_url: request_url
|
1794
|
+
}
|
1795
|
+
promise = @client.make_request_async(:get, path_template, options)
|
1796
|
+
|
1797
|
+
promise = promise.then do |result|
|
1798
|
+
http_response = result.response
|
1799
|
+
status_code = http_response.status
|
1800
|
+
response_content = http_response.body
|
1801
|
+
unless status_code == 200
|
1802
|
+
error_model = JSON.load(response_content)
|
1803
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
1807
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
1808
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
1809
|
+
# Deserialize Response
|
1810
|
+
if status_code == 200
|
1811
|
+
begin
|
1812
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
1813
|
+
result_mapper = Azure::DataFactory::Mgmt::V2017_09_01_preview::Models::IntegrationRuntimeListResponse.mapper()
|
1814
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
1815
|
+
rescue Exception => e
|
1816
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
1817
|
+
end
|
1818
|
+
end
|
1819
|
+
|
1820
|
+
result
|
1821
|
+
end
|
1822
|
+
|
1823
|
+
promise.execute
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
#
|
1827
|
+
# Lists integration runtimes.
|
1828
|
+
#
|
1829
|
+
# @param resource_group_name [String] The resource group name.
|
1830
|
+
# @param factory_name [String] The factory name.
|
1831
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
1832
|
+
# will be added to the HTTP request.
|
1833
|
+
#
|
1834
|
+
# @return [IntegrationRuntimeListResponse] which provide lazy access to pages
|
1835
|
+
# of the response.
|
1836
|
+
#
|
1837
|
+
def list_by_factory_as_lazy(resource_group_name, factory_name, custom_headers:nil)
|
1838
|
+
response = list_by_factory_async(resource_group_name, factory_name, custom_headers:custom_headers).value!
|
1839
|
+
unless response.nil?
|
1840
|
+
page = response.body
|
1841
|
+
page.next_method = Proc.new do |next_page_link|
|
1842
|
+
list_by_factory_next_async(next_page_link, custom_headers:custom_headers)
|
1843
|
+
end
|
1844
|
+
page
|
1845
|
+
end
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
end
|
1849
|
+
end
|