@azure/arm-datamigration 3.0.0-beta.2 → 3.0.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -1
  3. package/dist/index.js +630 -110
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js +2 -2
  8. package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js +2 -2
  10. package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js.map +1 -1
  11. package/dist-esm/src/dataMigrationManagementClient.d.ts +2 -0
  12. package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
  13. package/dist-esm/src/dataMigrationManagementClient.js +49 -18
  14. package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
  15. package/dist-esm/src/index.d.ts +1 -0
  16. package/dist-esm/src/index.d.ts.map +1 -1
  17. package/dist-esm/src/index.js +1 -0
  18. package/dist-esm/src/index.js.map +1 -1
  19. package/dist-esm/src/models/index.d.ts +556 -240
  20. package/dist-esm/src/models/index.d.ts.map +1 -1
  21. package/dist-esm/src/models/index.js +314 -0
  22. package/dist-esm/src/models/index.js.map +1 -1
  23. package/dist-esm/src/operations/files.d.ts.map +1 -1
  24. package/dist-esm/src/operations/files.js +19 -7
  25. package/dist-esm/src/operations/files.js.map +1 -1
  26. package/dist-esm/src/operations/operations.d.ts.map +1 -1
  27. package/dist-esm/src/operations/operations.js +19 -7
  28. package/dist-esm/src/operations/operations.js.map +1 -1
  29. package/dist-esm/src/operations/projects.d.ts.map +1 -1
  30. package/dist-esm/src/operations/projects.js +19 -7
  31. package/dist-esm/src/operations/projects.js.map +1 -1
  32. package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
  33. package/dist-esm/src/operations/resourceSkus.js +19 -7
  34. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  35. package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -1
  36. package/dist-esm/src/operations/serviceTasks.js +19 -7
  37. package/dist-esm/src/operations/serviceTasks.js.map +1 -1
  38. package/dist-esm/src/operations/services.d.ts.map +1 -1
  39. package/dist-esm/src/operations/services.js +55 -21
  40. package/dist-esm/src/operations/services.js.map +1 -1
  41. package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
  42. package/dist-esm/src/operations/sqlMigrationServices.js +55 -21
  43. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
  44. package/dist-esm/src/operations/tasks.d.ts.map +1 -1
  45. package/dist-esm/src/operations/tasks.js +19 -7
  46. package/dist-esm/src/operations/tasks.js.map +1 -1
  47. package/dist-esm/src/operations/usages.d.ts.map +1 -1
  48. package/dist-esm/src/operations/usages.js +19 -7
  49. package/dist-esm/src/operations/usages.js.map +1 -1
  50. package/dist-esm/src/pagingHelper.d.ts +13 -0
  51. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  52. package/dist-esm/src/pagingHelper.js +32 -0
  53. package/dist-esm/src/pagingHelper.js.map +1 -0
  54. package/dist-esm/test/sampleTest.js +11 -13
  55. package/dist-esm/test/sampleTest.js.map +1 -1
  56. package/package.json +14 -10
  57. package/review/arm-datamigration.api.md +564 -872
  58. package/src/dataMigrationManagementClient.ts +60 -20
  59. package/src/index.ts +1 -0
  60. package/src/models/index.ts +646 -246
  61. package/src/operations/files.ts +22 -8
  62. package/src/operations/operations.ts +21 -8
  63. package/src/operations/projects.ts +21 -8
  64. package/src/operations/resourceSkus.ts +21 -8
  65. package/src/operations/serviceTasks.ts +21 -8
  66. package/src/operations/services.ts +67 -25
  67. package/src/operations/sqlMigrationServices.ts +71 -29
  68. package/src/operations/tasks.ts +22 -8
  69. package/src/operations/usages.ts +21 -8
  70. package/src/pagingHelper.ts +39 -0
  71. package/types/arm-datamigration.d.ts +567 -240
  72. package/types/tsdoc-metadata.json +1 -1
@@ -27,7 +27,7 @@ function createOrUpdateDatabaseMigrationResourceWithMaximumParameters() {
27
27
  backupConfiguration: {
28
28
  sourceLocation: {
29
29
  fileShare: {
30
- path: "C:aaa\bbbccc",
30
+ path: "C:\\aaa\\bbb\\ccc",
31
31
  password: "placeholder",
32
32
  username: "name"
33
33
  }
@@ -79,7 +79,7 @@ function createOrUpdateDatabaseMigrationResourceWithMinimumParameters() {
79
79
  backupConfiguration: {
80
80
  sourceLocation: {
81
81
  fileShare: {
82
- path: "C:aaa\bbbccc",
82
+ path: "C:\\aaa\\bbb\\ccc",
83
83
  password: "placeholder",
84
84
  username: "name"
85
85
  }
@@ -1 +1 @@
1
- {"version":3,"file":"databaseMigrationsSqlMiCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4DAA4D;;QACzE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;QAC/C,MAAM,YAAY,GAAG,KAAK,CAAC;QAC3B,MAAM,UAAU,GAA2B;YACzC,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,cAAc,EAAE;wBACd,SAAS,EAAE;4BACT,IAAI,EAAE,cAAc;4BACpB,QAAQ,EAAE,aAAa;4BACvB,QAAQ,EAAE,MAAM;yBACjB;qBACF;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE,MAAM;wBAClB,wBAAwB,EAAE,8BAA8B;qBACzD;iBACF;gBACD,IAAI,EAAE,OAAO;gBACb,gBA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EAAE,OAAO;gBACb,gBAAgB,EACd,4IAA4I;gBAC9I,oBAAoB,EAAE;oBACpB,cAAc,EAAE,uBAAuB;oBACvC,OAAO,EAAE,IAAI;iBACd;gBACD,KAAK,EACH,6HAA6H;gBAC/H,kBAAkB,EAAE,KAAK;gBACzB,mBAAmB,EAAE;oBACnB,cAAc,EAAE,uBAAuB;oBACvC,UAAU,EAAE,KAAK;oBACjB,iBAAiB,EAAE,IAAI;oBACvB,QAAQ,EAAE,aAAa;oBACvB,sBAAsB,EAAE,IAAI;oBAC5B,QAAQ,EAAE,KAAK;iBAChB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,0BAA0B,CAC5E,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4DAA4D,EAAE,CAAC,KAAK,CAClE,OAAO,CAAC,KAAK,CACd,CAAC"}
1
+ {"version":3,"file":"databaseMigrationsSqlMiCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4DAA4D;;QACzE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;QAC/C,MAAM,YAAY,GAAG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QAC/C,MAAM,YAAY,GAAG,KAAK,CAAC;QAC3B,MAAM,UAAU,GAA2B;YACzC,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,cAAc,EAAE;wBACd,SAAS,EAAE;4BACT,IAAI,EAAE,mBAAmB;4BACzB,QAAQ,EAAE,aAAa;4BACvB,QAAQ,EAAE,MAAM;yBACjB;qBACF;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE,MAAM;wBAClB,wBAAwB,EAAE,8BAA8B;qBACzD;iBACF;gBACD,IAAI,EAAE,OAAO;gBACb,gBAAgB,EACd,4IAA4I;gBAC9I,oBAAoB,EAAE;oBACpB,cAAc,EAAE,uBAAuB;oBACvC,OAAO,EAAE,IAAI;iBACd;gBACD,KAAK,EACH,6HAA6H;gBAC/H,kBAAkB,EAAE,KAAK;gBACzB,mBAAmB,EAAE;oBACnB,cAAc,EAAE,uBAAuB;oBACvC,UAAU,EAAE,KAAK;oBACjB,iBAAiB,EAAE,IAAI;oBACvB,QAAQ,EAAE,aAAa;oBACvB,sBAAsB,EAAE,IAAI;oBAC5B,QAAQ,EAAE,KAAK;iBAChB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,0BAA0B,CAC5E,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4DAA4D,EAAE,CAAC,KAAK,CAClE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -27,7 +27,7 @@ function createOrUpdateDatabaseMigrationResourceWithMaximumParameters() {
27
27
  backupConfiguration: {
28
28
  sourceLocation: {
29
29
  fileShare: {
30
- path: "C:aaa\bbbccc",
30
+ path: "C:\\aaa\\bbb\\ccc",
31
31
  password: "placeholder",
32
32
  username: "name"
33
33
  }
@@ -79,7 +79,7 @@ function createOrUpdateDatabaseMigrationResourceWithMinimumParameters() {
79
79
  backupConfiguration: {
80
80
  sourceLocation: {
81
81
  fileShare: {
82
- path: "C:aaa\bbbccc",
82
+ path: "C:\\aaa\\bbb\\ccc",
83
83
  password: "placeholder",
84
84
  username: "name"
85
85
  }
@@ -1 +1 @@
1
- {"version":3,"file":"databaseMigrationsSqlVMCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4DAA4D;;QACzE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,qBAAqB,GAAG,QAAQ,CAAC;QACvC,MAAM,YAAY,GAAG,KAAK,CAAC;QAC3B,MAAM,UAAU,GAA2B;YACzC,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,cAAc,EAAE;wBACd,SAAS,EAAE;4BACT,IAAI,EAAE,cAAc;4BACpB,QAAQ,EAAE,aAAa;4BACvB,QAAQ,EAAE,MAAM;yBACjB;qBACF;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE,MAAM;wBAClB,wBAAwB,EAAE,8BAA8B;qBACzD;iBACF;gBACD,IAAI,EAAE,OAAO;gBACb,gBAAgB,EACd,4IAA4I;gBAC9I,oBAAoB,EAAE;oBACpB,cAAc,EAAE,uBAAuB;oBACvC,OAAO,EAAE,IAAI;iBACd;gBACD,KAAK,EACH,2IAA2I;gBAC7I,kBAAkB,EAAE,KAAK;gBACzB,mBAAm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KAAK;gBACzB,mBAAmB,EAAE;oBACnB,cAAc,EAAE,uBAAuB;oBACvC,UAAU,EAAE,KAAK;oBACjB,iBAAiB,EAAE,IAAI;oBACvB,QAAQ,EAAE,aAAa;oBACvB,sBAAsB,EAAE,IAAI;oBAC5B,QAAQ,EAAE,KAAK;iBAChB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,0BAA0B,CAC5E,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4DAA4D,EAAE,CAAC,KAAK,CAClE,OAAO,CAAC,KAAK,CACd,CAAC"}
1
+ {"version":3,"file":"databaseMigrationsSqlVMCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,6BAA6B,EAC9B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4DAA4D;;QACzE,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,qBAAqB,GAAG,QAAQ,CAAC;QACvC,MAAM,YAAY,GAAG,KAAK,CAAC;QAC3B,MAAM,UAAU,GAA2B;YACzC,UAAU,EAAE;gBACV,mBAAmB,EAAE;oBACnB,cAAc,EAAE;wBACd,SAAS,EAAE;4BACT,IAAI,EAAE,mBAAmB;4BACzB,QAAQ,EAAE,aAAa;4BAC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AAQ,EAAE,aAAa;4BACvB,QAAQ,EAAE,MAAM;yBACjB;qBACF;oBACD,cAAc,EAAE;wBACd,UAAU,EAAE,MAAM;wBAClB,wBAAwB,EAAE,8BAA8B;qBACzD;iBACF;gBACD,IAAI,EAAE,OAAO;gBACb,gBAAgB,EACd,4IAA4I;gBAC9I,oBAAoB,EAAE;oBACpB,cAAc,EAAE,uBAAuB;oBACvC,OAAO,EAAE,IAAI;iBACd;gBACD,KAAK,EACH,2IAA2I;gBAC7I,kBAAkB,EAAE,KAAK;gBACzB,mBAAmB,EAAE;oBACnB,cAAc,EAAE,uBAAuB;oBACvC,UAAU,EAAE,KAAK;oBACjB,iBAAiB,EAAE,IAAI;oBACvB,QAAQ,EAAE,aAAa;oBACvB,sBAAsB,EAAE,IAAI;oBAC5B,QAAQ,EAAE,KAAK;iBAChB;aACF;SACF,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,6BAA6B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC7E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,0BAA0B,CAC5E,iBAAiB,EACjB,qBAAqB,EACrB,YAAY,EACZ,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4DAA4D,EAAE,CAAC,KAAK,CAClE,OAAO,CAAC,KAAK,CACd,CAAC"}
@@ -13,6 +13,8 @@ export declare class DataMigrationManagementClient extends coreClient.ServiceCli
13
13
  * @param options The parameter options
14
14
  */
15
15
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataMigrationManagementClientOptionalParams);
16
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
+ private addCustomApiVersionPolicy;
16
18
  databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;
17
19
  databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;
18
20
  operations: Operations;
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAc7C,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,2CAA2C,EAAE,MAAM,UAAU,CAAC;AAEvE,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IA+EvD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
1
+ {"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAc7C,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,2CAA2C,EAAE,MAAM,UAAU,CAAC;AAEvE,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IAsFvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
@@ -5,6 +5,7 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
+ import { __awaiter } from "tslib";
8
9
  import * as coreClient from "@azure/core-client";
9
10
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
10
11
  import { DatabaseMigrationsSqlMiImpl, DatabaseMigrationsSqlVmImpl, OperationsImpl, SqlMigrationServicesImpl, ResourceSkusImpl, ServicesImpl, TasksImpl, ServiceTasksImpl, ProjectsImpl, UsagesImpl, FilesImpl } from "./operations";
@@ -16,7 +17,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
16
17
  * @param options The parameter options
17
18
  */
18
19
  constructor(credentials, subscriptionId, options) {
19
- var _a, _b;
20
+ var _a, _b, _c;
20
21
  if (credentials === undefined) {
21
22
  throw new Error("'credentials' cannot be null");
22
23
  }
@@ -31,32 +32,34 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
31
32
  requestContentType: "application/json; charset=utf-8",
32
33
  credential: credentials
33
34
  };
34
- const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.2`;
35
+ const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.3`;
35
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
36
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
37
38
  : `${packageDetails}`;
38
- if (!options.credentialScopes) {
39
- options.credentialScopes = ["https://management.azure.com/.default"];
40
- }
41
39
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
42
40
  userAgentPrefix
43
- }, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
41
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
44
42
  super(optionsWithDefaults);
43
+ let bearerTokenAuthenticationPolicyFound = false;
45
44
  if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
46
45
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
47
- const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
46
+ bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
48
47
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
49
- if (!bearerTokenAuthenticationPolicyFound) {
50
- this.pipeline.removePolicy({
51
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
52
- });
53
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
54
- scopes: `${optionsWithDefaults.baseUri}/.default`,
55
- challengeCallbacks: {
56
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
57
- }
58
- }));
59
- }
48
+ }
49
+ if (!options ||
50
+ !options.pipeline ||
51
+ options.pipeline.getOrderedPolicies().length == 0 ||
52
+ !bearerTokenAuthenticationPolicyFound) {
53
+ this.pipeline.removePolicy({
54
+ name: coreRestPipeline.bearerTokenAuthenticationPolicyName
55
+ });
56
+ this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
+ credential: credentials,
58
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
59
+ challengeCallbacks: {
60
+ authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
61
+ }
62
+ }));
60
63
  }
61
64
  // Parameter assignments
62
65
  this.subscriptionId = subscriptionId;
@@ -74,6 +77,34 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
74
77
  this.projects = new ProjectsImpl(this);
75
78
  this.usages = new UsagesImpl(this);
76
79
  this.files = new FilesImpl(this);
80
+ this.addCustomApiVersionPolicy(options.apiVersion);
81
+ }
82
+ /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
83
+ addCustomApiVersionPolicy(apiVersion) {
84
+ if (!apiVersion) {
85
+ return;
86
+ }
87
+ const apiVersionPolicy = {
88
+ name: "CustomApiVersionPolicy",
89
+ sendRequest(request, next) {
90
+ return __awaiter(this, void 0, void 0, function* () {
91
+ const param = request.url.split("?");
92
+ if (param.length > 1) {
93
+ const newParams = param[1].split("&").map((item) => {
94
+ if (item.indexOf("api-version") > -1) {
95
+ return "api-version=" + apiVersion;
96
+ }
97
+ else {
98
+ return item;
99
+ }
100
+ });
101
+ request.url = param[0] + "?" + newParams.join("&");
102
+ }
103
+ return next(request);
104
+ });
105
+ }
106
+ };
107
+ this.pipeline.addPolicy(apiVersionPolicy);
77
108
  }
78
109
  }
79
110
  //# sourceMappingURL=dataMigrationManagementClient.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAgBtB,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,yCAAyC,CAAC;QACjE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAA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AAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAaF"}
@@ -1,4 +1,5 @@
1
1
  /// <reference lib="esnext.asynciterable" />
2
+ export { getContinuationToken } from "./pagingHelper";
2
3
  export * from "./models";
3
4
  export { DataMigrationManagementClient } from "./dataMigrationManagementClient";
4
5
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
@@ -6,6 +6,7 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
+ export { getContinuationToken } from "./pagingHelper";
9
10
  export * from "./models";
10
11
  export { DataMigrationManagementClient } from "./dataMigrationManagementClient";
11
12
  export * from "./operationsInterfaces";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,cAAc,wBAAwB,CAAC"}