@azure/arm-paloaltonetworksngfw 1.1.1-alpha.20250620.1 → 1.1.1-alpha.20250721.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.
Files changed (147) hide show
  1. package/dist/browser/lroImpl.js +7 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/models/mappers.js +307 -146
  4. package/dist/browser/models/mappers.js.map +1 -1
  5. package/dist/browser/operations/certificateObjectGlobalRulestack.js +45 -52
  6. package/dist/browser/operations/certificateObjectGlobalRulestack.js.map +1 -1
  7. package/dist/browser/operations/certificateObjectLocalRulestack.js +45 -52
  8. package/dist/browser/operations/certificateObjectLocalRulestack.js.map +1 -1
  9. package/dist/browser/operations/firewallStatus.js +23 -40
  10. package/dist/browser/operations/firewallStatus.js.map +1 -1
  11. package/dist/browser/operations/firewalls.js +67 -91
  12. package/dist/browser/operations/firewalls.js.map +1 -1
  13. package/dist/browser/operations/fqdnListGlobalRulestack.js +45 -52
  14. package/dist/browser/operations/fqdnListGlobalRulestack.js.map +1 -1
  15. package/dist/browser/operations/fqdnListLocalRulestack.js +45 -52
  16. package/dist/browser/operations/fqdnListLocalRulestack.js.map +1 -1
  17. package/dist/browser/operations/globalRulestack.js +56 -58
  18. package/dist/browser/operations/globalRulestack.js.map +1 -1
  19. package/dist/browser/operations/localRules.js +45 -52
  20. package/dist/browser/operations/localRules.js.map +1 -1
  21. package/dist/browser/operations/localRulestacks.js +78 -97
  22. package/dist/browser/operations/localRulestacks.js.map +1 -1
  23. package/dist/browser/operations/operations.js +23 -40
  24. package/dist/browser/operations/operations.js.map +1 -1
  25. package/dist/browser/operations/postRules.js +45 -52
  26. package/dist/browser/operations/postRules.js.map +1 -1
  27. package/dist/browser/operations/preRules.js +45 -52
  28. package/dist/browser/operations/preRules.js.map +1 -1
  29. package/dist/browser/operations/prefixListGlobalRulestack.js +45 -52
  30. package/dist/browser/operations/prefixListGlobalRulestack.js.map +1 -1
  31. package/dist/browser/operations/prefixListLocalRulestack.js +45 -52
  32. package/dist/browser/operations/prefixListLocalRulestack.js.map +1 -1
  33. package/dist/browser/pagingHelper.js +2 -4
  34. package/dist/browser/pagingHelper.js.map +1 -1
  35. package/dist/browser/paloAltoNetworksCloudngfw.js +27 -5
  36. package/dist/browser/paloAltoNetworksCloudngfw.js.map +1 -1
  37. package/dist/commonjs/lroImpl.js +7 -3
  38. package/dist/commonjs/lroImpl.js.map +1 -1
  39. package/dist/commonjs/models/mappers.js +307 -146
  40. package/dist/commonjs/models/mappers.js.map +1 -1
  41. package/dist/commonjs/operations/certificateObjectGlobalRulestack.js +45 -51
  42. package/dist/commonjs/operations/certificateObjectGlobalRulestack.js.map +1 -1
  43. package/dist/commonjs/operations/certificateObjectLocalRulestack.js +45 -51
  44. package/dist/commonjs/operations/certificateObjectLocalRulestack.js.map +1 -1
  45. package/dist/commonjs/operations/firewallStatus.js +23 -39
  46. package/dist/commonjs/operations/firewallStatus.js.map +1 -1
  47. package/dist/commonjs/operations/firewalls.js +67 -90
  48. package/dist/commonjs/operations/firewalls.js.map +1 -1
  49. package/dist/commonjs/operations/fqdnListGlobalRulestack.js +45 -51
  50. package/dist/commonjs/operations/fqdnListGlobalRulestack.js.map +1 -1
  51. package/dist/commonjs/operations/fqdnListLocalRulestack.js +45 -51
  52. package/dist/commonjs/operations/fqdnListLocalRulestack.js.map +1 -1
  53. package/dist/commonjs/operations/globalRulestack.js +56 -57
  54. package/dist/commonjs/operations/globalRulestack.js.map +1 -1
  55. package/dist/commonjs/operations/localRules.js +45 -51
  56. package/dist/commonjs/operations/localRules.js.map +1 -1
  57. package/dist/commonjs/operations/localRulestacks.js +78 -96
  58. package/dist/commonjs/operations/localRulestacks.js.map +1 -1
  59. package/dist/commonjs/operations/operations.js +23 -39
  60. package/dist/commonjs/operations/operations.js.map +1 -1
  61. package/dist/commonjs/operations/postRules.js +45 -51
  62. package/dist/commonjs/operations/postRules.js.map +1 -1
  63. package/dist/commonjs/operations/preRules.js +45 -51
  64. package/dist/commonjs/operations/preRules.js.map +1 -1
  65. package/dist/commonjs/operations/prefixListGlobalRulestack.js +45 -51
  66. package/dist/commonjs/operations/prefixListGlobalRulestack.js.map +1 -1
  67. package/dist/commonjs/operations/prefixListLocalRulestack.js +45 -51
  68. package/dist/commonjs/operations/prefixListLocalRulestack.js.map +1 -1
  69. package/dist/commonjs/pagingHelper.js +2 -4
  70. package/dist/commonjs/pagingHelper.js.map +1 -1
  71. package/dist/commonjs/paloAltoNetworksCloudngfw.js +27 -5
  72. package/dist/commonjs/paloAltoNetworksCloudngfw.js.map +1 -1
  73. package/dist/commonjs/tsdoc-metadata.json +11 -11
  74. package/dist/esm/lroImpl.js +7 -3
  75. package/dist/esm/lroImpl.js.map +1 -1
  76. package/dist/esm/models/mappers.js +307 -146
  77. package/dist/esm/models/mappers.js.map +1 -1
  78. package/dist/esm/operations/certificateObjectGlobalRulestack.js +45 -52
  79. package/dist/esm/operations/certificateObjectGlobalRulestack.js.map +1 -1
  80. package/dist/esm/operations/certificateObjectLocalRulestack.js +45 -52
  81. package/dist/esm/operations/certificateObjectLocalRulestack.js.map +1 -1
  82. package/dist/esm/operations/firewallStatus.js +23 -40
  83. package/dist/esm/operations/firewallStatus.js.map +1 -1
  84. package/dist/esm/operations/firewalls.js +67 -91
  85. package/dist/esm/operations/firewalls.js.map +1 -1
  86. package/dist/esm/operations/fqdnListGlobalRulestack.js +45 -52
  87. package/dist/esm/operations/fqdnListGlobalRulestack.js.map +1 -1
  88. package/dist/esm/operations/fqdnListLocalRulestack.js +45 -52
  89. package/dist/esm/operations/fqdnListLocalRulestack.js.map +1 -1
  90. package/dist/esm/operations/globalRulestack.js +56 -58
  91. package/dist/esm/operations/globalRulestack.js.map +1 -1
  92. package/dist/esm/operations/localRules.js +45 -52
  93. package/dist/esm/operations/localRules.js.map +1 -1
  94. package/dist/esm/operations/localRulestacks.js +78 -97
  95. package/dist/esm/operations/localRulestacks.js.map +1 -1
  96. package/dist/esm/operations/operations.js +23 -40
  97. package/dist/esm/operations/operations.js.map +1 -1
  98. package/dist/esm/operations/postRules.js +45 -52
  99. package/dist/esm/operations/postRules.js.map +1 -1
  100. package/dist/esm/operations/preRules.js +45 -52
  101. package/dist/esm/operations/preRules.js.map +1 -1
  102. package/dist/esm/operations/prefixListGlobalRulestack.js +45 -52
  103. package/dist/esm/operations/prefixListGlobalRulestack.js.map +1 -1
  104. package/dist/esm/operations/prefixListLocalRulestack.js +45 -52
  105. package/dist/esm/operations/prefixListLocalRulestack.js.map +1 -1
  106. package/dist/esm/pagingHelper.js +2 -4
  107. package/dist/esm/pagingHelper.js.map +1 -1
  108. package/dist/esm/paloAltoNetworksCloudngfw.js +27 -5
  109. package/dist/esm/paloAltoNetworksCloudngfw.js.map +1 -1
  110. package/dist/react-native/lroImpl.js +7 -3
  111. package/dist/react-native/lroImpl.js.map +1 -1
  112. package/dist/react-native/models/mappers.js +307 -146
  113. package/dist/react-native/models/mappers.js.map +1 -1
  114. package/dist/react-native/operations/certificateObjectGlobalRulestack.js +45 -52
  115. package/dist/react-native/operations/certificateObjectGlobalRulestack.js.map +1 -1
  116. package/dist/react-native/operations/certificateObjectLocalRulestack.js +45 -52
  117. package/dist/react-native/operations/certificateObjectLocalRulestack.js.map +1 -1
  118. package/dist/react-native/operations/firewallStatus.js +23 -40
  119. package/dist/react-native/operations/firewallStatus.js.map +1 -1
  120. package/dist/react-native/operations/firewalls.js +67 -91
  121. package/dist/react-native/operations/firewalls.js.map +1 -1
  122. package/dist/react-native/operations/fqdnListGlobalRulestack.js +45 -52
  123. package/dist/react-native/operations/fqdnListGlobalRulestack.js.map +1 -1
  124. package/dist/react-native/operations/fqdnListLocalRulestack.js +45 -52
  125. package/dist/react-native/operations/fqdnListLocalRulestack.js.map +1 -1
  126. package/dist/react-native/operations/globalRulestack.js +56 -58
  127. package/dist/react-native/operations/globalRulestack.js.map +1 -1
  128. package/dist/react-native/operations/localRules.js +45 -52
  129. package/dist/react-native/operations/localRules.js.map +1 -1
  130. package/dist/react-native/operations/localRulestacks.js +78 -97
  131. package/dist/react-native/operations/localRulestacks.js.map +1 -1
  132. package/dist/react-native/operations/operations.js +23 -40
  133. package/dist/react-native/operations/operations.js.map +1 -1
  134. package/dist/react-native/operations/postRules.js +45 -52
  135. package/dist/react-native/operations/postRules.js.map +1 -1
  136. package/dist/react-native/operations/preRules.js +45 -52
  137. package/dist/react-native/operations/preRules.js.map +1 -1
  138. package/dist/react-native/operations/prefixListGlobalRulestack.js +45 -52
  139. package/dist/react-native/operations/prefixListGlobalRulestack.js.map +1 -1
  140. package/dist/react-native/operations/prefixListLocalRulestack.js +45 -52
  141. package/dist/react-native/operations/prefixListLocalRulestack.js.map +1 -1
  142. package/dist/react-native/pagingHelper.js +2 -4
  143. package/dist/react-native/pagingHelper.js.map +1 -1
  144. package/dist/react-native/paloAltoNetworksCloudngfw.js +27 -5
  145. package/dist/react-native/paloAltoNetworksCloudngfw.js.map +1 -1
  146. package/package.json +2 -2
  147. /package/review/{arm-paloaltonetworksngfw.api.md → arm-paloaltonetworksngfw-node.api.md} +0 -0
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing LocalRulestacks operations. */
20
20
  class LocalRulestacksImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class LocalRulestacks class.
23
24
  * @param client Reference to the service client
@@ -39,52 +40,35 @@ class LocalRulestacksImpl {
39
40
  return this;
40
41
  },
41
42
  byPage: (settings) => {
42
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
43
+ if (settings?.maxPageSize) {
43
44
  throw new Error("maxPageSize is not supported by this operation.");
44
45
  }
45
46
  return this.listBySubscriptionPagingPage(options, settings);
46
47
  }
47
48
  };
48
49
  }
49
- listBySubscriptionPagingPage(options, settings) {
50
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
51
- let result;
52
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
53
- if (!continuationToken) {
54
- result = yield tslib_1.__await(this._listBySubscription(options));
55
- let page = result.value || [];
56
- continuationToken = result.nextLink;
57
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
- yield yield tslib_1.__await(page);
59
- }
60
- while (continuationToken) {
61
- result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
62
- continuationToken = result.nextLink;
63
- let page = result.value || [];
64
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
- yield yield tslib_1.__await(page);
66
- }
67
- });
50
+ async *listBySubscriptionPagingPage(options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._listBySubscription(options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listBySubscriptionNext(continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield page;
66
+ }
68
67
  }
69
- listBySubscriptionPagingAll(options) {
70
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
71
- var _a, e_1, _b, _c;
72
- try {
73
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
74
- _c = _f.value;
75
- _d = false;
76
- const page = _c;
77
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
78
- }
79
- }
80
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
- finally {
82
- try {
83
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
84
- }
85
- finally { if (e_1) throw e_1.error; }
86
- }
87
- });
68
+ async *listBySubscriptionPagingAll(options) {
69
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
70
+ yield* page;
71
+ }
88
72
  }
89
73
  /**
90
74
  * List LocalRulestackResource resources by resource group
@@ -101,52 +85,35 @@ class LocalRulestacksImpl {
101
85
  return this;
102
86
  },
103
87
  byPage: (settings) => {
104
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
88
+ if (settings?.maxPageSize) {
105
89
  throw new Error("maxPageSize is not supported by this operation.");
106
90
  }
107
91
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
108
92
  }
109
93
  };
110
94
  }
111
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
112
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
113
- let result;
114
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
115
- if (!continuationToken) {
116
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
117
- let page = result.value || [];
118
- continuationToken = result.nextLink;
119
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
120
- yield yield tslib_1.__await(page);
121
- }
122
- while (continuationToken) {
123
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
124
- continuationToken = result.nextLink;
125
- let page = result.value || [];
126
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
127
- yield yield tslib_1.__await(page);
128
- }
129
- });
95
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._listByResourceGroup(resourceGroupName, options);
100
+ let page = result.value || [];
101
+ continuationToken = result.nextLink;
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
105
+ while (continuationToken) {
106
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
107
+ continuationToken = result.nextLink;
108
+ let page = result.value || [];
109
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
110
+ yield page;
111
+ }
130
112
  }
131
- listByResourceGroupPagingAll(resourceGroupName, options) {
132
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
133
- var _a, e_2, _b, _c;
134
- try {
135
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
136
- _c = _f.value;
137
- _d = false;
138
- const page = _c;
139
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
140
- }
141
- }
142
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
143
- finally {
144
- try {
145
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
146
- }
147
- finally { if (e_2) throw e_2.error; }
148
- }
149
- });
113
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
114
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
115
+ yield* page;
116
+ }
150
117
  }
151
118
  /**
152
119
  * List LocalRulestackResource resources by subscription ID
@@ -184,14 +151,19 @@ class LocalRulestacksImpl {
184
151
  return this.client.sendOperationRequest(args, spec);
185
152
  };
186
153
  const sendOperationFn = async (args, spec) => {
187
- var _a;
188
154
  let currentRawResponse = undefined;
189
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
155
+ const providedCallback = args.options?.onResponse;
190
156
  const callback = (rawResponse, flatResponse) => {
191
157
  currentRawResponse = rawResponse;
192
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
158
+ providedCallback?.(rawResponse, flatResponse);
159
+ };
160
+ const updatedArgs = {
161
+ ...args,
162
+ options: {
163
+ ...args.options,
164
+ onResponse: callback
165
+ }
193
166
  };
194
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
195
167
  const flatResponse = await directSendOperation(updatedArgs, spec);
196
168
  return {
197
169
  flatResponse,
@@ -208,8 +180,8 @@ class LocalRulestacksImpl {
208
180
  spec: createOrUpdateOperationSpec
209
181
  });
210
182
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
211
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
212
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
183
+ restoreFrom: options?.resumeFrom,
184
+ intervalInMs: options?.updateIntervalInMs,
213
185
  resourceLocationConfig: "azure-async-operation"
214
186
  });
215
187
  await poller.poll();
@@ -247,14 +219,19 @@ class LocalRulestacksImpl {
247
219
  return this.client.sendOperationRequest(args, spec);
248
220
  };
249
221
  const sendOperationFn = async (args, spec) => {
250
- var _a;
251
222
  let currentRawResponse = undefined;
252
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
223
+ const providedCallback = args.options?.onResponse;
253
224
  const callback = (rawResponse, flatResponse) => {
254
225
  currentRawResponse = rawResponse;
255
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
226
+ providedCallback?.(rawResponse, flatResponse);
227
+ };
228
+ const updatedArgs = {
229
+ ...args,
230
+ options: {
231
+ ...args.options,
232
+ onResponse: callback
233
+ }
256
234
  };
257
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
258
235
  const flatResponse = await directSendOperation(updatedArgs, spec);
259
236
  return {
260
237
  flatResponse,
@@ -271,8 +248,8 @@ class LocalRulestacksImpl {
271
248
  spec: deleteOperationSpec
272
249
  });
273
250
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
274
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
275
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
251
+ restoreFrom: options?.resumeFrom,
252
+ intervalInMs: options?.updateIntervalInMs,
276
253
  resourceLocationConfig: "azure-async-operation"
277
254
  });
278
255
  await poller.poll();
@@ -299,14 +276,19 @@ class LocalRulestacksImpl {
299
276
  return this.client.sendOperationRequest(args, spec);
300
277
  };
301
278
  const sendOperationFn = async (args, spec) => {
302
- var _a;
303
279
  let currentRawResponse = undefined;
304
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
280
+ const providedCallback = args.options?.onResponse;
305
281
  const callback = (rawResponse, flatResponse) => {
306
282
  currentRawResponse = rawResponse;
307
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
283
+ providedCallback?.(rawResponse, flatResponse);
284
+ };
285
+ const updatedArgs = {
286
+ ...args,
287
+ options: {
288
+ ...args.options,
289
+ onResponse: callback
290
+ }
308
291
  };
309
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
310
292
  const flatResponse = await directSendOperation(updatedArgs, spec);
311
293
  return {
312
294
  flatResponse,
@@ -323,8 +305,8 @@ class LocalRulestacksImpl {
323
305
  spec: commitOperationSpec
324
306
  });
325
307
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
326
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
327
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
308
+ restoreFrom: options?.resumeFrom,
309
+ intervalInMs: options?.updateIntervalInMs,
328
310
  resourceLocationConfig: "location"
329
311
  });
330
312
  await poller.poll();
@@ -1 +1 @@
1
- {"version":3,"file":"localRulestacks.js","sourceRoot":"","sources":["../../../src/operations/localRulestacks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAyC9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAmB;IAG9B;;;OAGG;IACH,YAAY,MAAiC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;I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AAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,kBAAkB;KAC9B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { LocalRulestacks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PaloAltoNetworksCloudngfw } from \"../paloAltoNetworksCloudngfw.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n LocalRulestackResource,\n LocalRulestacksListBySubscriptionNextOptionalParams,\n LocalRulestacksListBySubscriptionOptionalParams,\n LocalRulestacksListBySubscriptionResponse,\n LocalRulestacksListByResourceGroupNextOptionalParams,\n LocalRulestacksListByResourceGroupOptionalParams,\n LocalRulestacksListByResourceGroupResponse,\n LocalRulestacksGetOptionalParams,\n LocalRulestacksGetResponse,\n LocalRulestacksCreateOrUpdateOptionalParams,\n LocalRulestacksCreateOrUpdateResponse,\n LocalRulestackResourceUpdate,\n LocalRulestacksUpdateOptionalParams,\n LocalRulestacksUpdateResponse,\n LocalRulestacksDeleteOptionalParams,\n LocalRulestacksCommitOptionalParams,\n LocalRulestacksGetChangeLogOptionalParams,\n LocalRulestacksGetChangeLogResponse,\n LocalRulestacksGetSupportInfoOptionalParams,\n LocalRulestacksGetSupportInfoResponse,\n AdvSecurityObjectTypeEnum,\n LocalRulestacksListAdvancedSecurityObjectsOptionalParams,\n LocalRulestacksListAdvancedSecurityObjectsResponse,\n LocalRulestacksListAppIdsOptionalParams,\n LocalRulestacksListAppIdsResponse,\n LocalRulestacksListCountriesOptionalParams,\n LocalRulestacksListCountriesResponse,\n LocalRulestacksListFirewallsOptionalParams,\n LocalRulestacksListFirewallsResponse,\n LocalRulestacksListPredefinedUrlCategoriesOptionalParams,\n LocalRulestacksListPredefinedUrlCategoriesResponse,\n SecurityServicesTypeEnum,\n LocalRulestacksListSecurityServicesOptionalParams,\n LocalRulestacksListSecurityServicesResponse,\n LocalRulestacksRevertOptionalParams,\n LocalRulestacksListBySubscriptionNextResponse,\n LocalRulestacksListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LocalRulestacks operations. */\nexport class LocalRulestacksImpl implements LocalRulestacks {\n private readonly client: PaloAltoNetworksCloudngfw;\n\n /**\n * Initialize a new instance of the class LocalRulestacks class.\n * @param client Reference to the service client\n */\n constructor(client: PaloAltoNetworksCloudngfw) {\n this.client = client;\n }\n\n /**\n * List LocalRulestackResource resources by subscription ID\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<LocalRulestackResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: LocalRulestacksListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LocalRulestackResource[]> {\n let result: LocalRulestacksListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): AsyncIterableIterator<LocalRulestackResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List LocalRulestackResource resources by resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<LocalRulestackResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LocalRulestackResource[]> {\n let result: LocalRulestacksListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): AsyncIterableIterator<LocalRulestackResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List LocalRulestackResource resources by subscription ID\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): Promise<LocalRulestacksListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * List LocalRulestackResource resources by resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): Promise<LocalRulestacksListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Get a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetOptionalParams\n ): Promise<LocalRulestacksGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n localRulestackName: string,\n resource: LocalRulestackResource,\n options?: LocalRulestacksCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<LocalRulestacksCreateOrUpdateResponse>,\n LocalRulestacksCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<LocalRulestacksCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, resource, options },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n LocalRulestacksCreateOrUpdateResponse,\n OperationState<LocalRulestacksCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n resource: LocalRulestackResource,\n options?: LocalRulestacksCreateOrUpdateOptionalParams\n ): Promise<LocalRulestacksCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n localRulestackName,\n resource,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param properties The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n localRulestackName: string,\n properties: LocalRulestackResourceUpdate,\n options?: LocalRulestacksUpdateOptionalParams\n ): Promise<LocalRulestacksUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, properties, options },\n updateOperationSpec\n );\n }\n\n /**\n * Delete a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n localRulestackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Commit rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginCommit(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksCommitOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, options },\n spec: commitOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Commit rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginCommitAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksCommitOptionalParams\n ): Promise<void> {\n const poller = await this.beginCommit(\n resourceGroupName,\n localRulestackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get changelog\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n getChangeLog(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetChangeLogOptionalParams\n ): Promise<LocalRulestacksGetChangeLogResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getChangeLogOperationSpec\n );\n }\n\n /**\n * support info for rulestack.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n getSupportInfo(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetSupportInfoOptionalParams\n ): Promise<LocalRulestacksGetSupportInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getSupportInfoOperationSpec\n );\n }\n\n /**\n * Get the list of advanced security objects\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param typeParam\n * @param options The options parameters.\n */\n listAdvancedSecurityObjects(\n resourceGroupName: string,\n localRulestackName: string,\n typeParam: AdvSecurityObjectTypeEnum,\n options?: LocalRulestacksListAdvancedSecurityObjectsOptionalParams\n ): Promise<LocalRulestacksListAdvancedSecurityObjectsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, typeParam, options },\n listAdvancedSecurityObjectsOperationSpec\n );\n }\n\n /**\n * List of AppIds for LocalRulestack ApiVersion\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listAppIds(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListAppIdsOptionalParams\n ): Promise<LocalRulestacksListAppIdsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listAppIdsOperationSpec\n );\n }\n\n /**\n * List of countries for Rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listCountries(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListCountriesOptionalParams\n ): Promise<LocalRulestacksListCountriesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listCountriesOperationSpec\n );\n }\n\n /**\n * List of Firewalls associated with Rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listFirewalls(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListFirewallsOptionalParams\n ): Promise<LocalRulestacksListFirewallsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listFirewallsOperationSpec\n );\n }\n\n /**\n * List predefined URL categories for rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listPredefinedUrlCategories(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListPredefinedUrlCategoriesOptionalParams\n ): Promise<LocalRulestacksListPredefinedUrlCategoriesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listPredefinedUrlCategoriesOperationSpec\n );\n }\n\n /**\n * List the security services for rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param typeParam\n * @param options The options parameters.\n */\n listSecurityServices(\n resourceGroupName: string,\n localRulestackName: string,\n typeParam: SecurityServicesTypeEnum,\n options?: LocalRulestacksListSecurityServicesOptionalParams\n ): Promise<LocalRulestacksListSecurityServicesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, typeParam, options },\n listSecurityServicesOperationSpec\n );\n }\n\n /**\n * Revert rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n revert(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksRevertOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n revertOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: LocalRulestacksListBySubscriptionNextOptionalParams\n ): Promise<LocalRulestacksListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: LocalRulestacksListByResourceGroupNextOptionalParams\n ): Promise<LocalRulestacksListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 201: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 202: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 204: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.resource7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.properties2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst commitOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/commit\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getChangeLogOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/getChangeLog\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Changelog\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getSupportInfoOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/getSupportInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SupportInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.email],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAdvancedSecurityObjectsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listAdvancedSecurityObjects\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdvSecurityObjectListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.typeParam\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAppIdsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listAppIds\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListAppIdResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.appIdVersion,\n Parameters.appPrefix\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listCountriesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listCountries\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CountriesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listFirewallsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listFirewalls\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListFirewallsResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listPredefinedUrlCategoriesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listPredefinedUrlCategories\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PredefinedUrlCategoriesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSecurityServicesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listSecurityServices\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecurityServicesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.typeParam1\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst revertOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/revert\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"localRulestacks.js","sourceRoot":"","sources":["../../../src/operations/localRulestacks.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAyC9C,4CAA4C;AAC5C,mDAAmD;AACnD,MAAa,mBAAm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EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { LocalRulestacks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { PaloAltoNetworksCloudngfw } from \"../paloAltoNetworksCloudngfw.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n LocalRulestackResource,\n LocalRulestacksListBySubscriptionNextOptionalParams,\n LocalRulestacksListBySubscriptionOptionalParams,\n LocalRulestacksListBySubscriptionResponse,\n LocalRulestacksListByResourceGroupNextOptionalParams,\n LocalRulestacksListByResourceGroupOptionalParams,\n LocalRulestacksListByResourceGroupResponse,\n LocalRulestacksGetOptionalParams,\n LocalRulestacksGetResponse,\n LocalRulestacksCreateOrUpdateOptionalParams,\n LocalRulestacksCreateOrUpdateResponse,\n LocalRulestackResourceUpdate,\n LocalRulestacksUpdateOptionalParams,\n LocalRulestacksUpdateResponse,\n LocalRulestacksDeleteOptionalParams,\n LocalRulestacksCommitOptionalParams,\n LocalRulestacksGetChangeLogOptionalParams,\n LocalRulestacksGetChangeLogResponse,\n LocalRulestacksGetSupportInfoOptionalParams,\n LocalRulestacksGetSupportInfoResponse,\n AdvSecurityObjectTypeEnum,\n LocalRulestacksListAdvancedSecurityObjectsOptionalParams,\n LocalRulestacksListAdvancedSecurityObjectsResponse,\n LocalRulestacksListAppIdsOptionalParams,\n LocalRulestacksListAppIdsResponse,\n LocalRulestacksListCountriesOptionalParams,\n LocalRulestacksListCountriesResponse,\n LocalRulestacksListFirewallsOptionalParams,\n LocalRulestacksListFirewallsResponse,\n LocalRulestacksListPredefinedUrlCategoriesOptionalParams,\n LocalRulestacksListPredefinedUrlCategoriesResponse,\n SecurityServicesTypeEnum,\n LocalRulestacksListSecurityServicesOptionalParams,\n LocalRulestacksListSecurityServicesResponse,\n LocalRulestacksRevertOptionalParams,\n LocalRulestacksListBySubscriptionNextResponse,\n LocalRulestacksListByResourceGroupNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing LocalRulestacks operations. */\nexport class LocalRulestacksImpl implements LocalRulestacks {\n private readonly client: PaloAltoNetworksCloudngfw;\n\n /**\n * Initialize a new instance of the class LocalRulestacks class.\n * @param client Reference to the service client\n */\n constructor(client: PaloAltoNetworksCloudngfw) {\n this.client = client;\n }\n\n /**\n * List LocalRulestackResource resources by subscription ID\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<LocalRulestackResource> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: LocalRulestacksListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LocalRulestackResource[]> {\n let result: LocalRulestacksListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): AsyncIterableIterator<LocalRulestackResource> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * List LocalRulestackResource resources by resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<LocalRulestackResource> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<LocalRulestackResource[]> {\n let result: LocalRulestacksListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): AsyncIterableIterator<LocalRulestackResource> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * List LocalRulestackResource resources by subscription ID\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: LocalRulestacksListBySubscriptionOptionalParams\n ): Promise<LocalRulestacksListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * List LocalRulestackResource resources by resource group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: LocalRulestacksListByResourceGroupOptionalParams\n ): Promise<LocalRulestacksListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Get a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetOptionalParams\n ): Promise<LocalRulestacksGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n localRulestackName: string,\n resource: LocalRulestackResource,\n options?: LocalRulestacksCreateOrUpdateOptionalParams\n ): Promise<\n SimplePollerLike<\n OperationState<LocalRulestacksCreateOrUpdateResponse>,\n LocalRulestacksCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<LocalRulestacksCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, resource, options },\n spec: createOrUpdateOperationSpec\n });\n const poller = await createHttpPoller<\n LocalRulestacksCreateOrUpdateResponse,\n OperationState<LocalRulestacksCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param resource Resource create parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n resource: LocalRulestackResource,\n options?: LocalRulestacksCreateOrUpdateOptionalParams\n ): Promise<LocalRulestacksCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n localRulestackName,\n resource,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param properties The resource properties to be updated.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n localRulestackName: string,\n properties: LocalRulestackResourceUpdate,\n options?: LocalRulestacksUpdateOptionalParams\n ): Promise<LocalRulestacksUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, properties, options },\n updateOperationSpec\n );\n }\n\n /**\n * Delete a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksDeleteOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, options },\n spec: deleteOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a LocalRulestackResource\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n localRulestackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Commit rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginCommit(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksCommitOptionalParams\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, localRulestackName, options },\n spec: commitOperationSpec\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Commit rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n async beginCommitAndWait(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksCommitOptionalParams\n ): Promise<void> {\n const poller = await this.beginCommit(\n resourceGroupName,\n localRulestackName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get changelog\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n getChangeLog(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetChangeLogOptionalParams\n ): Promise<LocalRulestacksGetChangeLogResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getChangeLogOperationSpec\n );\n }\n\n /**\n * support info for rulestack.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n getSupportInfo(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksGetSupportInfoOptionalParams\n ): Promise<LocalRulestacksGetSupportInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n getSupportInfoOperationSpec\n );\n }\n\n /**\n * Get the list of advanced security objects\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param typeParam\n * @param options The options parameters.\n */\n listAdvancedSecurityObjects(\n resourceGroupName: string,\n localRulestackName: string,\n typeParam: AdvSecurityObjectTypeEnum,\n options?: LocalRulestacksListAdvancedSecurityObjectsOptionalParams\n ): Promise<LocalRulestacksListAdvancedSecurityObjectsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, typeParam, options },\n listAdvancedSecurityObjectsOperationSpec\n );\n }\n\n /**\n * List of AppIds for LocalRulestack ApiVersion\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listAppIds(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListAppIdsOptionalParams\n ): Promise<LocalRulestacksListAppIdsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listAppIdsOperationSpec\n );\n }\n\n /**\n * List of countries for Rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listCountries(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListCountriesOptionalParams\n ): Promise<LocalRulestacksListCountriesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listCountriesOperationSpec\n );\n }\n\n /**\n * List of Firewalls associated with Rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listFirewalls(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListFirewallsOptionalParams\n ): Promise<LocalRulestacksListFirewallsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listFirewallsOperationSpec\n );\n }\n\n /**\n * List predefined URL categories for rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n listPredefinedUrlCategories(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksListPredefinedUrlCategoriesOptionalParams\n ): Promise<LocalRulestacksListPredefinedUrlCategoriesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n listPredefinedUrlCategoriesOperationSpec\n );\n }\n\n /**\n * List the security services for rulestack\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param typeParam\n * @param options The options parameters.\n */\n listSecurityServices(\n resourceGroupName: string,\n localRulestackName: string,\n typeParam: SecurityServicesTypeEnum,\n options?: LocalRulestacksListSecurityServicesOptionalParams\n ): Promise<LocalRulestacksListSecurityServicesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, typeParam, options },\n listSecurityServicesOperationSpec\n );\n }\n\n /**\n * Revert rulestack configuration\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param localRulestackName LocalRulestack resource name\n * @param options The options parameters.\n */\n revert(\n resourceGroupName: string,\n localRulestackName: string,\n options?: LocalRulestacksRevertOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, localRulestackName, options },\n revertOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: LocalRulestacksListBySubscriptionNextOptionalParams\n ): Promise<LocalRulestacksListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: LocalRulestacksListByResourceGroupNextOptionalParams\n ): Promise<LocalRulestacksListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 201: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 202: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n 204: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.resource7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.properties2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst commitOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/commit\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getChangeLogOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/getChangeLog\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Changelog\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getSupportInfoOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/getSupportInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SupportInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.email],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAdvancedSecurityObjectsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listAdvancedSecurityObjects\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.AdvSecurityObjectListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.typeParam\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listAppIdsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listAppIds\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListAppIdResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.appIdVersion,\n Parameters.appPrefix\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listCountriesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listCountries\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CountriesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listFirewallsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listFirewalls\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ListFirewallsResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listPredefinedUrlCategoriesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listPredefinedUrlCategories\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PredefinedUrlCategoriesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.skip, Parameters.top],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSecurityServicesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/listSecurityServices\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SecurityServicesResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skip,\n Parameters.top,\n Parameters.typeParam1\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst revertOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PaloAltoNetworks.Cloudngfw/localRulestacks/{localRulestackName}/revert\",\n httpMethod: \"POST\",\n responses: {\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.localRulestackName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocalRulestackResourceListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
16
  /// <reference lib="esnext.asynciterable" />
17
17
  /** Class containing Operations operations. */
18
18
  class OperationsImpl {
19
+ client;
19
20
  /**
20
21
  * Initialize a new instance of the class Operations class.
21
22
  * @param client Reference to the service client
@@ -37,52 +38,35 @@ class OperationsImpl {
37
38
  return this;
38
39
  },
39
40
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ if (settings?.maxPageSize) {
41
42
  throw new Error("maxPageSize is not supported by this operation.");
42
43
  }
43
44
  return this.listPagingPage(options, settings);
44
45
  }
45
46
  };
46
47
  }
47
- listPagingPage(options, settings) {
48
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield tslib_1.__await(this._list(options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
- yield yield tslib_1.__await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield tslib_1.__await(this._listNext(continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
- yield yield tslib_1.__await(page);
64
- }
65
- });
48
+ async *listPagingPage(options, settings) {
49
+ let result;
50
+ let continuationToken = settings?.continuationToken;
51
+ if (!continuationToken) {
52
+ result = await this._list(options);
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
56
+ yield page;
57
+ }
58
+ while (continuationToken) {
59
+ result = await this._listNext(continuationToken, options);
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
63
+ yield page;
64
+ }
66
65
  }
67
- listPagingAll(options) {
68
- return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
76
- }
77
- }
78
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
79
- finally {
80
- try {
81
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
66
+ async *listPagingAll(options) {
67
+ for await (const page of this.listPagingPage(options)) {
68
+ yield* page;
69
+ }
86
70
  }
87
71
  /**
88
72
  * List the operations for the provider