@azure/arm-locks 2.1.1-alpha.20230321.1 → 2.1.1-alpha.20230419.1

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.
package/dist/index.js CHANGED
@@ -645,17 +645,24 @@ class AuthorizationOperationsImpl {
645
645
  }
646
646
  listPagingAll(options) {
647
647
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
648
- var e_1, _a;
648
+ var _a, e_1, _b, _c;
649
649
  try {
650
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
651
- const page = _c.value;
652
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
650
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
651
+ _c = _f.value;
652
+ _d = false;
653
+ try {
654
+ const page = _c;
655
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
656
+ }
657
+ finally {
658
+ _d = true;
659
+ }
653
660
  }
654
661
  }
655
662
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
656
663
  finally {
657
664
  try {
658
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
665
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
659
666
  }
660
667
  finally { if (e_1) throw e_1.error; }
661
668
  }
@@ -773,17 +780,24 @@ class ManagementLocksImpl {
773
780
  }
774
781
  listAtResourceGroupLevelPagingAll(resourceGroupName, options) {
775
782
  return tslib.__asyncGenerator(this, arguments, function* listAtResourceGroupLevelPagingAll_1() {
776
- var e_1, _a;
783
+ var _a, e_1, _b, _c;
777
784
  try {
778
- for (var _b = tslib.__asyncValues(this.listAtResourceGroupLevelPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
779
- const page = _c.value;
780
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
785
+ for (var _d = true, _e = tslib.__asyncValues(this.listAtResourceGroupLevelPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
786
+ _c = _f.value;
787
+ _d = false;
788
+ try {
789
+ const page = _c;
790
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
791
+ }
792
+ finally {
793
+ _d = true;
794
+ }
781
795
  }
782
796
  }
783
797
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
784
798
  finally {
785
799
  try {
786
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
800
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
787
801
  }
788
802
  finally { if (e_1) throw e_1.error; }
789
803
  }
@@ -838,17 +852,24 @@ class ManagementLocksImpl {
838
852
  }
839
853
  listAtResourceLevelPagingAll(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options) {
840
854
  return tslib.__asyncGenerator(this, arguments, function* listAtResourceLevelPagingAll_1() {
841
- var e_2, _a;
855
+ var _a, e_2, _b, _c;
842
856
  try {
843
- for (var _b = tslib.__asyncValues(this.listAtResourceLevelPagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
844
- const page = _c.value;
845
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
857
+ for (var _d = true, _e = tslib.__asyncValues(this.listAtResourceLevelPagingPage(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
858
+ _c = _f.value;
859
+ _d = false;
860
+ try {
861
+ const page = _c;
862
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
863
+ }
864
+ finally {
865
+ _d = true;
866
+ }
846
867
  }
847
868
  }
848
869
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
849
870
  finally {
850
871
  try {
851
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
872
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
852
873
  }
853
874
  finally { if (e_2) throw e_2.error; }
854
875
  }
@@ -897,17 +918,24 @@ class ManagementLocksImpl {
897
918
  }
898
919
  listAtSubscriptionLevelPagingAll(options) {
899
920
  return tslib.__asyncGenerator(this, arguments, function* listAtSubscriptionLevelPagingAll_1() {
900
- var e_3, _a;
921
+ var _a, e_3, _b, _c;
901
922
  try {
902
- for (var _b = tslib.__asyncValues(this.listAtSubscriptionLevelPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
903
- const page = _c.value;
904
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
923
+ for (var _d = true, _e = tslib.__asyncValues(this.listAtSubscriptionLevelPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
924
+ _c = _f.value;
925
+ _d = false;
926
+ try {
927
+ const page = _c;
928
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
929
+ }
930
+ finally {
931
+ _d = true;
932
+ }
905
933
  }
906
934
  }
907
935
  catch (e_3_1) { e_3 = { error: e_3_1 }; }
908
936
  finally {
909
937
  try {
910
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
938
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
911
939
  }
912
940
  finally { if (e_3) throw e_3.error; }
913
941
  }
@@ -961,17 +989,24 @@ class ManagementLocksImpl {
961
989
  }
962
990
  listByScopePagingAll(scope, options) {
963
991
  return tslib.__asyncGenerator(this, arguments, function* listByScopePagingAll_1() {
964
- var e_4, _a;
992
+ var _a, e_4, _b, _c;
965
993
  try {
966
- for (var _b = tslib.__asyncValues(this.listByScopePagingPage(scope, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
967
- const page = _c.value;
968
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
994
+ for (var _d = true, _e = tslib.__asyncValues(this.listByScopePagingPage(scope, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
995
+ _c = _f.value;
996
+ _d = false;
997
+ try {
998
+ const page = _c;
999
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1000
+ }
1001
+ finally {
1002
+ _d = true;
1003
+ }
969
1004
  }
970
1005
  }
971
1006
  catch (e_4_1) { e_4 = { error: e_4_1 }; }
972
1007
  finally {
973
1008
  try {
974
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1009
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
975
1010
  }
976
1011
  finally { if (e_4) throw e_4.error; }
977
1012
  }