diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ef58cd39725..31256669c91 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -25,6 +25,7 @@ /src/azure-cli/azure/cli/command_modules/container/ @zhoxing-ms @fengzhou-msft /src/azure-cli/azure/cli/command_modules/consumption/ @sandeepnl /src/azure-cli/azure/cli/command_modules/dls/ @akharit @rahuldutta90 @Juliehzl @jsntcy +/src/azure-cli/azure/cli/command_modules/dms/ @temandr @binuj /src/azure-cli/azure/cli/command_modules/extension/ @fengzhou-msft @msyyc /src/azure-cli/azure/cli/command_modules/keyvault/ @fengzhou-msft @yungezz @houk-ms /src/azure-cli/azure/cli/command_modules/monitor/ @msyyc @jsntcy @kairu-ms diff --git a/src/azure-cli/azure/cli/command_modules/dms/_help.py b/src/azure-cli/azure/cli/command_modules/dms/_help.py index d088da9bd38..fa6f948ed31 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/_help.py +++ b/src/azure-cli/azure/cli/command_modules/dms/_help.py @@ -19,7 +19,7 @@ - name: --name -n type: string short-summary: > - The Service name to check. + The service name to check. examples: - name: Check if a given DMS instance name is available in a given region as well as the name's validity. (autogenerated) text: az dms check-name --location westus2 --name MyService @@ -42,7 +42,7 @@ - name: --sku-name type: string short-summary: > - The name of the CPU SKU on which the service's Virtual Machine will run. Check the name and the availability of SKUs in your area with "az dms list-skus". + The name of the CPU SKU on which the service's virtual machine will run. Check the name and the availability of SKUs in your area with "az dms list-skus". - name: --subnet type: string short-summary: > @@ -87,199 +87,321 @@ helps['dms project'] = """ type: group -short-summary: Manage Projects for an instance of the Data Migration Service. +short-summary: Manage projects for an instance of the Data Migration Service. """ helps['dms project check-name'] = """ type: command -short-summary: Check if a given Project name is available within a given instance of DMS as well as the name's validity. +short-summary: Check if a given project name is available within a given instance of DMS as well as the name's validity. parameters: - name: --name -n type: string short-summary: > - The Project name to check. + The project name to check. """ helps['dms project create'] = """ type: command -short-summary: Create a migration Project which can contain multiple Tasks. +short-summary: Create a migration project which can contain multiple tasks. +long-summary: | + The following project configurations are supported: + -) source -> target + 1) SQL -> SQLDB + 2) MySQL -> AzureDbForMySQL + 3) PostgreSQL -> AzureDbForPostgreSQL + parameters: - name: --source-platform type: string short-summary: > - The type of server for the source database. The supported types are: SQL. + The type of server for the source database. The supported types are: SQL, MySQL, PostgreSQL. - name: --target-platform type: string short-summary: > - The type of service for the target database. The supported types are: SQLDB. + The type of service for the target database. The supported types are: SQLDB, AzureDbForMySQL, AzureDbForPostgreSQL. examples: - - name: Create a Project for a DMS instance. + - name: Create a SQL to SQLDB project for a DMS instance. + text: > + az dms project create -l westus -n sqlproject -g myresourcegroup --service-name mydms --source-platform SQL --target-platform SQLDB --tags tagName1=tagValue1 tagWithNoValue + - name: Create a MySQL to AzureDbForMySql project for a DMS instance. + text: > + az dms project create -l westus -n mysqlproject -g myresourcegroup --service-name mydms --source-platform MySQL --target-platform AzureDbForMySQL --tags tagName1=tagValue1 tagWithNoValue + - name: Create a PostgreSql to AzureDbForPostgreSql project for a DMS instance. text: > - az dms project create -l westus -n myproject -g myresourcegroup --service-name mydms --source-platform SQL --target-platform SQLDB --tags tagName1=tagValue1 tagWithNoValue + az dms project create -l westus -n pgproject -g myresourcegroup --service-name mydms --source-platform PostgreSQL --target-platform AzureDbForPostgreSQL --tags tagName1=tagValue1 tagWithNoValue """ helps['dms project delete'] = """ type: command -short-summary: Delete a Project. +short-summary: Delete a project. parameters: - name: --delete-running-tasks type: bool short-summary: > - Cancel any running tasks before deleting the Project. + Cancel any running tasks before deleting the project. examples: - - name: Delete a Project. (autogenerated) + - name: Delete a project. (autogenerated) text: az dms project delete --name MyProject --resource-group MyResourceGroup --service-name MyService crafted: true """ helps['dms project list'] = """ type: command -short-summary: List the Projects within an instance of DMS. +short-summary: List the projects within an instance of DMS. examples: - - name: List the Projects within an instance of DMS. (autogenerated) + - name: List the projects within an instance of DMS. (autogenerated) text: az dms project list --resource-group MyResourceGroup --service-name MyService crafted: true """ helps['dms project show'] = """ type: command -short-summary: Show the details of a migration Project. +short-summary: Show the details of a migration project. examples: - - name: Show the details of a migration Project. (autogenerated) + - name: Show the details of a migration project. (autogenerated) text: az dms project show --name MyProject --resource-group MyResourceGroup --service-name MyService crafted: true """ helps['dms project task'] = """ type: group -short-summary: Manage Tasks for a Data Migration Service instance's Project. +short-summary: Manage tasks for a Data Migration Service instance's project. """ helps['dms project task cancel'] = """ type: command -short-summary: Cancel a Task if it's currently queued or running. +short-summary: Cancel a task if it's currently queued or running. """ helps['dms project task check-name'] = """ type: command -short-summary: Check if a given Task name is available within a given instance of DMS as well as the name's validity. +short-summary: Check if a given task name is available within a given instance of DMS as well as the name's validity. parameters: - name: --name -n type: string short-summary: > - The Task name to check. + The task name to check. """ helps['dms project task create'] = """ type: command -short-summary: Create and start a migration Task. +short-summary: Create and start a migration task. +long-summary: | + The following task configurations are supported: + -) source -> target :: task type + 1) SQL -> SQLDB :: OfflineMigration + 2) MySQL -> AzureDbForMySql :: OnlineMigration + 3) PostgreSQL -> AzureDbForPostgreSql :: OnlineMigration parameters: + - name: --task-type + type: string + short-summary: > + The type of data movement the task will support. The supported types are: OnlineMigration, OfflineMigration. If not provided, will default to OfflineMigration for SQL and OnlineMigration for MySQL and PostgreSQL. - name: --database-options-json type: string short-summary: > Database and table information. This can be either a JSON-formatted string or the location to a file containing the JSON object. See example below for the format. + long-summary: > + For SQL we support per table migrations. To use this, specify the tables names in the 'table_map' as below. + You can also set the source as read only. + [ + { + "name": "source database", + "target_database_name": "target database", + "make_source_db_read_only": false|true, + "table_map": { + "schema.SourceTableName1": "schema.TargetTableName1", + "schema.SourceTableName2": "schema.TargetTableName2", + ...n + } + }, + ...n + ] + + For MySQL, the format of the database options JSON object. + [ + { + "name": "source database", + "target_database_name": "target database", + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "migrationSetting": { + "setting1": "value1", + ...n + }, + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "sourceSetting": { + "setting1": "value1", + ...n + }, + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "targetSetting": { + "setting1": "value1", + ...n + }, + // Optional parameter to list tables that you want included in the migration. + "tableMap": { + "schema.SourceTableName1": "schema.TargetTableName1", + "schema.SourceTableName2": "schema.TargetTableName2", + ...n + } + }, + ...n + ] + + For PostgreSQL, the format of the database options JSON object. + [ + { + "name": "source database", + "target_database_name": "target database", + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "migrationSetting": { + "setting1": "value1", + ...n + }, + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "sourceSetting": { + "setting1": "value1", + ...n + }, + // Used for manipulating the underlying migration engine. + // Only provide if instructed to do so or if you really know what you are doing. + "targetSetting": { + "setting1": "value1", + ...n + }, + // Optional parameter to list tables that you want included in the migration. + "selectedTables": [ + "schemaName1.tableName1", + ...n + ] + }, + ...n + ] - name: --source-connection-json type: string short-summary: > - The connection information to the source server. This can be either a JSON-formatted string or the location to a file containing the JSON object. See example below for the format. + The connection information to the source server. This can be either a JSON-formatted string or the location to a file containing the JSON object. See examples below for the format. + long-summary: | + The format of the connection JSON object for SQL connections. + { + "userName": "user name", // if this is missing or null, you will be prompted + "password": null, // if this is missing or null (highly recommended) you will be prompted + "dataSource": "server name[,port]", + "authentication": "SqlAuthentication|WindowsAuthentication", + "encryptConnection": true, // highly recommended to leave as true + "trustServerCertificate": false // highly recommended to leave as false + } + + The format of the connection JSON object for MySql connections. + { + "userName": "user name", // if this is missing or null, you will be prompted + "password": null, // if this is missing or null (highly recommended) you will be prompted + "serverName": "server name", + "port": 3306 // if this is missing, it will default to 3306 + } + + The format of the connection JSON object for PostgreSQL connections. + { + "userName": "user name", // if this is missing or null, you will be prompted + "password": null, // if this is missing or null (highly recommended) you will be prompted + "serverName": "server name", + "databaseName": "database name", // if this is missing, it will default to the 'postgres' database + "port": 5432, // if this is missing, it will default to 5432 + "encryptConnection": true, // highly recommended to leave as true + "trustServerCertificate": false // highly recommended to leave as false + } - name: --target-connection-json type: string short-summary: > - The connection information to the target server. This can be either a JSON-formatted string or the location to a file containing the JSON object. See example below for the format. + The connection information to the target server. This can be either a JSON-formatted string or the location to a file containing the JSON object. See 'source-connection-json' for examples of connection formats. - name: --enable-data-integrity-validation type: bool short-summary: > - Whether to perform a checksum based data integrity validation between source and target for the selected database and tables. + For SQL only. Whether to perform a checksum based data integrity validation between source and target for the selected database and tables. - name: --enable-query-analysis-validation type: bool short-summary: > - Whether to perform a quick and intelligent query analysis by retrieving queries from the source database and + For SQL only. Whether to perform a quick and intelligent query analysis by retrieving queries from the source database and executing them in the target. The result will have execution statistics for executions in source and target databases for the extracted queries. - name: --enable-schema-validation type: bool short-summary: > - Whether to compare the schema information between source and target. + For SQL only. Whether to compare the schema information between source and target. examples: - - name: Create and start a Task which performs no validation checks. - text: > - az dms project task create --database-options-json "C:\\CLI Files\\databaseOptions.json" -n mytask --project-name myproject -g myresourcegroup --service-name mydms --source-connection-json "{'dataSource': 'myserver', 'authentication': 'SqlAuthentication', 'encryptConnection': 'true', 'trustServerCertificate': 'true'}" --target-connection-json "C:\\CLI Files\\targetConnection.json" - - name: Create and start a Task which performs all validation checks. + - name: Create and start an offline SQL migration task. For a SQL migration, this will perform no validation checks. text: > - az dms project task create --database-options-json "C:\\CLI Files\\databaseOptions.json" -n mytask --project-name myproject -g myresourcegroup --service-name mydms --source-connection-json "C:\\CLI Files\\sourceConnection.json" --target-connection-json "C:\\CLI Files\\targetConnection.json" --enable-data-integrity-validation --enable-query-analysis-validation --enable-schema-validation - - name: The format of the database options JSON object. + az dms project task create --task-type OfflineMigration --database-options-json "C:\\CLI Files\\databaseOptions.json" -n mytask --project-name myproject -g myresourcegroup --service-name mydms --source-connection-json "{'dataSource': 'myserver', 'authentication': 'SqlAuthentication', 'encryptConnection': 'true', 'trustServerCertificate': 'true'}" --target-connection-json "C:\\CLI Files\\targetConnection.json" + - name: Create and start a SQL task which performs all validation checks. text: > - [ - { - "name": "source database", - "target_database_name": "target database", - "make_source_db_read_only": false|true, - "table_map": { - "schema.SourceTableName1": "schema.TargetTableName1", - "schema.SourceTableName2": "schema.TargetTableName2", - ...n - } - }, - ...n - ] - - name: The format of the connection JSON object. - text: > - { - "userName": "user name", // if this is missing or null, you will be prompted - "password": null, // if this is missing or null (highly recommended) you will be prompted - "dataSource": "server name[,port]", - "authentication": "SqlAuthentication|WindowsAuthentication", - "encryptConnection": true, // highly recommended to leave as true - "trustServerCertificate": true // highly recommended to leave as true - } + az dms project task create --task-type OfflineMigration --database-options-json "C:\\CLI Files\\databaseOptions.json" -n mytask --project-name myproject -g myresourcegroup --service-name mydms --source-connection-json "C:\\CLI Files\\sourceConnection.json" --target-connection-json "C:\\CLI Files\\targetConnection.json" --enable-data-integrity-validation --enable-query-analysis-validation --enable-schema-validation """ helps['dms project task delete'] = """ type: command -short-summary: Delete a migration Task. +short-summary: Delete a migration task. parameters: - name: --delete-running-tasks type: bool short-summary: > - If the Task is currently running, cancel the Task before deleting the Project. + If the task is currently running, cancel the task before deleting the project. examples: - - name: Delete a migration Task. (autogenerated) + - name: Delete a migration task. (autogenerated) text: az dms project task delete --name MyTask --project-name MyProject --resource-group MyResourceGroup --service-name MyService crafted: true """ helps['dms project task list'] = """ type: command -short-summary: List the Tasks within a Project. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task. +short-summary: List the tasks within a project. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task. parameters: - name: --task-type type: string short-summary: > Filters the list by the type of task. For the list of possible types see "az dms check-status". examples: - - name: List all Tasks within a Project. + - name: List all tasks within a project. text: > az dms project task list --project-name myproject -g myresourcegroup --service-name mydms - - name: List only the SQL to SQL migration tasks within a Project. + - name: List only the SQL to SQL migration tasks within a project. text: > az dms project task list --project-name myproject -g myresourcegroup --service-name mydms --task-type Migrate.SqlServer.SqlDb """ helps['dms project task show'] = """ type: command -short-summary: Show the details of a migration Task. Use the "--expand" to get more details. +short-summary: Show the details of a migration task. Use the "--expand" to get more details. parameters: - name: --expand type: string short-summary: > - Expand the response to provide more details. Use with "command" to see more details of the Task. - Use with "output" to see the results of the Task's migration. + Expand the response to provide more details. Use with "command" to see more details of the task. + Use with "output" to see the results of the task's migration. examples: - - name: Show the details of a migration Task. Use the "--expand" to get more details. (autogenerated) + - name: Show the details of a migration task. Use the "--expand" to get more details. (autogenerated) text: az dms project task show --name MyTask --project-name MyProject --resource-group MyResourceGroup --service-name MyService crafted: true """ +helps['dms project task cutover'] = """ +type: command +short-summary: For an online migration task, complete the migration by performing a cutover. +long-summary: | + To see the result of the request, please use the 'task show' command: + az dms project task show ... --expand command + +parameters: + - name: --object-name + type: string + short-summary: > + The name of the database on the source you wish to cutover. +""" + helps['dms show'] = """ type: command short-summary: Show the details for an instance of the Data Migration Service. diff --git a/src/azure-cli/azure/cli/command_modules/dms/commands.py b/src/azure-cli/azure/cli/command_modules/dms/commands.py index da618f1ff6f..96369fc027f 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/commands.py +++ b/src/azure-cli/azure/cli/command_modules/dms/commands.py @@ -73,6 +73,7 @@ def load_command_table(self, _): with self.command_group('dms project task', dms_tasks_sdk, client_factory=dms_cf_tasks) as g: g.custom_command('create', 'create_task') + g.custom_command('cutover', 'cutover_sync_task') g.command('delete', 'delete', confirmation=True) g.command('list', 'list') g.show_command('show', 'get') diff --git a/src/azure-cli/azure/cli/command_modules/dms/custom.py b/src/azure-cli/azure/cli/command_modules/dms/custom.py index ef5b2647869..c12145172aa 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/custom.py +++ b/src/azure-cli/azure/cli/command_modules/dms/custom.py @@ -5,17 +5,26 @@ import os +from enum import Enum from knack.prompting import prompt, prompt_pass +from knack.util import CLIError from azure.mgmt.datamigration.models import (DataMigrationService, ServiceSku, Project, SqlConnectionInfo, MigrateSqlServerSqlDbTaskProperties, - MigrateSqlServerSqlDbTaskInput, - MigrateSqlServerSqlDbDatabaseInput, - MigrationValidationOptions) + MySqlConnectionInfo, + MigrateMySqlAzureDbForMySqlSyncTaskProperties, + PostgreSqlConnectionInfo, + MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, + MigrateSyncCompleteCommandInput, + MigrateSyncCompleteCommandProperties) from azure.cli.core.util import sdk_no_wait, get_file_json, shell_safe_json_parse +from azure.cli.command_modules.dms._client_factory import dms_cf_projects +from azure.cli.command_modules.dms.scenario_inputs import (get_migrate_sql_to_sqldb_offline_input, + get_migrate_mysql_to_azuredbformysql_sync_input, + get_migrate_postgresql_to_azuredbforpostgresql_sync_input) # region Service @@ -97,6 +106,18 @@ def create_or_update_project(client, generally only helps in a GUI context--to guide the user more easily through creating a task. Since this info is necessary at the Task level, there is no need to include it at the Project level where for CLI it is more of a useless redundancy.""" + + # Set inputs to lowercase + source_platform = source_platform.lower() + target_platform = target_platform.lower() + + scenario_handled_in_core = core_handles_scenario(source_platform, target_platform) + + # Validation: Test scenario eligibility + if not scenario_handled_in_core: + raise CLIError("The provided source-platform, target-platform combination is not appropriate. \n\ +Please refer to the help file 'az dms project create -h' for the supported scenarios.") + parameters = Project(location=location, source_platform=source_platform, target_platform=target_platform, @@ -123,7 +144,8 @@ def check_task_name_availability(client, resource_group_name, service_name, proj type='tasks') -def create_task(client, +def create_task(cmd, + client, resource_group_name, service_name, project_name, @@ -131,52 +153,50 @@ def create_task(client, source_connection_json, target_connection_json, database_options_json, + task_type="", enable_schema_validation=False, enable_data_integrity_validation=False, enable_query_analysis_validation=False): - if os.path.exists(source_connection_json): - source_connection_json = get_file_json(source_connection_json) - else: - source_connection_json = shell_safe_json_parse(source_connection_json) - - source_connection_info = create_sql_connection_info(source_connection_json, 'Source Database ') - - if os.path.exists(target_connection_json): - target_connection_json = get_file_json(target_connection_json) - else: - target_connection_json = shell_safe_json_parse(target_connection_json) - target_connection_info = create_sql_connection_info(target_connection_json, 'Target Database ') - - if os.path.exists(database_options_json): - database_options_json = get_file_json(database_options_json) - else: - database_options_json = shell_safe_json_parse(database_options_json) - - database_options = [] - for d in database_options_json: - database_options.append( - MigrateSqlServerSqlDbDatabaseInput(name=d.get('name', None), - target_database_name=d.get('target_database_name', None), - make_source_db_read_only=d.get('make_source_db_read_only', None), - table_map=d.get('table_map', None))) - - validation_options = MigrationValidationOptions(enable_schema_validation=enable_schema_validation, - enable_data_integrity_validation=enable_data_integrity_validation, - enable_query_analysis_validation=enable_query_analysis_validation) - - task_input = MigrateSqlServerSqlDbTaskInput(source_connection_info=source_connection_info, - target_connection_info=target_connection_info, - selected_databases=database_options, - validation_options=validation_options) - - migration_properties = MigrateSqlServerSqlDbTaskProperties(input=task_input) + # Get source and target platform abd set inputs to lowercase + source_platform, target_platform = get_project_platforms(cmd, + project_name=project_name, + service_name=service_name, + resource_group_name=resource_group_name) + task_type = task_type.lower() + scenario_handled_in_core = core_handles_scenario(source_platform, + target_platform, + task_type) + + # Validation: Test scenario eligibility + if not scenario_handled_in_core: + raise CLIError("The combination of the provided task-type and the project's \ +source-platform and target-platform is not appropriate. \n\ +Please refer to the help file 'az dms project task create -h' \ +for the supported scenarios.") + + source_connection_info, target_connection_info, database_options_json = \ + transform_json_inputs(source_connection_json, + source_platform, + target_connection_json, + target_platform, + database_options_json) + + task_properties = get_task_migration_properties(database_options_json, + source_platform, + target_platform, + task_type, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation) return client.create_or_update(group_name=resource_group_name, service_name=service_name, project_name=project_name, task_name=task_name, - properties=migration_properties) + properties=task_properties) def list_tasks(client, resource_group_name, service_name, project_name, task_type=None): @@ -185,19 +205,242 @@ def list_tasks(client, resource_group_name, service_name, project_name, task_typ project_name=project_name, task_type=task_type) + +def cutover_sync_task(cmd, + client, + resource_group_name, + service_name, + project_name, + task_name, + object_name): + # If object name is empty, treat this as cutting over the entire online migration. + # Otherwise, for scenarios that support it, just cut over the migration on the specified object. + # 'input' is a built in function. Even though we can technically use it, it's not recommended. + # https://stackoverflow.com/questions/20670732/is-input-a-keyword-in-python + + source_platform, target_platform = get_project_platforms(cmd, + project_name=project_name, + service_name=service_name, + resource_group_name=resource_group_name) + st = get_scenario_type(source_platform, target_platform, "onlinemigration") + + if st in [ScenarioType.mysql_azuremysql_online, + ScenarioType.postgres_azurepostgres_online]: + command_input = MigrateSyncCompleteCommandInput(database_name=object_name) + command_properties_model = MigrateSyncCompleteCommandProperties + else: + raise CLIError("The supplied project's source and target do not support cutting over the migration.") + + run_command(client, + command_input, + command_properties_model, + resource_group_name, + service_name, + project_name, + task_name) # endregion # region Helper Methods +def run_command(client, + command_input, + command_properties_model, + resource_group_name, + service_name, + project_name, + task_name): + command_properties_params = {'input': command_input} + command_properties = command_properties_model(**command_properties_params) + + client.command(group_name=resource_group_name, + service_name=service_name, + project_name=project_name, + task_name=task_name, + parameters=command_properties) + + +def get_project_platforms(cmd, project_name, service_name, resource_group_name): + client = dms_cf_projects(cmd.cli_ctx) + proj = client.get(group_name=resource_group_name, service_name=service_name, project_name=project_name) + return (proj.source_platform.lower(), proj.target_platform.lower()) + + +def core_handles_scenario( + source_platform, + target_platform, + task_type=""): + # Add scenarios here after migrating them to the core from the extension. + CoreScenarioTypes = [ScenarioType.sql_sqldb_offline, + ScenarioType.mysql_azuremysql_online, + ScenarioType.postgres_azurepostgres_online] + return get_scenario_type(source_platform, target_platform, task_type) in CoreScenarioTypes + + +def transform_json_inputs( + source_connection_json, + source_platform, + target_connection_json, + target_platform, + database_options_json): + # Source connection info + source_connection_json = get_file_or_parse_json(source_connection_json, "source-connection-json") + source_connection_info = create_connection(source_connection_json, "Source Database ", source_platform) + + # Target connection info + target_connection_json = get_file_or_parse_json(target_connection_json, "target-connection-json") + target_connection_info = create_connection(target_connection_json, "Target Database ", target_platform) + + # Database options + database_options_json = get_file_or_parse_json(database_options_json, "database-options-json") + + return (source_connection_info, target_connection_info, database_options_json) + + +def get_file_or_parse_json(value, value_type): + if os.path.exists(value): + return get_file_json(value) + + # Test if provided value is a valid json + try: + json_parse = shell_safe_json_parse(value) + except: + raise CLIError("The supplied input for '" + value_type + "' is not a valid file path or a valid json object.") + else: + return json_parse + + +def create_connection(connection_info_json, prompt_prefix, typeOfInfo): + user_name = connection_info_json.get('userName', None) or prompt(prompt_prefix + 'Username: ') + password = connection_info_json.get('password', None) or prompt_pass(msg=prompt_prefix + 'Password: ') + + if "mysql" in typeOfInfo: + server_name = connection_info_json.get('serverName', None) + port = connection_info_json.get('port', 3306) + return MySqlConnectionInfo(user_name=user_name, + password=password, + server_name=server_name, + port=port) + + if "postgres" in typeOfInfo: + server_name = connection_info_json.get('serverName', None) + database_name = connection_info_json.get('databaseName', "postgres") + port = connection_info_json.get('port', 5432) + trust_server_certificate = connection_info_json.get('trustServerCertificate', False) + encrypt_connection = connection_info_json.get('encryptConnection', True) + return PostgreSqlConnectionInfo(user_name=user_name, + password=password, + server_name=server_name, + database_name=database_name, + port=port, + encrypt_connection=encrypt_connection, + trust_server_certificate=trust_server_certificate) + + if "sql" in typeOfInfo: + data_source = connection_info_json.get('dataSource', None) + authentication = connection_info_json.get('authentication', None) + encrypt_connection = connection_info_json.get('encryptConnection', None) + trust_server_certificate = connection_info_json.get('trustServerCertificate', None) + additional_settings = connection_info_json.get('additionalSettings', None) + return SqlConnectionInfo(user_name=user_name, + password=password, + data_source=data_source, + authentication=authentication, + encrypt_connection=encrypt_connection, + trust_server_certificate=trust_server_certificate, + additional_settings=additional_settings) + + # If no match, Pass the connection info through + return connection_info_json + + +def get_task_migration_properties( + database_options_json, + source_platform, + target_platform, + task_type, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation): + st = get_scenario_type(source_platform, target_platform, task_type) + if st == ScenarioType.sql_sqldb_offline: + TaskProperties = MigrateSqlServerSqlDbTaskProperties + GetInput = get_migrate_sql_to_sqldb_offline_input + elif st == ScenarioType.mysql_azuremysql_online: + TaskProperties = MigrateMySqlAzureDbForMySqlSyncTaskProperties + GetInput = get_migrate_mysql_to_azuredbformysql_sync_input + elif st == ScenarioType.postgres_azurepostgres_online: + TaskProperties = MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties + GetInput = get_migrate_postgresql_to_azuredbforpostgresql_sync_input + else: + raise CLIError("The supplied source, target, and task type is not supported for migration.") + + return get_task_properties(st, + GetInput, + TaskProperties, + database_options_json, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation) + + +def get_task_properties(scenario_type, + input_func, + task_properties_type, + options_json, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation): + if source_connection_info is None and target_connection_info is None: + task_input = input_func(options_json) + elif scenario_type == ScenarioType.sql_sqldb_offline: + task_input = input_func( + options_json, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation) + else: + task_input = input_func( + options_json, + source_connection_info, + target_connection_info) + + task_properties_params = {'input': task_input} + + return task_properties_type(**task_properties_params) + + +def get_scenario_type(source_platform, target_platform, task_type=""): + if source_platform == "sql" and target_platform == "sqldb": + scenario_type = ScenarioType.sql_sqldb_offline if not task_type or "offline" in task_type else \ + ScenarioType.unknown + elif source_platform == "mysql" and target_platform == "azuredbformysql": + scenario_type = ScenarioType.mysql_azuremysql_online if not task_type or "online" in task_type else \ + ScenarioType.unknown + elif source_platform == "postgresql" and target_platform == "azuredbforpostgresql": + scenario_type = ScenarioType.postgres_azurepostgres_online if not task_type or "online" in task_type else \ + ScenarioType.unknown + else: + scenario_type = ScenarioType.unknown + + return scenario_type + + +class ScenarioType(Enum): -def create_sql_connection_info(connection_info_json, prompt_prefix): - return SqlConnectionInfo( - user_name=connection_info_json.get('userName', None) or prompt(prompt_prefix + 'Username: '), - password=connection_info_json.get('password', None) or prompt_pass(msg=prompt_prefix + 'Password: '), - data_source=connection_info_json.get('dataSource', None), - authentication=connection_info_json.get('authentication', None), - encrypt_connection=connection_info_json.get('encryptConnection', None), - trust_server_certificate=connection_info_json.get('trustServerCertificate', None), - additional_settings=connection_info_json.get('additionalSettings', None)) + unknown = 0 + # SQL to SQLDB + sql_sqldb_offline = 1 + # MySQL to Azure for MySQL + mysql_azuremysql_online = 21 + # PostgresSQL to Azure for PostgreSQL + postgres_azurepostgres_online = 31 # endregion diff --git a/src/azure-cli/azure/cli/command_modules/dms/scenario_inputs.py b/src/azure-cli/azure/cli/command_modules/dms/scenario_inputs.py new file mode 100644 index 00000000000..13c5098e3d2 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/dms/scenario_inputs.py @@ -0,0 +1,86 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.mgmt.datamigration.models import (MigrateSqlServerSqlDbTaskInput, + MigrateSqlServerSqlDbDatabaseInput, + MigrationValidationOptions, + MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput, + MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput, + MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput, + MigrateMySqlAzureDbForMySqlSyncTaskInput, + MigrateMySqlAzureDbForMySqlSyncDatabaseInput) + + +def get_migrate_sql_to_sqldb_offline_input(database_options_json, + source_connection_info, + target_connection_info, + enable_schema_validation, + enable_data_integrity_validation, + enable_query_analysis_validation): + database_options = [] + + for d in database_options_json: + database_options.append( + MigrateSqlServerSqlDbDatabaseInput( + name=d.get('name', None), + target_database_name=d.get('target_database_name', None), + make_source_db_read_only=d.get('make_source_db_read_only', None), + table_map=d.get('table_map', None))) + + validation_options = MigrationValidationOptions(enable_schema_validation=enable_schema_validation, + enable_data_integrity_validation=enable_data_integrity_validation, + enable_query_analysis_validation=enable_query_analysis_validation) + + return MigrateSqlServerSqlDbTaskInput(source_connection_info=source_connection_info, + target_connection_info=target_connection_info, + selected_databases=database_options, + validation_options=validation_options) + + +def get_migrate_mysql_to_azuredbformysql_sync_input(database_options_json, + source_connection_info, + target_connection_info): + database_options = [] + + for d in database_options_json: + def_migration_setting_input = {"fullLoadSubTasks": "5", + "inlineLobMaxSize": "0", + "limitLOBSize": "true", + "lobChunkSize": "64", + "lobMaxSize": "32"} + database_options.append( + MigrateMySqlAzureDbForMySqlSyncDatabaseInput( + name=d.get('name', None), + target_database_name=d.get('target_database_name', None), + migration_setting=d.get('migrationSetting', def_migration_setting_input), + source_setting=d.get('sourceSetting', None), + target_setting=d.get('targetSetting', None), + table_map=d.get('tableMap', None))) + + return MigrateMySqlAzureDbForMySqlSyncTaskInput(source_connection_info=source_connection_info, + target_connection_info=target_connection_info, + selected_databases=database_options) + + +def get_migrate_postgresql_to_azuredbforpostgresql_sync_input(database_options_json, + source_connection_info, + target_connection_info): + database_options = [] + + for d in database_options_json: + s_t = d.get('selectedTables', None) + t = None if s_t is None else [MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput(name=t) for t in s_t] + database_options.append( + MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput( + name=d.get('name', None), + target_database_name=d.get('target_database_name', None), + migration_setting=d.get('migrationSetting', None), + source_setting=d.get('sourceSetting', None), + target_setting=d.get('targetSetting', None), + selected_tables=t)) + + return MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput(source_connection_info=source_connection_info, + target_connection_info=target_connection_info, + selected_databases=database_options) diff --git a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_project_commands.yaml b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_project_commands.yaml index b9eefb63e94..6cadf343111 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_project_commands.yaml +++ b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_project_commands.yaml @@ -13,31 +13,32 @@ interactions: ParameterSetName: - -g -n --vnet-name User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default?api-version=2020-07-01 response: body: - string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\",\r\n - \ \"etag\": \"W/\\\"a5392922-77b7-4646-9e8f-b4968cd46c56\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"e05fdf19-c339-44b7-9e8d-4592efa5fa8c\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\",\r\ + \n \"subnetID\": 0\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '605' + - '625' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:21:55 GMT + - Wed, 28 Oct 2020 11:05:47 GMT etag: - - W/"a5392922-77b7-4646-9e8f-b4968cd46c56" + - W/"e05fdf19-c339-44b7-9e8d-4592efa5fa8c" expires: - '-1' pragma: @@ -54,13 +55,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 74ee63cc-15f0-4e73-b1d0-92e627ba6195 + - e80660cb-f803-4eb1-9875-138d17ea6218 status: code: 200 message: OK - request: - body: '{"location": "centralus", "properties": {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"}, - "sku": {"name": "Standard_2vCores"}}' + body: '{"tags": {"area": "cli", "env": "test"}, "location": "centralus", "properties": + {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"}, + "sku": {"name": "Premium_4vCores"}}' headers: Accept: - application/json @@ -71,35 +73,35 @@ interactions: Connection: - keep-alive Content-Length: - - '328' + - '367' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"qWi3ugNy5kUG1TllkFJrg/hixdBp9SUyFGGJoFvTfG8=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"qcXXJj20cWIAtsevUdxu264cX/pLZTW4qW/gv9CpZDo=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview cache-control: - no-cache content-length: - - '733' + - '766' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:22:04 GMT + - Wed, 28 Oct 2020 11:05:51 GMT etag: - - '"qWi3ugNy5kUG1TllkFJrg/hixdBp9SUyFGGJoFvTfG8="' + - '"qcXXJj20cWIAtsevUdxu264cX/pLZTW4qW/gv9CpZDo="' expires: - '-1' pragma: @@ -111,7 +113,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1198' status: code: 201 message: Created @@ -127,15 +129,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -144,7 +146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:22:35 GMT + - Wed, 28 Oct 2020 11:06:21 GMT expires: - '-1' pragma: @@ -174,15 +176,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -191,7 +193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:23:08 GMT + - Wed, 28 Oct 2020 11:06:52 GMT expires: - '-1' pragma: @@ -221,15 +223,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -238,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:23:43 GMT + - Wed, 28 Oct 2020 11:07:22 GMT expires: - '-1' pragma: @@ -268,15 +270,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -285,7 +287,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:24:15 GMT + - Wed, 28 Oct 2020 11:07:52 GMT expires: - '-1' pragma: @@ -315,15 +317,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -332,7 +334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:24:47 GMT + - Wed, 28 Oct 2020 11:08:22 GMT expires: - '-1' pragma: @@ -362,15 +364,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -379,7 +381,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:25:19 GMT + - Wed, 28 Oct 2020 11:08:52 GMT expires: - '-1' pragma: @@ -409,15 +411,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -426,7 +428,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:25:51 GMT + - Wed, 28 Oct 2020 11:09:23 GMT expires: - '-1' pragma: @@ -456,15 +458,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -473,7 +475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:26:23 GMT + - Wed, 28 Oct 2020 11:09:53 GMT expires: - '-1' pragma: @@ -503,42 +505,41 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"error":{"code":"ServerTimeout","message":"The request timed out. - Diagnostic information: timestamp ''20200905T032721Z'', subscription id ''0b1f6471-1bf0-4dda-aec3-cb9272f09590'', - tracking id ''e1290bff-65c8-4ec9-966d-044ad33f70b2'', request correlation - id ''e1290bff-65c8-4ec9-966d-044ad33f70b2''."}}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache - connection: - - close content-length: - - '294' + - '234' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:27:21 GMT + - Wed, 28 Oct 2020 11:10:23 GMT expires: - '-1' pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-failure-cause: - - gateway status: - code: 503 - message: Service Unavailable + code: 200 + message: OK - request: body: null headers: @@ -551,15 +552,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -568,7 +569,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:27:23 GMT + - Wed, 28 Oct 2020 11:10:53 GMT expires: - '-1' pragma: @@ -598,15 +599,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -615,7 +616,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:27:54 GMT + - Wed, 28 Oct 2020 11:11:23 GMT expires: - '-1' pragma: @@ -645,15 +646,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -662,7 +663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:28:28 GMT + - Wed, 28 Oct 2020 11:11:53 GMT expires: - '-1' pragma: @@ -692,15 +693,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Running"}' headers: cache-control: - no-cache @@ -709,7 +710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:29:00 GMT + - Wed, 28 Oct 2020 11:12:24 GMT expires: - '-1' pragma: @@ -739,24 +740,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"name":"28454988-ca45-4f1e-8e6a-0acb56439170","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/28454988-ca45-4f1e-8e6a-0acb56439170","status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '234' + - '236' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:29:32 GMT + - Wed, 28 Oct 2020 11:12:54 GMT expires: - '-1' pragma: @@ -786,24 +787,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-5u9y6digra272aqyhabduf27","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"deXeUeffnApfI7xkPZM/MNxw/QuI4lhoMxu1CkfjqEQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: cache-control: - no-cache content-length: - - '234' + - '1002' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:30:03 GMT + - Wed, 28 Oct 2020 11:12:54 GMT + etag: + - '"deXeUeffnApfI7xkPZM/MNxw/QuI4lhoMxu1CkfjqEQ="' expires: - '-1' pragma: @@ -829,75 +833,84 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project show Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004'' + under resource group ''dms_cli_test_000001'' was not found. For more details + please go to https://aka.ms/ARMResourceNotFoundFix"}}' headers: cache-control: - no-cache content-length: - - '234' + - '320' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:30:35 GMT + - Wed, 28 Oct 2020 11:12:55 GMT expires: - '-1' pragma: - no-cache - server: - - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-failure-cause: + - gateway status: - code: 200 - message: OK + code: 404 + message: Not Found - request: - body: null + body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": + {"sourcePlatform": "sql", "targetPlatform": "sqldb"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project create Connection: - keep-alive + Content-Length: + - '130' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -l -n --source-platform --target-platform --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Running"}' + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:12:57.7827863+00:00","provisioningState":"Succeeded"},"etag":"qdNeaM5WjQ4SgQc/tWUOjqdKc298hofdOYM8LhDQ9WY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '234' + - '566' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:08 GMT + - Wed, 28 Oct 2020 11:12:57 GMT + etag: + - '"qdNeaM5WjQ4SgQc/tWUOjqdKc298hofdOYM8LhDQ9WY="' expires: - '-1' pragma: @@ -906,15 +919,13 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -923,28 +934,32 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project show Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-07-15-preview response: body: - string: '{"name":"9992430e-22d3-402e-824e-d9703e135bbf","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9992430e-22d3-402e-824e-d9703e135bbf","status":"Succeeded"}' + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:12:57.7827863+00:00","provisioningState":"Succeeded"},"etag":"qdNeaM5WjQ4SgQc/tWUOjqdKc298hofdOYM8LhDQ9WY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '236' + - '566' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:39 GMT + - Wed, 28 Oct 2020 11:12:58 GMT + etag: + - '"qdNeaM5WjQ4SgQc/tWUOjqdKc298hofdOYM8LhDQ9WY="' expires: - '-1' pragma: @@ -963,38 +978,44 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": + {"sourcePlatform": "mysql", "targetPlatform": "azuredbformysql"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project create Connection: - keep-alive + Content-Length: + - '142' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -l -n --source-platform --target-platform --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000006?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-8xhxmunkuds7cnhdzaarsiv9","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"lJRf3MExvKpR49bwTOvwEItjQpMrdfmCF74T7lIXX/4=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"sourcePlatform":"MySQL","targetPlatform":"AzureDbForMySQL","creationTime":"2020-10-28T11:13:00.8412059+00:00","provisioningState":"Succeeded"},"etag":"lsu0pM3FyKR8le8T4UP0VFGNMvivA5RMiwK/mhDAOJg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000006","location":"centralus","name":"projectmysql000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '969' + - '588' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:41 GMT + - Wed, 28 Oct 2020 11:13:01 GMT etag: - - '"lJRf3MExvKpR49bwTOvwEItjQpMrdfmCF74T7lIXX/4="' + - '"lsu0pM3FyKR8le8T4UP0VFGNMvivA5RMiwK/mhDAOJg="' expires: - '-1' pragma: @@ -1003,15 +1024,13 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1023,47 +1042,49 @@ interactions: - dms project show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000006?api-version=2018-07-15-preview response: body: - string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004'' - under resource group ''dms_cli_test_000001'' was not found. For more details - please go to https://aka.ms/ARMResourceNotFoundFix"}}' + string: '{"properties":{"sourcePlatform":"MySQL","targetPlatform":"AzureDbForMySQL","creationTime":"2020-10-28T11:13:00.8412059+00:00","provisioningState":"Succeeded"},"etag":"lsu0pM3FyKR8le8T4UP0VFGNMvivA5RMiwK/mhDAOJg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000006","location":"centralus","name":"projectmysql000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '320' + - '588' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:43 GMT + - Wed, 28 Oct 2020 11:13:01 GMT + etag: + - '"lsu0pM3FyKR8le8T4UP0VFGNMvivA5RMiwK/mhDAOJg="' expires: - '-1' pragma: - no-cache + server: + - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-failure-cause: - - gateway status: - code: 404 - message: Not Found + code: 200 + message: OK - request: body: '{"tags": {"Type": "test", "Cli": ""}, "location": "centralus", "properties": - {"sourcePlatform": "SQL", "targetPlatform": "SQLDB"}}' + {"sourcePlatform": "postgresql", "targetPlatform": "azuredbforpostgresql"}}' headers: Accept: - application/json @@ -1074,32 +1095,32 @@ interactions: Connection: - keep-alive Content-Length: - - '130' + - '152' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --service-name -l -n --source-platform --target-platform --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000007?api-version=2018-07-15-preview response: body: - string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T03:31:51.6733763+00:00","provisioningState":"Succeeded"},"etag":"X3grYpzeG4FdCAyo2qrr3QdKabKei6Zc98vFt0jPx60=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2020-10-28T11:13:03.5883934+00:00","provisioningState":"Succeeded"},"etag":"XmkmHxp/8SfpOX8KYu00MDhSB2dBEe+5Ppn2jmPLH1A=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '566' + - '598' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:52 GMT + - Wed, 28 Oct 2020 11:13:03 GMT etag: - - '"X3grYpzeG4FdCAyo2qrr3QdKabKei6Zc98vFt0jPx60="' + - '"XmkmHxp/8SfpOX8KYu00MDhSB2dBEe+5Ppn2jmPLH1A="' expires: - '-1' pragma: @@ -1111,7 +1132,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1197' status: code: 201 message: Created @@ -1126,31 +1147,29 @@ interactions: - dms project show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000007?api-version=2018-07-15-preview response: body: - string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T03:31:51.6733763+00:00","provisioningState":"Succeeded"},"etag":"X3grYpzeG4FdCAyo2qrr3QdKabKei6Zc98vFt0jPx60=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2020-10-28T11:13:03.5883934+00:00","provisioningState":"Succeeded"},"etag":"XmkmHxp/8SfpOX8KYu00MDhSB2dBEe+5Ppn2jmPLH1A=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '566' + - '598' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:31:55 GMT + - Wed, 28 Oct 2020 11:13:03 GMT etag: - - '"X3grYpzeG4FdCAyo2qrr3QdKabKei6Zc98vFt0jPx60="' + - '"XmkmHxp/8SfpOX8KYu00MDhSB2dBEe+5Ppn2jmPLH1A="' expires: - '-1' pragma: @@ -1169,8 +1188,8 @@ interactions: code: 200 message: OK - request: - body: '{"location": "centralus", "properties": {"sourcePlatform": "SQL", "targetPlatform": - "SQLDB"}}' + body: '{"location": "centralus", "properties": {"sourcePlatform": "sql", "targetPlatform": + "sqldb"}}' headers: Accept: - application/json @@ -1187,26 +1206,26 @@ interactions: ParameterSetName: - -g --service-name -l -n --source-platform --target-platform User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005?api-version=2018-07-15-preview response: body: - string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T03:32:02.6938652+00:00","provisioningState":"Succeeded"},"etag":"bnuxCJdXDGI+y8XAuHwTzWsulMmLeFcIz4FoVMbsVgM=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"}' + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:13:06.575651+00:00","provisioningState":"Succeeded"},"etag":"RbsB482UPOIj634Bsw04SVkYyx0TdWgCg0fo5BTrrV0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '534' + - '533' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:32:04 GMT + - Wed, 28 Oct 2020 11:13:06 GMT etag: - - '"bnuxCJdXDGI+y8XAuHwTzWsulMmLeFcIz4FoVMbsVgM="' + - '"RbsB482UPOIj634Bsw04SVkYyx0TdWgCg0fo5BTrrV0="' expires: - '-1' pragma: @@ -1218,7 +1237,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1199' status: code: 201 message: Created @@ -1233,29 +1252,27 @@ interactions: - dms project list Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects?api-version=2018-07-15-preview response: body: - string: '{"value":[{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T03:31:51.6733763+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T03:32:02.6938652+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"}]}' + string: '{"value":[{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:12:57.7827863+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project1000004","location":"centralus","name":"project1000004","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:13:06.575651+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005","location":"centralus","name":"project2000005","type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"MySQL","targetPlatform":"AzureDbForMySQL","creationTime":"2020-10-28T11:13:00.8412059+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000006","location":"centralus","name":"projectmysql000006","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"},{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2020-10-28T11:13:03.5883934+00:00","provisioningState":"Succeeded"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000007","location":"centralus","name":"projectpg000007","tags":{"Type":"test","Cli":""},"type":"Microsoft.DataMigration/services/projects"}]}' headers: cache-control: - no-cache content-length: - - '1005' + - '2084' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:32:06 GMT + - Wed, 28 Oct 2020 11:13:07 GMT expires: - '-1' pragma: @@ -1291,12 +1308,12 @@ interactions: ParameterSetName: - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkNameAvailability?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkNameAvailability?api-version=2018-07-15-preview response: body: string: '{"reason":"AlreadyExists","message":"The resource name is already in @@ -1309,7 +1326,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:32:07 GMT + - Wed, 28 Oct 2020 11:13:07 GMT expires: - '-1' pragma: @@ -1340,17 +1357,15 @@ interactions: - keep-alive Content-Length: - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project2000005?api-version=2018-07-15-preview response: body: string: '' @@ -1360,7 +1375,7 @@ interactions: content-length: - '0' date: - - Sat, 05 Sep 2020 03:32:14 GMT + - Wed, 28 Oct 2020 11:13:11 GMT expires: - '-1' pragma: @@ -1372,7 +1387,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14999' status: code: 200 message: OK @@ -1394,12 +1409,12 @@ interactions: ParameterSetName: - -g --service-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkNameAvailability?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkNameAvailability?api-version=2018-07-15-preview response: body: string: '{"nameAvailable":true}' @@ -1411,7 +1426,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:32:16 GMT + - Wed, 28 Oct 2020 11:13:11 GMT expires: - '-1' pragma: @@ -1442,33 +1457,31 @@ interactions: - keep-alive Content-Length: - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?deleteRunningTasks=true&api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?deleteRunningTasks=true&api-version=2018-07-15-preview response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview cache-control: - no-cache content-length: - '0' date: - - Sat, 05 Sep 2020 03:32:17 GMT + - Wed, 28 Oct 2020 11:13:12 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/f27b30b5-13ad-445a-87a1-2cd07a8f02fe?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview pragma: - no-cache server: @@ -1478,7 +1491,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14998' status: code: 202 message: Accepted @@ -1496,13 +1509,107 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview + response: + body: + string: '{"name":"c3fc7d76-4985-4567-bb37-3966152a1067","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:13:43 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview + response: + body: + string: '{"name":"c3fc7d76-4985-4567-bb37-3966152a1067","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:13 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview response: body: - string: '{"name":"f27b30b5-13ad-445a-87a1-2cd07a8f02fe","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe","status":"Running"}' + string: '{"name":"c3fc7d76-4985-4567-bb37-3966152a1067","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067","status":"Running"}' headers: cache-control: - no-cache @@ -1511,7 +1618,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:32:48 GMT + - Wed, 28 Oct 2020 11:14:43 GMT expires: - '-1' pragma: @@ -1543,13 +1650,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview response: body: - string: '{"name":"f27b30b5-13ad-445a-87a1-2cd07a8f02fe","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe","status":"Running"}' + string: '{"name":"c3fc7d76-4985-4567-bb37-3966152a1067","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067","status":"Running"}' headers: cache-control: - no-cache @@ -1558,7 +1665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:33:20 GMT + - Wed, 28 Oct 2020 11:15:13 GMT expires: - '-1' pragma: @@ -1590,13 +1697,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067?api-version=2018-07-15-preview response: body: - string: '{"name":"f27b30b5-13ad-445a-87a1-2cd07a8f02fe","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f27b30b5-13ad-445a-87a1-2cd07a8f02fe","status":"Succeeded"}' + string: '{"name":"c3fc7d76-4985-4567-bb37-3966152a1067","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/c3fc7d76-4985-4567-bb37-3966152a1067","status":"Succeeded"}' headers: cache-control: - no-cache @@ -1605,7 +1712,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:33:52 GMT + - Wed, 28 Oct 2020 11:15:43 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_service_commands.yaml b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_service_commands.yaml index 48ae4a7b2a0..8e8b6411730 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_service_commands.yaml +++ b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_service_commands.yaml @@ -13,31 +13,32 @@ interactions: ParameterSetName: - -g -n --vnet-name User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default?api-version=2020-07-01 response: body: - string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\",\r\n - \ \"etag\": \"W/\\\"45d990a4-8f84-4e9a-9309-ff0384459516\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"4e062055-bd09-424c-b83a-7f3f8e141ac4\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\",\r\ + \n \"subnetID\": 0\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '605' + - '625' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:34:29 GMT + - Wed, 28 Oct 2020 11:05:48 GMT etag: - - W/"45d990a4-8f84-4e9a-9309-ff0384459516" + - W/"4e062055-bd09-424c-b83a-7f3f8e141ac4" expires: - '-1' pragma: @@ -54,7 +55,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - c3f31103-bcf4-4550-ada0-ea37695bbff2 + - f65add3a-6a46-44a5-9a83-04358b425c92 status: code: 200 message: OK @@ -69,18 +70,32 @@ interactions: - dms list-skus Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/skus?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/skus?api-version=2018-07-15-preview response: body: string: '{"value":[{"resourceType":"services","name":"Standard_1vCores","tier":"Standard","size":"1 + vCores","locations":["Central US"],"locationInfo":[{"location":"Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_2vCores","tier":"Standard","size":"2 + vCores","locations":["Central US"],"locationInfo":[{"location":"Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_4vCores","tier":"Standard","size":"4 + vCores","locations":["Central US"],"locationInfo":[{"location":"Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Premium_4vCores","tier":"Premium","size":"4 + vCores","locations":["Central US"],"locationInfo":[{"location":"Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_1vCores","tier":"Standard","size":"1 + vCores","locations":["West Central US"],"locationInfo":[{"location":"West + Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_2vCores","tier":"Standard","size":"2 + vCores","locations":["West Central US"],"locationInfo":[{"location":"West + Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_4vCores","tier":"Standard","size":"4 + vCores","locations":["West Central US"],"locationInfo":[{"location":"West + Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Premium_4vCores","tier":"Premium","size":"4 + vCores","locations":["West Central US"],"locationInfo":[{"location":"West + Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_1vCores","tier":"Standard","size":"1 + vCores","locations":["West US 2"],"locationInfo":[{"location":"West US 2","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_2vCores","tier":"Standard","size":"2 + vCores","locations":["West US 2"],"locationInfo":[{"location":"West US 2","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_4vCores","tier":"Standard","size":"4 + vCores","locations":["West US 2"],"locationInfo":[{"location":"West US 2","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Premium_4vCores","tier":"Premium","size":"4 + vCores","locations":["West US 2"],"locationInfo":[{"location":"West US 2","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_1vCores","tier":"Standard","size":"1 vCores","locations":["West Central US"],"locationInfo":[{"location":"West Central US","zones":[]}],"restrictions":[]},{"resourceType":"services","name":"Standard_2vCores","tier":"Standard","size":"2 vCores","locations":["West Central US"],"locationInfo":[{"location":"West @@ -241,11 +256,11 @@ interactions: cache-control: - no-cache content-length: - - '22269' + - '24563' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:34:30 GMT + - Wed, 28 Oct 2020 11:05:48 GMT expires: - '-1' pragma: @@ -270,17 +285,15 @@ interactions: - dms show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.DataMigration/services/dmsclitest000003'' @@ -294,7 +307,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:34:30 GMT + - Wed, 28 Oct 2020 11:05:48 GMT expires: - '-1' pragma: @@ -311,7 +324,7 @@ interactions: - request: body: '{"tags": {"area": "cli", "env": "test"}, "location": "centralus", "properties": {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"}, - "sku": {"name": "Standard_2vCores"}}' + "sku": {"name": "Premium_4vCores"}}' headers: Accept: - application/json @@ -322,35 +335,35 @@ interactions: Connection: - keep-alive Content-Length: - - '368' + - '367' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"ob+DS0f4D4XOLGP5hVk5r8FbL38ZP1y30c/3+++DlK4=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"djCC6DloI5S957I1wQoX3Zz/0Mj/Zk03nE8odAHJCAo=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview cache-control: - no-cache content-length: - - '768' + - '766' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:34:39 GMT + - Wed, 28 Oct 2020 11:05:51 GMT etag: - - '"ob+DS0f4D4XOLGP5hVk5r8FbL38ZP1y30c/3+++DlK4="' + - '"djCC6DloI5S957I1wQoX3Zz/0Mj/Zk03nE8odAHJCAo="' expires: - '-1' pragma: @@ -362,7 +375,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1198' status: code: 201 message: Created @@ -380,107 +393,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview - response: - body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:35:12 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms create - Connection: - - keep-alive - ParameterSetName: - - -l -n -g --sku-name --subnet --tags - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview - response: - body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:35:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms create - Connection: - - keep-alive - ParameterSetName: - - -l -n -g --sku-name --subnet --tags - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -489,7 +408,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:36:14 GMT + - Wed, 28 Oct 2020 11:06:22 GMT expires: - '-1' pragma: @@ -521,13 +440,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -536,7 +455,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:36:46 GMT + - Wed, 28 Oct 2020 11:06:52 GMT expires: - '-1' pragma: @@ -568,13 +487,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -583,7 +502,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:37:19 GMT + - Wed, 28 Oct 2020 11:07:23 GMT expires: - '-1' pragma: @@ -615,13 +534,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -630,7 +549,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:37:50 GMT + - Wed, 28 Oct 2020 11:07:53 GMT expires: - '-1' pragma: @@ -662,13 +581,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -677,7 +596,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:38:22 GMT + - Wed, 28 Oct 2020 11:08:23 GMT expires: - '-1' pragma: @@ -709,13 +628,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -724,7 +643,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:38:55 GMT + - Wed, 28 Oct 2020 11:08:53 GMT expires: - '-1' pragma: @@ -756,13 +675,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -771,7 +690,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:39:26 GMT + - Wed, 28 Oct 2020 11:09:23 GMT expires: - '-1' pragma: @@ -803,13 +722,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -818,7 +737,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:39:59 GMT + - Wed, 28 Oct 2020 11:09:54 GMT expires: - '-1' pragma: @@ -850,13 +769,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -865,7 +784,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:40:30 GMT + - Wed, 28 Oct 2020 11:10:24 GMT expires: - '-1' pragma: @@ -897,13 +816,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -912,7 +831,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:41:02 GMT + - Wed, 28 Oct 2020 11:10:54 GMT expires: - '-1' pragma: @@ -944,13 +863,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -959,7 +878,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:41:34 GMT + - Wed, 28 Oct 2020 11:11:24 GMT expires: - '-1' pragma: @@ -991,13 +910,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -1006,7 +925,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:42:06 GMT + - Wed, 28 Oct 2020 11:11:54 GMT expires: - '-1' pragma: @@ -1038,13 +957,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Running"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Running"}' headers: cache-control: - no-cache @@ -1053,7 +972,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:42:38 GMT + - Wed, 28 Oct 2020 11:12:25 GMT expires: - '-1' pragma: @@ -1085,13 +1004,13 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3?api-version=2018-07-15-preview response: body: - string: '{"name":"21bdb8cb-aced-417a-af16-c17208812ea7","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/21bdb8cb-aced-417a-af16-c17208812ea7","status":"Succeeded"}' + string: '{"name":"68b78115-2953-48f2-ba74-f049e61d83f3","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/68b78115-2953-48f2-ba74-f049e61d83f3","status":"Succeeded"}' headers: cache-control: - no-cache @@ -1100,7 +1019,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:08 GMT + - Wed, 28 Oct 2020 11:12:55 GMT expires: - '-1' pragma: @@ -1132,25 +1051,25 @@ interactions: ParameterSetName: - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-5j8z9bdtif59bnq24ngaqzba","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"fv36MOnMNYzGhEXVgtLHm05j/QjALi/hoxdRaz7cdyE=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-huxjgnrrafzwnhke82n7te3h","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"92xza0Ne9SyAU8HC7dk+EO508qQrUQSkdKrh8YrCYmU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: cache-control: - no-cache content-length: - - '1004' + - '1002' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:11 GMT + - Wed, 28 Oct 2020 11:12:55 GMT etag: - - '"fv36MOnMNYzGhEXVgtLHm05j/QjALi/hoxdRaz7cdyE="' + - '"92xza0Ne9SyAU8HC7dk+EO508qQrUQSkdKrh8YrCYmU="' expires: - '-1' pragma: @@ -1179,32 +1098,30 @@ interactions: - dms show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-5j8z9bdtif59bnq24ngaqzba","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"fv36MOnMNYzGhEXVgtLHm05j/QjALi/hoxdRaz7cdyE=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-huxjgnrrafzwnhke82n7te3h","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"92xza0Ne9SyAU8HC7dk+EO508qQrUQSkdKrh8YrCYmU=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: cache-control: - no-cache content-length: - - '1004' + - '1002' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:13 GMT + - Wed, 28 Oct 2020 11:12:56 GMT etag: - - '"fv36MOnMNYzGhEXVgtLHm05j/QjALi/hoxdRaz7cdyE="' + - '"92xza0Ne9SyAU8HC7dk+EO508qQrUQSkdKrh8YrCYmU="' expires: - '-1' pragma: @@ -1233,30 +1150,28 @@ interactions: - dms list Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services?api-version=2018-07-15-preview response: body: - string: '{"value":[{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-5j8z9bdtif59bnq24ngaqzba","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}]}' + string: '{"value":[{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/networkInterfaces/NIC-huxjgnrrafzwnhke82n7te3h","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}]}' headers: cache-control: - no-cache content-length: - - '962' + - '960' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:15 GMT + - Wed, 28 Oct 2020 11:12:58 GMT expires: - '-1' pragma: @@ -1287,29 +1202,27 @@ interactions: - keep-alive Content-Length: - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-07-15-preview response: body: - string: '{"agentVersion":"5.1.4877.6","status":"Online","provisioningState":"Succeeded","vmSize":"Standard_A2_v2","supportedTaskTypes":["Connect.MongoDb","Migrate.MongoDb","Validate.MongoDb","GetUserTablesOracle","GetUserTablesPostgreSql","Service.Check.OCI","Service.Upload.OCI","Service.Install.OCI","GetTDECertificates.Sql","Migrate.Ssis","Migrate.SqlServer.AzureSqlDbMI","MigrateSchemaSqlServerSqlDb","ValidateMigrationInput.SqlServer.AzureSqlDbMI","ConnectToTarget.AzureDbForMySql","ConnectToSource.SqlServer","GetUserTables.Sql","ConnectToTarget.AzureSqlDbMI","ConnectToTarget.SqlDb","ConnectToTarget.SqlServer","Migrate.SqlServer.SqlDb","Migrate.SqlServer.SqlServer","ValidateMigrationInput.SqlServer.SqlServer","ConnectToSource.AWSRDSMySql.Sync","ConnectToSource.MySql"],"workerType":"Cloud","registeredWorker":"","agentConfiguration":{"maxParallelMigrationActivities":-1,"enableWindowsLoginsMigrationToMi":false,"disableTlsEnforcement":false}}' + string: '{"agentVersion":"5.1.4925.4","status":"Online","provisioningState":"Succeeded","vmSize":"Standard_F4","supportedTaskTypes":["Connect.MongoDb","Migrate.MongoDb","Validate.MongoDb","ConnectToSource.Oracle.Sync","ConnectToSource.PostgreSql.Sync","ConnectToSource.AWSRDSPostgreSql.Sync","ConnectToTarget.AzureDbForPostgreSql.Sync","ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync","GetUserTablesOracle","GetUserTablesPostgreSql","Validate.Oracle.AzureDbPostgreSql.Sync","Service.Check.OCI","Service.Upload.OCI","Service.Install.OCI","Migrate.PostgreSql.AzureDbForPostgreSql.Sync","Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","Migrate.AWSRDSPostgreSql.AzureDbForPostgreSql.Sync","ConnectToSource.AWSRDSSqlServer.Sync","ConnectToSource.SqlServer.Sync","Migrate.AWSRDSMySql.AzureDbForMySql.Sync","SyncMigrationOperationalTelemetry.LogCollector","Migrate.Oracle.AzureDbForPostgreSql.Sync","Migrate.AWSRDSSqlServer.AzureSqlDb.Sync","GetUserTables.AzureSqlDb.Sync","ConnectToTarget.SqlDb.Sync","Migrate.MySql.AzureDbForMySql.Sync","Migrate.SqlServer.AzureSqlDb.Sync","ValidateMigrationInput.SqlServer.SqlDb.Sync","GetTDECertificates.Sql","Migrate.Ssis","Migrate.SqlServer.AzureSqlDbMI","MigrateSchemaSqlServerSqlDb","ValidateSsisMigrationInput.SqlServer","ValidateMigrationInput.SqlServer.AzureSqlDbMI","ConnectToTarget.AzureDbForMySql","ConnectToSource.SqlServer","GetUserTables.Sql","ConnectToTarget.AzureSqlDbMI","ConnectToTarget.SqlDb","ConnectToTarget.SqlServer","Migrate.SqlServer.SqlDb","Migrate.SqlServer.SqlServer","ValidateMigrationInput.SqlServer.SqlServer","ConnectToSource.AWSRDSMySql.Sync","ConnectToSource.MySql","GetProjectDetails.MySql.Sql","GetProjectDetails.Oracle.Sql","ConnectToTarget.AzureSqlDbMI.Sync.LRS","ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS","Migrate.SqlServer.AzureSqlDbMI.Sync.LRS"],"workerType":"Cloud","registeredWorker":"","agentConfiguration":{"maxParallelMigrationActivities":-1,"enableWindowsLoginsMigrationToMi":false,"disableTlsEnforcement":false}}' headers: cache-control: - no-cache content-length: - - '943' + - '1997' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:17 GMT + - Wed, 28 Oct 2020 11:12:58 GMT expires: - '-1' pragma: @@ -1340,33 +1253,31 @@ interactions: - keep-alive Content-Length: - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/stop?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/stop?api-version=2018-07-15-preview response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview cache-control: - no-cache content-length: - '0' date: - - Sat, 05 Sep 2020 03:43:18 GMT + - Wed, 28 Oct 2020 11:12:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/ba87a928-32f3-4ae2-b6bc-6964484103ea?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview pragma: - no-cache server: @@ -1376,7 +1287,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 202 message: Accepted @@ -1394,13 +1305,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview response: body: - string: '{"name":"ba87a928-32f3-4ae2-b6bc-6964484103ea","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea","status":"Running"}' + string: '{"name":"966b9326-16cb-431e-9b8f-bde39e7b8900","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900","status":"Running"}' headers: cache-control: - no-cache @@ -1409,7 +1320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:43:48 GMT + - Wed, 28 Oct 2020 11:13:29 GMT expires: - '-1' pragma: @@ -1441,13 +1352,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview response: body: - string: '{"name":"ba87a928-32f3-4ae2-b6bc-6964484103ea","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea","status":"Running"}' + string: '{"name":"966b9326-16cb-431e-9b8f-bde39e7b8900","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900","status":"Running"}' headers: cache-control: - no-cache @@ -1456,7 +1367,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:44:20 GMT + - Wed, 28 Oct 2020 11:14:00 GMT expires: - '-1' pragma: @@ -1488,22 +1399,22 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview response: body: - string: '{"name":"ba87a928-32f3-4ae2-b6bc-6964484103ea","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/ba87a928-32f3-4ae2-b6bc-6964484103ea","status":"Succeeded"}' + string: '{"name":"966b9326-16cb-431e-9b8f-bde39e7b8900","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900","status":"Running"}' headers: cache-control: - no-cache content-length: - - '236' + - '234' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:44:52 GMT + - Wed, 28 Oct 2020 11:14:30 GMT expires: - '-1' pragma: @@ -1529,34 +1440,28 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms check-status + - dms stop Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview response: body: - string: '{"status":"Stopped","provisioningState":"Stopped","registeredWorker":""}' + string: '{"name":"966b9326-16cb-431e-9b8f-bde39e7b8900","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900","status":"Running"}' headers: cache-control: - no-cache content-length: - - '72' + - '234' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:44:54 GMT + - Wed, 28 Oct 2020 11:15:00 GMT expires: - '-1' pragma: @@ -1582,51 +1487,45 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms stop Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/start?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900?api-version=2018-07-15-preview response: body: - string: '' + string: '{"name":"966b9326-16cb-431e-9b8f-bde39e7b8900","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/966b9326-16cb-431e-9b8f-bde39e7b8900","status":"Succeeded"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview cache-control: - no-cache content-length: - - '0' + - '236' + content-type: + - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:44:56 GMT + - Wed, 28 Oct 2020 11:15:30 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1192' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -1635,28 +1534,32 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms check-status Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"status":"Stopped","provisioningState":"Stopped","registeredWorker":""}' headers: cache-control: - no-cache content-length: - - '234' + - '72' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:45:28 GMT + - Wed, 28 Oct 2020 11:15:32 GMT expires: - '-1' pragma: @@ -1685,42 +1588,46 @@ interactions: - dms start Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/start?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview cache-control: - no-cache content-length: - - '234' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Sat, 05 Sep 2020 03:46:00 GMT + - Wed, 28 Oct 2020 11:15:32 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1735,13 +1642,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1750,7 +1657,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:46:32 GMT + - Wed, 28 Oct 2020 11:16:03 GMT expires: - '-1' pragma: @@ -1782,13 +1689,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1797,7 +1704,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:47:04 GMT + - Wed, 28 Oct 2020 11:16:34 GMT expires: - '-1' pragma: @@ -1829,13 +1736,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1844,7 +1751,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:47:35 GMT + - Wed, 28 Oct 2020 11:17:03 GMT expires: - '-1' pragma: @@ -1876,13 +1783,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1891,7 +1798,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:48:07 GMT + - Wed, 28 Oct 2020 11:17:33 GMT expires: - '-1' pragma: @@ -1923,13 +1830,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1938,7 +1845,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:48:39 GMT + - Wed, 28 Oct 2020 11:18:04 GMT expires: - '-1' pragma: @@ -1970,13 +1877,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -1985,7 +1892,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:49:11 GMT + - Wed, 28 Oct 2020 11:18:34 GMT expires: - '-1' pragma: @@ -2017,13 +1924,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2032,7 +1939,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:49:43 GMT + - Wed, 28 Oct 2020 11:19:04 GMT expires: - '-1' pragma: @@ -2064,13 +1971,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2079,7 +1986,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:50:14 GMT + - Wed, 28 Oct 2020 11:19:34 GMT expires: - '-1' pragma: @@ -2111,13 +2018,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2126,7 +2033,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:50:46 GMT + - Wed, 28 Oct 2020 11:20:04 GMT expires: - '-1' pragma: @@ -2158,13 +2065,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2173,7 +2080,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:51:18 GMT + - Wed, 28 Oct 2020 11:20:34 GMT expires: - '-1' pragma: @@ -2205,13 +2112,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2220,7 +2127,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:51:50 GMT + - Wed, 28 Oct 2020 11:21:05 GMT expires: - '-1' pragma: @@ -2252,13 +2159,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2267,7 +2174,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:52:22 GMT + - Wed, 28 Oct 2020 11:21:36 GMT expires: - '-1' pragma: @@ -2299,13 +2206,13 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Running"}' headers: cache-control: - no-cache @@ -2314,7 +2221,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:52:54 GMT + - Wed, 28 Oct 2020 11:22:06 GMT expires: - '-1' pragma: @@ -2346,22 +2253,22 @@ interactions: ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"f2671eae-168a-49c7-bb38-1a8bc8183306","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/f2671eae-168a-49c7-bb38-1a8bc8183306","status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '234' + - '236' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:53:27 GMT + - Wed, 28 Oct 2020 11:22:36 GMT expires: - '-1' pragma: @@ -2387,28 +2294,32 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms check-status Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - -g -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"agentVersion":"5.1.4925.4","status":"Online","provisioningState":"Succeeded","vmSize":"Standard_F4","supportedTaskTypes":["Connect.MongoDb","Migrate.MongoDb","Validate.MongoDb","ConnectToSource.Oracle.Sync","ConnectToSource.PostgreSql.Sync","ConnectToSource.AWSRDSPostgreSql.Sync","ConnectToTarget.AzureDbForPostgreSql.Sync","ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync","GetUserTablesOracle","GetUserTablesPostgreSql","Validate.Oracle.AzureDbPostgreSql.Sync","Service.Check.OCI","Service.Upload.OCI","Service.Install.OCI","Migrate.PostgreSql.AzureDbForPostgreSql.Sync","Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","Migrate.AWSRDSPostgreSql.AzureDbForPostgreSql.Sync","ConnectToSource.AWSRDSSqlServer.Sync","ConnectToSource.SqlServer.Sync","Migrate.AWSRDSMySql.AzureDbForMySql.Sync","SyncMigrationOperationalTelemetry.LogCollector","Migrate.Oracle.AzureDbForPostgreSql.Sync","Migrate.AWSRDSSqlServer.AzureSqlDb.Sync","GetUserTables.AzureSqlDb.Sync","ConnectToTarget.SqlDb.Sync","Migrate.MySql.AzureDbForMySql.Sync","Migrate.SqlServer.AzureSqlDb.Sync","ValidateMigrationInput.SqlServer.SqlDb.Sync","GetTDECertificates.Sql","Migrate.Ssis","Migrate.SqlServer.AzureSqlDbMI","MigrateSchemaSqlServerSqlDb","ValidateSsisMigrationInput.SqlServer","ValidateMigrationInput.SqlServer.AzureSqlDbMI","ConnectToTarget.AzureDbForMySql","ConnectToSource.SqlServer","GetUserTables.Sql","ConnectToTarget.AzureSqlDbMI","ConnectToTarget.SqlDb","ConnectToTarget.SqlServer","Migrate.SqlServer.SqlDb","Migrate.SqlServer.SqlServer","ValidateMigrationInput.SqlServer.SqlServer","ConnectToSource.AWSRDSMySql.Sync","ConnectToSource.MySql","GetProjectDetails.MySql.Sql","GetProjectDetails.Oracle.Sql","ConnectToTarget.AzureSqlDbMI.Sync.LRS","ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS","Migrate.SqlServer.AzureSqlDbMI.Sync.LRS"],"workerType":"Cloud","registeredWorker":"","agentConfiguration":{"maxParallelMigrationActivities":-1,"enableWindowsLoginsMigrationToMi":false,"disableTlsEnforcement":false}}' headers: cache-control: - no-cache content-length: - - '234' + - '1997' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:53:58 GMT + - Wed, 28 Oct 2020 11:22:38 GMT expires: - '-1' pragma: @@ -2427,35 +2338,42 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"name": "dmsclitest000003", "type": "services"}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms check-name Connection: - keep-alive + Content-Length: + - '47' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -g -n + - -l -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"reason":"AlreadyExists","message":"The resource name is already in + use.","nameAvailable":false}' headers: cache-control: - no-cache content-length: - - '234' + - '97' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:54:29 GMT + - Wed, 28 Oct 2020 11:22:39 GMT expires: - '-1' pragma: @@ -2481,45 +2399,49 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - -g -n + - -g -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview cache-control: - no-cache content-length: - - '234' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Sat, 05 Sep 2020 03:55:01 GMT + - Wed, 28 Oct 2020 11:22:40 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14998' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2528,19 +2450,19 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms start + - dms delete Connection: - keep-alive ParameterSetName: - - -g -n + - -g -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview response: body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' + string: '{"name":"9a74850a-e735-4749-94f4-ff9398376969","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969","status":"Running"}' headers: cache-control: - no-cache @@ -2549,7 +2471,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:55:32 GMT + - Wed, 28 Oct 2020 11:23:11 GMT expires: - '-1' pragma: @@ -2567,448 +2489,6 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:56:04 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:56:35 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:57:08 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:57:40 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:58:11 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms start - Connection: - - keep-alive - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985?api-version=2018-03-31-preview - response: - body: - string: '{"name":"b8e16e99-47e8-4249-bfa8-5a8fb0b86985","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/b8e16e99-47e8-4249-bfa8-5a8fb0b86985","status":"Succeeded"}' - headers: - cache-control: - - no-cache - content-length: - - '236' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:58:43 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms check-status - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003/checkStatus?api-version=2018-03-31-preview - response: - body: - string: '{"agentVersion":"5.1.4877.6","status":"Online","provisioningState":"Succeeded","vmSize":"Standard_A2_v2","supportedTaskTypes":["Connect.MongoDb","Migrate.MongoDb","Validate.MongoDb","GetUserTablesOracle","GetUserTablesPostgreSql","Service.Check.OCI","Service.Upload.OCI","Service.Install.OCI","GetTDECertificates.Sql","Migrate.Ssis","Migrate.SqlServer.AzureSqlDbMI","MigrateSchemaSqlServerSqlDb","ValidateMigrationInput.SqlServer.AzureSqlDbMI","ConnectToTarget.AzureDbForMySql","ConnectToSource.SqlServer","GetUserTables.Sql","ConnectToTarget.AzureSqlDbMI","ConnectToTarget.SqlDb","ConnectToTarget.SqlServer","Migrate.SqlServer.SqlDb","Migrate.SqlServer.SqlServer","ValidateMigrationInput.SqlServer.SqlServer","ConnectToSource.AWSRDSMySql.Sync","ConnectToSource.MySql"],"workerType":"Cloud","registeredWorker":"","agentConfiguration":{"maxParallelMigrationActivities":-1,"enableWindowsLoginsMigrationToMi":false,"disableTlsEnforcement":false}}' - headers: - cache-control: - - no-cache - content-length: - - '943' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:58:46 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: '{"name": "dmsclitest000003", "type": "services"}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms check-name - Connection: - - keep-alive - Content-Length: - - '47' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -l -n - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-03-31-preview - response: - body: - string: '{"reason":"AlreadyExists","message":"The resource name is already in - use.","nameAvailable":false}' - headers: - cache-control: - - no-cache - content-length: - - '97' - content-type: - - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 03:58:48 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms delete - Connection: - - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 - ParameterSetName: - - -g -n -y - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - accept-language: - - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb?api-version=2018-03-31-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Sat, 05 Sep 2020 03:58:53 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/2f0899f0-3216-4d1f-8296-bebc7304f8fb?api-version=2018-03-31-preview - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14998' - status: - code: 202 - message: Accepted - request: body: null headers: @@ -3023,13 +2503,13 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview response: body: - string: '{"name":"2f0899f0-3216-4d1f-8296-bebc7304f8fb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb","status":"Running"}' + string: '{"name":"9a74850a-e735-4749-94f4-ff9398376969","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969","status":"Running"}' headers: cache-control: - no-cache @@ -3038,7 +2518,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:59:24 GMT + - Wed, 28 Oct 2020 11:23:41 GMT expires: - '-1' pragma: @@ -3070,13 +2550,13 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview response: body: - string: '{"name":"2f0899f0-3216-4d1f-8296-bebc7304f8fb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb","status":"Running"}' + string: '{"name":"9a74850a-e735-4749-94f4-ff9398376969","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969","status":"Running"}' headers: cache-control: - no-cache @@ -3085,7 +2565,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 03:59:57 GMT + - Wed, 28 Oct 2020 11:24:11 GMT expires: - '-1' pragma: @@ -3117,13 +2597,13 @@ interactions: ParameterSetName: - -g -n -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969?api-version=2018-07-15-preview response: body: - string: '{"name":"2f0899f0-3216-4d1f-8296-bebc7304f8fb","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/2f0899f0-3216-4d1f-8296-bebc7304f8fb","status":"Succeeded"}' + string: '{"name":"9a74850a-e735-4749-94f4-ff9398376969","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/9a74850a-e735-4749-94f4-ff9398376969","status":"Succeeded"}' headers: cache-control: - no-cache @@ -3132,7 +2612,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:00:28 GMT + - Wed, 28 Oct 2020 11:24:42 GMT expires: - '-1' pragma: @@ -3168,12 +2648,12 @@ interactions: ParameterSetName: - -l -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/checkNameAvailability?api-version=2018-07-15-preview response: body: string: '{"nameAvailable":true}' @@ -3185,7 +2665,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:00:31 GMT + - Wed, 28 Oct 2020 11:24:44 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_task_commands.yaml b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_task_commands.yaml index 9a6cf61f8fd..1a6468b743d 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_task_commands.yaml +++ b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/recordings/test_task_commands.yaml @@ -13,31 +13,32 @@ interactions: ParameterSetName: - -g -n --vnet-name User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-network/12.0.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default?api-version=2020-07-01 response: body: - string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\",\r\n - \ \"etag\": \"W/\\\"2b7bfbf0-6578-4563-9203-303bcfc88f5b\\\"\",\r\n \"properties\": - {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n - \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Enabled\",\r\n - \ \"privateLinkServiceNetworkPolicies\": \"Enabled\"\r\n },\r\n \"type\": - \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"default\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"35da2deb-3dc8-4bd5-8194-8e868f9db344\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ + : \"Enabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Enabled\",\r\ + \n \"subnetID\": 0\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\ + \r\n}" headers: cache-control: - no-cache content-length: - - '605' + - '625' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:01:07 GMT + - Wed, 28 Oct 2020 11:05:47 GMT etag: - - W/"2b7bfbf0-6578-4563-9203-303bcfc88f5b" + - W/"35da2deb-3dc8-4bd5-8194-8e868f9db344" expires: - '-1' pragma: @@ -54,13 +55,14 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2a7c3820-14f7-418e-9eb4-54d346cd7809 + - 45dc3350-51f1-417d-aa4e-6f63b9174900 status: code: 200 message: OK - request: - body: '{"location": "centralus", "properties": {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"}, - "sku": {"name": "Standard_2vCores"}}' + body: '{"tags": {"area": "cli", "env": "test"}, "location": "centralus", "properties": + {"virtualSubnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"}, + "sku": {"name": "Premium_4vCores"}}' headers: Accept: - application/json @@ -71,35 +73,35 @@ interactions: Connection: - keep-alive Content-Length: - - '328' + - '367' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"U5DWJm9VDUENhf9y1lDV5W2CcomORpCdyaOJeRSZus8=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"provisioningState":"Accepted","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"9PV+c/WPksao8SSFrvxisyE9zEN6hkPc4QpSocQQQbY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview cache-control: - no-cache content-length: - - '733' + - '766' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:01:17 GMT + - Wed, 28 Oct 2020 11:05:50 GMT etag: - - '"U5DWJm9VDUENhf9y1lDV5W2CcomORpCdyaOJeRSZus8="' + - '"9PV+c/WPksao8SSFrvxisyE9zEN6hkPc4QpSocQQQbY="' expires: - '-1' pragma: @@ -111,7 +113,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1198' status: code: 201 message: Created @@ -127,15 +129,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -144,7 +146,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:01:49 GMT + - Wed, 28 Oct 2020 11:06:21 GMT expires: - '-1' pragma: @@ -174,15 +176,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -191,7 +193,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:02:21 GMT + - Wed, 28 Oct 2020 11:06:51 GMT expires: - '-1' pragma: @@ -221,15 +223,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -238,7 +240,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:02:52 GMT + - Wed, 28 Oct 2020 11:07:22 GMT expires: - '-1' pragma: @@ -268,15 +270,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -285,7 +287,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:03:24 GMT + - Wed, 28 Oct 2020 11:07:52 GMT expires: - '-1' pragma: @@ -315,15 +317,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -332,7 +334,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:03:56 GMT + - Wed, 28 Oct 2020 11:08:22 GMT expires: - '-1' pragma: @@ -362,15 +364,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -379,7 +381,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:04:28 GMT + - Wed, 28 Oct 2020 11:08:52 GMT expires: - '-1' pragma: @@ -409,15 +411,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -426,7 +428,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:05:00 GMT + - Wed, 28 Oct 2020 11:09:22 GMT expires: - '-1' pragma: @@ -456,15 +458,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -473,7 +475,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:05:32 GMT + - Wed, 28 Oct 2020 11:09:52 GMT expires: - '-1' pragma: @@ -503,15 +505,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -520,7 +522,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:06:03 GMT + - Wed, 28 Oct 2020 11:10:23 GMT expires: - '-1' pragma: @@ -550,15 +552,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -567,7 +569,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:06:35 GMT + - Wed, 28 Oct 2020 11:10:53 GMT expires: - '-1' pragma: @@ -597,15 +599,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -614,7 +616,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:07:07 GMT + - Wed, 28 Oct 2020 11:11:23 GMT expires: - '-1' pragma: @@ -644,15 +646,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -661,7 +663,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:07:38 GMT + - Wed, 28 Oct 2020 11:11:53 GMT expires: - '-1' pragma: @@ -691,15 +693,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -708,7 +710,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:08:11 GMT + - Wed, 28 Oct 2020 11:12:23 GMT expires: - '-1' pragma: @@ -738,15 +740,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -755,7 +757,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:08:42 GMT + - Wed, 28 Oct 2020 11:12:54 GMT expires: - '-1' pragma: @@ -785,15 +787,15 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Running"}' headers: cache-control: - no-cache @@ -802,7 +804,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:09:14 GMT + - Wed, 28 Oct 2020 11:13:24 GMT expires: - '-1' pragma: @@ -832,24 +834,24 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"name":"46815cd0-8dfa-40b8-96c9-01fe65b3e26f","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/46815cd0-8dfa-40b8-96c9-01fe65b3e26f","status":"Succeeded"}' headers: cache-control: - no-cache content-length: - - '234' + - '236' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:09:47 GMT + - Wed, 28 Oct 2020 11:13:54 GMT expires: - '-1' pragma: @@ -879,24 +881,27 @@ interactions: Connection: - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -l -n -g --sku-name --subnet --tags User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' + string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-fzdnhhjpqtuvzqm7drswbym8","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"kxPaTaPAilJqdj7JXDjUvOs75LBVbrZibzmgisFYET0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Premium_4vCores","size":"4 + vCores","tier":"Premium"},"tags":{"area":"cli","env":"test"},"type":"Microsoft.DataMigration/services"}' headers: cache-control: - no-cache content-length: - - '234' + - '1002' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:10:20 GMT + - Wed, 28 Oct 2020 11:13:54 GMT + etag: + - '"kxPaTaPAilJqdj7JXDjUvOs75LBVbrZibzmgisFYET0="' expires: - '-1' pragma: @@ -915,82 +920,44 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"location": "centralus", "properties": {"sourcePlatform": "sql", "targetPlatform": + "sqldb"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project create Connection: - keep-alive - ParameterSetName: - - -l -n -g --sku-name --subnet - User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview - response: - body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Running"}' - headers: - cache-control: - - no-cache - content-length: - - '234' - content-type: + Content-Length: + - '93' + Content-Type: - application/json; charset=utf-8 - date: - - Sat, 05 Sep 2020 04:10:50 GMT - expires: - - '-1' - pragma: - - no-cache - server: - - Microsoft-IIS/10.0 - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - dms create - Connection: - - keep-alive ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -l -n --source-platform --target-platform User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004?api-version=2018-07-15-preview response: body: - string: '{"name":"919ce881-6c43-4953-9623-3ffd69701194","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/919ce881-6c43-4953-9623-3ffd69701194","status":"Succeeded"}' + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:13:56.9760775+00:00","provisioningState":"Succeeded"},"etag":"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '236' + - '534' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:22 GMT + - Wed, 28 Oct 2020 11:13:57 GMT + etag: + - '"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0="' expires: - '-1' pragma: @@ -999,48 +966,52 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: - code: 200 - message: OK + code: 201 + message: Created - request: - body: null + body: '{"location": "centralus", "properties": {"sourcePlatform": "mysql", "targetPlatform": + "azuredbformysql"}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms create + - dms project create Connection: - keep-alive + Content-Length: + - '105' + Content-Type: + - application/json; charset=utf-8 ParameterSetName: - - -l -n -g --sku-name --subnet + - -g --service-name -l -n --source-platform --target-platform User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?api-version=2018-03-31-preview + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007?api-version=2018-07-15-preview response: body: - string: '{"properties":{"provisioningState":"Succeeded","virtualNicId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/networkInterfaces/NIC-x9nmpdzt7wwaw2xdj8md9e63","virtualSubnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.Network/virtualNetworks/dms.clitest.vn000002/subnets/default"},"etag":"+vTRFGXb0l+MMxthwJ9KqAxEZ54A5uQE2PvRzQn3qXI=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003","kind":"Cloud","location":"centralus","name":"dmsclitest000003","sku":{"name":"Standard_2vCores","size":"2 - vCores","tier":"Standard"},"type":"Microsoft.DataMigration/services"}' + string: '{"properties":{"sourcePlatform":"MySQL","targetPlatform":"AzureDbForMySQL","creationTime":"2020-10-28T11:13:59.4273709+00:00","provisioningState":"Succeeded"},"etag":"/UIUhEwRjrBrXiNhtSrQ7GY1DChGgkmkcYssXv8307c=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007","location":"centralus","name":"projectmysql000007","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '969' + - '556' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:24 GMT + - Wed, 28 Oct 2020 11:13:59 GMT etag: - - '"+vTRFGXb0l+MMxthwJ9KqAxEZ54A5uQE2PvRzQn3qXI="' + - '"/UIUhEwRjrBrXiNhtSrQ7GY1DChGgkmkcYssXv8307c="' expires: - '-1' pragma: @@ -1049,18 +1020,16 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: - code: 200 - message: OK + code: 201 + message: Created - request: - body: '{"location": "centralus", "properties": {"sourcePlatform": "SQL", "targetPlatform": - "SQLDB"}}' + body: '{"location": "centralus", "properties": {"sourcePlatform": "postgresql", + "targetPlatform": "azuredbforpostgresql"}}' headers: Accept: - application/json @@ -1071,32 +1040,32 @@ interactions: Connection: - keep-alive Content-Length: - - '93' + - '115' Content-Type: - application/json; charset=utf-8 ParameterSetName: - -g --service-name -l -n --source-platform --target-platform User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009?api-version=2018-07-15-preview response: body: - string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-09-05T04:11:37.0845567+00:00","provisioningState":"Succeeded"},"etag":"L7oZyTCrViwkg7Bvt7IffpFseDCtcbEiNPCHqUXTF8A=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2020-10-28T11:14:02.0226314+00:00","provisioningState":"Succeeded"},"etag":"94BBHS1NT+ip7/9/O3/jgQE84XsCotogNny88pjdRzk=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009","location":"centralus","name":"projectpg000009","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '534' + - '566' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:37 GMT + - Wed, 28 Oct 2020 11:14:02 GMT etag: - - '"L7oZyTCrViwkg7Bvt7IffpFseDCtcbEiNPCHqUXTF8A="' + - '"94BBHS1NT+ip7/9/O3/jgQE84XsCotogNny88pjdRzk="' expires: - '-1' pragma: @@ -1108,7 +1077,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' status: code: 201 message: Created @@ -1123,17 +1092,15 @@ interactions: - dms project task show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview response: body: string: '' @@ -1143,7 +1110,7 @@ interactions: content-length: - '0' date: - - Sat, 05 Sep 2020 04:11:40 GMT + - Wed, 28 Oct 2020 11:14:02 GMT expires: - '-1' pragma: @@ -1158,54 +1125,35 @@ interactions: code: 404 message: Not Found - request: - body: '{"properties": {"taskType": "Migrate.SqlServer.SqlDb", "input": {"sourceConnectionInfo": - {"userName": "testuser", "password": "testpassword", "type": "SqlConnectionInfo", - "dataSource": "notarealsourceserver", "authentication": "SqlAuthentication", - "encryptConnection": true, "trustServerCertificate": true}, "targetConnectionInfo": - {"userName": "testuser", "password": "testpassword", "type": "SqlConnectionInfo", - "dataSource": "notarealtargetserver", "authentication": "SqlAuthentication", - "encryptConnection": true, "trustServerCertificate": true}, "selectedDatabases": - [{"name": "SourceDatabase1", "targetDatabaseName": "TargetDatabase1", "makeSourceDbReadOnly": - false, "tableMap": {"dbo.TestTableSource1": "dbo.TestTableTarget1", "dbo.TestTableSource2": - "dbo.TestTableTarget2"}}], "validationOptions": {"enableSchemaValidation": false, - "enableDataIntegrityValidation": false, "enableQueryAnalysisValidation": false}}}}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms project task create + - dms project task show Connection: - keep-alive - Content-Length: - - '922' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - --database-options-json -n --project-name -g --service-name --source-connection-json - --target-connection-json + - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-03-31-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008?api-version=2018-07-15-preview response: body: - string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"H0Ie2dmnqSEG0ucZByVmI6Ex+kdeaIBq68igivphho06OMaqBpzIXF/MSFlWpgzjZYRmHuxXjyYMZjCsfrBBnJn8G59PRI3sYlynhXjll1clZkSj//0O+5k2SnMRx1xPqOo7cvxrmBzgkJcsHTiHu15JiXioG8I9+1rHySNR0f+8sKs+pnCItBxzBs07DaM6G5f+oM7kPY/W31aBcpqPepimsZhgcAELlalhVeLWQsDi4tNu4Vweb568xR78TbkZ4ANNBC327rwjplTjkfVDkteFz5japVhfwNbtDaKTOoJOUhLVjPMS6cfKkTxbuabf7DCAdkNmQXWcglr1FE6wBg=="},"taskId":"ecf8be03-8f35-4228-87d2-bd1617769f67","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-09-05T04:11:41.693993+00:00"},"etag":"wZprLAyFBWS15V3QZBTzKQ4XjCp+BRVq4WBgCcyImDM=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + string: '' headers: cache-control: - no-cache content-length: - - '1834' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Sat, 05 Sep 2020 04:11:41 GMT - etag: - - '"wZprLAyFBWS15V3QZBTzKQ4XjCp+BRVq4WBgCcyImDM="' + - Wed, 28 Oct 2020 11:14:03 GMT expires: - '-1' pragma: @@ -1216,11 +1164,9 @@ interactions: - max-age=31536000; includeSubDomains x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1197' status: - code: 201 - message: Created + code: 404 + message: Not Found - request: body: null headers: @@ -1232,31 +1178,25 @@ interactions: - dms project task show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010?api-version=2018-07-15-preview response: body: - string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"H0Ie2dmnqSEG0ucZByVmI6Ex+kdeaIBq68igivphho06OMaqBpzIXF/MSFlWpgzjZYRmHuxXjyYMZjCsfrBBnJn8G59PRI3sYlynhXjll1clZkSj//0O+5k2SnMRx1xPqOo7cvxrmBzgkJcsHTiHu15JiXioG8I9+1rHySNR0f+8sKs+pnCItBxzBs07DaM6G5f+oM7kPY/W31aBcpqPepimsZhgcAELlalhVeLWQsDi4tNu4Vweb568xR78TbkZ4ANNBC327rwjplTjkfVDkteFz5japVhfwNbtDaKTOoJOUhLVjPMS6cfKkTxbuabf7DCAdkNmQXWcglr1FE6wBg=="},"taskId":"ecf8be03-8f35-4228-87d2-bd1617769f67","taskType":"Migrate.SqlServer.SqlDb","state":"Running","isCloneable":true,"createdOn":"2020-09-05T04:11:41.693993+00:00"},"etag":"c4rVcMsp6h9MUU/nm+kZqCfVQdOQlTVqm1yiMGX80z8=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + string: '' headers: cache-control: - no-cache content-length: - - '1835' - content-type: - - application/json; charset=utf-8 + - '0' date: - - Sat, 05 Sep 2020 04:11:43 GMT - etag: - - '"c4rVcMsp6h9MUU/nm+kZqCfVQdOQlTVqm1yiMGX80z8="' + - Wed, 28 Oct 2020 11:14:03 GMT expires: - '-1' pragma: @@ -1265,15 +1205,11 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff status: - code: 200 - message: OK + code: 404 + message: Not Found - request: body: null headers: @@ -1282,36 +1218,33 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms project task cancel + - dms project task create Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g --service-name --project-name -n + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005/cancel?api-version=2018-03-31-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004?api-version=2018-07-15-preview response: body: - string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"H0Ie2dmnqSEG0ucZByVmI6Ex+kdeaIBq68igivphho06OMaqBpzIXF/MSFlWpgzjZYRmHuxXjyYMZjCsfrBBnJn8G59PRI3sYlynhXjll1clZkSj//0O+5k2SnMRx1xPqOo7cvxrmBzgkJcsHTiHu15JiXioG8I9+1rHySNR0f+8sKs+pnCItBxzBs07DaM6G5f+oM7kPY/W31aBcpqPepimsZhgcAELlalhVeLWQsDi4tNu4Vweb568xR78TbkZ4ANNBC327rwjplTjkfVDkteFz5japVhfwNbtDaKTOoJOUhLVjPMS6cfKkTxbuabf7DCAdkNmQXWcglr1FE6wBg=="},"taskId":"ecf8be03-8f35-4228-87d2-bd1617769f67","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2020-09-05T04:11:41.693993+00:00"},"etag":"hwCxvgjmU2G4mamQOBCBx+xnmC025uWJMRYgjGFOX4w=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:13:56.9760775+00:00","provisioningState":"Succeeded"},"etag":"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '1837' + - '534' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:45 GMT + - Wed, 28 Oct 2020 11:14:04 GMT etag: - - '"hwCxvgjmU2G4mamQOBCBx+xnmC025uWJMRYgjGFOX4w="' + - '"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0="' expires: - '-1' pragma: @@ -1326,8 +1259,6 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-writes: - - '1198' status: code: 200 message: OK @@ -1339,7 +1270,7 @@ interactions: {"userName": "testuser", "password": "testpassword", "type": "SqlConnectionInfo", "dataSource": "notarealtargetserver", "authentication": "SqlAuthentication", "encryptConnection": true, "trustServerCertificate": true}, "selectedDatabases": - [{"name": "SourceDatabase2", "targetDatabaseName": "TargetDatabase2", "makeSourceDbReadOnly": + [{"name": "SourceDatabase1", "targetDatabaseName": "TargetDatabase1", "makeSourceDbReadOnly": false, "tableMap": {"dbo.TestTableSource1": "dbo.TestTableTarget1", "dbo.TestTableSource2": "dbo.TestTableTarget2"}}], "validationOptions": {"enableSchemaValidation": false, "enableDataIntegrityValidation": false, "enableQueryAnalysisValidation": false}}}}' @@ -1357,18 +1288,18 @@ interactions: Content-Type: - application/json; charset=utf-8 ParameterSetName: - - --database-options-json -n --project-name -g --service-name --source-connection-json + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json --target-connection-json User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview response: body: - string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"kqVCJuxH3DayD+bc3TNlXKCGU7HR000dA5Z7WhZXz7s=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"kqVCJuxH3DayD+bc3TNlXKCGU7HR000dA5Z7WhZXz7s=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"XzoCts5H6bbBdp9AC6SwyktWQTersepZv55X6idO6SjS5LLV3+k2WLtwzTsVfhDwnbvWaj7xNXktLt8j0vGldzllJKDAtXb2fP54fYK5ghVIMwMjDHnfZWaqf00PuCApDFaKLyh74V+Yszw/10rNOKD1Tih7xMK2UwSCZZgSn1v0+/z32RG8ybKpoL3aT1h1kD/oI3RKmg4qgA50sU3GABwMGso8Qh/HiBfx/p1sb+vswfLPN1PklEJMYh1PbA+vcQCjlegQybbn4JSyLc3hB3duxnj78EVvuzZ1aO2GBchSn+Mjyu9zU4r+sq7hTkRYUoU1jQscqnLfrAwLgEZNbA=="},"taskId":"32af81d1-8a19-46a1-bba0-c67be8f0fce2","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-09-05T04:11:47.9454565+00:00"},"etag":"4M278tnEkHR72jZk9ETk3tpS4A/94i0mL1n6aE9SPMs=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}' + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"cvyCyLZ4DVzRjVG7FkpAiPa7b5KEYp7ZKzSZ4Ar8wQpDU7oEunIuFJMppyLgWAYG+Xgwr9o92FwmG/q9USl//OnMFpr8O3ZcIdXv8onDZocTCa+ALzcVtlzpwMJDaP8gcOHYkgMvGGsRf7SsrTG449bScaZj2csP1Me6bGPBhXdAL6F4iCyMuqFsoa2C+ZuLQ9yzcgV6l+XHQxMX9KfjAtL9SyqqtvgFb4dJnBJc9dZWfwlE2flFsUjjuR68pQ8/Ej8vCDGFZkPdc1/kiFtHldC9Pv5dfFVsHZBP44Ab7of+oPgbsKwivHZhfJm9Cf2PbKTako6Oyu5UC8gGe2kI7w=="},"taskId":"6b28a128-ad85-46f2-805e-ccf616000b13","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:06.2726807+00:00"},"etag":"+A0QTVI6IHS7R020jxwMKwKzGCperSDHfynRd5pqRRI=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' headers: cache-control: - no-cache @@ -1377,9 +1308,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:48 GMT + - Wed, 28 Oct 2020 11:14:06 GMT etag: - - '"4M278tnEkHR72jZk9ETk3tpS4A/94i0mL1n6aE9SPMs="' + - '"+A0QTVI6IHS7R020jxwMKwKzGCperSDHfynRd5pqRRI="' expires: - '-1' pragma: @@ -1391,7 +1322,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1199' status: code: 201 message: Created @@ -1403,32 +1334,32 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms project task list + - dms project task show Connection: - keep-alive - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g --service-name --project-name --task-type + - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks?api-version=2018-03-31-preview&taskType=Migrate.SqlServer.SqlDb + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?api-version=2018-07-15-preview response: body: - string: '{"value":[{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"O2FLQ+ImJbzxLLH0gHzMRKolSvySJk79dKno8o25pV0=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"H0Ie2dmnqSEG0ucZByVmI6Ex+kdeaIBq68igivphho06OMaqBpzIXF/MSFlWpgzjZYRmHuxXjyYMZjCsfrBBnJn8G59PRI3sYlynhXjll1clZkSj//0O+5k2SnMRx1xPqOo7cvxrmBzgkJcsHTiHu15JiXioG8I9+1rHySNR0f+8sKs+pnCItBxzBs07DaM6G5f+oM7kPY/W31aBcpqPepimsZhgcAELlalhVeLWQsDi4tNu4Vweb568xR78TbkZ4ANNBC327rwjplTjkfVDkteFz5japVhfwNbtDaKTOoJOUhLVjPMS6cfKkTxbuabf7DCAdkNmQXWcglr1FE6wBg=="},"taskId":"ecf8be03-8f35-4228-87d2-bd1617769f67","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2020-09-05T04:11:41.693993+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"},{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"kqVCJuxH3DayD+bc3TNlXKCGU7HR000dA5Z7WhZXz7s=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"kqVCJuxH3DayD+bc3TNlXKCGU7HR000dA5Z7WhZXz7s=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"XzoCts5H6bbBdp9AC6SwyktWQTersepZv55X6idO6SjS5LLV3+k2WLtwzTsVfhDwnbvWaj7xNXktLt8j0vGldzllJKDAtXb2fP54fYK5ghVIMwMjDHnfZWaqf00PuCApDFaKLyh74V+Yszw/10rNOKD1Tih7xMK2UwSCZZgSn1v0+/z32RG8ybKpoL3aT1h1kD/oI3RKmg4qgA50sU3GABwMGso8Qh/HiBfx/p1sb+vswfLPN1PklEJMYh1PbA+vcQCjlegQybbn4JSyLc3hB3duxnj78EVvuzZ1aO2GBchSn+Mjyu9zU4r+sq7hTkRYUoU1jQscqnLfrAwLgEZNbA=="},"taskId":"32af81d1-8a19-46a1-bba0-c67be8f0fce2","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-09-05T04:11:47.9454565+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}]}' + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"cvyCyLZ4DVzRjVG7FkpAiPa7b5KEYp7ZKzSZ4Ar8wQpDU7oEunIuFJMppyLgWAYG+Xgwr9o92FwmG/q9USl//OnMFpr8O3ZcIdXv8onDZocTCa+ALzcVtlzpwMJDaP8gcOHYkgMvGGsRf7SsrTG449bScaZj2csP1Me6bGPBhXdAL6F4iCyMuqFsoa2C+ZuLQ9yzcgV6l+XHQxMX9KfjAtL9SyqqtvgFb4dJnBJc9dZWfwlE2flFsUjjuR68pQ8/Ej8vCDGFZkPdc1/kiFtHldC9Pv5dfFVsHZBP44Ab7of+oPgbsKwivHZhfJm9Cf2PbKTako6Oyu5UC8gGe2kI7w=="},"taskId":"6b28a128-ad85-46f2-805e-ccf616000b13","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:06.2726807+00:00"},"etag":"+A0QTVI6IHS7R020jxwMKwKzGCperSDHfynRd5pqRRI=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' headers: cache-control: - no-cache content-length: - - '3577' + - '1835' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:48 GMT + - Wed, 28 Oct 2020 11:14:06 GMT + etag: + - '"+A0QTVI6IHS7R020jxwMKwKzGCperSDHfynRd5pqRRI="' expires: - '-1' pragma: @@ -1447,42 +1378,41 @@ interactions: code: 200 message: OK - request: - body: '{"name": "task1000005", "type": "tasks"}' + body: null headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms project task check-name + - dms project task cancel Connection: - keep-alive Content-Length: - - '44' - Content-Type: - - application/json; charset=utf-8 + - '0' ParameterSetName: - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005/cancel?api-version=2018-07-15-preview response: body: - string: '{"reason":"AlreadyExists","message":"The resource name is already in - use.","nameAvailable":false}' + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"cvyCyLZ4DVzRjVG7FkpAiPa7b5KEYp7ZKzSZ4Ar8wQpDU7oEunIuFJMppyLgWAYG+Xgwr9o92FwmG/q9USl//OnMFpr8O3ZcIdXv8onDZocTCa+ALzcVtlzpwMJDaP8gcOHYkgMvGGsRf7SsrTG449bScaZj2csP1Me6bGPBhXdAL6F4iCyMuqFsoa2C+ZuLQ9yzcgV6l+XHQxMX9KfjAtL9SyqqtvgFb4dJnBJc9dZWfwlE2flFsUjjuR68pQ8/Ej8vCDGFZkPdc1/kiFtHldC9Pv5dfFVsHZBP44Ab7of+oPgbsKwivHZhfJm9Cf2PbKTako6Oyu5UC8gGe2kI7w=="},"taskId":"6b28a128-ad85-46f2-805e-ccf616000b13","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2020-10-28T11:14:06.2726807+00:00"},"etag":"MThg3OWdYUFgyNZkSxtwJTlLT1roOz9yFwpUDTqvKDg=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"}' headers: cache-control: - no-cache content-length: - - '97' + - '1838' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:50 GMT + - Wed, 28 Oct 2020 11:14:07 GMT + etag: + - '"MThg3OWdYUFgyNZkSxtwJTlLT1roOz9yFwpUDTqvKDg="' expires: - '-1' pragma: @@ -1497,6 +1427,8 @@ interactions: - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' status: code: 200 message: OK @@ -1508,32 +1440,33 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms project task delete + - dms project task create Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g --service-name --project-name -n --delete-running-tasks -y + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?deleteRunningTasks=true&api-version=2018-03-31-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007?api-version=2018-07-15-preview response: body: - string: '' + string: '{"properties":{"sourcePlatform":"MySQL","targetPlatform":"AzureDbForMySQL","creationTime":"2020-10-28T11:13:59.4273709+00:00","provisioningState":"Succeeded"},"etag":"/UIUhEwRjrBrXiNhtSrQ7GY1DChGgkmkcYssXv8307c=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007","location":"centralus","name":"projectmysql000007","type":"Microsoft.DataMigration/services/projects"}' headers: cache-control: - no-cache content-length: - - '0' + - '556' + content-type: + - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:51 GMT + - Wed, 28 Oct 2020 11:14:08 GMT + etag: + - '"/UIUhEwRjrBrXiNhtSrQ7GY1DChGgkmkcYssXv8307c="' expires: - '-1' pragma: @@ -1542,49 +1475,63 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14995' status: code: 200 message: OK - request: - body: '{"name": "task1000005", "type": "tasks"}' + body: '{"properties": {"taskType": "Migrate.MySql.AzureDbForMySql.Sync", "input": + {"sourceConnectionInfo": {"userName": "testuser", "password": "testpassword", + "type": "MySqlConnectionInfo", "serverName": "notarealsourceserver", "port": + 3306}, "targetConnectionInfo": {"userName": "testuser", "password": "testpassword", + "type": "MySqlConnectionInfo", "serverName": "notarealtargetserver", "port": + 3306}, "selectedDatabases": [{"name": "SourceDatabase1", "targetDatabaseName": + "TargetDatabase1", "migrationSetting": {"fullLoadSubTasks": "5", "inlineLobMaxSize": + "0", "limitLOBSize": "true", "lobChunkSize": "64", "lobMaxSize": "32"}, "tableMap": + {"SourceDatabase1.TestTableSource1": "TargetDatabase1.TestTableTarget1", "SourceDatabase1.TestTableSource2": + "TargetDatabase1.TestTableTarget2"}}]}}}' headers: Accept: - application/json Accept-Encoding: - gzip, deflate CommandName: - - dms project task check-name + - dms project task create Connection: - keep-alive Content-Length: - - '44' + - '788' Content-Type: - application/json; charset=utf-8 ParameterSetName: - - -g --service-name --project-name -n + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-03-31-preview + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008?api-version=2018-07-15-preview response: body: - string: '{"nameAvailable":true}' + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealsourceserver","port":3306},"targetConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealtargetserver","port":3306},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","migrationSetting":{"fullLoadSubTasks":"5","inlineLobMaxSize":"0","limitLOBSize":"true","lobChunkSize":"64","lobMaxSize":"32"},"tableMap":{"SourceDatabase1.TestTableSource1":"TargetDatabase1.TestTableTarget1","SourceDatabase1.TestTableSource2":"TargetDatabase1.TestTableTarget2"}}],"encryptedKeyForSecureFields":"q39N9ZJBVJLpnQqj3emgFRGQ9JCzjoT/dHOBOpYoWKiycTbQkU3STCFWKARSBM3t3COOV6z3Y/0kdFdt8c8eNlq2PBsRyDWeF7991Yn7eqTCJqTMW33zNsm6EAP5sYtxZJ6gHe2CXQIdaUf8N0yQxbvQKI+lVEiGL03mA9xeHdytW+oeaulEOePH7uIUL3zd3OtgQ/pWyxA3BrYbre7lRiprJqgNdt1x52y22QU/GujQefQrNYgnlRnRN5CeG5PDKRtnWXBO+PdYP7P+5D0sCnkqTaitx5a96SLhHuti1W3dTsJAhBWInf6uGAG/nAk5hYtfFoYVzVnSPLMKV3pH0Q=="},"taskId":"ca57cc94-4e57-486d-9619-84504f2c8886","taskType":"Migrate.MySql.AzureDbForMySql.Sync","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:09.9209883+00:00"},"etag":"G7xk2r16SuOdmRXXS692q2HJSFUoMKYHhRtJsWzqYfY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008","name":"taskmysql000008","type":"Microsoft.DataMigration/services/projects/tasks"}' headers: cache-control: - no-cache content-length: - - '22' + - '1722' content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:52 GMT + - Wed, 28 Oct 2020 11:14:09 GMT + etag: + - '"G7xk2r16SuOdmRXXS692q2HJSFUoMKYHhRtJsWzqYfY="' expires: - '-1' pragma: @@ -1593,15 +1540,13 @@ interactions: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1198' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1610,51 +1555,742 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - dms delete + - dms project task show Connection: - keep-alive - Content-Length: - - '0' - Content-Type: - - application/json; charset=utf-8 ParameterSetName: - - -g -n --delete-running-tasks -y + - -g --service-name --project-name -n User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 accept-language: - en-US - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?deleteRunningTasks=true&api-version=2018-03-31-preview + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008?api-version=2018-07-15-preview response: body: - string: '' + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealsourceserver","port":3306},"targetConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealtargetserver","port":3306},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","migrationSetting":{"fullLoadSubTasks":"5","inlineLobMaxSize":"0","limitLOBSize":"true","lobChunkSize":"64","lobMaxSize":"32"},"tableMap":{"SourceDatabase1.TestTableSource1":"TargetDatabase1.TestTableTarget1","SourceDatabase1.TestTableSource2":"TargetDatabase1.TestTableTarget2"}}],"encryptedKeyForSecureFields":"q39N9ZJBVJLpnQqj3emgFRGQ9JCzjoT/dHOBOpYoWKiycTbQkU3STCFWKARSBM3t3COOV6z3Y/0kdFdt8c8eNlq2PBsRyDWeF7991Yn7eqTCJqTMW33zNsm6EAP5sYtxZJ6gHe2CXQIdaUf8N0yQxbvQKI+lVEiGL03mA9xeHdytW+oeaulEOePH7uIUL3zd3OtgQ/pWyxA3BrYbre7lRiprJqgNdt1x52y22QU/GujQefQrNYgnlRnRN5CeG5PDKRtnWXBO+PdYP7P+5D0sCnkqTaitx5a96SLhHuti1W3dTsJAhBWInf6uGAG/nAk5hYtfFoYVzVnSPLMKV3pH0Q=="},"taskId":"ca57cc94-4e57-486d-9619-84504f2c8886","taskType":"Migrate.MySql.AzureDbForMySql.Sync","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:09.9209883+00:00"},"etag":"G7xk2r16SuOdmRXXS692q2HJSFUoMKYHhRtJsWzqYfY=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008","name":"taskmysql000008","type":"Microsoft.DataMigration/services/projects/tasks"}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview cache-control: - no-cache content-length: - - '0' + - '1722' + content-type: + - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:11:53 GMT + - Wed, 28 Oct 2020 11:14:09 GMT + etag: + - '"G7xk2r16SuOdmRXXS692q2HJSFUoMKYHhRtJsWzqYfY="' expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview pragma: - no-cache server: - Microsoft-IIS/10.0 strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-ratelimit-remaining-subscription-deletes: - - '14996' status: - code: 202 - message: Accepted + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task cancel + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008/cancel?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealsourceserver","port":3306},"targetConnectionInfo":{"userName":"testuser","password":"zLVDjNenOmAHQx4cgMjQZoZYDoMmsRyBqe+ZUxQgEUY=","type":"MySqlConnectionInfo","serverName":"notarealtargetserver","port":3306},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","migrationSetting":{"fullLoadSubTasks":"5","inlineLobMaxSize":"0","limitLOBSize":"true","lobChunkSize":"64","lobMaxSize":"32"},"tableMap":{"SourceDatabase1.TestTableSource1":"TargetDatabase1.TestTableTarget1","SourceDatabase1.TestTableSource2":"TargetDatabase1.TestTableTarget2"}}],"encryptedKeyForSecureFields":"q39N9ZJBVJLpnQqj3emgFRGQ9JCzjoT/dHOBOpYoWKiycTbQkU3STCFWKARSBM3t3COOV6z3Y/0kdFdt8c8eNlq2PBsRyDWeF7991Yn7eqTCJqTMW33zNsm6EAP5sYtxZJ6gHe2CXQIdaUf8N0yQxbvQKI+lVEiGL03mA9xeHdytW+oeaulEOePH7uIUL3zd3OtgQ/pWyxA3BrYbre7lRiprJqgNdt1x52y22QU/GujQefQrNYgnlRnRN5CeG5PDKRtnWXBO+PdYP7P+5D0sCnkqTaitx5a96SLhHuti1W3dTsJAhBWInf6uGAG/nAk5hYtfFoYVzVnSPLMKV3pH0Q=="},"taskId":"ca57cc94-4e57-486d-9619-84504f2c8886","taskType":"Migrate.MySql.AzureDbForMySql.Sync","state":"Canceling","isCloneable":true,"createdOn":"2020-10-28T11:14:09.9209883+00:00"},"etag":"G6htyoUhPJKiay0Vj1lG2/Ju805koM3u4kRZ0xPH2HM=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectmysql000007/tasks/taskmysql000008","name":"taskmysql000008","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1725' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:10 GMT + etag: + - '"G6htyoUhPJKiay0Vj1lG2/Ju805koM3u4kRZ0xPH2HM="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"PostgreSQL","targetPlatform":"AzureDbForPostgreSQL","creationTime":"2020-10-28T11:14:02.0226314+00:00","provisioningState":"Succeeded"},"etag":"94BBHS1NT+ip7/9/O3/jgQE84XsCotogNny88pjdRzk=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009","location":"centralus","name":"projectpg000009","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '566' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:11 GMT + etag: + - '"94BBHS1NT+ip7/9/O3/jgQE84XsCotogNny88pjdRzk="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2", + "input": {"selectedDatabases": [{"name": "SourceDatabase1", "targetDatabaseName": + "TargetDatabase1", "selectedTables": [{"name": "public.TestTableSource1"}, {"name": + "public.TestTableSource2"}]}], "targetConnectionInfo": {"userName": "testuser", + "password": "testpassword", "type": "PostgreSqlConnectionInfo", "serverName": + "notarealtargetserver", "databaseName": "notarealdatabasename", "port": 5432, + "encryptConnection": true, "trustServerCertificate": false}, "sourceConnectionInfo": + {"userName": "testuser", "password": "testpassword", "type": "PostgreSqlConnectionInfo", + "serverName": "notarealsourceserver", "databaseName": "notarealdatabasename", + "port": 5432, "encryptConnection": false, "trustServerCertificate": true}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '808' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"RV8LJeFfqIc5sd1+q220bAKG11TWyHxMx8TFGqAK/hqNG42t3JOYuHXKwipzjBPjGoLpFWs+zcRywQ0iDZMnUETx5BUPv8+Y+ytd5X+G1645nowPHOTkIgKPDn4W7HdFurK+Ap4WCPMJQRCRBQIJSqcb8iPRwNERqFsCJpPWot/QG2YQYo4+r32NZQPpKwyfz7j5N09OxSrFvrq6oZThgWcl4Ve+cEYeM/qYw3dasK14n7FHcyozpaT+18mE8Sk9NeK0DZkrWqc1GzsaOfnQLzdbOoMqAAuqzE2WPR0Hm3r9vmjJM8S9RasXg8V5wyw+kpk/FUNq+FHeQml7uR+srg=="},"taskId":"f4d2e402-d3e8-4f98-884f-493808e779e5","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:12.6192987+00:00"},"etag":"GAMSSCEx4JRF4LOVnvL6IILTIkO21R5Zik3XTtpH/sA=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010","name":"taskpg000010","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1741' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:12 GMT + etag: + - '"GAMSSCEx4JRF4LOVnvL6IILTIkO21R5Zik3XTtpH/sA="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task show + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"RV8LJeFfqIc5sd1+q220bAKG11TWyHxMx8TFGqAK/hqNG42t3JOYuHXKwipzjBPjGoLpFWs+zcRywQ0iDZMnUETx5BUPv8+Y+ytd5X+G1645nowPHOTkIgKPDn4W7HdFurK+Ap4WCPMJQRCRBQIJSqcb8iPRwNERqFsCJpPWot/QG2YQYo4+r32NZQPpKwyfz7j5N09OxSrFvrq6oZThgWcl4Ve+cEYeM/qYw3dasK14n7FHcyozpaT+18mE8Sk9NeK0DZkrWqc1GzsaOfnQLzdbOoMqAAuqzE2WPR0Hm3r9vmjJM8S9RasXg8V5wyw+kpk/FUNq+FHeQml7uR+srg=="},"taskId":"f4d2e402-d3e8-4f98-884f-493808e779e5","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:12.6192987+00:00"},"etag":"GAMSSCEx4JRF4LOVnvL6IILTIkO21R5Zik3XTtpH/sA=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010","name":"taskpg000010","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1741' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:13 GMT + etag: + - '"GAMSSCEx4JRF4LOVnvL6IILTIkO21R5Zik3XTtpH/sA="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task cancel + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010/cancel?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"input":{"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","selectedTables":[{"name":"public.TestTableSource1"},{"name":"public.TestTableSource2"}]}],"targetConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealtargetserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":true,"trustServerCertificate":false},"sourceConnectionInfo":{"userName":"testuser","password":"JSqb12iPhMSMWex+bnAc0D2xvWXncCTwHZeF/VFbN/E=","type":"PostgreSqlConnectionInfo","serverName":"notarealsourceserver","databaseName":"notarealdatabasename","port":5432,"encryptConnection":false,"trustServerCertificate":true},"encryptedKeyForSecureFields":"RV8LJeFfqIc5sd1+q220bAKG11TWyHxMx8TFGqAK/hqNG42t3JOYuHXKwipzjBPjGoLpFWs+zcRywQ0iDZMnUETx5BUPv8+Y+ytd5X+G1645nowPHOTkIgKPDn4W7HdFurK+Ap4WCPMJQRCRBQIJSqcb8iPRwNERqFsCJpPWot/QG2YQYo4+r32NZQPpKwyfz7j5N09OxSrFvrq6oZThgWcl4Ve+cEYeM/qYw3dasK14n7FHcyozpaT+18mE8Sk9NeK0DZkrWqc1GzsaOfnQLzdbOoMqAAuqzE2WPR0Hm3r9vmjJM8S9RasXg8V5wyw+kpk/FUNq+FHeQml7uR+srg=="},"taskId":"f4d2e402-d3e8-4f98-884f-493808e779e5","taskType":"Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2","state":"Canceling","isCloneable":true,"createdOn":"2020-10-28T11:14:12.6192987+00:00"},"etag":"dwdl/kVXcYgLwdkmvI6FCopEmCjfIp+cze2dpTiwDVw=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/projectpg000009/tasks/taskpg000010","name":"taskpg000010","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1744' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:14 GMT + etag: + - '"dwdl/kVXcYgLwdkmvI6FCopEmCjfIp+cze2dpTiwDVw="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"sourcePlatform":"SQL","targetPlatform":"SQLDB","creationTime":"2020-10-28T11:13:56.9760775+00:00","provisioningState":"Succeeded"},"etag":"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004","location":"centralus","name":"project000004","type":"Microsoft.DataMigration/services/projects"}' + headers: + cache-control: + - no-cache + content-length: + - '534' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:13 GMT + etag: + - '"eURW7WdGe4oF+qOL8HEvsd7/rcaBTFvOis6pebMIPX0="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"properties": {"taskType": "Migrate.SqlServer.SqlDb", "input": {"sourceConnectionInfo": + {"userName": "testuser", "password": "testpassword", "type": "SqlConnectionInfo", + "dataSource": "notarealsourceserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "targetConnectionInfo": + {"userName": "testuser", "password": "testpassword", "type": "SqlConnectionInfo", + "dataSource": "notarealtargetserver", "authentication": "SqlAuthentication", + "encryptConnection": true, "trustServerCertificate": true}, "selectedDatabases": + [{"name": "SourceDatabase2", "targetDatabaseName": "TargetDatabase2", "makeSourceDbReadOnly": + false, "tableMap": {"dbo.TestTableSource1": "dbo.TestTableTarget1", "dbo.TestTableSource2": + "dbo.TestTableTarget2"}}], "validationOptions": {"enableSchemaValidation": false, + "enableDataIntegrityValidation": false, "enableQueryAnalysisValidation": false}}}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task create + Connection: + - keep-alive + Content-Length: + - '922' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --task-type --database-options-json -n --project-name -g --service-name --source-connection-json + --target-connection-json + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006?api-version=2018-07-15-preview + response: + body: + string: '{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"w8YU6XDjlPgOHkyeKMnS208Qx/ywjKaz9a6XIJygT+8=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"w8YU6XDjlPgOHkyeKMnS208Qx/ywjKaz9a6XIJygT+8=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"C5gsfHM756qr3a3aCeOJYnd6ACd3eIFUjMPAwmN/gwuz8w48FvrD09CuOVnNGjUl7AwGWoZcvhksMZWf7r0oj1XChG2DLcFWxu634P4spPueyC2tT4tKCLCSRmQ68MYiwanY5obtOT/3d79MfwG6+hfd0EIDLltQVTZhNfdfD1NtJr/IZD47+2NmHV1UKuraz+bXVS94lXq9UuWGqUIsZnGjlbMat8ifqrG95rhGCA9fIzV5xqW5b5RxhAfeOx7T/yhf3RuNn+j0pva/usfqaOfJw/WkZ4S3zo/2M/sl4xSEZAipsp7SPumXvVRoQUW/k4OF6IRKh4/3BBl7NKNteA=="},"taskId":"5a5d3d2d-32ca-4c7b-92aa-70b14d26b255","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:15.6873562+00:00"},"etag":"xLLeXqrQdooiztTQghqywaGmDVEy8LKjna7aulSEVcQ=","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}' + headers: + cache-control: + - no-cache + content-length: + - '1835' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:15 GMT + etag: + - '"xLLeXqrQdooiztTQghqywaGmDVEy8LKjna7aulSEVcQ="' + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task list + Connection: + - keep-alive + ParameterSetName: + - -g --service-name --project-name --task-type + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks?api-version=2018-07-15-preview&taskType=Migrate.SqlServer.SqlDb + response: + body: + string: '{"value":[{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"2Ax7eWLAA2qzL+jgCrra3/Zfjp/+HtQgUfsOsn8Xwik=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase1","targetDatabaseName":"TargetDatabase1","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"cvyCyLZ4DVzRjVG7FkpAiPa7b5KEYp7ZKzSZ4Ar8wQpDU7oEunIuFJMppyLgWAYG+Xgwr9o92FwmG/q9USl//OnMFpr8O3ZcIdXv8onDZocTCa+ALzcVtlzpwMJDaP8gcOHYkgMvGGsRf7SsrTG449bScaZj2csP1Me6bGPBhXdAL6F4iCyMuqFsoa2C+ZuLQ9yzcgV6l+XHQxMX9KfjAtL9SyqqtvgFb4dJnBJc9dZWfwlE2flFsUjjuR68pQ8/Ej8vCDGFZkPdc1/kiFtHldC9Pv5dfFVsHZBP44Ab7of+oPgbsKwivHZhfJm9Cf2PbKTako6Oyu5UC8gGe2kI7w=="},"taskId":"6b28a128-ad85-46f2-805e-ccf616000b13","taskType":"Migrate.SqlServer.SqlDb","state":"Canceling","isCloneable":true,"createdOn":"2020-10-28T11:14:06.2726807+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005","name":"task1000005","type":"Microsoft.DataMigration/services/projects/tasks"},{"properties":{"input":{"sourceConnectionInfo":{"userName":"testuser","password":"w8YU6XDjlPgOHkyeKMnS208Qx/ywjKaz9a6XIJygT+8=","type":"SqlConnectionInfo","dataSource":"notarealsourceserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"targetConnectionInfo":{"userName":"testuser","password":"w8YU6XDjlPgOHkyeKMnS208Qx/ywjKaz9a6XIJygT+8=","type":"SqlConnectionInfo","dataSource":"notarealtargetserver","authentication":"SqlAuthentication","encryptConnection":true,"trustServerCertificate":true},"selectedDatabases":[{"name":"SourceDatabase2","targetDatabaseName":"TargetDatabase2","makeSourceDbReadOnly":false,"tableMap":{"dbo.TestTableSource1":"dbo.TestTableTarget1","dbo.TestTableSource2":"dbo.TestTableTarget2"}}],"validationOptions":{"enableSchemaValidation":false,"enableDataIntegrityValidation":false,"enableQueryAnalysisValidation":false},"encryptedKeyForSecureFields":"C5gsfHM756qr3a3aCeOJYnd6ACd3eIFUjMPAwmN/gwuz8w48FvrD09CuOVnNGjUl7AwGWoZcvhksMZWf7r0oj1XChG2DLcFWxu634P4spPueyC2tT4tKCLCSRmQ68MYiwanY5obtOT/3d79MfwG6+hfd0EIDLltQVTZhNfdfD1NtJr/IZD47+2NmHV1UKuraz+bXVS94lXq9UuWGqUIsZnGjlbMat8ifqrG95rhGCA9fIzV5xqW5b5RxhAfeOx7T/yhf3RuNn+j0pva/usfqaOfJw/WkZ4S3zo/2M/sl4xSEZAipsp7SPumXvVRoQUW/k4OF6IRKh4/3BBl7NKNteA=="},"taskId":"5a5d3d2d-32ca-4c7b-92aa-70b14d26b255","taskType":"Migrate.SqlServer.SqlDb","state":"Queued","isCloneable":true,"createdOn":"2020-10-28T11:14:15.6873562+00:00"},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task2000006","name":"task2000006","type":"Microsoft.DataMigration/services/projects/tasks"}]}' + headers: + cache-control: + - no-cache + content-length: + - '3578' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: '{"name": "task1000005", "type": "tasks"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task check-name + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"reason":"AlreadyExists","message":"The resource name is already in + use.","nameAvailable":false}' + headers: + cache-control: + - no-cache + content-length: + - '97' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g --service-name --project-name -n --delete-running-tasks -y + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003/projects/project000004/tasks/task1000005?deleteRunningTasks=true&api-version=2018-07-15-preview + response: + body: + string: '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 11:14:16 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 200 + message: OK +- request: + body: '{"name": "task1000005", "type": "tasks"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms project task check-name + Connection: + - keep-alive + Content-Length: + - '44' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g --service-name --project-name -n + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003%2Fprojects%2Fproject000004/checkNameAvailability?api-version=2018-07-15-preview + response: + body: + string: '{"nameAvailable":true}' + headers: + cache-control: + - no-cache + content-length: + - '22' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:17 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + accept-language: + - en-US + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dms_cli_test_000001/providers/Microsoft.DataMigration/services/dmsclitest000003?deleteRunningTasks=true&api-version=2018-07-15-preview + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview + cache-control: + - no-cache + content-length: + - '0' + date: + - Wed, 28 Oct 2020 11:14:19 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationResults/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - dms delete + Connection: + - keep-alive + ParameterSetName: + - -g -n --delete-running-tasks -y + User-Agent: + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview + response: + body: + string: '{"name":"baa47d0e-79b1-4074-8c0e-fd02f85da5ec","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec","status":"Running"}' + headers: + cache-control: + - no-cache + content-length: + - '234' + content-type: + - application/json; charset=utf-8 + date: + - Wed, 28 Oct 2020 11:14:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + status: + code: 200 + message: OK - request: body: null headers: @@ -1669,13 +2305,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview response: body: - string: '{"name":"438b4cfb-87e1-44ad-8594-9f876822d572","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572","status":"Running"}' + string: '{"name":"baa47d0e-79b1-4074-8c0e-fd02f85da5ec","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec","status":"Running"}' headers: cache-control: - no-cache @@ -1684,7 +2320,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:12:25 GMT + - Wed, 28 Oct 2020 11:15:19 GMT expires: - '-1' pragma: @@ -1716,13 +2352,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview response: body: - string: '{"name":"438b4cfb-87e1-44ad-8594-9f876822d572","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572","status":"Running"}' + string: '{"name":"baa47d0e-79b1-4074-8c0e-fd02f85da5ec","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec","status":"Running"}' headers: cache-control: - no-cache @@ -1731,7 +2367,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:12:56 GMT + - Wed, 28 Oct 2020 11:15:49 GMT expires: - '-1' pragma: @@ -1763,13 +2399,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview response: body: - string: '{"name":"438b4cfb-87e1-44ad-8594-9f876822d572","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572","status":"Running"}' + string: '{"name":"baa47d0e-79b1-4074-8c0e-fd02f85da5ec","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec","status":"Running"}' headers: cache-control: - no-cache @@ -1778,7 +2414,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:13:28 GMT + - Wed, 28 Oct 2020 11:16:19 GMT expires: - '-1' pragma: @@ -1810,13 +2446,13 @@ interactions: ParameterSetName: - -g -n --delete-running-tasks -y User-Agent: - - python/3.6.8 (Windows-10-10.0.19041-SP0) msrest/0.6.18 msrest_azure/0.6.3 - azure-mgmt-datamigration/0.1.0 Azure-SDK-For-Python AZURECLI/2.11.1 + - python/3.7.3 (Linux-4.19.128-microsoft-standard-x86_64-with-debian-10.4) msrest/0.6.18 + msrest_azure/0.6.3 azure-mgmt-datamigration/4.1.0 Azure-SDK-For-Python AZURECLI/2.12.1 method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572?api-version=2018-03-31-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec?api-version=2018-07-15-preview response: body: - string: '{"name":"438b4cfb-87e1-44ad-8594-9f876822d572","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/438b4cfb-87e1-44ad-8594-9f876822d572","status":"Succeeded"}' + string: '{"name":"baa47d0e-79b1-4074-8c0e-fd02f85da5ec","id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DataMigration/locations/centralus/operationStatuses/baa47d0e-79b1-4074-8c0e-fd02f85da5ec","status":"Succeeded"}' headers: cache-control: - no-cache @@ -1825,7 +2461,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Sat, 05 Sep 2020 04:14:00 GMT + - Wed, 28 Oct 2020 11:16:49 GMT expires: - '-1' pragma: diff --git a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/test_service_scenarios.py b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/test_service_scenarios.py index 9e584fcf67b..7bd8240005a 100644 --- a/src/azure-cli/azure/cli/command_modules/dms/tests/latest/test_service_scenarios.py +++ b/src/azure-cli/azure/cli/command_modules/dms/tests/latest/test_service_scenarios.py @@ -12,7 +12,7 @@ class DmsServiceTests(ScenarioTest): service_random_name_prefix = 'dmsclitest' location_name = 'centralus' - sku_name = 'Standard_2vCores' + sku_name = 'Premium_4vCores' vsubnet_id = '/subscriptions/{}/resourceGroups/ERNetwork/providers/Microsoft.Network/virtualNetworks/AzureDMS-CORP-USC-VNET-5044/subnets/Subnet-1' name_exists_checks = [JMESPathCheck('nameAvailable', False), JMESPathCheck('reason', 'AlreadyExists')] @@ -52,7 +52,7 @@ def test_service_commands(self, resource_group): self.cmd('az dms list -g {rg}', checks=list_checks) status_online_checks = [JMESPathCheck('status', 'Online'), - JMESPathCheck('vmSize', 'Standard_A2_v2')] + JMESPathCheck('vmSize', 'Standard_F4')] self.cmd('az dms check-status -g {rg} -n {sname}', checks=status_online_checks) self.cmd('az dms stop -g {rg} -n {sname}') @@ -77,6 +77,8 @@ def test_project_commands(self, resource_group): service_name = self.create_random_name(self.service_random_name_prefix, 15) project_name1 = self.create_random_name('project1', 15) project_name2 = self.create_random_name('project2', 15) + project_name_mysql = self.create_random_name('projectmysql', 20) + project_name_pg = self.create_random_name('projectpg', 20) subnet = self.cmd('az network vnet subnet show -g {rg} -n default --vnet-name {vnet}').get_output_in_json() self.kwargs.update({ @@ -85,11 +87,13 @@ def test_project_commands(self, resource_group): 'vnetid': subnet['id'], 'sname': service_name, 'pname1': project_name1, - 'pname2': project_name2 + 'pname2': project_name2, + 'pnamemysql': project_name_mysql, + 'pnamepg': project_name_pg }) # Set up container service - self.cmd('az dms create -l {lname} -n {sname} -g {rg} --sku-name {skuname} --subnet {vnetid}') + self.cmd('az dms create -l {lname} -n {sname} -g {rg} --sku-name {skuname} --subnet {vnetid} --tags area=cli env=test') self.cmd('az dms project show -g {rg} --service-name {sname} -n {pname1}', expect_failure=True) @@ -106,10 +110,36 @@ def test_project_commands(self, resource_group): self.cmd('az dms project show -g {rg} --service-name {sname} -n {pname1}', create_checks) + # Test MySQL project creation and deletion + create_checks_mysql = [JMESPathCheck('location', self.location_name), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('name', project_name_mysql), + JMESPathCheck('sourcePlatform', 'MySQL'), + JMESPathCheck('targetPlatform', 'AzureDbForMySQL'), + JMESPathCheck('provisioningState', 'Succeeded'), + JMESPathCheck('tags.Cli', ''), + JMESPathCheck('tags.Type', 'test'), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects')] + self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pnamemysql} --source-platform MySQL --target-platform AzureDbForMySql --tags Type=test Cli', checks=create_checks_mysql) + self.cmd('az dms project show -g {rg} --service-name {sname} -n {pnamemysql}', create_checks_mysql) + + # Test PostgreSQL project creation and deletion + create_checks_pg = [JMESPathCheck('location', self.location_name), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('name', project_name_pg), + JMESPathCheck('sourcePlatform', 'PostgreSQL'), + JMESPathCheck('targetPlatform', 'AzureDbForPostgreSQL'), + JMESPathCheck('provisioningState', 'Succeeded'), + JMESPathCheck('tags.Cli', ''), + JMESPathCheck('tags.Type', 'test'), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects')] + self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pnamepg} --source-platform PostgreSQL --target-platform AzureDbForPostgreSQL --tags Type=test Cli', checks=create_checks_pg) + self.cmd('az dms project show -g {rg} --service-name {sname} -n {pnamepg}', create_checks_pg) + create_checks_notags = [JMESPathCheck('tags', None)] self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pname2} --source-platform SQL --target-platform SQLDB', checks=create_checks_notags) - list_checks = [JMESPathCheck('length(@)', 2), + list_checks = [JMESPathCheck('length(@)', 4), JMESPathCheck("length([?name == '{}'])".format(project_name1), 1)] self.cmd('az dms project list -g {rg} --service-name {sname}', list_checks) @@ -127,6 +157,7 @@ def test_project_commands(self, resource_group): def test_task_commands(self, resource_group): from azure.cli.testsdk.checkers import JMESPathPatternCheck service_name = self.create_random_name(self.service_random_name_prefix, 15) + project_name = self.create_random_name('project', 15) task_name1 = self.create_random_name('task1', 15) task_name2 = self.create_random_name('task2', 15) @@ -136,25 +167,51 @@ def test_task_commands(self, resource_group): target_connection_info = "{ 'userName': 'testuser', 'password': 'testpassword', 'dataSource': 'notarealtargetserver', 'authentication': 'SqlAuthentication', 'encryptConnection': True, 'trustServerCertificate': True }" subnet = self.cmd('az network vnet subnet show -g {rg} -n default --vnet-name {vnet}').get_output_in_json() + project_name_mysql = self.create_random_name('projectmysql', 20) + task_name_mysql = self.create_random_name('taskmysql', 20) + source_connection_info_mysql = "{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': 'notarealsourceserver', 'databaseName': 'notarealdatabasename'}" + target_connection_info_mysql = "{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': 'notarealtargetserver', 'databaseName': 'notarealdatabasename'}" + database_options_mysql = "[ { 'name': 'SourceDatabase1', 'target_database_name': 'TargetDatabase1', 'tableMap': { 'SourceDatabase1.TestTableSource1': 'TargetDatabase1.TestTableTarget1', 'SourceDatabase1.TestTableSource2': 'TargetDatabase1.TestTableTarget2' } } ]" + + project_name_pg = self.create_random_name('projectpg', 20) + task_name_pg = self.create_random_name('taskpg', 20) + source_connection_info_pg = "{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': 'notarealsourceserver', 'databaseName': 'notarealdatabasename', 'encryptConnection': False, 'trustServerCertificate': True }" + target_connection_info_pg = "{ 'userName': 'testuser', 'password': 'testpassword', 'serverName': 'notarealtargetserver', 'databaseName': 'notarealdatabasename'}" + database_options_pg = "[ { 'name': 'SourceDatabase1', 'target_database_name': 'TargetDatabase1', 'selectedTables': [ 'public.TestTableSource1', 'public.TestTableSource2'] } ]" + self.kwargs.update({ 'lname': self.location_name, 'skuname': self.sku_name, 'vnetid': subnet['id'], 'sname': service_name, 'pname': project_name, + 'pnamemysql': project_name_mysql, + 'pnamepg': project_name_pg, 'tname1': task_name1, 'tname2': task_name2, + 'tnamemysql': task_name_mysql, + 'tnamepg': task_name_pg, 'dboptions1': database_options1, 'dboptions2': database_options2, + 'dboptionsmysql': database_options_mysql, + 'dboptionspg': database_options_pg, 'sconn': source_connection_info, - 'tconn': target_connection_info + 'sconnmysql': source_connection_info_mysql, + 'sconnpg': source_connection_info_pg, + 'tconn': target_connection_info, + 'tconnmysql': target_connection_info_mysql, + 'tconnpg': target_connection_info_pg }) # Set up container service and project - self.cmd('az dms create -l {lname} -n {sname} -g {rg} --sku-name {skuname} --subnet {vnetid}') + self.cmd('az dms create -l {lname} -n {sname} -g {rg} --sku-name {skuname} --subnet {vnetid} --tags area=cli env=test') self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pname} --source-platform SQL --target-platform SQLDB') + self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pnamemysql} --source-platform MySQL --target-platform AzureDbForMySql') + self.cmd('az dms project create -g {rg} --service-name {sname} -l {lname} -n {pnamepg} --source-platform PostgreSQL --target-platform AzureDbForPostgreSQL') self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pname} -n {tname1}', expect_failure=True) + self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pnamemysql} -n {tnamemysql}', expect_failure=True) + self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pnamepg} -n {tnamepg}', expect_failure=True) create_checks = [JMESPathCheck('name', task_name1), JMESPathCheck('resourceGroup', resource_group), @@ -166,15 +223,47 @@ def test_task_commands(self, resource_group): JMESPathCheck('properties.input.validationOptions.enableDataIntegrityValidation', False), JMESPathCheck('properties.input.validationOptions.enableQueryAnalysisValidation', False), JMESPathCheck('properties.input.validationOptions.enableSchemaValidation', False)] - self.cmd('az dms project task create --database-options-json "{dboptions1}" -n {tname1} --project-name {pname} -g {rg} --service-name {sname} --source-connection-json "{sconn}" --target-connection-json "{tconn}"', checks=create_checks) - - self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pname} -n {tname1}', checks=create_checks) - cancel_checks = [JMESPathCheck('name', task_name1), JMESPathPatternCheck('properties.state', 'Cancel(?:ed|ing)')] + create_checks_mysql = [JMESPathCheck('name', task_name_mysql), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects/tasks'), + JMESPathCheck('length(properties.input.selectedDatabases[0].tableMap)', 2), + JMESPathCheck('properties.input.sourceConnectionInfo.serverName', 'notarealsourceserver'), + JMESPathCheck('properties.input.targetConnectionInfo.serverName', 'notarealtargetserver'), + JMESPathCheck('properties.taskType', 'Migrate.MySql.AzureDbForMySql.Sync')] + cancel_checks_mysql = [JMESPathCheck('name', task_name_mysql), + JMESPathPatternCheck('properties.state', 'Cancel(?:ed|ing)')] + create_checks_pg = [JMESPathCheck('name', task_name_pg), + JMESPathCheck('resourceGroup', resource_group), + JMESPathCheck('type', 'Microsoft.DataMigration/services/projects/tasks'), + JMESPathCheck('length(properties.input.selectedDatabases[0].selectedTables)', 2), + JMESPathCheck('properties.input.sourceConnectionInfo.serverName', 'notarealsourceserver'), + JMESPathCheck('properties.input.sourceConnectionInfo.encryptConnection', False), + JMESPathCheck('properties.input.sourceConnectionInfo.trustServerCertificate', True), + JMESPathCheck('properties.input.targetConnectionInfo.serverName', 'notarealtargetserver'), + JMESPathCheck('properties.input.targetConnectionInfo.encryptConnection', True), + JMESPathCheck('properties.input.targetConnectionInfo.trustServerCertificate', False), + JMESPathCheck('properties.taskType', 'Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2')] + cancel_checks_pg = [JMESPathCheck('name', task_name_pg), + JMESPathPatternCheck('properties.state', 'Cancel(?:ed|ing)')] + + # SQL Tests + self.cmd('az dms project task create --task-type OfflineMigration --database-options-json "{dboptions1}" -n {tname1} --project-name {pname} -g {rg} --service-name {sname} --source-connection-json "{sconn}" --target-connection-json "{tconn}"', checks=create_checks) + self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pname} -n {tname1}', checks=create_checks) self.cmd('az dms project task cancel -g {rg} --service-name {sname} --project-name {pname} -n {tname1}', checks=cancel_checks) - self.cmd('az dms project task create --database-options-json "{dboptions2}" -n {tname2} --project-name {pname} -g {rg} --service-name {sname} --source-connection-json "{sconn}" --target-connection-json "{tconn}"') + # MySQL Tests + self.cmd('az dms project task create --task-type OnlineMigration --database-options-json "{dboptionsmysql}" -n {tnamemysql} --project-name {pnamemysql} -g {rg} --service-name {sname} --source-connection-json "{sconnmysql}" --target-connection-json "{tconnmysql}"', checks=create_checks_mysql) + self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pnamemysql} -n {tnamemysql}', checks=create_checks_mysql) + self.cmd('az dms project task cancel -g {rg} --service-name {sname} --project-name {pnamemysql} -n {tnamemysql}', checks=cancel_checks_mysql) + + # PG Tests + self.cmd('az dms project task create --task-type OnlineMigration --database-options-json "{dboptionspg}" -n {tnamepg} --project-name {pnamepg} -g {rg} --service-name {sname} --source-connection-json "{sconnpg}" --target-connection-json "{tconnpg}"', checks=create_checks_pg) + self.cmd('az dms project task show -g {rg} --service-name {sname} --project-name {pnamepg} -n {tnamepg}', checks=create_checks_pg) + self.cmd('az dms project task cancel -g {rg} --service-name {sname} --project-name {pnamepg} -n {tnamepg}', checks=cancel_checks_pg) + + self.cmd('az dms project task create --task-type OfflineMigration --database-options-json "{dboptions2}" -n {tname2} --project-name {pname} -g {rg} --service-name {sname} --source-connection-json "{sconn}" --target-connection-json "{tconn}"') list_checks = [JMESPathCheck('length(@)', 2), JMESPathCheck("length([?name == '{}'])".format(task_name1), 1)] diff --git a/src/azure-cli/requirements.py3.Darwin.txt b/src/azure-cli/requirements.py3.Darwin.txt index bbfbbf3d28d..27dfd26deaa 100644 --- a/src/azure-cli/requirements.py3.Darwin.txt +++ b/src/azure-cli/requirements.py3.Darwin.txt @@ -38,7 +38,7 @@ azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 azure-mgmt-datalake-store==0.5.0 -azure-mgmt-datamigration==0.1.0 +azure-mgmt-datamigration==4.1.0 azure-mgmt-deploymentmanager==0.2.0 azure-mgmt-devtestlabs==4.0.0 azure-mgmt-dns==2.1.0 diff --git a/src/azure-cli/requirements.py3.Linux.txt b/src/azure-cli/requirements.py3.Linux.txt index bbfbbf3d28d..27dfd26deaa 100644 --- a/src/azure-cli/requirements.py3.Linux.txt +++ b/src/azure-cli/requirements.py3.Linux.txt @@ -38,7 +38,7 @@ azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 azure-mgmt-datalake-store==0.5.0 -azure-mgmt-datamigration==0.1.0 +azure-mgmt-datamigration==4.1.0 azure-mgmt-deploymentmanager==0.2.0 azure-mgmt-devtestlabs==4.0.0 azure-mgmt-dns==2.1.0 diff --git a/src/azure-cli/requirements.py3.windows.txt b/src/azure-cli/requirements.py3.windows.txt index 84d02311dbe..745fd32ebe5 100644 --- a/src/azure-cli/requirements.py3.windows.txt +++ b/src/azure-cli/requirements.py3.windows.txt @@ -38,7 +38,7 @@ azure-mgmt-databoxedge==0.2.0 azure-mgmt-datalake-analytics==0.2.1 azure-mgmt-datalake-nspkg==3.0.1 azure-mgmt-datalake-store==0.5.0 -azure-mgmt-datamigration==0.1.0 +azure-mgmt-datamigration==4.1.0 azure-mgmt-deploymentmanager==0.2.0 azure-mgmt-devtestlabs==4.0.0 azure-mgmt-dns==2.1.0 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index bb9eb1aaf1b..b5f2a8764de 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -80,7 +80,7 @@ 'azure-mgmt-databoxedge~=0.2.0', 'azure-mgmt-datalake-analytics~=0.2.1', 'azure-mgmt-datalake-store~=0.5.0', - 'azure-mgmt-datamigration~=0.1.0', + 'azure-mgmt-datamigration~=4.1.0', 'azure-mgmt-deploymentmanager~=0.2.0', 'azure-mgmt-devtestlabs~=4.0', 'azure-mgmt-dns~=2.1',