@azure/arm-storagecache 7.0.0-beta.1 → 7.0.1-alpha.20230621.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/CHANGELOG.md +15 -4
  2. package/README.md +2 -2
  3. package/dist/index.js +3670 -3582
  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/amlFilesystemsArchiveSample.js +1 -1
  8. package/dist-esm/samples-dev/amlFilesystemsCancelArchiveSample.js +1 -1
  9. package/dist-esm/samples-dev/amlFilesystemsCreateOrUpdateSample.js +1 -1
  10. package/dist-esm/samples-dev/amlFilesystemsDeleteSample.js +1 -1
  11. package/dist-esm/samples-dev/amlFilesystemsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js +13 -6
  13. package/dist-esm/samples-dev/amlFilesystemsListByResourceGroupSample.js.map +1 -1
  14. package/dist-esm/samples-dev/amlFilesystemsListSample.js +13 -6
  15. package/dist-esm/samples-dev/amlFilesystemsListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/amlFilesystemsUpdateSample.js +1 -1
  17. package/dist-esm/samples-dev/ascOperationsGetSample.js +1 -1
  18. package/dist-esm/samples-dev/ascUsagesListSample.js +13 -6
  19. package/dist-esm/samples-dev/ascUsagesListSample.js.map +1 -1
  20. package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js +2 -4
  21. package/dist-esm/samples-dev/cachesCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/cachesDebugInfoSample.js +1 -1
  23. package/dist-esm/samples-dev/cachesDeleteSample.js +1 -1
  24. package/dist-esm/samples-dev/cachesFlushSample.js +1 -1
  25. package/dist-esm/samples-dev/cachesGetSample.js +1 -1
  26. package/dist-esm/samples-dev/cachesListByResourceGroupSample.js +13 -6
  27. package/dist-esm/samples-dev/cachesListByResourceGroupSample.js.map +1 -1
  28. package/dist-esm/samples-dev/cachesListSample.js +13 -6
  29. package/dist-esm/samples-dev/cachesListSample.js.map +1 -1
  30. package/dist-esm/samples-dev/cachesPausePrimingJobSample.js +1 -1
  31. package/dist-esm/samples-dev/cachesResumePrimingJobSample.js +1 -1
  32. package/dist-esm/samples-dev/cachesSpaceAllocationSample.js +1 -1
  33. package/dist-esm/samples-dev/cachesStartPrimingJobSample.js +1 -1
  34. package/dist-esm/samples-dev/cachesStartSample.js +1 -1
  35. package/dist-esm/samples-dev/cachesStopPrimingJobSample.js +1 -1
  36. package/dist-esm/samples-dev/cachesStopSample.js +1 -1
  37. package/dist-esm/samples-dev/cachesUpdateSample.js +3 -5
  38. package/dist-esm/samples-dev/cachesUpdateSample.js.map +1 -1
  39. package/dist-esm/samples-dev/cachesUpgradeFirmwareSample.js +1 -1
  40. package/dist-esm/samples-dev/checkAmlFsSubnetsSample.js +1 -1
  41. package/dist-esm/samples-dev/getRequiredAmlFsSubnetsSizeSample.js +1 -1
  42. package/dist-esm/samples-dev/operationsListSample.js +13 -6
  43. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  44. package/dist-esm/samples-dev/skusListSample.js +13 -6
  45. package/dist-esm/samples-dev/skusListSample.js.map +1 -1
  46. package/dist-esm/samples-dev/storageTargetFlushSample.js +1 -1
  47. package/dist-esm/samples-dev/storageTargetInvalidateSample.js +1 -1
  48. package/dist-esm/samples-dev/storageTargetResumeSample.js +1 -1
  49. package/dist-esm/samples-dev/storageTargetSuspendSample.js +1 -1
  50. package/dist-esm/samples-dev/storageTargetsCreateOrUpdateSample.js +3 -3
  51. package/dist-esm/samples-dev/storageTargetsDeleteSample.js +1 -1
  52. package/dist-esm/samples-dev/storageTargetsDnsRefreshSample.js +1 -1
  53. package/dist-esm/samples-dev/storageTargetsGetSample.js +1 -1
  54. package/dist-esm/samples-dev/storageTargetsListByCacheSample.js +13 -6
  55. package/dist-esm/samples-dev/storageTargetsListByCacheSample.js.map +1 -1
  56. package/dist-esm/samples-dev/storageTargetsRestoreDefaultsSample.js +1 -1
  57. package/dist-esm/samples-dev/usageModelsListSample.js +13 -6
  58. package/dist-esm/samples-dev/usageModelsListSample.js.map +1 -1
  59. package/dist-esm/src/models/index.d.ts +581 -564
  60. package/dist-esm/src/models/index.d.ts.map +1 -1
  61. package/dist-esm/src/models/index.js +70 -70
  62. package/dist-esm/src/models/index.js.map +1 -1
  63. package/dist-esm/src/models/mappers.d.ts +31 -30
  64. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  65. package/dist-esm/src/models/mappers.js +1386 -1362
  66. package/dist-esm/src/models/mappers.js.map +1 -1
  67. package/dist-esm/src/models/parameters.d.ts +9 -9
  68. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  69. package/dist-esm/src/models/parameters.js +70 -70
  70. package/dist-esm/src/models/parameters.js.map +1 -1
  71. package/dist-esm/src/operations/amlFilesystems.js +28 -14
  72. package/dist-esm/src/operations/amlFilesystems.js.map +1 -1
  73. package/dist-esm/src/operations/ascUsages.js +13 -6
  74. package/dist-esm/src/operations/ascUsages.js.map +1 -1
  75. package/dist-esm/src/operations/caches.js +28 -14
  76. package/dist-esm/src/operations/caches.js.map +1 -1
  77. package/dist-esm/src/operations/index.d.ts +1 -1
  78. package/dist-esm/src/operations/index.d.ts.map +1 -1
  79. package/dist-esm/src/operations/index.js +1 -1
  80. package/dist-esm/src/operations/index.js.map +1 -1
  81. package/dist-esm/src/operations/operations.js +12 -5
  82. package/dist-esm/src/operations/operations.js.map +1 -1
  83. package/dist-esm/src/operations/skus.js +14 -7
  84. package/dist-esm/src/operations/skus.js.map +1 -1
  85. package/dist-esm/src/operations/storageTargets.js +13 -6
  86. package/dist-esm/src/operations/storageTargets.js.map +1 -1
  87. package/dist-esm/src/operations/usageModels.js +14 -7
  88. package/dist-esm/src/operations/usageModels.js.map +1 -1
  89. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -1
  90. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  91. package/dist-esm/src/operationsInterfaces/index.js +1 -1
  92. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  93. package/dist-esm/src/storageCacheManagementClient.d.ts +2 -2
  94. package/dist-esm/src/storageCacheManagementClient.d.ts.map +1 -1
  95. package/dist-esm/src/storageCacheManagementClient.js +4 -4
  96. package/dist-esm/src/storageCacheManagementClient.js.map +1 -1
  97. package/dist-esm/test/storagecache_operations_test.spec.js +24 -11
  98. package/dist-esm/test/storagecache_operations_test.spec.js.map +1 -1
  99. package/package.json +4 -4
  100. package/review/arm-storagecache.api.md +17 -11
  101. package/src/models/index.ts +679 -661
  102. package/src/models/mappers.ts +1399 -1376
  103. package/src/models/parameters.ts +82 -82
  104. package/src/operations/amlFilesystems.ts +4 -4
  105. package/src/operations/ascUsages.ts +1 -1
  106. package/src/operations/caches.ts +4 -4
  107. package/src/operations/index.ts +1 -1
  108. package/src/operations/skus.ts +2 -2
  109. package/src/operations/storageTargets.ts +1 -1
  110. package/src/operations/usageModels.ts +2 -2
  111. package/src/operationsInterfaces/index.ts +1 -1
  112. package/src/storageCacheManagementClient.ts +8 -8
  113. package/types/arm-storagecache.d.ts +48 -30
  114. package/types/tsdoc-metadata.json +1 -1
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Resumes client access to a previously suspended storage target.
17
17
  *
18
18
  * @summary Resumes client access to a previously suspended storage target.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_Resume.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_Resume.json
20
20
  */
21
21
  function storageTargetsResume() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Suspends client access to a storage target.
17
17
  *
18
18
  * @summary Suspends client access to a storage target.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_Suspend.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_Suspend.json
20
20
  */
21
21
  function storageTargetsSuspend() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
17
17
  *
18
18
  * @summary Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_CreateOrUpdate.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_CreateOrUpdate.json
20
20
  */
21
21
  function storageTargetsCreateOrUpdate() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -57,7 +57,7 @@ function storageTargetsCreateOrUpdate() {
57
57
  * This sample demonstrates how to Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
58
58
  *
59
59
  * @summary Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
60
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_CreateOrUpdate_BlobNfs.json
60
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_CreateOrUpdate_BlobNfs.json
61
61
  */
62
62
  function storageTargetsCreateOrUpdateBlobNfs() {
63
63
  return __awaiter(this, void 0, void 0, function* () {
@@ -86,7 +86,7 @@ function storageTargetsCreateOrUpdateBlobNfs() {
86
86
  * This sample demonstrates how to Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
87
87
  *
88
88
  * @summary Create or update a Storage Target. This operation is allowed at any time, but if the cache is down or unhealthy, the actual creation/modification of the Storage Target may be delayed until the cache is healthy again.
89
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_CreateOrUpdate_NoJunctions.json
89
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_CreateOrUpdate_NoJunctions.json
90
90
  */
91
91
  function storageTargetsCreateOrUpdateNoJunctions() {
92
92
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.
17
17
  *
18
18
  * @summary Removes a Storage Target from a cache. This operation is allowed at any time, but if the cache is down or unhealthy, the actual removal of the Storage Target may be delayed until the cache is healthy again. Note that if the cache has data to flush to the Storage Target, the data will be flushed before the Storage Target will be deleted.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_Delete.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_Delete.json
20
20
  */
21
21
  function storageTargetsDelete() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Tells a storage target to refresh its DNS information.
17
17
  *
18
18
  * @summary Tells a storage target to refresh its DNS information.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_DnsRefresh.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_DnsRefresh.json
20
20
  */
21
21
  function cachesDnsRefresh() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns a Storage Target from a cache.
17
17
  *
18
18
  * @summary Returns a Storage Target from a cache.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_Get.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_Get.json
20
20
  */
21
21
  function storageTargetsGet() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,10 +16,10 @@ dotenv.config();
16
16
  * This sample demonstrates how to Returns a list of Storage Targets for the specified cache.
17
17
  *
18
18
  * @summary Returns a list of Storage Targets for the specified cache.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_ListByCache.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_ListByCache.json
20
20
  */
21
21
  function storageTargetsList() {
22
- var e_1, _a;
22
+ var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGECACHE_SUBSCRIPTION_ID"] ||
25
25
  "00000000-0000-0000-0000-000000000000";
@@ -29,15 +29,22 @@ function storageTargetsList() {
29
29
  const client = new StorageCacheManagementClient(credential, subscriptionId);
30
30
  const resArray = new Array();
31
31
  try {
32
- for (var _b = __asyncValues(client.storageTargets.listByCache(resourceGroupName, cacheName)), _c; _c = yield _b.next(), !_c.done;) {
33
- let item = _c.value;
34
- resArray.push(item);
32
+ for (var _d = true, _e = __asyncValues(client.storageTargets.listByCache(resourceGroupName, cacheName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
33
+ _c = _f.value;
34
+ _d = false;
35
+ try {
36
+ let item = _c;
37
+ resArray.push(item);
38
+ }
39
+ finally {
40
+ _d = true;
41
+ }
35
42
  }
36
43
  }
37
44
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
38
45
  finally {
39
46
  try {
40
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
47
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
41
48
  }
42
49
  finally { if (e_1) throw e_1.error; }
43
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"storageTargetsListByCacheSample.js","sourceRoot":"","sources":["../../samples-dev/storageTargetsListByCacheSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,SAAS,GAAG,KAAK,CAAC;QACxB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,WAAW,CACtD,iBAAiB,EACjB,SAAS,CACV,CAAA,IAAA;gBAHU,IAAI,IAAI,WAAA,CAAA;gBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"storageTargetsListByCacheSample.js","sourceRoot":"","sources":["../../samples-dev/storageTargetsListByCacheSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kBAAkB;;;QAC/B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC,IAAI,SAAS,CAAC;QAC1D,MAAM,SAAS,GAAG,KAAK,CAAC;QACxB,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,cAAc,CAAC,WAAW,CACtD,iBAAiB,EACjB,SAAS,CACV,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,kBAAkB,EAAE,CAAC;IACvB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -16,7 +16,7 @@ dotenv.config();
16
16
  * This sample demonstrates how to Tells a storage target to restore its settings to their default values.
17
17
  *
18
18
  * @summary Tells a storage target to restore its settings to their default values.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/StorageTargets_RestoreDefaults.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/StorageTargets_RestoreDefaults.json
20
20
  */
21
21
  function storageTargetsRestoreDefaults() {
22
22
  return __awaiter(this, void 0, void 0, function* () {
@@ -16,10 +16,10 @@ dotenv.config();
16
16
  * This sample demonstrates how to Get the list of cache usage models available to this subscription.
17
17
  *
18
18
  * @summary Get the list of cache usage models available to this subscription.
19
- * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/preview/2023-03-01-preview/examples/UsageModels_List.json
19
+ * x-ms-original-file: specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2023-05-01/examples/UsageModels_List.json
20
20
  */
21
21
  function usageModelsList() {
22
- var e_1, _a;
22
+ var _a, e_1, _b, _c;
23
23
  return __awaiter(this, void 0, void 0, function* () {
24
24
  const subscriptionId = process.env["STORAGECACHE_SUBSCRIPTION_ID"] ||
25
25
  "00000000-0000-0000-0000-000000000000";
@@ -27,15 +27,22 @@ function usageModelsList() {
27
27
  const client = new StorageCacheManagementClient(credential, subscriptionId);
28
28
  const resArray = new Array();
29
29
  try {
30
- for (var _b = __asyncValues(client.usageModels.list()), _c; _c = yield _b.next(), !_c.done;) {
31
- let item = _c.value;
32
- resArray.push(item);
30
+ for (var _d = true, _e = __asyncValues(client.usageModels.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
31
+ _c = _f.value;
32
+ _d = false;
33
+ try {
34
+ let item = _c;
35
+ resArray.push(item);
36
+ }
37
+ finally {
38
+ _d = true;
39
+ }
33
40
  }
34
41
  }
35
42
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
36
43
  finally {
37
44
  try {
38
- if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
45
+ if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
39
46
  }
40
47
  finally { if (e_1) throw e_1.error; }
41
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"usageModelsListSample.js","sourceRoot":"","sources":["../../samples-dev/usageModelsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAA,IAAA;gBAArC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"usageModelsListSample.js","sourceRoot":"","sources":["../../samples-dev/usageModelsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,eAAe;;;QAC5B,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;YAC3C,sCAAsC,CAAC;QACzC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,4BAA4B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAzB,cAAyB;gBAAzB,WAAyB;;oBAArC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,SAAe,IAAI;;QACjB,eAAe,EAAE,CAAC;IACpB,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}