@azure/arm-datamigration 3.0.0-alpha.20230321.1 → 3.0.0-alpha.20230501.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. package/dist/index.js +156 -65
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist-esm/samples-dev/filesListSample.js +12 -5
  6. package/dist-esm/samples-dev/filesListSample.js.map +1 -1
  7. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +12 -5
  8. package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -1
  9. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +12 -5
  10. package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -1
  11. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +12 -5
  12. package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -1
  13. package/dist-esm/samples-dev/listSkus.js +12 -5
  14. package/dist-esm/samples-dev/listSkus.js.map +1 -1
  15. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +12 -5
  16. package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -1
  17. package/dist-esm/samples-dev/operationsListSample.js +12 -5
  18. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  19. package/dist-esm/samples-dev/projectsList.js +12 -5
  20. package/dist-esm/samples-dev/projectsList.js.map +1 -1
  21. package/dist-esm/samples-dev/projectsListSample.js +12 -5
  22. package/dist-esm/samples-dev/projectsListSample.js.map +1 -1
  23. package/dist-esm/samples-dev/resourceSkusListSkusSample.js +12 -5
  24. package/dist-esm/samples-dev/resourceSkusListSkusSample.js.map +1 -1
  25. package/dist-esm/samples-dev/serviceTasksList.js +12 -5
  26. package/dist-esm/samples-dev/serviceTasksList.js.map +1 -1
  27. package/dist-esm/samples-dev/serviceTasksListSample.js +12 -5
  28. package/dist-esm/samples-dev/serviceTasksListSample.js.map +1 -1
  29. package/dist-esm/samples-dev/servicesList.js +12 -5
  30. package/dist-esm/samples-dev/servicesList.js.map +1 -1
  31. package/dist-esm/samples-dev/servicesListByResourceGroup.js +12 -5
  32. package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -1
  33. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +12 -5
  34. package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
  35. package/dist-esm/samples-dev/servicesListSample.js +12 -5
  36. package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
  37. package/dist-esm/samples-dev/servicesListSkus.js +12 -5
  38. package/dist-esm/samples-dev/servicesListSkus.js.map +1 -1
  39. package/dist-esm/samples-dev/servicesListSkusSample.js +12 -5
  40. package/dist-esm/samples-dev/servicesListSkusSample.js.map +1 -1
  41. package/dist-esm/samples-dev/servicesUsages.js +12 -5
  42. package/dist-esm/samples-dev/servicesUsages.js.map +1 -1
  43. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js +12 -5
  44. package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js.map +1 -1
  45. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js +12 -5
  46. package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js.map +1 -1
  47. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js +12 -5
  48. package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js.map +1 -1
  49. package/dist-esm/samples-dev/tasksList.js +12 -5
  50. package/dist-esm/samples-dev/tasksList.js.map +1 -1
  51. package/dist-esm/samples-dev/tasksListSample.js +12 -5
  52. package/dist-esm/samples-dev/tasksListSample.js.map +1 -1
  53. package/dist-esm/samples-dev/usagesListSample.js +12 -5
  54. package/dist-esm/samples-dev/usagesListSample.js.map +1 -1
  55. package/dist-esm/src/models/index.d.ts +130 -130
  56. package/dist-esm/src/models/index.d.ts.map +1 -1
  57. package/dist-esm/src/operations/files.js +12 -5
  58. package/dist-esm/src/operations/files.js.map +1 -1
  59. package/dist-esm/src/operations/operations.js +12 -5
  60. package/dist-esm/src/operations/operations.js.map +1 -1
  61. package/dist-esm/src/operations/projects.js +12 -5
  62. package/dist-esm/src/operations/projects.js.map +1 -1
  63. package/dist-esm/src/operations/resourceSkus.js +12 -5
  64. package/dist-esm/src/operations/resourceSkus.js.map +1 -1
  65. package/dist-esm/src/operations/serviceTasks.js +12 -5
  66. package/dist-esm/src/operations/serviceTasks.js.map +1 -1
  67. package/dist-esm/src/operations/services.js +36 -15
  68. package/dist-esm/src/operations/services.js.map +1 -1
  69. package/dist-esm/src/operations/sqlMigrationServices.js +36 -15
  70. package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
  71. package/dist-esm/src/operations/tasks.js +12 -5
  72. package/dist-esm/src/operations/tasks.js.map +1 -1
  73. package/dist-esm/src/operations/usages.js +12 -5
  74. package/dist-esm/src/operations/usages.js.map +1 -1
  75. package/package.json +2 -2
  76. package/types/tsdoc-metadata.json +1 -1
package/dist/index.js CHANGED
@@ -14024,17 +14024,24 @@ class OperationsImpl {
14024
14024
  }
14025
14025
  listPagingAll(options) {
14026
14026
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
14027
- var e_1, _a;
14027
+ var _a, e_1, _b, _c;
14028
14028
  try {
14029
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
14030
- const page = _c.value;
14031
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14029
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14030
+ _c = _f.value;
14031
+ _d = false;
14032
+ try {
14033
+ const page = _c;
14034
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14035
+ }
14036
+ finally {
14037
+ _d = true;
14038
+ }
14032
14039
  }
14033
14040
  }
14034
14041
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
14035
14042
  finally {
14036
14043
  try {
14037
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
14044
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
14038
14045
  }
14039
14046
  finally { if (e_1) throw e_1.error; }
14040
14047
  }
@@ -14149,17 +14156,24 @@ class SqlMigrationServicesImpl {
14149
14156
  }
14150
14157
  listByResourceGroupPagingAll(resourceGroupName, options) {
14151
14158
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
14152
- var e_1, _a;
14159
+ var _a, e_1, _b, _c;
14153
14160
  try {
14154
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
14155
- const page = _c.value;
14156
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14161
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14162
+ _c = _f.value;
14163
+ _d = false;
14164
+ try {
14165
+ const page = _c;
14166
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14167
+ }
14168
+ finally {
14169
+ _d = true;
14170
+ }
14157
14171
  }
14158
14172
  }
14159
14173
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
14160
14174
  finally {
14161
14175
  try {
14162
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
14176
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
14163
14177
  }
14164
14178
  finally { if (e_1) throw e_1.error; }
14165
14179
  }
@@ -14211,17 +14225,24 @@ class SqlMigrationServicesImpl {
14211
14225
  }
14212
14226
  listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
14213
14227
  return tslib.__asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
14214
- var e_2, _a;
14228
+ var _a, e_2, _b, _c;
14215
14229
  try {
14216
- for (var _b = tslib.__asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
14217
- const page = _c.value;
14218
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14230
+ for (var _d = true, _e = tslib.__asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14231
+ _c = _f.value;
14232
+ _d = false;
14233
+ try {
14234
+ const page = _c;
14235
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14236
+ }
14237
+ finally {
14238
+ _d = true;
14239
+ }
14219
14240
  }
14220
14241
  }
14221
14242
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
14222
14243
  finally {
14223
14244
  try {
14224
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
14245
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
14225
14246
  }
14226
14247
  finally { if (e_2) throw e_2.error; }
14227
14248
  }
@@ -14270,17 +14291,24 @@ class SqlMigrationServicesImpl {
14270
14291
  }
14271
14292
  listBySubscriptionPagingAll(options) {
14272
14293
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
14273
- var e_3, _a;
14294
+ var _a, e_3, _b, _c;
14274
14295
  try {
14275
- for (var _b = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
14276
- const page = _c.value;
14277
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14296
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14297
+ _c = _f.value;
14298
+ _d = false;
14299
+ try {
14300
+ const page = _c;
14301
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14302
+ }
14303
+ finally {
14304
+ _d = true;
14305
+ }
14278
14306
  }
14279
14307
  }
14280
14308
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
14281
14309
  finally {
14282
14310
  try {
14283
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
14311
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
14284
14312
  }
14285
14313
  finally { if (e_3) throw e_3.error; }
14286
14314
  }
@@ -14900,17 +14928,24 @@ class ResourceSkusImpl {
14900
14928
  }
14901
14929
  listSkusPagingAll(options) {
14902
14930
  return tslib.__asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
14903
- var e_1, _a;
14931
+ var _a, e_1, _b, _c;
14904
14932
  try {
14905
- for (var _b = tslib.__asyncValues(this.listSkusPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
14906
- const page = _c.value;
14907
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14933
+ for (var _d = true, _e = tslib.__asyncValues(this.listSkusPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
14934
+ _c = _f.value;
14935
+ _d = false;
14936
+ try {
14937
+ const page = _c;
14938
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
14939
+ }
14940
+ finally {
14941
+ _d = true;
14942
+ }
14908
14943
  }
14909
14944
  }
14910
14945
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
14911
14946
  finally {
14912
14947
  try {
14913
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
14948
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
14914
14949
  }
14915
14950
  finally { if (e_1) throw e_1.error; }
14916
14951
  }
@@ -15034,17 +15069,24 @@ class ServicesImpl {
15034
15069
  }
15035
15070
  listSkusPagingAll(groupName, serviceName, options) {
15036
15071
  return tslib.__asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
15037
- var e_1, _a;
15072
+ var _a, e_1, _b, _c;
15038
15073
  try {
15039
- for (var _b = tslib.__asyncValues(this.listSkusPagingPage(groupName, serviceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
15040
- const page = _c.value;
15041
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15074
+ for (var _d = true, _e = tslib.__asyncValues(this.listSkusPagingPage(groupName, serviceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
15075
+ _c = _f.value;
15076
+ _d = false;
15077
+ try {
15078
+ const page = _c;
15079
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15080
+ }
15081
+ finally {
15082
+ _d = true;
15083
+ }
15042
15084
  }
15043
15085
  }
15044
15086
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
15045
15087
  finally {
15046
15088
  try {
15047
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
15089
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
15048
15090
  }
15049
15091
  finally { if (e_1) throw e_1.error; }
15050
15092
  }
@@ -15095,17 +15137,24 @@ class ServicesImpl {
15095
15137
  }
15096
15138
  listByResourceGroupPagingAll(groupName, options) {
15097
15139
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
15098
- var e_2, _a;
15140
+ var _a, e_2, _b, _c;
15099
15141
  try {
15100
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(groupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
15101
- const page = _c.value;
15102
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15142
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(groupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
15143
+ _c = _f.value;
15144
+ _d = false;
15145
+ try {
15146
+ const page = _c;
15147
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15148
+ }
15149
+ finally {
15150
+ _d = true;
15151
+ }
15103
15152
  }
15104
15153
  }
15105
15154
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
15106
15155
  finally {
15107
15156
  try {
15108
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
15157
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
15109
15158
  }
15110
15159
  finally { if (e_2) throw e_2.error; }
15111
15160
  }
@@ -15155,17 +15204,24 @@ class ServicesImpl {
15155
15204
  }
15156
15205
  listPagingAll(options) {
15157
15206
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
15158
- var e_3, _a;
15207
+ var _a, e_3, _b, _c;
15159
15208
  try {
15160
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
15161
- const page = _c.value;
15162
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15209
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
15210
+ _c = _f.value;
15211
+ _d = false;
15212
+ try {
15213
+ const page = _c;
15214
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
15215
+ }
15216
+ finally {
15217
+ _d = true;
15218
+ }
15163
15219
  }
15164
15220
  }
15165
15221
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
15166
15222
  finally {
15167
15223
  try {
15168
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
15224
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
15169
15225
  }
15170
15226
  finally { if (e_3) throw e_3.error; }
15171
15227
  }
@@ -15957,17 +16013,24 @@ class TasksImpl {
15957
16013
  }
15958
16014
  listPagingAll(groupName, serviceName, projectName, options) {
15959
16015
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
15960
- var e_1, _a;
16016
+ var _a, e_1, _b, _c;
15961
16017
  try {
15962
- for (var _b = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
15963
- const page = _c.value;
15964
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16018
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
16019
+ _c = _f.value;
16020
+ _d = false;
16021
+ try {
16022
+ const page = _c;
16023
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16024
+ }
16025
+ finally {
16026
+ _d = true;
16027
+ }
15965
16028
  }
15966
16029
  }
15967
16030
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
15968
16031
  finally {
15969
16032
  try {
15970
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
16033
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
15971
16034
  }
15972
16035
  finally { if (e_1) throw e_1.error; }
15973
16036
  }
@@ -16332,17 +16395,24 @@ class ServiceTasksImpl {
16332
16395
  }
16333
16396
  listPagingAll(groupName, serviceName, options) {
16334
16397
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
16335
- var e_1, _a;
16398
+ var _a, e_1, _b, _c;
16336
16399
  try {
16337
- for (var _b = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
16338
- const page = _c.value;
16339
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16400
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
16401
+ _c = _f.value;
16402
+ _d = false;
16403
+ try {
16404
+ const page = _c;
16405
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16406
+ }
16407
+ finally {
16408
+ _d = true;
16409
+ }
16340
16410
  }
16341
16411
  }
16342
16412
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
16343
16413
  finally {
16344
16414
  try {
16345
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
16415
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
16346
16416
  }
16347
16417
  finally { if (e_1) throw e_1.error; }
16348
16418
  }
@@ -16654,17 +16724,24 @@ class ProjectsImpl {
16654
16724
  }
16655
16725
  listPagingAll(groupName, serviceName, options) {
16656
16726
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
16657
- var e_1, _a;
16727
+ var _a, e_1, _b, _c;
16658
16728
  try {
16659
- for (var _b = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
16660
- const page = _c.value;
16661
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16729
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
16730
+ _c = _f.value;
16731
+ _d = false;
16732
+ try {
16733
+ const page = _c;
16734
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
16735
+ }
16736
+ finally {
16737
+ _d = true;
16738
+ }
16662
16739
  }
16663
16740
  }
16664
16741
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
16665
16742
  finally {
16666
16743
  try {
16667
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
16744
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
16668
16745
  }
16669
16746
  finally { if (e_1) throw e_1.error; }
16670
16747
  }
@@ -16939,17 +17016,24 @@ class UsagesImpl {
16939
17016
  }
16940
17017
  listPagingAll(location, options) {
16941
17018
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
16942
- var e_1, _a;
17019
+ var _a, e_1, _b, _c;
16943
17020
  try {
16944
- for (var _b = tslib.__asyncValues(this.listPagingPage(location, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
16945
- const page = _c.value;
16946
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
17021
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
17022
+ _c = _f.value;
17023
+ _d = false;
17024
+ try {
17025
+ const page = _c;
17026
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
17027
+ }
17028
+ finally {
17029
+ _d = true;
17030
+ }
16947
17031
  }
16948
17032
  }
16949
17033
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
16950
17034
  finally {
16951
17035
  try {
16952
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
17036
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
16953
17037
  }
16954
17038
  finally { if (e_1) throw e_1.error; }
16955
17039
  }
@@ -17082,17 +17166,24 @@ class FilesImpl {
17082
17166
  }
17083
17167
  listPagingAll(groupName, serviceName, projectName, options) {
17084
17168
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
17085
- var e_1, _a;
17169
+ var _a, e_1, _b, _c;
17086
17170
  try {
17087
- for (var _b = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
17088
- const page = _c.value;
17089
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
17171
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
17172
+ _c = _f.value;
17173
+ _d = false;
17174
+ try {
17175
+ const page = _c;
17176
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
17177
+ }
17178
+ finally {
17179
+ _d = true;
17180
+ }
17090
17181
  }
17091
17182
  }
17092
17183
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
17093
17184
  finally {
17094
17185
  try {
17095
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
17186
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
17096
17187
  }
17097
17188
  finally { if (e_1) throw e_1.error; }
17098
17189
  }