azure_mgmt_data_migration 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-11-15-preview/generated/azure_mgmt_data_migration.rb +134 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +81 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +62 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +60 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +137 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +127 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +115 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +113 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +148 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +60 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +162 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database.rb +230 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +114 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +92 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +85 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +129 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +113 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +255 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +115 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +165 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +122 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +97 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +73 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project.rb +186 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +87 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +85 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +86 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +74 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +130 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +59 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
- data/lib/2017-11-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration.rb +150 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +61 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +60 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +127 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +114 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +112 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +93 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +112 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +112 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +253 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +260 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +172 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +114 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +71 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +101 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +61 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +157 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +72 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +215 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +114 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project.rb +183 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +89 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +96 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +149 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +113 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
- data/lib/2018-03-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration.rb +158 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +87 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +136 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +126 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +169 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +114 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +112 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +112 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +112 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +254 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +73 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +114 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +71 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +139 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +161 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +114 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project.rb +183 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +89 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +91 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +96 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +149 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +113 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb +866 -0
- data/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration.rb +143 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb +151 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +87 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +136 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +126 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +169 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +113 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +111 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/connection_info.rb +68 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +70 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database.rb +245 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/execution_statistics.rb +124 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +111 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +64 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +253 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level_validation_result.rb +177 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +72 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +261 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +172 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_validation_result.rb +109 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +113 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +89 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_report_result.rb +60 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_response.rb +75 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/odata_error.rb +81 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project.rb +183 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_source_platform.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_target_platform.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb +85 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +62 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb +85 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/reportable_exception.rb +96 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +101 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +75 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +16 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +129 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validation_error.rb +60 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb +72 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/operations.rb +236 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb +694 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/services.rb +1918 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/tasks.rb +866 -0
- data/lib/2018-04-19/generated/azure_mgmt_data_migration/usages.rb +242 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration.rb +272 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/data_migration_service_client.rb +155 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/files.rb +921 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/api_error.rb +47 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/authentication_type.rb +19 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku.rb +71 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb +80 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb +80 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_mode.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/backup_type.rb +21 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/blob_share.rb +46 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_properties.rb +86 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/command_state.rb +19 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_mongo_db_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb +74 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_properties.rb +131 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_non_sql_task_output.rb +114 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_sync_task_properties.rb +135 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb +102 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb +62 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb +157 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb +135 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb +125 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb +190 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb +134 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_input.rb +62 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_output.rb +114 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_my_sql_task_properties.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb +48 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb +93 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_input.rb +49 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_output.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_mitask_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_input.rb +61 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_target_sql_sql_db_sync_task_properties.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connection_info.rb +71 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb +68 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_error.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb +141 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_result_code.rb +20 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service.rb +161 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb +90 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database.rb +228 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_backup_info.rb +143 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_compat_level.rb +21 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_info.rb +113 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_input.rb +91 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_file_type.rb +19 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_info.rb +46 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_migration_stage.rb +20 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_object_name.rb +84 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_state.rb +23 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_summary_result.rb +128 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/database_table.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/error_type.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/execution_statistics.rb +119 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_share.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/file_storage_info.rb +65 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_project_details_non_sql_task_input.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_input.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_output.rb +85 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_tde_certificates_sql_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_input.rb +100 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_output.rb +146 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_sync_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb +67 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb +99 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/login_migration_stage.rb +23 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/login_type.rb +21 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_mongo_db_task_properties.rb +130 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_database_input.rb +60 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_input.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output.rb +64 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_error.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_database_level.rb +245 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_error.rb +74 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_migration_level.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_output_table_level.rb +219 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_my_sql_azure_db_for_my_sql_sync_task_properties.rb +135 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input.rb +60 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_input.rb +84 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb +64 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_error.rb +93 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_database_level.rb +246 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_error.rb +74 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_migration_level.rb +134 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output_table_level.rb +220 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_properties.rb +135 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_database_input.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_input.rb +75 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output.rb +62 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_database_level.rb +190 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_error.rb +85 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_output_migration_level.rb +147 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_server_sql_db_task_properties.rb +135 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_schema_sql_task_output_error.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb +89 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_database_input.rb +159 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_input.rb +87 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output.rb +63 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_error.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_database_level.rb +245 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_error.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_migration_level.rb +145 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_output_table_level.rb +219 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_sync_task_properties.rb +134 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb +97 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb +62 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb +254 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb +273 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb +173 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb +134 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_midatabase_input.rb +91 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_input.rb +153 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output.rb +63 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_agent_job_level.rb +157 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_database_level.rb +170 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_error.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_login_level.rb +160 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_output_migration_level.rb +301 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_mitask_properties.rb +134 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb +88 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_input.rb +57 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_output.rb +56 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migrate_sync_complete_command_properties.rb +103 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb +68 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_report_result.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_state.rb +21 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_status.rb +24 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_level_result.rb +164 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb +121 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_options.rb +74 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/migration_validation_result.rb +96 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cancel_command.rb +89 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cluster_info.rb +91 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_cluster_type.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_info.rb +158 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_progress.rb +156 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_collection_settings.rb +73 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_command_input.rb +48 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_connection_info.rb +79 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_info.rb +108 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_progress.rb +178 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_database_settings.rb +71 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_error.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_error_type.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command.rb +89 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_finish_command_input.rb +56 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_progress.rb +177 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_settings.rb +124 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_migration_state.rb +25 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_object_info.rb +94 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_progress.rb +214 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_replication.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_restart_command.rb +89 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_field.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_info.rb +66 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_order.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_shard_key_setting.rb +66 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/mongo_db_throttling_settings.rb +71 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_connection_info.rb +88 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/my_sql_target_platform_type.rb +15 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_availability_request.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_availability_response.rb +72 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table.rb +46 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_data_migration_table_result.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_migration_task_input.rb +102 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/non_sql_migration_task_output.rb +145 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/object_type.rb +19 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/odata_error.rb +78 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/postgre_sql_connection_info.rb +99 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project.rb +185 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file.rb +86 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_file_properties.rb +95 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_source_platform.rb +19 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_target_platform.rb +20 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task.rb +88 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb +126 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb +60 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/query_execution_result.rb +81 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota.rb +94 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota_list.rb +99 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/quota_name.rb +57 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/reportable_exception.rb +102 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource.rb +80 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku.rb +225 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb +84 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb +72 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb +84 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb +16 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb +15 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/resource_skus_result.rb +100 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb +99 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb +72 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_option.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_setting.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/schema_migration_stage.rb +24 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/selected_certificate_input.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb +18 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/server_properties.rb +107 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation_display.rb +79 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_operation_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb +24 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_scalability.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_sku.rb +95 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/service_sku_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/severity.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_connection_info.rb +141 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb +59 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sql_source_platform.rb +15 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_database_migration_reporting_state.rb +25 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_migration_database_error_event.rb +71 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/sync_table_migration_state.rb +20 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/task_list.rb +98 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/task_state.rb +22 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/tracked_resource.rb +92 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/update_action_type.rb +17 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_db_sync_task_properties.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb +140 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_output.rb +184 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_properties.rb +133 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_mongo_db_task_properties.rb +132 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_input.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validate_sync_migration_input_sql_server_task_output.rb +82 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validation_error.rb +58 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/validation_status.rb +22 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/wait_statistics.rb +69 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/module_definition.rb +9 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/operations.rb +236 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/projects.rb +694 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/resource_skus.rb +231 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/services.rb +1918 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/tasks.rb +989 -0
- data/lib/2018-07-15-preview/generated/azure_mgmt_data_migration/usages.rb +242 -0
- data/lib/azure_mgmt_data_migration.rb +10 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/datamigration_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/datamigration_module_definition.rb +8 -0
- data/lib/profiles/latest/modules/datamigration_profile_module.rb +1025 -0
- data/lib/version.rb +7 -0
- metadata +862 -0
@@ -0,0 +1,866 @@
|
|
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::DataMigration::Mgmt::V2018_03_15_preview
|
7
|
+
#
|
8
|
+
# Data Migration Client
|
9
|
+
#
|
10
|
+
class Tasks
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Tasks class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [DataMigrationServiceClient] reference to the DataMigrationServiceClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Get tasks in a service
|
26
|
+
#
|
27
|
+
# The services resource is the top-level resource that represents the Data
|
28
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
29
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
30
|
+
# error occurred while querying the status of that task.
|
31
|
+
#
|
32
|
+
# @param group_name [String] Name of the resource group
|
33
|
+
# @param service_name [String] Name of the service
|
34
|
+
# @param project_name [String] Name of the project
|
35
|
+
# @param task_type [String] Filter tasks by task type
|
36
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
37
|
+
# will be added to the HTTP request.
|
38
|
+
#
|
39
|
+
# @return [Array<ProjectTask>] operation results.
|
40
|
+
#
|
41
|
+
def list(group_name, service_name, project_name, task_type:nil, custom_headers:nil)
|
42
|
+
first_page = list_as_lazy(group_name, service_name, project_name, task_type:task_type, custom_headers:custom_headers)
|
43
|
+
first_page.get_all_items
|
44
|
+
end
|
45
|
+
|
46
|
+
#
|
47
|
+
# Get tasks in a service
|
48
|
+
#
|
49
|
+
# The services resource is the top-level resource that represents the Data
|
50
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
51
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
52
|
+
# error occurred while querying the status of that task.
|
53
|
+
#
|
54
|
+
# @param group_name [String] Name of the resource group
|
55
|
+
# @param service_name [String] Name of the service
|
56
|
+
# @param project_name [String] Name of the project
|
57
|
+
# @param task_type [String] Filter tasks by task type
|
58
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
59
|
+
# will be added to the HTTP request.
|
60
|
+
#
|
61
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
62
|
+
#
|
63
|
+
def list_with_http_info(group_name, service_name, project_name, task_type:nil, custom_headers:nil)
|
64
|
+
list_async(group_name, service_name, project_name, task_type:task_type, custom_headers:custom_headers).value!
|
65
|
+
end
|
66
|
+
|
67
|
+
#
|
68
|
+
# Get tasks in a service
|
69
|
+
#
|
70
|
+
# The services resource is the top-level resource that represents the Data
|
71
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
72
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
73
|
+
# error occurred while querying the status of that task.
|
74
|
+
#
|
75
|
+
# @param group_name [String] Name of the resource group
|
76
|
+
# @param service_name [String] Name of the service
|
77
|
+
# @param project_name [String] Name of the project
|
78
|
+
# @param task_type [String] Filter tasks by task type
|
79
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
80
|
+
# to the HTTP request.
|
81
|
+
#
|
82
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
83
|
+
#
|
84
|
+
def list_async(group_name, service_name, project_name, task_type:nil, custom_headers:nil)
|
85
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
86
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
87
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
88
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
89
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
90
|
+
|
91
|
+
|
92
|
+
request_headers = {}
|
93
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
94
|
+
|
95
|
+
# Set Headers
|
96
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
97
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
98
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks'
|
99
|
+
|
100
|
+
request_url = @base_url || @client.base_url
|
101
|
+
|
102
|
+
options = {
|
103
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
104
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
|
105
|
+
query_params: {'api-version' => @client.api_version,'taskType' => task_type},
|
106
|
+
headers: request_headers.merge(custom_headers || {}),
|
107
|
+
base_url: request_url
|
108
|
+
}
|
109
|
+
promise = @client.make_request_async(:get, path_template, options)
|
110
|
+
|
111
|
+
promise = promise.then do |result|
|
112
|
+
http_response = result.response
|
113
|
+
status_code = http_response.status
|
114
|
+
response_content = http_response.body
|
115
|
+
unless status_code == 200
|
116
|
+
error_model = JSON.load(response_content)
|
117
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
118
|
+
end
|
119
|
+
|
120
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
121
|
+
# Deserialize Response
|
122
|
+
if status_code == 200
|
123
|
+
begin
|
124
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
125
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::TaskList.mapper()
|
126
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
127
|
+
rescue Exception => e
|
128
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
result
|
133
|
+
end
|
134
|
+
|
135
|
+
promise.execute
|
136
|
+
end
|
137
|
+
|
138
|
+
#
|
139
|
+
# Create or update task
|
140
|
+
#
|
141
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
142
|
+
# performed by a DMS instance. The PUT method creates a new task or updates an
|
143
|
+
# existing one, although since tasks have no mutable custom properties, there
|
144
|
+
# is little reason to update an exising one.
|
145
|
+
#
|
146
|
+
# @param parameters [ProjectTask] Information about the task
|
147
|
+
# @param group_name [String] Name of the resource group
|
148
|
+
# @param service_name [String] Name of the service
|
149
|
+
# @param project_name [String] Name of the project
|
150
|
+
# @param task_name [String] Name of the Task
|
151
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
152
|
+
# will be added to the HTTP request.
|
153
|
+
#
|
154
|
+
# @return [ProjectTask] operation results.
|
155
|
+
#
|
156
|
+
def create_or_update(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
157
|
+
response = create_or_update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
158
|
+
response.body unless response.nil?
|
159
|
+
end
|
160
|
+
|
161
|
+
#
|
162
|
+
# Create or update task
|
163
|
+
#
|
164
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
165
|
+
# performed by a DMS instance. The PUT method creates a new task or updates an
|
166
|
+
# existing one, although since tasks have no mutable custom properties, there
|
167
|
+
# is little reason to update an exising one.
|
168
|
+
#
|
169
|
+
# @param parameters [ProjectTask] Information about the task
|
170
|
+
# @param group_name [String] Name of the resource group
|
171
|
+
# @param service_name [String] Name of the service
|
172
|
+
# @param project_name [String] Name of the project
|
173
|
+
# @param task_name [String] Name of the Task
|
174
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
175
|
+
# will be added to the HTTP request.
|
176
|
+
#
|
177
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
178
|
+
#
|
179
|
+
def create_or_update_with_http_info(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
180
|
+
create_or_update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
181
|
+
end
|
182
|
+
|
183
|
+
#
|
184
|
+
# Create or update task
|
185
|
+
#
|
186
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
187
|
+
# performed by a DMS instance. The PUT method creates a new task or updates an
|
188
|
+
# existing one, although since tasks have no mutable custom properties, there
|
189
|
+
# is little reason to update an exising one.
|
190
|
+
#
|
191
|
+
# @param parameters [ProjectTask] Information about the task
|
192
|
+
# @param group_name [String] Name of the resource group
|
193
|
+
# @param service_name [String] Name of the service
|
194
|
+
# @param project_name [String] Name of the project
|
195
|
+
# @param task_name [String] Name of the Task
|
196
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
197
|
+
# to the HTTP request.
|
198
|
+
#
|
199
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
200
|
+
#
|
201
|
+
def create_or_update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
202
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
203
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
204
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
205
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
206
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
207
|
+
fail ArgumentError, 'task_name is nil' if task_name.nil?
|
208
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
209
|
+
|
210
|
+
|
211
|
+
request_headers = {}
|
212
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
213
|
+
|
214
|
+
# Set Headers
|
215
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
216
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
217
|
+
|
218
|
+
# Serialize Request
|
219
|
+
request_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
220
|
+
request_content = @client.serialize(request_mapper, parameters)
|
221
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
222
|
+
|
223
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'
|
224
|
+
|
225
|
+
request_url = @base_url || @client.base_url
|
226
|
+
|
227
|
+
options = {
|
228
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
229
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'taskName' => task_name},
|
230
|
+
query_params: {'api-version' => @client.api_version},
|
231
|
+
body: request_content,
|
232
|
+
headers: request_headers.merge(custom_headers || {}),
|
233
|
+
base_url: request_url
|
234
|
+
}
|
235
|
+
promise = @client.make_request_async(:put, path_template, options)
|
236
|
+
|
237
|
+
promise = promise.then do |result|
|
238
|
+
http_response = result.response
|
239
|
+
status_code = http_response.status
|
240
|
+
response_content = http_response.body
|
241
|
+
unless status_code == 200 || status_code == 201
|
242
|
+
error_model = JSON.load(response_content)
|
243
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
244
|
+
end
|
245
|
+
|
246
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
247
|
+
# Deserialize Response
|
248
|
+
if status_code == 200
|
249
|
+
begin
|
250
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
251
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
252
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
253
|
+
rescue Exception => e
|
254
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
# Deserialize Response
|
258
|
+
if status_code == 201
|
259
|
+
begin
|
260
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
261
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
262
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
263
|
+
rescue Exception => e
|
264
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
result
|
269
|
+
end
|
270
|
+
|
271
|
+
promise.execute
|
272
|
+
end
|
273
|
+
|
274
|
+
#
|
275
|
+
# Get task information
|
276
|
+
#
|
277
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
278
|
+
# performed by a DMS instance. The GET method retrieves information about a
|
279
|
+
# task.
|
280
|
+
#
|
281
|
+
# @param group_name [String] Name of the resource group
|
282
|
+
# @param service_name [String] Name of the service
|
283
|
+
# @param project_name [String] Name of the project
|
284
|
+
# @param task_name [String] Name of the Task
|
285
|
+
# @param expand [String] Expand the response
|
286
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
287
|
+
# will be added to the HTTP request.
|
288
|
+
#
|
289
|
+
# @return [ProjectTask] operation results.
|
290
|
+
#
|
291
|
+
def get(group_name, service_name, project_name, task_name, expand:nil, custom_headers:nil)
|
292
|
+
response = get_async(group_name, service_name, project_name, task_name, expand:expand, custom_headers:custom_headers).value!
|
293
|
+
response.body unless response.nil?
|
294
|
+
end
|
295
|
+
|
296
|
+
#
|
297
|
+
# Get task information
|
298
|
+
#
|
299
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
300
|
+
# performed by a DMS instance. The GET method retrieves information about a
|
301
|
+
# task.
|
302
|
+
#
|
303
|
+
# @param group_name [String] Name of the resource group
|
304
|
+
# @param service_name [String] Name of the service
|
305
|
+
# @param project_name [String] Name of the project
|
306
|
+
# @param task_name [String] Name of the Task
|
307
|
+
# @param expand [String] Expand the response
|
308
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
309
|
+
# will be added to the HTTP request.
|
310
|
+
#
|
311
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
312
|
+
#
|
313
|
+
def get_with_http_info(group_name, service_name, project_name, task_name, expand:nil, custom_headers:nil)
|
314
|
+
get_async(group_name, service_name, project_name, task_name, expand:expand, custom_headers:custom_headers).value!
|
315
|
+
end
|
316
|
+
|
317
|
+
#
|
318
|
+
# Get task information
|
319
|
+
#
|
320
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
321
|
+
# performed by a DMS instance. The GET method retrieves information about a
|
322
|
+
# task.
|
323
|
+
#
|
324
|
+
# @param group_name [String] Name of the resource group
|
325
|
+
# @param service_name [String] Name of the service
|
326
|
+
# @param project_name [String] Name of the project
|
327
|
+
# @param task_name [String] Name of the Task
|
328
|
+
# @param expand [String] Expand the response
|
329
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
330
|
+
# to the HTTP request.
|
331
|
+
#
|
332
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
333
|
+
#
|
334
|
+
def get_async(group_name, service_name, project_name, task_name, expand:nil, custom_headers:nil)
|
335
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
336
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
337
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
338
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
339
|
+
fail ArgumentError, 'task_name is nil' if task_name.nil?
|
340
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
341
|
+
|
342
|
+
|
343
|
+
request_headers = {}
|
344
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
345
|
+
|
346
|
+
# Set Headers
|
347
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
348
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
349
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'
|
350
|
+
|
351
|
+
request_url = @base_url || @client.base_url
|
352
|
+
|
353
|
+
options = {
|
354
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
355
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'taskName' => task_name},
|
356
|
+
query_params: {'$expand' => expand,'api-version' => @client.api_version},
|
357
|
+
headers: request_headers.merge(custom_headers || {}),
|
358
|
+
base_url: request_url
|
359
|
+
}
|
360
|
+
promise = @client.make_request_async(:get, path_template, options)
|
361
|
+
|
362
|
+
promise = promise.then do |result|
|
363
|
+
http_response = result.response
|
364
|
+
status_code = http_response.status
|
365
|
+
response_content = http_response.body
|
366
|
+
unless status_code == 200
|
367
|
+
error_model = JSON.load(response_content)
|
368
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
369
|
+
end
|
370
|
+
|
371
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
372
|
+
# Deserialize Response
|
373
|
+
if status_code == 200
|
374
|
+
begin
|
375
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
376
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
377
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
378
|
+
rescue Exception => e
|
379
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
383
|
+
result
|
384
|
+
end
|
385
|
+
|
386
|
+
promise.execute
|
387
|
+
end
|
388
|
+
|
389
|
+
#
|
390
|
+
# Delete task
|
391
|
+
#
|
392
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
393
|
+
# performed by a DMS instance. The DELETE method deletes a task, canceling it
|
394
|
+
# first if it's running.
|
395
|
+
#
|
396
|
+
# @param group_name [String] Name of the resource group
|
397
|
+
# @param service_name [String] Name of the service
|
398
|
+
# @param project_name [String] Name of the project
|
399
|
+
# @param task_name [String] Name of the Task
|
400
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
401
|
+
# running tasks
|
402
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
403
|
+
# will be added to the HTTP request.
|
404
|
+
#
|
405
|
+
#
|
406
|
+
def delete(group_name, service_name, project_name, task_name, delete_running_tasks:nil, custom_headers:nil)
|
407
|
+
response = delete_async(group_name, service_name, project_name, task_name, delete_running_tasks:delete_running_tasks, custom_headers:custom_headers).value!
|
408
|
+
nil
|
409
|
+
end
|
410
|
+
|
411
|
+
#
|
412
|
+
# Delete task
|
413
|
+
#
|
414
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
415
|
+
# performed by a DMS instance. The DELETE method deletes a task, canceling it
|
416
|
+
# first if it's running.
|
417
|
+
#
|
418
|
+
# @param group_name [String] Name of the resource group
|
419
|
+
# @param service_name [String] Name of the service
|
420
|
+
# @param project_name [String] Name of the project
|
421
|
+
# @param task_name [String] Name of the Task
|
422
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
423
|
+
# running tasks
|
424
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
425
|
+
# will be added to the HTTP request.
|
426
|
+
#
|
427
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
428
|
+
#
|
429
|
+
def delete_with_http_info(group_name, service_name, project_name, task_name, delete_running_tasks:nil, custom_headers:nil)
|
430
|
+
delete_async(group_name, service_name, project_name, task_name, delete_running_tasks:delete_running_tasks, custom_headers:custom_headers).value!
|
431
|
+
end
|
432
|
+
|
433
|
+
#
|
434
|
+
# Delete task
|
435
|
+
#
|
436
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
437
|
+
# performed by a DMS instance. The DELETE method deletes a task, canceling it
|
438
|
+
# first if it's running.
|
439
|
+
#
|
440
|
+
# @param group_name [String] Name of the resource group
|
441
|
+
# @param service_name [String] Name of the service
|
442
|
+
# @param project_name [String] Name of the project
|
443
|
+
# @param task_name [String] Name of the Task
|
444
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
445
|
+
# running tasks
|
446
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
447
|
+
# to the HTTP request.
|
448
|
+
#
|
449
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
450
|
+
#
|
451
|
+
def delete_async(group_name, service_name, project_name, task_name, delete_running_tasks:nil, custom_headers:nil)
|
452
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
453
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
454
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
455
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
456
|
+
fail ArgumentError, 'task_name is nil' if task_name.nil?
|
457
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
458
|
+
|
459
|
+
|
460
|
+
request_headers = {}
|
461
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
462
|
+
|
463
|
+
# Set Headers
|
464
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
465
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
466
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'
|
467
|
+
|
468
|
+
request_url = @base_url || @client.base_url
|
469
|
+
|
470
|
+
options = {
|
471
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
472
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'taskName' => task_name},
|
473
|
+
query_params: {'deleteRunningTasks' => delete_running_tasks,'api-version' => @client.api_version},
|
474
|
+
headers: request_headers.merge(custom_headers || {}),
|
475
|
+
base_url: request_url
|
476
|
+
}
|
477
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
478
|
+
|
479
|
+
promise = promise.then do |result|
|
480
|
+
http_response = result.response
|
481
|
+
status_code = http_response.status
|
482
|
+
response_content = http_response.body
|
483
|
+
unless status_code == 200 || status_code == 204
|
484
|
+
error_model = JSON.load(response_content)
|
485
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
486
|
+
end
|
487
|
+
|
488
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
489
|
+
|
490
|
+
result
|
491
|
+
end
|
492
|
+
|
493
|
+
promise.execute
|
494
|
+
end
|
495
|
+
|
496
|
+
#
|
497
|
+
# Create or update task
|
498
|
+
#
|
499
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
500
|
+
# performed by a DMS instance. The PATCH method updates an existing task, but
|
501
|
+
# since tasks have no mutable custom properties, there is little reason to do
|
502
|
+
# so.
|
503
|
+
#
|
504
|
+
# @param parameters [ProjectTask] Information about the task
|
505
|
+
# @param group_name [String] Name of the resource group
|
506
|
+
# @param service_name [String] Name of the service
|
507
|
+
# @param project_name [String] Name of the project
|
508
|
+
# @param task_name [String] Name of the Task
|
509
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
510
|
+
# will be added to the HTTP request.
|
511
|
+
#
|
512
|
+
# @return [ProjectTask] operation results.
|
513
|
+
#
|
514
|
+
def update(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
515
|
+
response = update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
516
|
+
response.body unless response.nil?
|
517
|
+
end
|
518
|
+
|
519
|
+
#
|
520
|
+
# Create or update task
|
521
|
+
#
|
522
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
523
|
+
# performed by a DMS instance. The PATCH method updates an existing task, but
|
524
|
+
# since tasks have no mutable custom properties, there is little reason to do
|
525
|
+
# so.
|
526
|
+
#
|
527
|
+
# @param parameters [ProjectTask] Information about the task
|
528
|
+
# @param group_name [String] Name of the resource group
|
529
|
+
# @param service_name [String] Name of the service
|
530
|
+
# @param project_name [String] Name of the project
|
531
|
+
# @param task_name [String] Name of the Task
|
532
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
533
|
+
# will be added to the HTTP request.
|
534
|
+
#
|
535
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
536
|
+
#
|
537
|
+
def update_with_http_info(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
538
|
+
update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
539
|
+
end
|
540
|
+
|
541
|
+
#
|
542
|
+
# Create or update task
|
543
|
+
#
|
544
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
545
|
+
# performed by a DMS instance. The PATCH method updates an existing task, but
|
546
|
+
# since tasks have no mutable custom properties, there is little reason to do
|
547
|
+
# so.
|
548
|
+
#
|
549
|
+
# @param parameters [ProjectTask] Information about the task
|
550
|
+
# @param group_name [String] Name of the resource group
|
551
|
+
# @param service_name [String] Name of the service
|
552
|
+
# @param project_name [String] Name of the project
|
553
|
+
# @param task_name [String] Name of the Task
|
554
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
555
|
+
# to the HTTP request.
|
556
|
+
#
|
557
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
558
|
+
#
|
559
|
+
def update_async(parameters, group_name, service_name, project_name, task_name, custom_headers:nil)
|
560
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
561
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
562
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
563
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
564
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
565
|
+
fail ArgumentError, 'task_name is nil' if task_name.nil?
|
566
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
567
|
+
|
568
|
+
|
569
|
+
request_headers = {}
|
570
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
571
|
+
|
572
|
+
# Set Headers
|
573
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
574
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
575
|
+
|
576
|
+
# Serialize Request
|
577
|
+
request_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
578
|
+
request_content = @client.serialize(request_mapper, parameters)
|
579
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
580
|
+
|
581
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}'
|
582
|
+
|
583
|
+
request_url = @base_url || @client.base_url
|
584
|
+
|
585
|
+
options = {
|
586
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
587
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'taskName' => task_name},
|
588
|
+
query_params: {'api-version' => @client.api_version},
|
589
|
+
body: request_content,
|
590
|
+
headers: request_headers.merge(custom_headers || {}),
|
591
|
+
base_url: request_url
|
592
|
+
}
|
593
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
594
|
+
|
595
|
+
promise = promise.then do |result|
|
596
|
+
http_response = result.response
|
597
|
+
status_code = http_response.status
|
598
|
+
response_content = http_response.body
|
599
|
+
unless status_code == 200
|
600
|
+
error_model = JSON.load(response_content)
|
601
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
602
|
+
end
|
603
|
+
|
604
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
605
|
+
# Deserialize Response
|
606
|
+
if status_code == 200
|
607
|
+
begin
|
608
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
609
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
610
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
611
|
+
rescue Exception => e
|
612
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
613
|
+
end
|
614
|
+
end
|
615
|
+
|
616
|
+
result
|
617
|
+
end
|
618
|
+
|
619
|
+
promise.execute
|
620
|
+
end
|
621
|
+
|
622
|
+
#
|
623
|
+
# Cancel a task
|
624
|
+
#
|
625
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
626
|
+
# performed by a DMS instance. This method cancels a task if it's currently
|
627
|
+
# queued or running.
|
628
|
+
#
|
629
|
+
# @param group_name [String] Name of the resource group
|
630
|
+
# @param service_name [String] Name of the service
|
631
|
+
# @param project_name [String] Name of the project
|
632
|
+
# @param task_name [String] Name of the Task
|
633
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
634
|
+
# will be added to the HTTP request.
|
635
|
+
#
|
636
|
+
# @return [ProjectTask] operation results.
|
637
|
+
#
|
638
|
+
def cancel(group_name, service_name, project_name, task_name, custom_headers:nil)
|
639
|
+
response = cancel_async(group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
640
|
+
response.body unless response.nil?
|
641
|
+
end
|
642
|
+
|
643
|
+
#
|
644
|
+
# Cancel a task
|
645
|
+
#
|
646
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
647
|
+
# performed by a DMS instance. This method cancels a task if it's currently
|
648
|
+
# queued or running.
|
649
|
+
#
|
650
|
+
# @param group_name [String] Name of the resource group
|
651
|
+
# @param service_name [String] Name of the service
|
652
|
+
# @param project_name [String] Name of the project
|
653
|
+
# @param task_name [String] Name of the Task
|
654
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
655
|
+
# will be added to the HTTP request.
|
656
|
+
#
|
657
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
658
|
+
#
|
659
|
+
def cancel_with_http_info(group_name, service_name, project_name, task_name, custom_headers:nil)
|
660
|
+
cancel_async(group_name, service_name, project_name, task_name, custom_headers:custom_headers).value!
|
661
|
+
end
|
662
|
+
|
663
|
+
#
|
664
|
+
# Cancel a task
|
665
|
+
#
|
666
|
+
# The tasks resource is a nested, proxy-only resource representing work
|
667
|
+
# performed by a DMS instance. This method cancels a task if it's currently
|
668
|
+
# queued or running.
|
669
|
+
#
|
670
|
+
# @param group_name [String] Name of the resource group
|
671
|
+
# @param service_name [String] Name of the service
|
672
|
+
# @param project_name [String] Name of the project
|
673
|
+
# @param task_name [String] Name of the Task
|
674
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
675
|
+
# to the HTTP request.
|
676
|
+
#
|
677
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
678
|
+
#
|
679
|
+
def cancel_async(group_name, service_name, project_name, task_name, custom_headers:nil)
|
680
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
681
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
682
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
683
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
684
|
+
fail ArgumentError, 'task_name is nil' if task_name.nil?
|
685
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
686
|
+
|
687
|
+
|
688
|
+
request_headers = {}
|
689
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
690
|
+
|
691
|
+
# Set Headers
|
692
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
693
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
694
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel'
|
695
|
+
|
696
|
+
request_url = @base_url || @client.base_url
|
697
|
+
|
698
|
+
options = {
|
699
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
700
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name,'taskName' => task_name},
|
701
|
+
query_params: {'api-version' => @client.api_version},
|
702
|
+
headers: request_headers.merge(custom_headers || {}),
|
703
|
+
base_url: request_url
|
704
|
+
}
|
705
|
+
promise = @client.make_request_async(:post, path_template, options)
|
706
|
+
|
707
|
+
promise = promise.then do |result|
|
708
|
+
http_response = result.response
|
709
|
+
status_code = http_response.status
|
710
|
+
response_content = http_response.body
|
711
|
+
unless status_code == 200
|
712
|
+
error_model = JSON.load(response_content)
|
713
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
714
|
+
end
|
715
|
+
|
716
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
717
|
+
# Deserialize Response
|
718
|
+
if status_code == 200
|
719
|
+
begin
|
720
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
721
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::ProjectTask.mapper()
|
722
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
723
|
+
rescue Exception => e
|
724
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
result
|
729
|
+
end
|
730
|
+
|
731
|
+
promise.execute
|
732
|
+
end
|
733
|
+
|
734
|
+
#
|
735
|
+
# Get tasks in a service
|
736
|
+
#
|
737
|
+
# The services resource is the top-level resource that represents the Data
|
738
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
739
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
740
|
+
# error occurred while querying the status of that task.
|
741
|
+
#
|
742
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
743
|
+
# to List operation.
|
744
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
745
|
+
# will be added to the HTTP request.
|
746
|
+
#
|
747
|
+
# @return [TaskList] operation results.
|
748
|
+
#
|
749
|
+
def list_next(next_page_link, custom_headers:nil)
|
750
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
751
|
+
response.body unless response.nil?
|
752
|
+
end
|
753
|
+
|
754
|
+
#
|
755
|
+
# Get tasks in a service
|
756
|
+
#
|
757
|
+
# The services resource is the top-level resource that represents the Data
|
758
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
759
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
760
|
+
# error occurred while querying the status of that task.
|
761
|
+
#
|
762
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
763
|
+
# to List operation.
|
764
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
765
|
+
# will be added to the HTTP request.
|
766
|
+
#
|
767
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
768
|
+
#
|
769
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
770
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
771
|
+
end
|
772
|
+
|
773
|
+
#
|
774
|
+
# Get tasks in a service
|
775
|
+
#
|
776
|
+
# The services resource is the top-level resource that represents the Data
|
777
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
778
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
779
|
+
# error occurred while querying the status of that task.
|
780
|
+
#
|
781
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
782
|
+
# to List operation.
|
783
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
784
|
+
# to the HTTP request.
|
785
|
+
#
|
786
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
787
|
+
#
|
788
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
789
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
790
|
+
|
791
|
+
|
792
|
+
request_headers = {}
|
793
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
794
|
+
|
795
|
+
# Set Headers
|
796
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
797
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
798
|
+
path_template = '{nextLink}'
|
799
|
+
|
800
|
+
request_url = @base_url || @client.base_url
|
801
|
+
|
802
|
+
options = {
|
803
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
804
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
805
|
+
headers: request_headers.merge(custom_headers || {}),
|
806
|
+
base_url: request_url
|
807
|
+
}
|
808
|
+
promise = @client.make_request_async(:get, path_template, options)
|
809
|
+
|
810
|
+
promise = promise.then do |result|
|
811
|
+
http_response = result.response
|
812
|
+
status_code = http_response.status
|
813
|
+
response_content = http_response.body
|
814
|
+
unless status_code == 200
|
815
|
+
error_model = JSON.load(response_content)
|
816
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
817
|
+
end
|
818
|
+
|
819
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
820
|
+
# Deserialize Response
|
821
|
+
if status_code == 200
|
822
|
+
begin
|
823
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
824
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_15_preview::Models::TaskList.mapper()
|
825
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
826
|
+
rescue Exception => e
|
827
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
result
|
832
|
+
end
|
833
|
+
|
834
|
+
promise.execute
|
835
|
+
end
|
836
|
+
|
837
|
+
#
|
838
|
+
# Get tasks in a service
|
839
|
+
#
|
840
|
+
# The services resource is the top-level resource that represents the Data
|
841
|
+
# Migration Service. This method returns a list of tasks owned by a service
|
842
|
+
# resource. Some tasks may have a status of Unknown, which indicates that an
|
843
|
+
# error occurred while querying the status of that task.
|
844
|
+
#
|
845
|
+
# @param group_name [String] Name of the resource group
|
846
|
+
# @param service_name [String] Name of the service
|
847
|
+
# @param project_name [String] Name of the project
|
848
|
+
# @param task_type [String] Filter tasks by task type
|
849
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
850
|
+
# will be added to the HTTP request.
|
851
|
+
#
|
852
|
+
# @return [TaskList] which provide lazy access to pages of the response.
|
853
|
+
#
|
854
|
+
def list_as_lazy(group_name, service_name, project_name, task_type:nil, custom_headers:nil)
|
855
|
+
response = list_async(group_name, service_name, project_name, task_type:task_type, custom_headers:custom_headers).value!
|
856
|
+
unless response.nil?
|
857
|
+
page = response.body
|
858
|
+
page.next_method = Proc.new do |next_page_link|
|
859
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
860
|
+
end
|
861
|
+
page
|
862
|
+
end
|
863
|
+
end
|
864
|
+
|
865
|
+
end
|
866
|
+
end
|