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,694 @@
|
|
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
|
+
# Data Migration Client
|
9
|
+
#
|
10
|
+
class Projects
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the Projects 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 projects in a service
|
26
|
+
#
|
27
|
+
# The project resource is a nested resource representing a stored migration
|
28
|
+
# project. This method returns a list of projects owned by a service resource.
|
29
|
+
#
|
30
|
+
# @param group_name [String] Name of the resource group
|
31
|
+
# @param service_name [String] Name of the service
|
32
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
33
|
+
# will be added to the HTTP request.
|
34
|
+
#
|
35
|
+
# @return [Array<Project>] operation results.
|
36
|
+
#
|
37
|
+
def list_by_resource_group(group_name, service_name, custom_headers:nil)
|
38
|
+
first_page = list_by_resource_group_as_lazy(group_name, service_name, custom_headers:custom_headers)
|
39
|
+
first_page.get_all_items
|
40
|
+
end
|
41
|
+
|
42
|
+
#
|
43
|
+
# Get projects in a service
|
44
|
+
#
|
45
|
+
# The project resource is a nested resource representing a stored migration
|
46
|
+
# project. This method returns a list of projects owned by a service resource.
|
47
|
+
#
|
48
|
+
# @param group_name [String] Name of the resource group
|
49
|
+
# @param service_name [String] Name of the service
|
50
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
51
|
+
# will be added to the HTTP request.
|
52
|
+
#
|
53
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
54
|
+
#
|
55
|
+
def list_by_resource_group_with_http_info(group_name, service_name, custom_headers:nil)
|
56
|
+
list_by_resource_group_async(group_name, service_name, custom_headers:custom_headers).value!
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Get projects in a service
|
61
|
+
#
|
62
|
+
# The project resource is a nested resource representing a stored migration
|
63
|
+
# project. This method returns a list of projects owned by a service resource.
|
64
|
+
#
|
65
|
+
# @param group_name [String] Name of the resource group
|
66
|
+
# @param service_name [String] Name of the service
|
67
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
68
|
+
# to the HTTP request.
|
69
|
+
#
|
70
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
71
|
+
#
|
72
|
+
def list_by_resource_group_async(group_name, service_name, custom_headers:nil)
|
73
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
74
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
75
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
|
+
|
78
|
+
|
79
|
+
request_headers = {}
|
80
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
81
|
+
|
82
|
+
# Set Headers
|
83
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
84
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
85
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects'
|
86
|
+
|
87
|
+
request_url = @base_url || @client.base_url
|
88
|
+
|
89
|
+
options = {
|
90
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
91
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name},
|
92
|
+
query_params: {'api-version' => @client.api_version},
|
93
|
+
headers: request_headers.merge(custom_headers || {}),
|
94
|
+
base_url: request_url
|
95
|
+
}
|
96
|
+
promise = @client.make_request_async(:get, path_template, options)
|
97
|
+
|
98
|
+
promise = promise.then do |result|
|
99
|
+
http_response = result.response
|
100
|
+
status_code = http_response.status
|
101
|
+
response_content = http_response.body
|
102
|
+
unless status_code == 200
|
103
|
+
error_model = JSON.load(response_content)
|
104
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
105
|
+
end
|
106
|
+
|
107
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
108
|
+
# Deserialize Response
|
109
|
+
if status_code == 200
|
110
|
+
begin
|
111
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
112
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectList.mapper()
|
113
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
114
|
+
rescue Exception => e
|
115
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
result
|
120
|
+
end
|
121
|
+
|
122
|
+
promise.execute
|
123
|
+
end
|
124
|
+
|
125
|
+
#
|
126
|
+
# Create or update project
|
127
|
+
#
|
128
|
+
# The project resource is a nested resource representing a stored migration
|
129
|
+
# project. The PUT method creates a new project or updates an existing one.
|
130
|
+
#
|
131
|
+
# @param parameters [Project] Information about the project
|
132
|
+
# @param group_name [String] Name of the resource group
|
133
|
+
# @param service_name [String] Name of the service
|
134
|
+
# @param project_name [String] Name of the project
|
135
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
136
|
+
# will be added to the HTTP request.
|
137
|
+
#
|
138
|
+
# @return [Project] operation results.
|
139
|
+
#
|
140
|
+
def create_or_update(parameters, group_name, service_name, project_name, custom_headers:nil)
|
141
|
+
response = create_or_update_async(parameters, group_name, service_name, project_name, custom_headers:custom_headers).value!
|
142
|
+
response.body unless response.nil?
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Create or update project
|
147
|
+
#
|
148
|
+
# The project resource is a nested resource representing a stored migration
|
149
|
+
# project. The PUT method creates a new project or updates an existing one.
|
150
|
+
#
|
151
|
+
# @param parameters [Project] Information about the project
|
152
|
+
# @param group_name [String] Name of the resource group
|
153
|
+
# @param service_name [String] Name of the service
|
154
|
+
# @param project_name [String] Name of the project
|
155
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
156
|
+
# will be added to the HTTP request.
|
157
|
+
#
|
158
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
159
|
+
#
|
160
|
+
def create_or_update_with_http_info(parameters, group_name, service_name, project_name, custom_headers:nil)
|
161
|
+
create_or_update_async(parameters, group_name, service_name, project_name, custom_headers:custom_headers).value!
|
162
|
+
end
|
163
|
+
|
164
|
+
#
|
165
|
+
# Create or update project
|
166
|
+
#
|
167
|
+
# The project resource is a nested resource representing a stored migration
|
168
|
+
# project. The PUT method creates a new project or updates an existing one.
|
169
|
+
#
|
170
|
+
# @param parameters [Project] Information about the project
|
171
|
+
# @param group_name [String] Name of the resource group
|
172
|
+
# @param service_name [String] Name of the service
|
173
|
+
# @param project_name [String] Name of the project
|
174
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
175
|
+
# to the HTTP request.
|
176
|
+
#
|
177
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
178
|
+
#
|
179
|
+
def create_or_update_async(parameters, group_name, service_name, project_name, custom_headers:nil)
|
180
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
181
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
182
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
183
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
184
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
185
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
186
|
+
|
187
|
+
|
188
|
+
request_headers = {}
|
189
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
190
|
+
|
191
|
+
# Set Headers
|
192
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
193
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
194
|
+
|
195
|
+
# Serialize Request
|
196
|
+
request_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
197
|
+
request_content = @client.serialize(request_mapper, parameters)
|
198
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
199
|
+
|
200
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'
|
201
|
+
|
202
|
+
request_url = @base_url || @client.base_url
|
203
|
+
|
204
|
+
options = {
|
205
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
206
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
|
207
|
+
query_params: {'api-version' => @client.api_version},
|
208
|
+
body: request_content,
|
209
|
+
headers: request_headers.merge(custom_headers || {}),
|
210
|
+
base_url: request_url
|
211
|
+
}
|
212
|
+
promise = @client.make_request_async(:put, path_template, options)
|
213
|
+
|
214
|
+
promise = promise.then do |result|
|
215
|
+
http_response = result.response
|
216
|
+
status_code = http_response.status
|
217
|
+
response_content = http_response.body
|
218
|
+
unless status_code == 200 || status_code == 201
|
219
|
+
error_model = JSON.load(response_content)
|
220
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
221
|
+
end
|
222
|
+
|
223
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
224
|
+
# Deserialize Response
|
225
|
+
if status_code == 200
|
226
|
+
begin
|
227
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
228
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
229
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
230
|
+
rescue Exception => e
|
231
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
232
|
+
end
|
233
|
+
end
|
234
|
+
# Deserialize Response
|
235
|
+
if status_code == 201
|
236
|
+
begin
|
237
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
238
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
239
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
240
|
+
rescue Exception => e
|
241
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
242
|
+
end
|
243
|
+
end
|
244
|
+
|
245
|
+
result
|
246
|
+
end
|
247
|
+
|
248
|
+
promise.execute
|
249
|
+
end
|
250
|
+
|
251
|
+
#
|
252
|
+
# Get project information
|
253
|
+
#
|
254
|
+
# The project resource is a nested resource representing a stored migration
|
255
|
+
# project. The GET method retrieves information about a project.
|
256
|
+
#
|
257
|
+
# @param group_name [String] Name of the resource group
|
258
|
+
# @param service_name [String] Name of the service
|
259
|
+
# @param project_name [String] Name of the project
|
260
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
261
|
+
# will be added to the HTTP request.
|
262
|
+
#
|
263
|
+
# @return [Project] operation results.
|
264
|
+
#
|
265
|
+
def get(group_name, service_name, project_name, custom_headers:nil)
|
266
|
+
response = get_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
|
267
|
+
response.body unless response.nil?
|
268
|
+
end
|
269
|
+
|
270
|
+
#
|
271
|
+
# Get project information
|
272
|
+
#
|
273
|
+
# The project resource is a nested resource representing a stored migration
|
274
|
+
# project. The GET method retrieves information about a project.
|
275
|
+
#
|
276
|
+
# @param group_name [String] Name of the resource group
|
277
|
+
# @param service_name [String] Name of the service
|
278
|
+
# @param project_name [String] Name of the project
|
279
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
280
|
+
# will be added to the HTTP request.
|
281
|
+
#
|
282
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
283
|
+
#
|
284
|
+
def get_with_http_info(group_name, service_name, project_name, custom_headers:nil)
|
285
|
+
get_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
|
286
|
+
end
|
287
|
+
|
288
|
+
#
|
289
|
+
# Get project information
|
290
|
+
#
|
291
|
+
# The project resource is a nested resource representing a stored migration
|
292
|
+
# project. The GET method retrieves information about a project.
|
293
|
+
#
|
294
|
+
# @param group_name [String] Name of the resource group
|
295
|
+
# @param service_name [String] Name of the service
|
296
|
+
# @param project_name [String] Name of the project
|
297
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
298
|
+
# to the HTTP request.
|
299
|
+
#
|
300
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
301
|
+
#
|
302
|
+
def get_async(group_name, service_name, project_name, custom_headers:nil)
|
303
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
304
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
305
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
306
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
307
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
308
|
+
|
309
|
+
|
310
|
+
request_headers = {}
|
311
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
312
|
+
|
313
|
+
# Set Headers
|
314
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
315
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
316
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'
|
317
|
+
|
318
|
+
request_url = @base_url || @client.base_url
|
319
|
+
|
320
|
+
options = {
|
321
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
322
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
|
323
|
+
query_params: {'api-version' => @client.api_version},
|
324
|
+
headers: request_headers.merge(custom_headers || {}),
|
325
|
+
base_url: request_url
|
326
|
+
}
|
327
|
+
promise = @client.make_request_async(:get, path_template, options)
|
328
|
+
|
329
|
+
promise = promise.then do |result|
|
330
|
+
http_response = result.response
|
331
|
+
status_code = http_response.status
|
332
|
+
response_content = http_response.body
|
333
|
+
unless status_code == 200
|
334
|
+
error_model = JSON.load(response_content)
|
335
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
336
|
+
end
|
337
|
+
|
338
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
339
|
+
# Deserialize Response
|
340
|
+
if status_code == 200
|
341
|
+
begin
|
342
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
343
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
344
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
345
|
+
rescue Exception => e
|
346
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
result
|
351
|
+
end
|
352
|
+
|
353
|
+
promise.execute
|
354
|
+
end
|
355
|
+
|
356
|
+
#
|
357
|
+
# Delete project
|
358
|
+
#
|
359
|
+
# The project resource is a nested resource representing a stored migration
|
360
|
+
# project. The DELETE method deletes a project.
|
361
|
+
#
|
362
|
+
# @param group_name [String] Name of the resource group
|
363
|
+
# @param service_name [String] Name of the service
|
364
|
+
# @param project_name [String] Name of the project
|
365
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
366
|
+
# running tasks
|
367
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
368
|
+
# will be added to the HTTP request.
|
369
|
+
#
|
370
|
+
#
|
371
|
+
def delete(group_name, service_name, project_name, delete_running_tasks:nil, custom_headers:nil)
|
372
|
+
response = delete_async(group_name, service_name, project_name, delete_running_tasks:delete_running_tasks, custom_headers:custom_headers).value!
|
373
|
+
nil
|
374
|
+
end
|
375
|
+
|
376
|
+
#
|
377
|
+
# Delete project
|
378
|
+
#
|
379
|
+
# The project resource is a nested resource representing a stored migration
|
380
|
+
# project. The DELETE method deletes a project.
|
381
|
+
#
|
382
|
+
# @param group_name [String] Name of the resource group
|
383
|
+
# @param service_name [String] Name of the service
|
384
|
+
# @param project_name [String] Name of the project
|
385
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
386
|
+
# running tasks
|
387
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
388
|
+
# will be added to the HTTP request.
|
389
|
+
#
|
390
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
391
|
+
#
|
392
|
+
def delete_with_http_info(group_name, service_name, project_name, delete_running_tasks:nil, custom_headers:nil)
|
393
|
+
delete_async(group_name, service_name, project_name, delete_running_tasks:delete_running_tasks, custom_headers:custom_headers).value!
|
394
|
+
end
|
395
|
+
|
396
|
+
#
|
397
|
+
# Delete project
|
398
|
+
#
|
399
|
+
# The project resource is a nested resource representing a stored migration
|
400
|
+
# project. The DELETE method deletes a project.
|
401
|
+
#
|
402
|
+
# @param group_name [String] Name of the resource group
|
403
|
+
# @param service_name [String] Name of the service
|
404
|
+
# @param project_name [String] Name of the project
|
405
|
+
# @param delete_running_tasks [Boolean] Delete the resource even if it contains
|
406
|
+
# running tasks
|
407
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
408
|
+
# to the HTTP request.
|
409
|
+
#
|
410
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
411
|
+
#
|
412
|
+
def delete_async(group_name, service_name, project_name, delete_running_tasks:nil, custom_headers:nil)
|
413
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
414
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
415
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
416
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
417
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
418
|
+
|
419
|
+
|
420
|
+
request_headers = {}
|
421
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
422
|
+
|
423
|
+
# Set Headers
|
424
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
425
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
426
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'
|
427
|
+
|
428
|
+
request_url = @base_url || @client.base_url
|
429
|
+
|
430
|
+
options = {
|
431
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
432
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
|
433
|
+
query_params: {'deleteRunningTasks' => delete_running_tasks,'api-version' => @client.api_version},
|
434
|
+
headers: request_headers.merge(custom_headers || {}),
|
435
|
+
base_url: request_url
|
436
|
+
}
|
437
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
438
|
+
|
439
|
+
promise = promise.then do |result|
|
440
|
+
http_response = result.response
|
441
|
+
status_code = http_response.status
|
442
|
+
response_content = http_response.body
|
443
|
+
unless status_code == 200 || status_code == 204
|
444
|
+
error_model = JSON.load(response_content)
|
445
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
446
|
+
end
|
447
|
+
|
448
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
449
|
+
|
450
|
+
result
|
451
|
+
end
|
452
|
+
|
453
|
+
promise.execute
|
454
|
+
end
|
455
|
+
|
456
|
+
#
|
457
|
+
# Update project
|
458
|
+
#
|
459
|
+
# The project resource is a nested resource representing a stored migration
|
460
|
+
# project. The PATCH method updates an existing project.
|
461
|
+
#
|
462
|
+
# @param parameters [Project] Information about the project
|
463
|
+
# @param group_name [String] Name of the resource group
|
464
|
+
# @param service_name [String] Name of the service
|
465
|
+
# @param project_name [String] Name of the project
|
466
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
467
|
+
# will be added to the HTTP request.
|
468
|
+
#
|
469
|
+
# @return [Project] operation results.
|
470
|
+
#
|
471
|
+
def update(parameters, group_name, service_name, project_name, custom_headers:nil)
|
472
|
+
response = update_async(parameters, group_name, service_name, project_name, custom_headers:custom_headers).value!
|
473
|
+
response.body unless response.nil?
|
474
|
+
end
|
475
|
+
|
476
|
+
#
|
477
|
+
# Update project
|
478
|
+
#
|
479
|
+
# The project resource is a nested resource representing a stored migration
|
480
|
+
# project. The PATCH method updates an existing project.
|
481
|
+
#
|
482
|
+
# @param parameters [Project] Information about the project
|
483
|
+
# @param group_name [String] Name of the resource group
|
484
|
+
# @param service_name [String] Name of the service
|
485
|
+
# @param project_name [String] Name of the project
|
486
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
487
|
+
# will be added to the HTTP request.
|
488
|
+
#
|
489
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
490
|
+
#
|
491
|
+
def update_with_http_info(parameters, group_name, service_name, project_name, custom_headers:nil)
|
492
|
+
update_async(parameters, group_name, service_name, project_name, custom_headers:custom_headers).value!
|
493
|
+
end
|
494
|
+
|
495
|
+
#
|
496
|
+
# Update project
|
497
|
+
#
|
498
|
+
# The project resource is a nested resource representing a stored migration
|
499
|
+
# project. The PATCH method updates an existing project.
|
500
|
+
#
|
501
|
+
# @param parameters [Project] Information about the project
|
502
|
+
# @param group_name [String] Name of the resource group
|
503
|
+
# @param service_name [String] Name of the service
|
504
|
+
# @param project_name [String] Name of the project
|
505
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
506
|
+
# to the HTTP request.
|
507
|
+
#
|
508
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
509
|
+
#
|
510
|
+
def update_async(parameters, group_name, service_name, project_name, custom_headers:nil)
|
511
|
+
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
512
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
513
|
+
fail ArgumentError, 'group_name is nil' if group_name.nil?
|
514
|
+
fail ArgumentError, 'service_name is nil' if service_name.nil?
|
515
|
+
fail ArgumentError, 'project_name is nil' if project_name.nil?
|
516
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
517
|
+
|
518
|
+
|
519
|
+
request_headers = {}
|
520
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
521
|
+
|
522
|
+
# Set Headers
|
523
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
524
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
525
|
+
|
526
|
+
# Serialize Request
|
527
|
+
request_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
528
|
+
request_content = @client.serialize(request_mapper, parameters)
|
529
|
+
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
|
530
|
+
|
531
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}'
|
532
|
+
|
533
|
+
request_url = @base_url || @client.base_url
|
534
|
+
|
535
|
+
options = {
|
536
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
537
|
+
path_params: {'subscriptionId' => @client.subscription_id,'groupName' => group_name,'serviceName' => service_name,'projectName' => project_name},
|
538
|
+
query_params: {'api-version' => @client.api_version},
|
539
|
+
body: request_content,
|
540
|
+
headers: request_headers.merge(custom_headers || {}),
|
541
|
+
base_url: request_url
|
542
|
+
}
|
543
|
+
promise = @client.make_request_async(:patch, path_template, options)
|
544
|
+
|
545
|
+
promise = promise.then do |result|
|
546
|
+
http_response = result.response
|
547
|
+
status_code = http_response.status
|
548
|
+
response_content = http_response.body
|
549
|
+
unless status_code == 200
|
550
|
+
error_model = JSON.load(response_content)
|
551
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
552
|
+
end
|
553
|
+
|
554
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
555
|
+
# Deserialize Response
|
556
|
+
if status_code == 200
|
557
|
+
begin
|
558
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
559
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::Project.mapper()
|
560
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
561
|
+
rescue Exception => e
|
562
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
result
|
567
|
+
end
|
568
|
+
|
569
|
+
promise.execute
|
570
|
+
end
|
571
|
+
|
572
|
+
#
|
573
|
+
# Get projects in a service
|
574
|
+
#
|
575
|
+
# The project resource is a nested resource representing a stored migration
|
576
|
+
# project. This method returns a list of projects owned by a service resource.
|
577
|
+
#
|
578
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
579
|
+
# to List operation.
|
580
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
581
|
+
# will be added to the HTTP request.
|
582
|
+
#
|
583
|
+
# @return [ProjectList] operation results.
|
584
|
+
#
|
585
|
+
def list_by_resource_group_next(next_page_link, custom_headers:nil)
|
586
|
+
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
587
|
+
response.body unless response.nil?
|
588
|
+
end
|
589
|
+
|
590
|
+
#
|
591
|
+
# Get projects in a service
|
592
|
+
#
|
593
|
+
# The project resource is a nested resource representing a stored migration
|
594
|
+
# project. This method returns a list of projects owned by a service resource.
|
595
|
+
#
|
596
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
597
|
+
# to List operation.
|
598
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
599
|
+
# will be added to the HTTP request.
|
600
|
+
#
|
601
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
602
|
+
#
|
603
|
+
def list_by_resource_group_next_with_http_info(next_page_link, custom_headers:nil)
|
604
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
|
605
|
+
end
|
606
|
+
|
607
|
+
#
|
608
|
+
# Get projects in a service
|
609
|
+
#
|
610
|
+
# The project resource is a nested resource representing a stored migration
|
611
|
+
# project. This method returns a list of projects owned by a service resource.
|
612
|
+
#
|
613
|
+
# @param next_page_link [String] The NextLink from the previous successful call
|
614
|
+
# to List operation.
|
615
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
616
|
+
# to the HTTP request.
|
617
|
+
#
|
618
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
619
|
+
#
|
620
|
+
def list_by_resource_group_next_async(next_page_link, custom_headers:nil)
|
621
|
+
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
622
|
+
|
623
|
+
|
624
|
+
request_headers = {}
|
625
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
626
|
+
|
627
|
+
# Set Headers
|
628
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
629
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
630
|
+
path_template = '{nextLink}'
|
631
|
+
|
632
|
+
request_url = @base_url || @client.base_url
|
633
|
+
|
634
|
+
options = {
|
635
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
636
|
+
skip_encoding_path_params: {'nextLink' => next_page_link},
|
637
|
+
headers: request_headers.merge(custom_headers || {}),
|
638
|
+
base_url: request_url
|
639
|
+
}
|
640
|
+
promise = @client.make_request_async(:get, path_template, options)
|
641
|
+
|
642
|
+
promise = promise.then do |result|
|
643
|
+
http_response = result.response
|
644
|
+
status_code = http_response.status
|
645
|
+
response_content = http_response.body
|
646
|
+
unless status_code == 200
|
647
|
+
error_model = JSON.load(response_content)
|
648
|
+
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
|
649
|
+
end
|
650
|
+
|
651
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
652
|
+
# Deserialize Response
|
653
|
+
if status_code == 200
|
654
|
+
begin
|
655
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
656
|
+
result_mapper = Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectList.mapper()
|
657
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
658
|
+
rescue Exception => e
|
659
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
660
|
+
end
|
661
|
+
end
|
662
|
+
|
663
|
+
result
|
664
|
+
end
|
665
|
+
|
666
|
+
promise.execute
|
667
|
+
end
|
668
|
+
|
669
|
+
#
|
670
|
+
# Get projects in a service
|
671
|
+
#
|
672
|
+
# The project resource is a nested resource representing a stored migration
|
673
|
+
# project. This method returns a list of projects owned by a service resource.
|
674
|
+
#
|
675
|
+
# @param group_name [String] Name of the resource group
|
676
|
+
# @param service_name [String] Name of the service
|
677
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
678
|
+
# will be added to the HTTP request.
|
679
|
+
#
|
680
|
+
# @return [ProjectList] which provide lazy access to pages of the response.
|
681
|
+
#
|
682
|
+
def list_by_resource_group_as_lazy(group_name, service_name, custom_headers:nil)
|
683
|
+
response = list_by_resource_group_async(group_name, service_name, custom_headers:custom_headers).value!
|
684
|
+
unless response.nil?
|
685
|
+
page = response.body
|
686
|
+
page.next_method = Proc.new do |next_page_link|
|
687
|
+
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
|
688
|
+
end
|
689
|
+
page
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
693
|
+
end
|
694
|
+
end
|