diff --git a/packages/@azure/arm-datamigration/lib/models/index.ts b/packages/@azure/arm-datamigration/lib/models/index.ts index 978c6652c980..b8b709373af4 100644 --- a/packages/@azure/arm-datamigration/lib/models/index.ts +++ b/packages/@azure/arm-datamigration/lib/models/index.ts @@ -569,6 +569,11 @@ export interface ProjectTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; } /** @@ -603,6 +608,11 @@ export interface GetTdeCertificatesSqlTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {GetTdeCertificatesSqlTaskInput} [input] Task input */ @@ -955,6 +965,11 @@ export interface ValidateMongoDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MongoDbMigrationSettings} [input] */ @@ -1212,6 +1227,11 @@ export interface ValidateMigrationInputSqlServerSqlMITaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ValidateMigrationInputSqlServerSqlMITaskInput} [input] Task input */ @@ -1356,6 +1376,11 @@ export interface ValidateMigrationInputSqlServerSqlDbSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ValidateSyncMigrationInputSqlServerTaskInput} [input] Task input */ @@ -1812,6 +1837,11 @@ export interface MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput} [input] Task * input @@ -2242,6 +2272,11 @@ export interface MigrateMySqlAzureDbForMySqlSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigrateMySqlAzureDbForMySqlSyncTaskInput} [input] Task input */ @@ -2701,6 +2736,11 @@ export interface MigrateSqlServerSqlDbSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigrateSqlServerSqlDbSyncTaskInput} [input] Task input */ @@ -3617,6 +3657,11 @@ export interface MigrateSqlServerSqlDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigrateSqlServerSqlDbTaskInput} [input] Task input */ @@ -4097,6 +4142,11 @@ export interface MigrateSqlServerSqlMITaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigrateSqlServerSqlMITaskInput} [input] Task input */ @@ -4142,6 +4192,11 @@ export interface MigrateMongoDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MongoDbMigrationSettings} [input] */ @@ -4247,6 +4302,11 @@ export interface ConnectToTargetAzureDbForMySqlTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToTargetAzureDbForMySqlTaskInput} [input] Task input */ @@ -4354,6 +4414,11 @@ export interface ConnectToTargetSqlMITaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToTargetSqlMITaskInput} [input] Task input */ @@ -4488,6 +4553,11 @@ export interface GetUserTablesSqlSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {GetUserTablesSqlSyncTaskInput} [input] Task input */ @@ -4581,6 +4651,11 @@ export interface GetUserTablesSqlTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {GetUserTablesSqlTaskInput} [input] Task input */ @@ -4682,6 +4757,11 @@ export interface ConnectToTargetSqlSqlDbSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToTargetSqlSqlDbSyncTaskInput} [input] Task input */ @@ -4743,6 +4823,11 @@ export interface ConnectToTargetSqlDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToTargetSqlDbTaskInput} [input] Task input */ @@ -5152,6 +5237,11 @@ export interface ConnectToSourceSqlServerSyncTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToSourceSqlServerTaskInput} [input] Task input */ @@ -5198,6 +5288,11 @@ export interface ConnectToSourceSqlServerTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToSourceSqlServerTaskInput} [input] Task input */ @@ -5390,6 +5485,11 @@ export interface ConnectToMongoDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MongoDbConnectionInfo} [input] */ @@ -6178,6 +6278,11 @@ export interface ConnectToSourceMySqlTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {ConnectToSourceMySqlTaskInput} [input] Task input */ @@ -6307,6 +6412,11 @@ export interface MigrateSchemaSqlServerSqlDbTaskProperties { * the server.** */ readonly commands?: CommandPropertiesUnion[]; + /** + * @member {{ [propertyName: string]: string }} [clientData] Key value pairs + * of client data to attach meta data information to task + */ + clientData?: { [propertyName: string]: string }; /** * @member {MigrateSchemaSqlServerSqlDbTaskInput} [input] Task input */ diff --git a/packages/@azure/arm-datamigration/lib/models/mappers.ts b/packages/@azure/arm-datamigration/lib/models/mappers.ts index 4e0f01e7cc4d..7563fcd069da 100644 --- a/packages/@azure/arm-datamigration/lib/models/mappers.ts +++ b/packages/@azure/arm-datamigration/lib/models/mappers.ts @@ -684,6 +684,17 @@ export const ProjectTaskProperties: msRest.CompositeMapper = { } } }, + clientData: { + serializedName: "clientData", + type: { + name: "Dictionary", + value: { + type: { + name: "String" + } + } + } + }, taskType: { required: true, serializedName: "taskType", diff --git a/packages/@azure/arm-datamigration/package.json b/packages/@azure/arm-datamigration/package.json index 2af74a3ceb0a..3ef473badd36 100644 --- a/packages/@azure/arm-datamigration/package.json +++ b/packages/@azure/arm-datamigration/package.json @@ -5,7 +5,7 @@ "version": "0.1.0", "dependencies": { "ms-rest-azure-js": "^1.0.181", - "ms-rest-js": "^1.0.461", + "ms-rest-js": "^1.0.460", "tslib": "^1.9.3" }, "keywords": [