@azure/arm-confidentialledger 1.3.0-alpha.20250717.1 → 1.3.0-alpha.20250718.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/browser/confidentialLedgerClient.js +16 -5
  2. package/dist/browser/confidentialLedgerClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +7 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +17 -7
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/ledger.js +100 -109
  8. package/dist/browser/operations/ledger.js.map +1 -1
  9. package/dist/browser/operations/managedCCFOperations.js +100 -109
  10. package/dist/browser/operations/managedCCFOperations.js.map +1 -1
  11. package/dist/browser/operations/operations.js +23 -40
  12. package/dist/browser/operations/operations.js.map +1 -1
  13. package/dist/browser/pagingHelper.js +2 -4
  14. package/dist/browser/pagingHelper.js.map +1 -1
  15. package/dist/commonjs/confidentialLedgerClient.js +16 -5
  16. package/dist/commonjs/confidentialLedgerClient.js.map +1 -1
  17. package/dist/commonjs/lroImpl.js +7 -3
  18. package/dist/commonjs/lroImpl.js.map +1 -1
  19. package/dist/commonjs/models/mappers.js +17 -7
  20. package/dist/commonjs/models/mappers.js.map +1 -1
  21. package/dist/commonjs/operations/ledger.js +100 -108
  22. package/dist/commonjs/operations/ledger.js.map +1 -1
  23. package/dist/commonjs/operations/managedCCFOperations.js +100 -108
  24. package/dist/commonjs/operations/managedCCFOperations.js.map +1 -1
  25. package/dist/commonjs/operations/operations.js +23 -39
  26. package/dist/commonjs/operations/operations.js.map +1 -1
  27. package/dist/commonjs/pagingHelper.js +2 -4
  28. package/dist/commonjs/pagingHelper.js.map +1 -1
  29. package/dist/commonjs/tsdoc-metadata.json +11 -11
  30. package/dist/esm/confidentialLedgerClient.js +16 -5
  31. package/dist/esm/confidentialLedgerClient.js.map +1 -1
  32. package/dist/esm/lroImpl.js +7 -3
  33. package/dist/esm/lroImpl.js.map +1 -1
  34. package/dist/esm/models/mappers.js +17 -7
  35. package/dist/esm/models/mappers.js.map +1 -1
  36. package/dist/esm/operations/ledger.js +100 -109
  37. package/dist/esm/operations/ledger.js.map +1 -1
  38. package/dist/esm/operations/managedCCFOperations.js +100 -109
  39. package/dist/esm/operations/managedCCFOperations.js.map +1 -1
  40. package/dist/esm/operations/operations.js +23 -40
  41. package/dist/esm/operations/operations.js.map +1 -1
  42. package/dist/esm/pagingHelper.js +2 -4
  43. package/dist/esm/pagingHelper.js.map +1 -1
  44. package/dist/react-native/confidentialLedgerClient.js +16 -5
  45. package/dist/react-native/confidentialLedgerClient.js.map +1 -1
  46. package/dist/react-native/lroImpl.js +7 -3
  47. package/dist/react-native/lroImpl.js.map +1 -1
  48. package/dist/react-native/models/mappers.js +17 -7
  49. package/dist/react-native/models/mappers.js.map +1 -1
  50. package/dist/react-native/operations/ledger.js +100 -109
  51. package/dist/react-native/operations/ledger.js.map +1 -1
  52. package/dist/react-native/operations/managedCCFOperations.js +100 -109
  53. package/dist/react-native/operations/managedCCFOperations.js.map +1 -1
  54. package/dist/react-native/operations/operations.js +23 -40
  55. package/dist/react-native/operations/operations.js.map +1 -1
  56. package/dist/react-native/pagingHelper.js +2 -4
  57. package/dist/react-native/pagingHelper.js.map +1 -1
  58. package/package.json +2 -2
  59. package/review/arm-confidentialledger-node.api.md +580 -580
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing ManagedCCFOperations operations. */
20
20
  class ManagedCCFOperationsImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class ManagedCCFOperations class.
23
24
  * @param client Reference to the service client
@@ -40,52 +41,35 @@ class ManagedCCFOperationsImpl {
40
41
  return this;
41
42
  },
42
43
  byPage: (settings) => {
43
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
44
+ if (settings?.maxPageSize) {
44
45
  throw new Error("maxPageSize is not supported by this operation.");
45
46
  }
46
47
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
47
48
  },
48
49
  };
49
50
  }
50
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
51
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
52
- let result;
53
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
54
- if (!continuationToken) {
55
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
56
- let page = result.value || [];
57
- continuationToken = result.nextLink;
58
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
- yield yield tslib_1.__await(page);
60
- }
61
- while (continuationToken) {
62
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
63
- continuationToken = result.nextLink;
64
- let page = result.value || [];
65
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
- yield yield tslib_1.__await(page);
67
- }
68
- });
51
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
52
+ let result;
53
+ let continuationToken = settings?.continuationToken;
54
+ if (!continuationToken) {
55
+ result = await this._listByResourceGroup(resourceGroupName, options);
56
+ let page = result.value || [];
57
+ continuationToken = result.nextLink;
58
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
59
+ yield page;
60
+ }
61
+ while (continuationToken) {
62
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
63
+ continuationToken = result.nextLink;
64
+ let page = result.value || [];
65
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
66
+ yield page;
67
+ }
69
68
  }
70
- listByResourceGroupPagingAll(resourceGroupName, options) {
71
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
72
- var _a, e_1, _b, _c;
73
- try {
74
- 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) {
75
- _c = _f.value;
76
- _d = false;
77
- const page = _c;
78
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
79
- }
80
- }
81
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
82
- finally {
83
- try {
84
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
85
- }
86
- finally { if (e_1) throw e_1.error; }
87
- }
88
- });
69
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
70
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
71
+ yield* page;
72
+ }
89
73
  }
90
74
  /**
91
75
  * Retrieves the properties of all Managed CCF.
@@ -101,52 +85,35 @@ class ManagedCCFOperationsImpl {
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.listBySubscriptionPagingPage(options, settings);
108
92
  },
109
93
  };
110
94
  }
111
- listBySubscriptionPagingPage(options, settings) {
112
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_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._listBySubscription(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._listBySubscriptionNext(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 *listBySubscriptionPagingPage(options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._listBySubscription(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._listBySubscriptionNext(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
- listBySubscriptionPagingAll(options) {
132
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
133
- var _a, e_2, _b, _c;
134
- try {
135
- 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) {
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 *listBySubscriptionPagingAll(options) {
114
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
115
+ yield* page;
116
+ }
150
117
  }
151
118
  /**
152
119
  * Retrieves the properties of a Managed CCF app.
@@ -168,14 +135,19 @@ class ManagedCCFOperationsImpl {
168
135
  return this.client.sendOperationRequest(args, spec);
169
136
  };
170
137
  const sendOperationFn = async (args, spec) => {
171
- var _a;
172
138
  let currentRawResponse = undefined;
173
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
139
+ const providedCallback = args.options?.onResponse;
174
140
  const callback = (rawResponse, flatResponse) => {
175
141
  currentRawResponse = rawResponse;
176
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
142
+ providedCallback?.(rawResponse, flatResponse);
143
+ };
144
+ const updatedArgs = {
145
+ ...args,
146
+ options: {
147
+ ...args.options,
148
+ onResponse: callback,
149
+ },
177
150
  };
178
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
179
151
  const flatResponse = await directSendOperation(updatedArgs, spec);
180
152
  return {
181
153
  flatResponse,
@@ -192,8 +164,8 @@ class ManagedCCFOperationsImpl {
192
164
  spec: deleteOperationSpec,
193
165
  });
194
166
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
195
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
196
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
167
+ restoreFrom: options?.resumeFrom,
168
+ intervalInMs: options?.updateIntervalInMs,
197
169
  });
198
170
  await poller.poll();
199
171
  return poller;
@@ -220,14 +192,19 @@ class ManagedCCFOperationsImpl {
220
192
  return this.client.sendOperationRequest(args, spec);
221
193
  };
222
194
  const sendOperationFn = async (args, spec) => {
223
- var _a;
224
195
  let currentRawResponse = undefined;
225
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
196
+ const providedCallback = args.options?.onResponse;
226
197
  const callback = (rawResponse, flatResponse) => {
227
198
  currentRawResponse = rawResponse;
228
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
199
+ providedCallback?.(rawResponse, flatResponse);
200
+ };
201
+ const updatedArgs = {
202
+ ...args,
203
+ options: {
204
+ ...args.options,
205
+ onResponse: callback,
206
+ },
229
207
  };
230
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
231
208
  const flatResponse = await directSendOperation(updatedArgs, spec);
232
209
  return {
233
210
  flatResponse,
@@ -244,8 +221,8 @@ class ManagedCCFOperationsImpl {
244
221
  spec: createOperationSpec,
245
222
  });
246
223
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
247
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
248
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
224
+ restoreFrom: options?.resumeFrom,
225
+ intervalInMs: options?.updateIntervalInMs,
249
226
  resourceLocationConfig: "azure-async-operation",
250
227
  });
251
228
  await poller.poll();
@@ -274,14 +251,19 @@ class ManagedCCFOperationsImpl {
274
251
  return this.client.sendOperationRequest(args, spec);
275
252
  };
276
253
  const sendOperationFn = async (args, spec) => {
277
- var _a;
278
254
  let currentRawResponse = undefined;
279
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
255
+ const providedCallback = args.options?.onResponse;
280
256
  const callback = (rawResponse, flatResponse) => {
281
257
  currentRawResponse = rawResponse;
282
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
258
+ providedCallback?.(rawResponse, flatResponse);
259
+ };
260
+ const updatedArgs = {
261
+ ...args,
262
+ options: {
263
+ ...args.options,
264
+ onResponse: callback,
265
+ },
283
266
  };
284
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
285
267
  const flatResponse = await directSendOperation(updatedArgs, spec);
286
268
  return {
287
269
  flatResponse,
@@ -298,8 +280,8 @@ class ManagedCCFOperationsImpl {
298
280
  spec: updateOperationSpec,
299
281
  });
300
282
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
301
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
302
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
283
+ restoreFrom: options?.resumeFrom,
284
+ intervalInMs: options?.updateIntervalInMs,
303
285
  });
304
286
  await poller.poll();
305
287
  return poller;
@@ -342,14 +324,19 @@ class ManagedCCFOperationsImpl {
342
324
  return this.client.sendOperationRequest(args, spec);
343
325
  };
344
326
  const sendOperationFn = async (args, spec) => {
345
- var _a;
346
327
  let currentRawResponse = undefined;
347
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
328
+ const providedCallback = args.options?.onResponse;
348
329
  const callback = (rawResponse, flatResponse) => {
349
330
  currentRawResponse = rawResponse;
350
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
331
+ providedCallback?.(rawResponse, flatResponse);
332
+ };
333
+ const updatedArgs = {
334
+ ...args,
335
+ options: {
336
+ ...args.options,
337
+ onResponse: callback,
338
+ },
351
339
  };
352
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
353
340
  const flatResponse = await directSendOperation(updatedArgs, spec);
354
341
  return {
355
342
  flatResponse,
@@ -366,8 +353,8 @@ class ManagedCCFOperationsImpl {
366
353
  spec: backupOperationSpec,
367
354
  });
368
355
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
369
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
370
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
356
+ restoreFrom: options?.resumeFrom,
357
+ intervalInMs: options?.updateIntervalInMs,
371
358
  });
372
359
  await poller.poll();
373
360
  return poller;
@@ -395,14 +382,19 @@ class ManagedCCFOperationsImpl {
395
382
  return this.client.sendOperationRequest(args, spec);
396
383
  };
397
384
  const sendOperationFn = async (args, spec) => {
398
- var _a;
399
385
  let currentRawResponse = undefined;
400
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
386
+ const providedCallback = args.options?.onResponse;
401
387
  const callback = (rawResponse, flatResponse) => {
402
388
  currentRawResponse = rawResponse;
403
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
389
+ providedCallback?.(rawResponse, flatResponse);
390
+ };
391
+ const updatedArgs = {
392
+ ...args,
393
+ options: {
394
+ ...args.options,
395
+ onResponse: callback,
396
+ },
404
397
  };
405
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
406
398
  const flatResponse = await directSendOperation(updatedArgs, spec);
407
399
  return {
408
400
  flatResponse,
@@ -419,8 +411,8 @@ class ManagedCCFOperationsImpl {
419
411
  spec: restoreOperationSpec,
420
412
  });
421
413
  const poller = await (0, core_lro_1.createHttpPoller)(lro, {
422
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
423
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
414
+ restoreFrom: options?.resumeFrom,
415
+ intervalInMs: options?.updateIntervalInMs,
424
416
  });
425
417
  await poller.poll();
426
418
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"managedCCFOperations.js","sourceRoot":"","sources":["../../../src/operations/managedCCFOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA0B9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAGnC;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO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C,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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,cAAc;SACnC;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;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,cAAc;SACnC;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","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 { ManagedCCFOperations } 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 { ConfidentialLedgerClient } from \"../confidentialLedgerClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ManagedCCF,\n ManagedCCFListByResourceGroupNextOptionalParams,\n ManagedCCFListByResourceGroupOptionalParams,\n ManagedCCFListByResourceGroupResponse,\n ManagedCCFListBySubscriptionNextOptionalParams,\n ManagedCCFListBySubscriptionOptionalParams,\n ManagedCCFListBySubscriptionResponse,\n ManagedCCFGetOptionalParams,\n ManagedCCFGetResponse,\n ManagedCCFDeleteOptionalParams,\n ManagedCCFCreateOptionalParams,\n ManagedCCFCreateResponse,\n ManagedCCFUpdateOptionalParams,\n ManagedCCFUpdateResponse,\n ManagedCCFBackup,\n ManagedCCFBackupOptionalParams,\n ManagedCCFBackupOperationResponse,\n ManagedCCFRestore,\n ManagedCCFRestoreOptionalParams,\n ManagedCCFRestoreOperationResponse,\n ManagedCCFListByResourceGroupNextResponse,\n ManagedCCFListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedCCFOperations operations. */\nexport class ManagedCCFOperationsImpl implements ManagedCCFOperations {\n private readonly client: ConfidentialLedgerClient;\n\n /**\n * Initialize a new instance of the class ManagedCCFOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ConfidentialLedgerClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the properties of all Managed CCF apps.\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ManagedCCF> {\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?: ManagedCCFListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedCCF[]> {\n let result: ManagedCCFListByResourceGroupResponse;\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ManagedCCF> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieves the properties of all Managed CCF.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedCCFListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ManagedCCF> {\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?: ManagedCCFListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedCCF[]> {\n let result: ManagedCCFListBySubscriptionResponse;\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?: ManagedCCFListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ManagedCCF> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves the properties of a Managed CCF app.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFGetOptionalParams,\n ): Promise<ManagedCCFGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, appName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes an existing Managed CCF.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFDeleteOptionalParams,\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: coreClient.FullOperationResponse | undefined =\n 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, appName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing Managed CCF.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, appName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a Managed CCF with the specified Managed CCF parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Create Request Body\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFCreateResponse>,\n ManagedCCFCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFCreateResponse,\n OperationState<ManagedCCFCreateResponse>\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 * Creates a Managed CCF with the specified Managed CCF parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Create Request Body\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFCreateOptionalParams,\n ): Promise<ManagedCCFCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates properties of Managed CCF\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Request body for Updating Managed CCF App\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFUpdateResponse>,\n ManagedCCFUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFUpdateResponse,\n OperationState<ManagedCCFUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates properties of Managed CCF\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Request body for Updating Managed CCF App\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFUpdateOptionalParams,\n ): Promise<ManagedCCFUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the properties of all Managed CCF apps.\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): Promise<ManagedCCFListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Retrieves the properties of all Managed CCF.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedCCFListBySubscriptionOptionalParams,\n ): Promise<ManagedCCFListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Backs up a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Backup Request Body\n * @param options The options parameters.\n */\n async beginBackup(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFBackup,\n options?: ManagedCCFBackupOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFBackupOperationResponse>,\n ManagedCCFBackupOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFBackupOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: backupOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFBackupOperationResponse,\n OperationState<ManagedCCFBackupOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Backs up a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Backup Request Body\n * @param options The options parameters.\n */\n async beginBackupAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFBackup,\n options?: ManagedCCFBackupOptionalParams,\n ): Promise<ManagedCCFBackupOperationResponse> {\n const poller = await this.beginBackup(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Restores a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Restore Request Body\n * @param options The options parameters.\n */\n async beginRestore(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFRestore,\n options?: ManagedCCFRestoreOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFRestoreOperationResponse>,\n ManagedCCFRestoreOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFRestoreOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: restoreOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFRestoreOperationResponse,\n OperationState<ManagedCCFRestoreOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Restores a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Restore Request Body\n * @param options The options parameters.\n */\n async beginRestoreAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFRestore,\n options?: ManagedCCFRestoreOptionalParams,\n ): Promise<ManagedCCFRestoreOperationResponse> {\n const poller = await this.beginRestore(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\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?: ManagedCCFListByResourceGroupNextOptionalParams,\n ): Promise<ManagedCCFListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\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?: ManagedCCFListBySubscriptionNextOptionalParams,\n ): Promise<ManagedCCFListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\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.appName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\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.appName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCF,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCF,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/managedCCFs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst backupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}/backup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst restoreOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}/restore\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\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};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\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};\n"]}
1
+ {"version":3,"file":"managedCCFOperations.js","sourceRoot":"","sources":["../../../src/operations/managedCCFOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA0B9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAa,wBAAwB;IAClB,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,6BAA6B,CAC1C,iBAAyB,EACzB,OAAqD,EACrD,QAAuB;QAEvB,IAAI,MAA6C,CAAC;QAClD,IAAI,iBAAiB,GAAG,QAAQ,EAAE,iBAAiB,CAAC;QACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACvB,MAAM,GAAG,MAAM,IAAI,CA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AC1B;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 { ManagedCCFOperations } 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 { ConfidentialLedgerClient } from \"../confidentialLedgerClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ManagedCCF,\n ManagedCCFListByResourceGroupNextOptionalParams,\n ManagedCCFListByResourceGroupOptionalParams,\n ManagedCCFListByResourceGroupResponse,\n ManagedCCFListBySubscriptionNextOptionalParams,\n ManagedCCFListBySubscriptionOptionalParams,\n ManagedCCFListBySubscriptionResponse,\n ManagedCCFGetOptionalParams,\n ManagedCCFGetResponse,\n ManagedCCFDeleteOptionalParams,\n ManagedCCFCreateOptionalParams,\n ManagedCCFCreateResponse,\n ManagedCCFUpdateOptionalParams,\n ManagedCCFUpdateResponse,\n ManagedCCFBackup,\n ManagedCCFBackupOptionalParams,\n ManagedCCFBackupOperationResponse,\n ManagedCCFRestore,\n ManagedCCFRestoreOptionalParams,\n ManagedCCFRestoreOperationResponse,\n ManagedCCFListByResourceGroupNextResponse,\n ManagedCCFListBySubscriptionNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ManagedCCFOperations operations. */\nexport class ManagedCCFOperationsImpl implements ManagedCCFOperations {\n private readonly client: ConfidentialLedgerClient;\n\n /**\n * Initialize a new instance of the class ManagedCCFOperations class.\n * @param client Reference to the service client\n */\n constructor(client: ConfidentialLedgerClient) {\n this.client = client;\n }\n\n /**\n * Retrieves the properties of all Managed CCF apps.\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ManagedCCF> {\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?: ManagedCCFListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedCCF[]> {\n let result: ManagedCCFListByResourceGroupResponse;\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ManagedCCF> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Retrieves the properties of all Managed CCF.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: ManagedCCFListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<ManagedCCF> {\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?: ManagedCCFListBySubscriptionOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ManagedCCF[]> {\n let result: ManagedCCFListBySubscriptionResponse;\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?: ManagedCCFListBySubscriptionOptionalParams,\n ): AsyncIterableIterator<ManagedCCF> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Retrieves the properties of a Managed CCF app.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFGetOptionalParams,\n ): Promise<ManagedCCFGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, appName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Deletes an existing Managed CCF.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFDeleteOptionalParams,\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: coreClient.FullOperationResponse | undefined =\n 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, appName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes an existing Managed CCF.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n appName: string,\n options?: ManagedCCFDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(resourceGroupName, appName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a Managed CCF with the specified Managed CCF parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Create Request Body\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFCreateResponse>,\n ManagedCCFCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFCreateResponse,\n OperationState<ManagedCCFCreateResponse>\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 * Creates a Managed CCF with the specified Managed CCF parameters.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Create Request Body\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFCreateOptionalParams,\n ): Promise<ManagedCCFCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates properties of Managed CCF\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Request body for Updating Managed CCF App\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFUpdateResponse>,\n ManagedCCFUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFUpdateResponse,\n OperationState<ManagedCCFUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates properties of Managed CCF\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Request body for Updating Managed CCF App\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCF,\n options?: ManagedCCFUpdateOptionalParams,\n ): Promise<ManagedCCFUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Retrieves the properties of all Managed CCF apps.\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?: ManagedCCFListByResourceGroupOptionalParams,\n ): Promise<ManagedCCFListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Retrieves the properties of all Managed CCF.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: ManagedCCFListBySubscriptionOptionalParams,\n ): Promise<ManagedCCFListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec,\n );\n }\n\n /**\n * Backs up a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Backup Request Body\n * @param options The options parameters.\n */\n async beginBackup(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFBackup,\n options?: ManagedCCFBackupOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFBackupOperationResponse>,\n ManagedCCFBackupOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFBackupOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: backupOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFBackupOperationResponse,\n OperationState<ManagedCCFBackupOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Backs up a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Backup Request Body\n * @param options The options parameters.\n */\n async beginBackupAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFBackup,\n options?: ManagedCCFBackupOptionalParams,\n ): Promise<ManagedCCFBackupOperationResponse> {\n const poller = await this.beginBackup(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Restores a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Restore Request Body\n * @param options The options parameters.\n */\n async beginRestore(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFRestore,\n options?: ManagedCCFRestoreOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ManagedCCFRestoreOperationResponse>,\n ManagedCCFRestoreOperationResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ManagedCCFRestoreOperationResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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, appName, managedCCF, options },\n spec: restoreOperationSpec,\n });\n const poller = await createHttpPoller<\n ManagedCCFRestoreOperationResponse,\n OperationState<ManagedCCFRestoreOperationResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Restores a Managed CCF Resource.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param appName Name of the Managed CCF\n * @param managedCCF Managed CCF Restore Request Body\n * @param options The options parameters.\n */\n async beginRestoreAndWait(\n resourceGroupName: string,\n appName: string,\n managedCCF: ManagedCCFRestore,\n options?: ManagedCCFRestoreOptionalParams,\n ): Promise<ManagedCCFRestoreOperationResponse> {\n const poller = await this.beginRestore(\n resourceGroupName,\n appName,\n managedCCF,\n options,\n );\n return poller.pollUntilDone();\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?: ManagedCCFListByResourceGroupNextOptionalParams,\n ): Promise<ManagedCCFListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\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?: ManagedCCFListBySubscriptionNextOptionalParams,\n ): Promise<ManagedCCFListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\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.appName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\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.appName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCF,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCF,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCF,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ConfidentialLedger/managedCCFs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst backupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}/backup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCFBackupResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst restoreOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConfidentialLedger/managedCCFs/{appName}/restore\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 201: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 202: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n 204: {\n bodyMapper: Mappers.ManagedCCFRestoreResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.managedCCF2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.appName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\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};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ManagedCCFList,\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};\n"]}