@azure/arm-privatedns 3.2.1-alpha.20231010.1 → 3.2.1-alpha.20231024.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
@@ -1,14 +1,11 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  var tslib = require('tslib');
6
4
  var coreClient = require('@azure/core-client');
7
5
  var coreRestPipeline = require('@azure/core-rest-pipeline');
8
6
  var coreLro = require('@azure/core-lro');
9
7
 
10
- function _interopNamespace(e) {
11
- if (e && e.__esModule) return e;
8
+ function _interopNamespaceDefault(e) {
12
9
  var n = Object.create(null);
13
10
  if (e) {
14
11
  Object.keys(e).forEach(function (k) {
@@ -21,12 +18,12 @@ function _interopNamespace(e) {
21
18
  }
22
19
  });
23
20
  }
24
- n["default"] = e;
21
+ n.default = e;
25
22
  return Object.freeze(n);
26
23
  }
27
24
 
28
- var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
29
- var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
25
+ var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
26
+ var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
30
27
 
31
28
  /*
32
29
  * Copyright (c) Microsoft Corporation.
@@ -689,26 +686,26 @@ const RecordSet = {
689
686
 
690
687
  var Mappers = /*#__PURE__*/Object.freeze({
691
688
  __proto__: null,
692
- Resource: Resource,
693
- CloudError: CloudError,
694
- CloudErrorBody: CloudErrorBody,
695
- PrivateZoneListResult: PrivateZoneListResult,
696
- SubResource: SubResource,
697
- VirtualNetworkLinkListResult: VirtualNetworkLinkListResult,
698
689
  ARecord: ARecord,
699
690
  AaaaRecord: AaaaRecord,
691
+ CloudError: CloudError,
692
+ CloudErrorBody: CloudErrorBody,
700
693
  CnameRecord: CnameRecord,
701
694
  MxRecord: MxRecord,
695
+ PrivateZone: PrivateZone,
696
+ PrivateZoneListResult: PrivateZoneListResult,
697
+ ProxyResource: ProxyResource,
702
698
  PtrRecord: PtrRecord,
699
+ RecordSet: RecordSet,
700
+ RecordSetListResult: RecordSetListResult,
701
+ Resource: Resource,
703
702
  SoaRecord: SoaRecord,
704
703
  SrvRecord: SrvRecord,
705
- TxtRecord: TxtRecord,
706
- RecordSetListResult: RecordSetListResult,
704
+ SubResource: SubResource,
707
705
  TrackedResource: TrackedResource,
708
- ProxyResource: ProxyResource,
709
- PrivateZone: PrivateZone,
706
+ TxtRecord: TxtRecord,
710
707
  VirtualNetworkLink: VirtualNetworkLink,
711
- RecordSet: RecordSet
708
+ VirtualNetworkLinkListResult: VirtualNetworkLinkListResult
712
709
  });
713
710
 
714
711
  /*
@@ -966,16 +963,11 @@ class PrivateZonesImpl {
966
963
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
967
964
  var _a, e_1, _b, _c;
968
965
  try {
969
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
966
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
970
967
  _c = _f.value;
971
968
  _d = false;
972
- try {
973
- const page = _c;
974
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
975
- }
976
- finally {
977
- _d = true;
978
- }
969
+ const page = _c;
970
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
979
971
  }
980
972
  }
981
973
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -1033,16 +1025,11 @@ class PrivateZonesImpl {
1033
1025
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1034
1026
  var _a, e_2, _b, _c;
1035
1027
  try {
1036
- for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1028
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1037
1029
  _c = _f.value;
1038
1030
  _d = false;
1039
- try {
1040
- const page = _c;
1041
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1042
- }
1043
- finally {
1044
- _d = true;
1045
- }
1031
+ const page = _c;
1032
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1046
1033
  }
1047
1034
  }
1048
1035
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
@@ -1530,16 +1517,11 @@ class VirtualNetworkLinksImpl {
1530
1517
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1531
1518
  var _a, e_1, _b, _c;
1532
1519
  try {
1533
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, privateZoneName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1520
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, privateZoneName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
1534
1521
  _c = _f.value;
1535
1522
  _d = false;
1536
- try {
1537
- const page = _c;
1538
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1539
- }
1540
- finally {
1541
- _d = true;
1542
- }
1523
+ const page = _c;
1524
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1543
1525
  }
1544
1526
  }
1545
1527
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2007,16 +1989,11 @@ class RecordSetsImpl {
2007
1989
  return tslib.__asyncGenerator(this, arguments, function* listByTypePagingAll_1() {
2008
1990
  var _a, e_1, _b, _c;
2009
1991
  try {
2010
- for (var _d = true, _e = tslib.__asyncValues(this.listByTypePagingPage(resourceGroupName, privateZoneName, recordType, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1992
+ for (var _d = true, _e = tslib.__asyncValues(this.listByTypePagingPage(resourceGroupName, privateZoneName, recordType, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2011
1993
  _c = _f.value;
2012
1994
  _d = false;
2013
- try {
2014
- const page = _c;
2015
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2016
- }
2017
- finally {
2018
- _d = true;
2019
- }
1995
+ const page = _c;
1996
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2020
1997
  }
2021
1998
  }
2022
1999
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
@@ -2075,16 +2052,11 @@ class RecordSetsImpl {
2075
2052
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
2076
2053
  var _a, e_2, _b, _c;
2077
2054
  try {
2078
- for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, privateZoneName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
2055
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, privateZoneName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
2079
2056
  _c = _f.value;
2080
2057
  _d = false;
2081
- try {
2082
- const page = _c;
2083
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2084
- }
2085
- finally {
2086
- _d = true;
2087
- }
2058
+ const page = _c;
2059
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
2088
2060
  }
2089
2061
  }
2090
2062
  catch (e_2_1) { e_2 = { error: e_2_1 }; }