tde-mi contracts (#21592)

* tde-mi contracts

* PR reviews updates
This commit is contained in:
junierch
2023-01-13 17:41:40 -05:00
committed by GitHub
parent 30a2770228
commit ce5cb32084
6 changed files with 152 additions and 2 deletions

View File

@@ -1250,3 +1250,35 @@ export namespace ExecutionPlanComparisonRequest {
}
// ------------------------------- < Execution Plan > ------------------------------------
// ------------------------------- < Tde Migration > ------------------------------------
export namespace TdeMigrateRequest {
export const type = new RequestType<TdeMigrationParams, mssql.TdeMigrationResult, void, void>('migration/tdemigration');
}
export interface TdeMigrationParams {
encryptedDatabases: string[];
sourceSqlConnectionString: string;
targetSubscriptionId: string;
targetResourceGroupName: string;
targetManagedInstanceName: string;
networkSharePath: string;
networkShareDomain: string;
networkShareUserName: string;
networkSharePassword: string;
accessToken: string;
}
export namespace TdeMigrateProgressEvent {
export const type = new NotificationType<TdeMigrateProgressParams, void>('migration/tdemigrationprogress');
}
export interface TdeMigrateProgressParams {
name: string;
success: boolean;
message: string;
}
// ------------------------------- < Tde Migration > ------------------------------------