Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import java.util.List;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.implementation.CommandPropertiesInner;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
Expand Down Expand Up @@ -73,6 +74,12 @@ public class ProjectTaskProperties {
@JsonProperty(value = "commands", access = JsonProperty.Access.WRITE_ONLY)
private List<CommandPropertiesInner> commands;

/**
* Key value pairs of client data to attach meta data information to task.
*/
@JsonProperty(value = "clientData")
private Map<String, String> clientData;

/**
* Get array of errors. This is ignored if submitted.
*
Expand Down Expand Up @@ -100,4 +107,24 @@ public List<CommandPropertiesInner> commands() {
return this.commands;
}

/**
* Get key value pairs of client data to attach meta data information to task.
*
* @return the clientData value
*/
public Map<String, String> clientData() {
return this.clientData;
}

/**
* Set key value pairs of client data to attach meta data information to task.
*
* @param clientData the clientData value to set
* @return the ProjectTaskProperties object itself.
*/
public ProjectTaskProperties withClientData(Map<String, String> clientData) {
this.clientData = clientData;
return this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,13 @@

package com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.implementation;

import java.util.List;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ODataError;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.CommandState;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.CommandState;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToMongoDbTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToSourceMySqlTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToSourceSqlServerSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToSourceSqlServerTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToTargetAzureDbForMySqlTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToTargetSqlDbTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToTargetSqlMITaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ConnectToTargetSqlSqlDbSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.GetTdeCertificatesSqlTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.GetUserTablesSqlSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.GetUserTablesSqlTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateMongoDbTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateMySqlAzureDbForMySqlSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateSchemaSqlServerSqlDbTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateSqlServerSqlDbSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateSqlServerSqlDbTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateSqlServerSqlMITaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MigrateSyncCompleteCommandProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MongoDbCancelCommand;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MongoDbConnectionInfo;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MongoDbFinishCommand;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MongoDbRestartCommand;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.MySqlConnectionInfo;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ODataError;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.PostgreSqlConnectionInfo;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.SqlConnectionInfo;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ValidateMigrationInputSqlServerSqlDbSyncTaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ValidateMigrationInputSqlServerSqlMITaskProperties;
import com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview.ValidateMongoDbTaskProperties;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonSubTypes;

/**
* Base class for all types of DMS command properties. If command is not
Expand Down