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,242 @@
|
|
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_31_preview
|
7
|
+
#
|
8
|
+
# Data Migration Client
|
9
|
+
#
|
10
|
+
class Usages
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Usages 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 resource quotas and usage information
|
26
|
+
#
|
27
|
+
# This method returns region-specific quotas and resource usage information for
|
28
|
+
# the Data Migration Service.
|
29
|
+
#
|
30
|
+
# @param location [String] The Azure region of the operation
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [Array<Quota>] operation results.
|
35
|
+
#
|
36
|
+
def list(location, custom_headers:nil)
|
37
|
+
first_page = list_as_lazy(location, custom_headers:custom_headers)
|
38
|
+
first_page.get_all_items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Get resource quotas and usage information
|
43
|
+
#
|
44
|
+
# This method returns region-specific quotas and resource usage information for
|
45
|
+
# the Data Migration Service.
|
46
|
+
#
|
47
|
+
# @param location [String] The Azure region of the operation
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def list_with_http_info(location, custom_headers:nil)
|
54
|
+
list_async(location, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Get resource quotas and usage information
|
59
|
+
#
|
60
|
+
# This method returns region-specific quotas and resource usage information for
|
61
|
+
# the Data Migration Service.
|
62
|
+
#
|
63
|
+
# @param location [String] The Azure region of the operation
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def list_async(location, custom_headers:nil)
|
70
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
|
+
fail ArgumentError, 'location is nil' if location.nil?
|
72
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
73
|
+
|
74
|
+
|
75
|
+
request_headers = {}
|
76
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
77
|
+
|
78
|
+
# Set Headers
|
79
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
80
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
81
|
+
path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages'
|
82
|
+
|
83
|
+
request_url = @base_url || @client.base_url
|
84
|
+
|
85
|
+
options = {
|
86
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
87
|
+
path_params: {'subscriptionId' => @client.subscription_id,'location' => location},
|
88
|
+
query_params: {'api-version' => @client.api_version},
|
89
|
+
headers: request_headers.merge(custom_headers || {}),
|
90
|
+
base_url: request_url
|
91
|
+
}
|
92
|
+
promise = @client.make_request_async(:get, path_template, options)
|
93
|
+
|
94
|
+
promise = promise.then do |result|
|
95
|
+
http_response = result.response
|
96
|
+
status_code = http_response.status
|
97
|
+
response_content = http_response.body
|
98
|
+
unless status_code == 200
|
99
|
+
error_model = JSON.load(response_content)
|
100
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
101
|
+
end
|
102
|
+
|
103
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
104
|
+
# Deserialize Response
|
105
|
+
if status_code == 200
|
106
|
+
begin
|
107
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
108
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_31_preview::Models::QuotaList.mapper()
|
109
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
110
|
+
rescue Exception => e
|
111
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
result
|
116
|
+
end
|
117
|
+
|
118
|
+
promise.execute
|
119
|
+
end
|
120
|
+
|
121
|
+
#
|
122
|
+
# Get resource quotas and usage information
|
123
|
+
#
|
124
|
+
# This method returns region-specific quotas and resource usage information for
|
125
|
+
# the Data Migration Service.
|
126
|
+
#
|
127
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
128
|
+
# to List operation.
|
129
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
130
|
+
# will be added to the HTTP request.
|
131
|
+
#
|
132
|
+
# @return [QuotaList] operation results.
|
133
|
+
#
|
134
|
+
def list_next(next_page_link, custom_headers:nil)
|
135
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
136
|
+
response.body unless response.nil?
|
137
|
+
end
|
138
|
+
|
139
|
+
#
|
140
|
+
# Get resource quotas and usage information
|
141
|
+
#
|
142
|
+
# This method returns region-specific quotas and resource usage information for
|
143
|
+
# the Data Migration Service.
|
144
|
+
#
|
145
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
146
|
+
# to List operation.
|
147
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
148
|
+
# will be added to the HTTP request.
|
149
|
+
#
|
150
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
151
|
+
#
|
152
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
153
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
154
|
+
end
|
155
|
+
|
156
|
+
#
|
157
|
+
# Get resource quotas and usage information
|
158
|
+
#
|
159
|
+
# This method returns region-specific quotas and resource usage information for
|
160
|
+
# the Data Migration Service.
|
161
|
+
#
|
162
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
163
|
+
# to List operation.
|
164
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
165
|
+
# to the HTTP request.
|
166
|
+
#
|
167
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
168
|
+
#
|
169
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
170
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
171
|
+
|
172
|
+
|
173
|
+
request_headers = {}
|
174
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
175
|
+
|
176
|
+
# Set Headers
|
177
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
178
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
179
|
+
path_template = '{nextLink}'
|
180
|
+
|
181
|
+
request_url = @base_url || @client.base_url
|
182
|
+
|
183
|
+
options = {
|
184
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
185
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
186
|
+
headers: request_headers.merge(custom_headers || {}),
|
187
|
+
base_url: request_url
|
188
|
+
}
|
189
|
+
promise = @client.make_request_async(:get, path_template, options)
|
190
|
+
|
191
|
+
promise = promise.then do |result|
|
192
|
+
http_response = result.response
|
193
|
+
status_code = http_response.status
|
194
|
+
response_content = http_response.body
|
195
|
+
unless status_code == 200
|
196
|
+
error_model = JSON.load(response_content)
|
197
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
198
|
+
end
|
199
|
+
|
200
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
201
|
+
# Deserialize Response
|
202
|
+
if status_code == 200
|
203
|
+
begin
|
204
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
205
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_03_31_preview::Models::QuotaList.mapper()
|
206
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
207
|
+
rescue Exception => e
|
208
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
result
|
213
|
+
end
|
214
|
+
|
215
|
+
promise.execute
|
216
|
+
end
|
217
|
+
|
218
|
+
#
|
219
|
+
# Get resource quotas and usage information
|
220
|
+
#
|
221
|
+
# This method returns region-specific quotas and resource usage information for
|
222
|
+
# the Data Migration Service.
|
223
|
+
#
|
224
|
+
# @param location [String] The Azure region of the operation
|
225
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
226
|
+
# will be added to the HTTP request.
|
227
|
+
#
|
228
|
+
# @return [QuotaList] which provide lazy access to pages of the response.
|
229
|
+
#
|
230
|
+
def list_as_lazy(location, custom_headers:nil)
|
231
|
+
response = list_async(location, custom_headers:custom_headers).value!
|
232
|
+
unless response.nil?
|
233
|
+
page = response.body
|
234
|
+
page.next_method = Proc.new do |next_page_link|
|
235
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
236
|
+
end
|
237
|
+
page
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
end
|
242
|
+
end
|
@@ -0,0 +1,143 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2018-04-19/generated/azure_mgmt_data_migration/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::DataMigration::Mgmt::V2018_04_19
|
23
|
+
autoload :ResourceSkus, '2018-04-19/generated/azure_mgmt_data_migration/resource_skus.rb'
|
24
|
+
autoload :Services, '2018-04-19/generated/azure_mgmt_data_migration/services.rb'
|
25
|
+
autoload :Tasks, '2018-04-19/generated/azure_mgmt_data_migration/tasks.rb'
|
26
|
+
autoload :Projects, '2018-04-19/generated/azure_mgmt_data_migration/projects.rb'
|
27
|
+
autoload :Usages, '2018-04-19/generated/azure_mgmt_data_migration/usages.rb'
|
28
|
+
autoload :Operations, '2018-04-19/generated/azure_mgmt_data_migration/operations.rb'
|
29
|
+
autoload :DataMigrationServiceClient, '2018-04-19/generated/azure_mgmt_data_migration/data_migration_service_client.rb'
|
30
|
+
|
31
|
+
module Models
|
32
|
+
autoload :DatabaseFileInfo, '2018-04-19/generated/azure_mgmt_data_migration/models/database_file_info.rb'
|
33
|
+
autoload :GetUserTablesSqlTaskInput, '2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_input.rb'
|
34
|
+
autoload :ResourceSkuCapabilities, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capabilities.rb'
|
35
|
+
autoload :ODataError, '2018-04-19/generated/azure_mgmt_data_migration/models/odata_error.rb'
|
36
|
+
autoload :ConnectToTargetSqlDbTaskOutput, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_output.rb'
|
37
|
+
autoload :WaitStatistics, '2018-04-19/generated/azure_mgmt_data_migration/models/wait_statistics.rb'
|
38
|
+
autoload :ConnectToTargetSqlDbTaskInput, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_input.rb'
|
39
|
+
autoload :QueryExecutionResult, '2018-04-19/generated/azure_mgmt_data_migration/models/query_execution_result.rb'
|
40
|
+
autoload :ResourceSkuRestrictions, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions.rb'
|
41
|
+
autoload :SchemaComparisonValidationResultType, '2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result_type.rb'
|
42
|
+
autoload :MigrationEligibilityInfo, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_eligibility_info.rb'
|
43
|
+
autoload :DataIntegrityValidationResult, '2018-04-19/generated/azure_mgmt_data_migration/models/data_integrity_validation_result.rb'
|
44
|
+
autoload :DataMigrationServiceStatusResponse, '2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_status_response.rb'
|
45
|
+
autoload :MigrationValidationDatabaseSummaryResult, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_database_summary_result.rb'
|
46
|
+
autoload :ServiceSkuList, '2018-04-19/generated/azure_mgmt_data_migration/models/service_sku_list.rb'
|
47
|
+
autoload :ReportableException, '2018-04-19/generated/azure_mgmt_data_migration/models/reportable_exception.rb'
|
48
|
+
autoload :AvailableServiceSku, '2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb'
|
49
|
+
autoload :MigrationTableMetadata, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_table_metadata.rb'
|
50
|
+
autoload :AvailableServiceSkuCapacity, '2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb'
|
51
|
+
autoload :DatabaseObjectName, '2018-04-19/generated/azure_mgmt_data_migration/models/database_object_name.rb'
|
52
|
+
autoload :Database, '2018-04-19/generated/azure_mgmt_data_migration/models/database.rb'
|
53
|
+
autoload :ConnectToSourceSqlServerTaskOutput, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output.rb'
|
54
|
+
autoload :MigrateSqlServerSqlDbTaskOutput, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output.rb'
|
55
|
+
autoload :ConnectToSourceSqlServerTaskInput, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_input.rb'
|
56
|
+
autoload :ResourceSku, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku.rb'
|
57
|
+
autoload :StartMigrationScenarioServerRoleResult, '2018-04-19/generated/azure_mgmt_data_migration/models/start_migration_scenario_server_role_result.rb'
|
58
|
+
autoload :MigrationValidationOptions, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_validation_options.rb'
|
59
|
+
autoload :ProjectTaskProperties, '2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb'
|
60
|
+
autoload :ResourceSkuCapacity, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity.rb'
|
61
|
+
autoload :BlobShare, '2018-04-19/generated/azure_mgmt_data_migration/models/blob_share.rb'
|
62
|
+
autoload :DatabaseTable, '2018-04-19/generated/azure_mgmt_data_migration/models/database_table.rb'
|
63
|
+
autoload :ServiceSku, '2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb'
|
64
|
+
autoload :Resource, '2018-04-19/generated/azure_mgmt_data_migration/models/resource.rb'
|
65
|
+
autoload :MigrateSqlServerSqlServerDatabaseInput, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_server_database_input.rb'
|
66
|
+
autoload :ExecutionStatistics, '2018-04-19/generated/azure_mgmt_data_migration/models/execution_statistics.rb'
|
67
|
+
autoload :NameAvailabilityRequest, '2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_request.rb'
|
68
|
+
autoload :SchemaComparisonValidationResult, '2018-04-19/generated/azure_mgmt_data_migration/models/schema_comparison_validation_result.rb'
|
69
|
+
autoload :DatabaseInfo, '2018-04-19/generated/azure_mgmt_data_migration/models/database_info.rb'
|
70
|
+
autoload :DataMigrationError, '2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_error.rb'
|
71
|
+
autoload :DatabaseFileInput, '2018-04-19/generated/azure_mgmt_data_migration/models/database_file_input.rb'
|
72
|
+
autoload :DataItemMigrationSummaryResult, '2018-04-19/generated/azure_mgmt_data_migration/models/data_item_migration_summary_result.rb'
|
73
|
+
autoload :ApiError, '2018-04-19/generated/azure_mgmt_data_migration/models/api_error.rb'
|
74
|
+
autoload :ResourceSkusResult, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_skus_result.rb'
|
75
|
+
autoload :ServiceOperationDisplay, '2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_display.rb'
|
76
|
+
autoload :SqlMigrationTaskInput, '2018-04-19/generated/azure_mgmt_data_migration/models/sql_migration_task_input.rb'
|
77
|
+
autoload :ServiceOperation, '2018-04-19/generated/azure_mgmt_data_migration/models/service_operation.rb'
|
78
|
+
autoload :ResourceSkuCosts, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_costs.rb'
|
79
|
+
autoload :ServiceOperationList, '2018-04-19/generated/azure_mgmt_data_migration/models/service_operation_list.rb'
|
80
|
+
autoload :ValidationError, '2018-04-19/generated/azure_mgmt_data_migration/models/validation_error.rb'
|
81
|
+
autoload :QuotaName, '2018-04-19/generated/azure_mgmt_data_migration/models/quota_name.rb'
|
82
|
+
autoload :FileShare, '2018-04-19/generated/azure_mgmt_data_migration/models/file_share.rb'
|
83
|
+
autoload :Quota, '2018-04-19/generated/azure_mgmt_data_migration/models/quota.rb'
|
84
|
+
autoload :MigrationReportResult, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_report_result.rb'
|
85
|
+
autoload :QuotaList, '2018-04-19/generated/azure_mgmt_data_migration/models/quota_list.rb'
|
86
|
+
autoload :MigrateSqlServerSqlDbDatabaseInput, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_database_input.rb'
|
87
|
+
autoload :NameAvailabilityResponse, '2018-04-19/generated/azure_mgmt_data_migration/models/name_availability_response.rb'
|
88
|
+
autoload :QueryAnalysisValidationResult, '2018-04-19/generated/azure_mgmt_data_migration/models/query_analysis_validation_result.rb'
|
89
|
+
autoload :ProjectList, '2018-04-19/generated/azure_mgmt_data_migration/models/project_list.rb'
|
90
|
+
autoload :ConnectionInfo, '2018-04-19/generated/azure_mgmt_data_migration/models/connection_info.rb'
|
91
|
+
autoload :DataMigrationServiceList, '2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service_list.rb'
|
92
|
+
autoload :DataMigrationProjectMetadata, '2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_project_metadata.rb'
|
93
|
+
autoload :TaskList, '2018-04-19/generated/azure_mgmt_data_migration/models/task_list.rb'
|
94
|
+
autoload :GetUserTablesSqlTaskOutput, '2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_output.rb'
|
95
|
+
autoload :AvailableServiceSkuSku, '2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku_sku.rb'
|
96
|
+
autoload :TrackedResource, '2018-04-19/generated/azure_mgmt_data_migration/models/tracked_resource.rb'
|
97
|
+
autoload :MigrateSqlServerSqlDbTaskOutputDatabaseLevelValidationResult, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level_validation_result.rb'
|
98
|
+
autoload :MigrateSqlServerSqlDbTaskOutputValidationResult, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_validation_result.rb'
|
99
|
+
autoload :MigrateSqlServerSqlDbTaskOutputError, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_error.rb'
|
100
|
+
autoload :MigrateSqlServerSqlDbTaskOutputTableLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_table_level.rb'
|
101
|
+
autoload :MigrateSqlServerSqlDbTaskOutputDatabaseLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_database_level.rb'
|
102
|
+
autoload :DatabaseSummaryResult, '2018-04-19/generated/azure_mgmt_data_migration/models/database_summary_result.rb'
|
103
|
+
autoload :MigrateSqlServerSqlDbTaskOutputMigrationLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_output_migration_level.rb'
|
104
|
+
autoload :SqlConnectionInfo, '2018-04-19/generated/azure_mgmt_data_migration/models/sql_connection_info.rb'
|
105
|
+
autoload :MigrateSqlServerSqlDbTaskInput, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_input.rb'
|
106
|
+
autoload :MigrateSqlServerSqlDbTaskProperties, '2018-04-19/generated/azure_mgmt_data_migration/models/migrate_sql_server_sql_db_task_properties.rb'
|
107
|
+
autoload :GetUserTablesSqlTaskProperties, '2018-04-19/generated/azure_mgmt_data_migration/models/get_user_tables_sql_task_properties.rb'
|
108
|
+
autoload :ConnectToTargetSqlDbTaskProperties, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_sql_db_task_properties.rb'
|
109
|
+
autoload :ConnectToSourceSqlServerTaskOutputAgentJobLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_agent_job_level.rb'
|
110
|
+
autoload :ConnectToSourceSqlServerTaskOutputLoginLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_login_level.rb'
|
111
|
+
autoload :ConnectToSourceSqlServerTaskOutputDatabaseLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_database_level.rb'
|
112
|
+
autoload :ConnectToSourceSqlServerTaskOutputTaskLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_output_task_level.rb'
|
113
|
+
autoload :ConnectToSourceSqlServerTaskProperties, '2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_source_sql_server_task_properties.rb'
|
114
|
+
autoload :ProjectTask, '2018-04-19/generated/azure_mgmt_data_migration/models/project_task.rb'
|
115
|
+
autoload :DataMigrationService, '2018-04-19/generated/azure_mgmt_data_migration/models/data_migration_service.rb'
|
116
|
+
autoload :Project, '2018-04-19/generated/azure_mgmt_data_migration/models/project.rb'
|
117
|
+
autoload :ValidationStatus, '2018-04-19/generated/azure_mgmt_data_migration/models/validation_status.rb'
|
118
|
+
autoload :Severity, '2018-04-19/generated/azure_mgmt_data_migration/models/severity.rb'
|
119
|
+
autoload :UpdateActionType, '2018-04-19/generated/azure_mgmt_data_migration/models/update_action_type.rb'
|
120
|
+
autoload :ObjectType, '2018-04-19/generated/azure_mgmt_data_migration/models/object_type.rb'
|
121
|
+
autoload :MigrationState, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_state.rb'
|
122
|
+
autoload :DatabaseMigrationStage, '2018-04-19/generated/azure_mgmt_data_migration/models/database_migration_stage.rb'
|
123
|
+
autoload :MigrationStatus, '2018-04-19/generated/azure_mgmt_data_migration/models/migration_status.rb'
|
124
|
+
autoload :AuthenticationType, '2018-04-19/generated/azure_mgmt_data_migration/models/authentication_type.rb'
|
125
|
+
autoload :LoginType, '2018-04-19/generated/azure_mgmt_data_migration/models/login_type.rb'
|
126
|
+
autoload :DatabaseState, '2018-04-19/generated/azure_mgmt_data_migration/models/database_state.rb'
|
127
|
+
autoload :DatabaseCompatLevel, '2018-04-19/generated/azure_mgmt_data_migration/models/database_compat_level.rb'
|
128
|
+
autoload :DatabaseFileType, '2018-04-19/generated/azure_mgmt_data_migration/models/database_file_type.rb'
|
129
|
+
autoload :ServerLevelPermissionsGroup, '2018-04-19/generated/azure_mgmt_data_migration/models/server_level_permissions_group.rb'
|
130
|
+
autoload :TaskState, '2018-04-19/generated/azure_mgmt_data_migration/models/task_state.rb'
|
131
|
+
autoload :ServiceProvisioningState, '2018-04-19/generated/azure_mgmt_data_migration/models/service_provisioning_state.rb'
|
132
|
+
autoload :ProjectTargetPlatform, '2018-04-19/generated/azure_mgmt_data_migration/models/project_target_platform.rb'
|
133
|
+
autoload :ProjectSourcePlatform, '2018-04-19/generated/azure_mgmt_data_migration/models/project_source_platform.rb'
|
134
|
+
autoload :ProjectProvisioningState, '2018-04-19/generated/azure_mgmt_data_migration/models/project_provisioning_state.rb'
|
135
|
+
autoload :NameCheckFailureReason, '2018-04-19/generated/azure_mgmt_data_migration/models/name_check_failure_reason.rb'
|
136
|
+
autoload :ServiceScalability, '2018-04-19/generated/azure_mgmt_data_migration/models/service_scalability.rb'
|
137
|
+
autoload :ResourceSkuRestrictionsType, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_type.rb'
|
138
|
+
autoload :ResourceSkuRestrictionsReasonCode, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_restrictions_reason_code.rb'
|
139
|
+
autoload :ResourceSkuCapacityScaleType, '2018-04-19/generated/azure_mgmt_data_migration/models/resource_sku_capacity_scale_type.rb'
|
140
|
+
autoload :ErrorType, '2018-04-19/generated/azure_mgmt_data_migration/models/error_type.rb'
|
141
|
+
autoload :LoginMigrationStage, '2018-04-19/generated/azure_mgmt_data_migration/models/login_migration_stage.rb'
|
142
|
+
end
|
143
|
+
end
|
@@ -0,0 +1,151 @@
|
|
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_04_19
|
7
|
+
#
|
8
|
+
# A service client - single point of access to the REST API.
|
9
|
+
#
|
10
|
+
class DataMigrationServiceClient < MsRestAzure::AzureServiceClient
|
11
|
+
include MsRestAzure
|
12
|
+
include MsRestAzure::Serialization
|
13
|
+
|
14
|
+
# @return [String] the base URI of the service.
|
15
|
+
attr_accessor :base_url
|
16
|
+
|
17
|
+
# @return Credentials needed for the client to connect to Azure.
|
18
|
+
attr_reader :credentials
|
19
|
+
|
20
|
+
# @return [String] Version of the API
|
21
|
+
attr_reader :api_version
|
22
|
+
|
23
|
+
# @return [String] Identifier of the subscription
|
24
|
+
attr_accessor :subscription_id
|
25
|
+
|
26
|
+
# @return [String] The preferred language for the response.
|
27
|
+
attr_accessor :accept_language
|
28
|
+
|
29
|
+
# @return [Integer] The retry timeout in seconds for Long Running
|
30
|
+
# Operations. Default value is 30.
|
31
|
+
attr_accessor :long_running_operation_retry_timeout
|
32
|
+
|
33
|
+
# @return [Boolean] Whether a unique x-ms-client-request-id should be
|
34
|
+
# generated. When set to true a unique x-ms-client-request-id value is
|
35
|
+
# generated and included in each request. Default is true.
|
36
|
+
attr_accessor :generate_client_request_id
|
37
|
+
|
38
|
+
# @return [ResourceSkus] resource_skus
|
39
|
+
attr_reader :resource_skus
|
40
|
+
|
41
|
+
# @return [Services] services
|
42
|
+
attr_reader :services
|
43
|
+
|
44
|
+
# @return [Tasks] tasks
|
45
|
+
attr_reader :tasks
|
46
|
+
|
47
|
+
# @return [Projects] projects
|
48
|
+
attr_reader :projects
|
49
|
+
|
50
|
+
# @return [Usages] usages
|
51
|
+
attr_reader :usages
|
52
|
+
|
53
|
+
# @return [Operations] operations
|
54
|
+
attr_reader :operations
|
55
|
+
|
56
|
+
#
|
57
|
+
# Creates initializes a new instance of the DataMigrationServiceClient class.
|
58
|
+
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
|
59
|
+
# @param base_url [String] the base URI of the service.
|
60
|
+
# @param options [Array] filters to be applied to the HTTP requests.
|
61
|
+
#
|
62
|
+
def initialize(credentials = nil, base_url = nil, options = nil)
|
63
|
+
super(credentials, options)
|
64
|
+
@base_url = base_url || 'https://management.azure.com'
|
65
|
+
|
66
|
+
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
|
67
|
+
@credentials = credentials
|
68
|
+
|
69
|
+
@resource_skus = ResourceSkus.new(self)
|
70
|
+
@services = Services.new(self)
|
71
|
+
@tasks = Tasks.new(self)
|
72
|
+
@projects = Projects.new(self)
|
73
|
+
@usages = Usages.new(self)
|
74
|
+
@operations = Operations.new(self)
|
75
|
+
@api_version = '2018-04-19'
|
76
|
+
@accept_language = 'en-US'
|
77
|
+
@long_running_operation_retry_timeout = 30
|
78
|
+
@generate_client_request_id = true
|
79
|
+
add_telemetry
|
80
|
+
end
|
81
|
+
|
82
|
+
#
|
83
|
+
# Makes a request and returns the body of the response.
|
84
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
85
|
+
# @param path [String] the path, relative to {base_url}.
|
86
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
87
|
+
# @return [Hash{String=>String}] containing the body of the response.
|
88
|
+
# Example:
|
89
|
+
#
|
90
|
+
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
|
91
|
+
# path = "/path"
|
92
|
+
# options = {
|
93
|
+
# body: request_content,
|
94
|
+
# query_params: {'api-version' => '2016-02-01'}
|
95
|
+
# }
|
96
|
+
# result = @client.make_request(:put, path, options)
|
97
|
+
#
|
98
|
+
def make_request(method, path, options = {})
|
99
|
+
result = make_request_with_http_info(method, path, options)
|
100
|
+
result.body unless result.nil?
|
101
|
+
end
|
102
|
+
|
103
|
+
#
|
104
|
+
# Makes a request and returns the operation response.
|
105
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
106
|
+
# @param path [String] the path, relative to {base_url}.
|
107
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
108
|
+
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
|
109
|
+
#
|
110
|
+
def make_request_with_http_info(method, path, options = {})
|
111
|
+
result = make_request_async(method, path, options).value!
|
112
|
+
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
|
113
|
+
result
|
114
|
+
end
|
115
|
+
|
116
|
+
#
|
117
|
+
# Makes a request asynchronously.
|
118
|
+
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
|
119
|
+
# @param path [String] the path, relative to {base_url}.
|
120
|
+
# @param options [Hash{String=>String}] specifying any request options like :body.
|
121
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
122
|
+
#
|
123
|
+
def make_request_async(method, path, options = {})
|
124
|
+
fail ArgumentError, 'method is nil' if method.nil?
|
125
|
+
fail ArgumentError, 'path is nil' if path.nil?
|
126
|
+
|
127
|
+
request_url = options[:base_url] || @base_url
|
128
|
+
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
|
129
|
+
@request_headers['Content-Type'] = options[:headers]['Content-Type']
|
130
|
+
end
|
131
|
+
|
132
|
+
request_headers = @request_headers
|
133
|
+
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
|
134
|
+
options.merge!({headers: request_headers.merge(options[:headers] || {})})
|
135
|
+
options.merge!({credentials: @credentials}) unless @credentials.nil?
|
136
|
+
|
137
|
+
super(request_url, method, path, options)
|
138
|
+
end
|
139
|
+
|
140
|
+
|
141
|
+
private
|
142
|
+
#
|
143
|
+
# Adds telemetry information.
|
144
|
+
#
|
145
|
+
def add_telemetry
|
146
|
+
sdk_information = 'azure_mgmt_data_migration'
|
147
|
+
sdk_information = "#{sdk_information}/0.17.0"
|
148
|
+
add_user_agent_information(sdk_information)
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|