Skip to content
Draft
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
4 changes: 2 additions & 2 deletions sdk/datamigration/arm-datamigration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Release History

## 3.0.0-beta.1 (2022-01-18)
## 3.0.0-beta.2 (2022-02-09)

The package of @azure/arm-datamigration is using our next generation design principles since version 3.0.0-beta.1, which contains breaking changes.
The package of @azure/arm-datamigration is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes.

To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog).

Expand Down
8 changes: 4 additions & 4 deletions sdk/datamigration/arm-datamigration/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "d29e6eb4894005c52e67cb4b5ac3faf031113e7d",
"commit": "4add459a5ade76fcee4889ea8c3fb1d758b331cc",
"readme": "specification/datamigration/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/hybridcompute/resource-manager/readme.md --use=@autorest/[email protected].20220114.1 --generate-sample=true",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/datamigration/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20220114.1"
}
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/datamigration/arm-datamigration/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-datamigration.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
36 changes: 16 additions & 20 deletions sdk/datamigration/arm-datamigration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DataMigrationManagementClient.",
"version": "3.0.0-beta.1",
"engines": { "node": ">=12.0.0" },
"version": "3.0.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -14,7 +16,13 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -41,7 +49,9 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand Down Expand Up @@ -88,19 +98,5 @@
"docs": "echo skipped"
},
"sideEffects": false,
"//metadata": {
"constantPaths": [
{
"path": "src/DataMigrationManagementClient.ts",
"prefix": "packageDetails"
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": ["azure"],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-datamigration?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export interface AvailableServiceSkuSku {
export interface AzureActiveDirectoryApp {
appKey: string;
applicationId: string;
ignoreAzurePermissions?: boolean;
tenantId: string;
}

Expand Down Expand Up @@ -100,7 +101,7 @@ export type BackupType = string;

// @public
export interface BlobShare {
sasUri: string;
sasUri?: string;
}

// @public
Expand Down Expand Up @@ -233,6 +234,7 @@ export interface ConnectToSourceSqlServerTaskInput {
collectDatabases?: boolean;
collectLogins?: boolean;
collectTdeCertificateInfo?: boolean;
encryptedKeyForSecureFields?: string;
sourceConnectionInfo: SqlConnectionInfo;
validateSsisCatalogOnly?: boolean;
}
Expand Down Expand Up @@ -295,6 +297,7 @@ export type ConnectToSourceSqlServerTaskProperties = ProjectTaskProperties & {
taskType: "ConnectToSource.SqlServer";
input?: ConnectToSourceSqlServerTaskInput;
readonly output?: ConnectToSourceSqlServerTaskOutputUnion[];
taskId?: string;
};

// @public
Expand Down Expand Up @@ -386,6 +389,7 @@ export type ConnectToTargetSqlDbSyncTaskProperties = ProjectTaskProperties & {

// @public
export interface ConnectToTargetSqlDbTaskInput {
queryObjectCounts?: boolean;
targetConnectionInfo: SqlConnectionInfo;
}

Expand All @@ -402,6 +406,7 @@ export type ConnectToTargetSqlDbTaskProperties = ProjectTaskProperties & {
taskType: "ConnectToTarget.SqlDb";
input?: ConnectToTargetSqlDbTaskInput;
readonly output?: ConnectToTargetSqlDbTaskOutput[];
createdOn?: string;
};

// @public
Expand Down Expand Up @@ -791,6 +796,7 @@ export interface DataMigrationServiceList {

// @public
export interface DataMigrationServiceStatusResponse {
agentConfiguration?: Record<string, unknown>;
agentVersion?: string;
status?: string;
supportedTaskTypes?: string[];
Expand Down Expand Up @@ -1022,6 +1028,7 @@ export type GetUserTablesSqlSyncTaskProperties = ProjectTaskProperties & {
// @public
export interface GetUserTablesSqlTaskInput {
connectionInfo: SqlConnectionInfo;
encryptedKeyForSecureFields?: string;
selectedDatabases: string[];
}

Expand All @@ -1037,6 +1044,7 @@ export type GetUserTablesSqlTaskProperties = ProjectTaskProperties & {
taskType: "GetUserTables.Sql";
input?: GetUserTablesSqlTaskInput;
readonly output?: GetUserTablesSqlTaskOutput[];
taskId?: string;
};

// @public
Expand Down Expand Up @@ -1943,6 +1951,7 @@ export interface MigrateMySqlAzureDbForMySqlOfflineDatabaseInput {

// @public
export interface MigrateMySqlAzureDbForMySqlOfflineTaskInput {
encryptedKeyForSecureFields?: string;
makeSourceServerReadOnly?: boolean;
optionalAgentSettings?: {
[propertyName: string]: string;
Expand Down Expand Up @@ -2028,6 +2037,8 @@ export type MigrateMySqlAzureDbForMySqlOfflineTaskProperties = ProjectTaskProper
taskType: "Migrate.MySql.AzureDbForMySql";
input?: MigrateMySqlAzureDbForMySqlOfflineTaskInput;
readonly output?: MigrateMySqlAzureDbForMySqlOfflineTaskOutputUnion[];
isCloneable?: boolean;
taskId?: string;
};

// @public
Expand Down Expand Up @@ -2240,8 +2251,9 @@ export type MigrateOracleAzureDbPostgreSqlSyncTaskOutputUnion = MigrateOracleAzu

// @public
export interface MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput {
readonly id?: string;
migrationSetting?: {
[propertyName: string]: string;
[propertyName: string]: any;
};
name?: string;
selectedTables?: MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput[];
Expand Down Expand Up @@ -2417,6 +2429,7 @@ export type MigrateSchemaSqlServerSqlDbTaskProperties = ProjectTaskProperties &
readonly output?: MigrateSchemaSqlServerSqlDbTaskOutputUnion[];
createdOn?: string;
taskId?: string;
isCloneable?: boolean;
};

// @public (undocumented)
Expand Down Expand Up @@ -2643,6 +2656,7 @@ export type MigrateSqlServerSqlDbTaskProperties = ProjectTaskProperties & {
readonly output?: MigrateSqlServerSqlDbTaskOutputUnion[];
taskId?: string;
isCloneable?: boolean;
createdOn?: string;
};

// @public
Expand All @@ -2655,7 +2669,9 @@ export interface MigrateSqlServerSqlMIDatabaseInput {
}

// @public
export type MigrateSqlServerSqlMISyncTaskInput = SqlServerSqlMISyncTaskInput & {};
export type MigrateSqlServerSqlMISyncTaskInput = SqlServerSqlMISyncTaskInput & {
numberOfParallelDatabaseMigrations?: number;
};

// @public
export interface MigrateSqlServerSqlMISyncTaskOutput {
Expand Down Expand Up @@ -2709,6 +2725,7 @@ export type MigrateSqlServerSqlMISyncTaskProperties = ProjectTaskProperties & {
taskType: "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS";
input?: MigrateSqlServerSqlMISyncTaskInput;
readonly output?: MigrateSqlServerSqlMISyncTaskOutputUnion[];
createdOn?: string;
};

// @public
Expand Down Expand Up @@ -2801,6 +2818,8 @@ export type MigrateSqlServerSqlMITaskProperties = ProjectTaskProperties & {
input?: MigrateSqlServerSqlMITaskInput;
readonly output?: MigrateSqlServerSqlMITaskOutputUnion[];
taskId?: string;
createdOn?: string;
parentTaskId?: string;
};

// @public
Expand Down Expand Up @@ -2869,6 +2888,7 @@ export type MigrateSyncCompleteCommandProperties = CommandProperties & {
commandType: "Migrate.Sync.Complete.Database";
input?: MigrateSyncCompleteCommandInput;
readonly output?: MigrateSyncCompleteCommandOutput;
commandId?: string;
};

// @public
Expand Down Expand Up @@ -3017,6 +3037,8 @@ export type MongoDbConnectionInfo = ConnectionInfo & {
dataSource?: string;
encryptConnection?: boolean;
serverBrandVersion?: string;
serverVersion?: string;
trustServerCertificate?: boolean;
enforceSSL?: boolean;
port?: number;
additionalSettings?: string;
Expand Down Expand Up @@ -3152,7 +3174,7 @@ export type MongoDbShardKeyOrder = string;
// @public
export interface MongoDbShardKeySetting {
fields: MongoDbShardKeyField[];
isUnique: boolean;
isUnique?: boolean;
}

// @public
Expand All @@ -3169,6 +3191,7 @@ export type MySqlConnectionInfo = ConnectionInfo & {
dataSource?: string;
port: number;
encryptConnection?: boolean;
authentication?: AuthenticationType;
};

// @public
Expand Down Expand Up @@ -3337,13 +3360,16 @@ export type PostgreSqlConnectionInfo = ConnectionInfo & {
port: number;
encryptConnection?: boolean;
trustServerCertificate?: boolean;
additionalSettings?: string;
serverBrandVersion?: string;
authentication?: AuthenticationType;
};

// @public
export type Project = TrackedResource & {
eTag?: string;
etag?: string;
sourcePlatform?: ProjectSourcePlatform;
azureAuthenticationInfo?: string;
azureAuthenticationInfo?: AzureActiveDirectoryApp;
targetPlatform?: ProjectTargetPlatform;
readonly creationTime?: Date;
sourceConnectionInfo?: ConnectionInfoUnion;
Expand Down Expand Up @@ -3648,7 +3674,7 @@ export interface SelectedCertificateInput {
}

// @public
export type ServerLevelPermissionsGroup = "Default" | "MigrationFromSqlServerToAzureDB" | "MigrationFromSqlServerToAzureMI" | "MigrationFromMySQLToAzureDBForMySQL";
export type ServerLevelPermissionsGroup = "Default" | "MigrationFromSqlServerToAzureDB" | "MigrationFromSqlServerToAzureMI" | "MigrationFromMySQLToAzureDBForMySQL" | "MigrationFromSqlServerToAzureVM";

// @public
export interface ServerProperties {
Expand Down Expand Up @@ -3930,7 +3956,9 @@ export type SqlConnectionInfo = ConnectionInfo & {
type: "SqlConnectionInfo";
dataSource: string;
serverName?: string;
port?: string;
port?: number;
serverVersion?: string;
serverBrandVersion?: string;
resourceId?: string;
authentication?: AuthenticationType;
encryptConnection?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.1`;
const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.2`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -91,7 +91,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-10-30-preview";
this.apiVersion = options.apiVersion || "2022-01-30-preview";
this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);
this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);
this.operations = new OperationsImpl(this);
Expand Down
Loading