@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
@@ -5,7 +5,6 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
8
  import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
10
  import * as Mappers from "../models/mappers.js";
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
15
14
  /// <reference lib="esnext.asynciterable" />
16
15
  /** Class containing ManagedCCFOperations operations. */
17
16
  export class ManagedCCFOperationsImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class ManagedCCFOperations class.
20
20
  * @param client Reference to the service client
@@ -37,52 +37,35 @@ export class ManagedCCFOperationsImpl {
37
37
  return this;
38
38
  },
39
39
  byPage: (settings) => {
40
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
40
+ if (settings?.maxPageSize) {
41
41
  throw new Error("maxPageSize is not supported by this operation.");
42
42
  }
43
43
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
44
44
  },
45
45
  };
46
46
  }
47
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
48
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
49
- let result;
50
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
- if (!continuationToken) {
52
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
53
- let page = result.value || [];
54
- continuationToken = result.nextLink;
55
- setContinuationToken(page, continuationToken);
56
- yield yield __await(page);
57
- }
58
- while (continuationToken) {
59
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
60
- continuationToken = result.nextLink;
61
- let page = result.value || [];
62
- setContinuationToken(page, continuationToken);
63
- yield yield __await(page);
64
- }
65
- });
47
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
48
+ let result;
49
+ let continuationToken = settings?.continuationToken;
50
+ if (!continuationToken) {
51
+ result = await this._listByResourceGroup(resourceGroupName, options);
52
+ let page = result.value || [];
53
+ continuationToken = result.nextLink;
54
+ setContinuationToken(page, continuationToken);
55
+ yield page;
56
+ }
57
+ while (continuationToken) {
58
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
59
+ continuationToken = result.nextLink;
60
+ let page = result.value || [];
61
+ setContinuationToken(page, continuationToken);
62
+ yield page;
63
+ }
66
64
  }
67
- listByResourceGroupPagingAll(resourceGroupName, options) {
68
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
69
- var _a, e_1, _b, _c;
70
- try {
71
- for (var _d = true, _e = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
72
- _c = _f.value;
73
- _d = false;
74
- const page = _c;
75
- yield __await(yield* __asyncDelegator(__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 __await(_b.call(_e));
82
- }
83
- finally { if (e_1) throw e_1.error; }
84
- }
85
- });
65
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
66
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
67
+ yield* page;
68
+ }
86
69
  }
87
70
  /**
88
71
  * Retrieves the properties of all Managed CCF.
@@ -98,52 +81,35 @@ export class ManagedCCFOperationsImpl {
98
81
  return this;
99
82
  },
100
83
  byPage: (settings) => {
101
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
84
+ if (settings?.maxPageSize) {
102
85
  throw new Error("maxPageSize is not supported by this operation.");
103
86
  }
104
87
  return this.listBySubscriptionPagingPage(options, settings);
105
88
  },
106
89
  };
107
90
  }
108
- listBySubscriptionPagingPage(options, settings) {
109
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
110
- let result;
111
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
112
- if (!continuationToken) {
113
- result = yield __await(this._listBySubscription(options));
114
- let page = result.value || [];
115
- continuationToken = result.nextLink;
116
- setContinuationToken(page, continuationToken);
117
- yield yield __await(page);
118
- }
119
- while (continuationToken) {
120
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
121
- continuationToken = result.nextLink;
122
- let page = result.value || [];
123
- setContinuationToken(page, continuationToken);
124
- yield yield __await(page);
125
- }
126
- });
91
+ async *listBySubscriptionPagingPage(options, settings) {
92
+ let result;
93
+ let continuationToken = settings?.continuationToken;
94
+ if (!continuationToken) {
95
+ result = await this._listBySubscription(options);
96
+ let page = result.value || [];
97
+ continuationToken = result.nextLink;
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
101
+ while (continuationToken) {
102
+ result = await this._listBySubscriptionNext(continuationToken, options);
103
+ continuationToken = result.nextLink;
104
+ let page = result.value || [];
105
+ setContinuationToken(page, continuationToken);
106
+ yield page;
107
+ }
127
108
  }
128
- listBySubscriptionPagingAll(options) {
129
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
130
- var _a, e_2, _b, _c;
131
- try {
132
- for (var _d = true, _e = __asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
133
- _c = _f.value;
134
- _d = false;
135
- const page = _c;
136
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
137
- }
138
- }
139
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
140
- finally {
141
- try {
142
- if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
143
- }
144
- finally { if (e_2) throw e_2.error; }
145
- }
146
- });
109
+ async *listBySubscriptionPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
111
+ yield* page;
112
+ }
147
113
  }
148
114
  /**
149
115
  * Retrieves the properties of a Managed CCF app.
@@ -165,14 +131,19 @@ export class ManagedCCFOperationsImpl {
165
131
  return this.client.sendOperationRequest(args, spec);
166
132
  };
167
133
  const sendOperationFn = async (args, spec) => {
168
- var _a;
169
134
  let currentRawResponse = undefined;
170
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
135
+ const providedCallback = args.options?.onResponse;
171
136
  const callback = (rawResponse, flatResponse) => {
172
137
  currentRawResponse = rawResponse;
173
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
138
+ providedCallback?.(rawResponse, flatResponse);
139
+ };
140
+ const updatedArgs = {
141
+ ...args,
142
+ options: {
143
+ ...args.options,
144
+ onResponse: callback,
145
+ },
174
146
  };
175
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
176
147
  const flatResponse = await directSendOperation(updatedArgs, spec);
177
148
  return {
178
149
  flatResponse,
@@ -189,8 +160,8 @@ export class ManagedCCFOperationsImpl {
189
160
  spec: deleteOperationSpec,
190
161
  });
191
162
  const poller = await createHttpPoller(lro, {
192
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
193
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
163
+ restoreFrom: options?.resumeFrom,
164
+ intervalInMs: options?.updateIntervalInMs,
194
165
  });
195
166
  await poller.poll();
196
167
  return poller;
@@ -217,14 +188,19 @@ export class ManagedCCFOperationsImpl {
217
188
  return this.client.sendOperationRequest(args, spec);
218
189
  };
219
190
  const sendOperationFn = async (args, spec) => {
220
- var _a;
221
191
  let currentRawResponse = undefined;
222
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
192
+ const providedCallback = args.options?.onResponse;
223
193
  const callback = (rawResponse, flatResponse) => {
224
194
  currentRawResponse = rawResponse;
225
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
195
+ providedCallback?.(rawResponse, flatResponse);
196
+ };
197
+ const updatedArgs = {
198
+ ...args,
199
+ options: {
200
+ ...args.options,
201
+ onResponse: callback,
202
+ },
226
203
  };
227
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
228
204
  const flatResponse = await directSendOperation(updatedArgs, spec);
229
205
  return {
230
206
  flatResponse,
@@ -241,8 +217,8 @@ export class ManagedCCFOperationsImpl {
241
217
  spec: createOperationSpec,
242
218
  });
243
219
  const poller = await createHttpPoller(lro, {
244
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
245
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
220
+ restoreFrom: options?.resumeFrom,
221
+ intervalInMs: options?.updateIntervalInMs,
246
222
  resourceLocationConfig: "azure-async-operation",
247
223
  });
248
224
  await poller.poll();
@@ -271,14 +247,19 @@ export class ManagedCCFOperationsImpl {
271
247
  return this.client.sendOperationRequest(args, spec);
272
248
  };
273
249
  const sendOperationFn = async (args, spec) => {
274
- var _a;
275
250
  let currentRawResponse = undefined;
276
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
251
+ const providedCallback = args.options?.onResponse;
277
252
  const callback = (rawResponse, flatResponse) => {
278
253
  currentRawResponse = rawResponse;
279
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
254
+ providedCallback?.(rawResponse, flatResponse);
255
+ };
256
+ const updatedArgs = {
257
+ ...args,
258
+ options: {
259
+ ...args.options,
260
+ onResponse: callback,
261
+ },
280
262
  };
281
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
282
263
  const flatResponse = await directSendOperation(updatedArgs, spec);
283
264
  return {
284
265
  flatResponse,
@@ -295,8 +276,8 @@ export class ManagedCCFOperationsImpl {
295
276
  spec: updateOperationSpec,
296
277
  });
297
278
  const poller = await createHttpPoller(lro, {
298
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
299
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
279
+ restoreFrom: options?.resumeFrom,
280
+ intervalInMs: options?.updateIntervalInMs,
300
281
  });
301
282
  await poller.poll();
302
283
  return poller;
@@ -339,14 +320,19 @@ export class ManagedCCFOperationsImpl {
339
320
  return this.client.sendOperationRequest(args, spec);
340
321
  };
341
322
  const sendOperationFn = async (args, spec) => {
342
- var _a;
343
323
  let currentRawResponse = undefined;
344
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
324
+ const providedCallback = args.options?.onResponse;
345
325
  const callback = (rawResponse, flatResponse) => {
346
326
  currentRawResponse = rawResponse;
347
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
327
+ providedCallback?.(rawResponse, flatResponse);
328
+ };
329
+ const updatedArgs = {
330
+ ...args,
331
+ options: {
332
+ ...args.options,
333
+ onResponse: callback,
334
+ },
348
335
  };
349
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
350
336
  const flatResponse = await directSendOperation(updatedArgs, spec);
351
337
  return {
352
338
  flatResponse,
@@ -363,8 +349,8 @@ export class ManagedCCFOperationsImpl {
363
349
  spec: backupOperationSpec,
364
350
  });
365
351
  const poller = await createHttpPoller(lro, {
366
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
367
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
352
+ restoreFrom: options?.resumeFrom,
353
+ intervalInMs: options?.updateIntervalInMs,
368
354
  });
369
355
  await poller.poll();
370
356
  return poller;
@@ -392,14 +378,19 @@ export class ManagedCCFOperationsImpl {
392
378
  return this.client.sendOperationRequest(args, spec);
393
379
  };
394
380
  const sendOperationFn = async (args, spec) => {
395
- var _a;
396
381
  let currentRawResponse = undefined;
397
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
382
+ const providedCallback = args.options?.onResponse;
398
383
  const callback = (rawResponse, flatResponse) => {
399
384
  currentRawResponse = rawResponse;
400
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
385
+ providedCallback?.(rawResponse, flatResponse);
386
+ };
387
+ const updatedArgs = {
388
+ ...args,
389
+ options: {
390
+ ...args.options,
391
+ onResponse: callback,
392
+ },
401
393
  };
402
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
403
394
  const flatResponse = await directSendOperation(updatedArgs, spec);
404
395
  return {
405
396
  flatResponse,
@@ -416,8 +407,8 @@ export class ManagedCCFOperationsImpl {
416
407
  spec: restoreOperationSpec,
417
408
  });
418
409
  const poller = await createHttpPoller(lro, {
419
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
420
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
410
+ restoreFrom: options?.resumeFrom,
411
+ intervalInMs: options?.updateIntervalInMs,
421
412
  });
422
413
  await poller.poll();
423
414
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"managedCCFOperations.js","sourceRoot":"","sources":["../../../src/operations/managedCCFOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA0B9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,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,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,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,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AA0B9C,4CAA4C;AAC5C,wDAAwD;AACxD,MAAM,OAAO,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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;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"]}