@azure/arm-storagesync 9.1.1-alpha.20250619.1 → 9.1.1-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 (115) hide show
  1. package/dist/browser/lroImpl.js +11 -3
  2. package/dist/browser/lroImpl.js.map +1 -1
  3. package/dist/browser/microsoftStorageSync.js +23 -5
  4. package/dist/browser/microsoftStorageSync.js.map +1 -1
  5. package/dist/browser/models/mappers.js +248 -117
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/cloudEndpoints.js +87 -69
  8. package/dist/browser/operations/cloudEndpoints.js.map +1 -1
  9. package/dist/browser/operations/operationStatusOperations.js +1 -0
  10. package/dist/browser/operations/operationStatusOperations.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/operations/privateEndpointConnections.js +32 -39
  14. package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
  15. package/dist/browser/operations/privateLinkResources.js +1 -0
  16. package/dist/browser/operations/privateLinkResources.js.map +1 -1
  17. package/dist/browser/operations/registeredServers.js +43 -45
  18. package/dist/browser/operations/registeredServers.js.map +1 -1
  19. package/dist/browser/operations/serverEndpoints.js +54 -51
  20. package/dist/browser/operations/serverEndpoints.js.map +1 -1
  21. package/dist/browser/operations/storageSyncServices.js +52 -71
  22. package/dist/browser/operations/storageSyncServices.js.map +1 -1
  23. package/dist/browser/operations/syncGroups.js +10 -27
  24. package/dist/browser/operations/syncGroups.js.map +1 -1
  25. package/dist/browser/operations/workflows.js +10 -27
  26. package/dist/browser/operations/workflows.js.map +1 -1
  27. package/dist/browser/pagingHelper.js +2 -4
  28. package/dist/browser/pagingHelper.js.map +1 -1
  29. package/dist/commonjs/lroImpl.js +11 -3
  30. package/dist/commonjs/lroImpl.js.map +1 -1
  31. package/dist/commonjs/microsoftStorageSync.js +23 -5
  32. package/dist/commonjs/microsoftStorageSync.js.map +1 -1
  33. package/dist/commonjs/models/mappers.js +248 -117
  34. package/dist/commonjs/models/mappers.js.map +1 -1
  35. package/dist/commonjs/operations/cloudEndpoints.js +87 -68
  36. package/dist/commonjs/operations/cloudEndpoints.js.map +1 -1
  37. package/dist/commonjs/operations/operationStatusOperations.js +1 -0
  38. package/dist/commonjs/operations/operationStatusOperations.js.map +1 -1
  39. package/dist/commonjs/operations/operations.js +23 -39
  40. package/dist/commonjs/operations/operations.js.map +1 -1
  41. package/dist/commonjs/operations/privateEndpointConnections.js +32 -38
  42. package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
  43. package/dist/commonjs/operations/privateLinkResources.js +1 -0
  44. package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
  45. package/dist/commonjs/operations/registeredServers.js +43 -44
  46. package/dist/commonjs/operations/registeredServers.js.map +1 -1
  47. package/dist/commonjs/operations/serverEndpoints.js +54 -50
  48. package/dist/commonjs/operations/serverEndpoints.js.map +1 -1
  49. package/dist/commonjs/operations/storageSyncServices.js +52 -70
  50. package/dist/commonjs/operations/storageSyncServices.js.map +1 -1
  51. package/dist/commonjs/operations/syncGroups.js +10 -26
  52. package/dist/commonjs/operations/syncGroups.js.map +1 -1
  53. package/dist/commonjs/operations/workflows.js +10 -26
  54. package/dist/commonjs/operations/workflows.js.map +1 -1
  55. package/dist/commonjs/pagingHelper.js +2 -4
  56. package/dist/commonjs/pagingHelper.js.map +1 -1
  57. package/dist/commonjs/tsdoc-metadata.json +11 -11
  58. package/dist/esm/lroImpl.js +11 -3
  59. package/dist/esm/lroImpl.js.map +1 -1
  60. package/dist/esm/microsoftStorageSync.js +23 -5
  61. package/dist/esm/microsoftStorageSync.js.map +1 -1
  62. package/dist/esm/models/mappers.js +248 -117
  63. package/dist/esm/models/mappers.js.map +1 -1
  64. package/dist/esm/operations/cloudEndpoints.js +87 -69
  65. package/dist/esm/operations/cloudEndpoints.js.map +1 -1
  66. package/dist/esm/operations/operationStatusOperations.js +1 -0
  67. package/dist/esm/operations/operationStatusOperations.js.map +1 -1
  68. package/dist/esm/operations/operations.js +23 -40
  69. package/dist/esm/operations/operations.js.map +1 -1
  70. package/dist/esm/operations/privateEndpointConnections.js +32 -39
  71. package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
  72. package/dist/esm/operations/privateLinkResources.js +1 -0
  73. package/dist/esm/operations/privateLinkResources.js.map +1 -1
  74. package/dist/esm/operations/registeredServers.js +43 -45
  75. package/dist/esm/operations/registeredServers.js.map +1 -1
  76. package/dist/esm/operations/serverEndpoints.js +54 -51
  77. package/dist/esm/operations/serverEndpoints.js.map +1 -1
  78. package/dist/esm/operations/storageSyncServices.js +52 -71
  79. package/dist/esm/operations/storageSyncServices.js.map +1 -1
  80. package/dist/esm/operations/syncGroups.js +10 -27
  81. package/dist/esm/operations/syncGroups.js.map +1 -1
  82. package/dist/esm/operations/workflows.js +10 -27
  83. package/dist/esm/operations/workflows.js.map +1 -1
  84. package/dist/esm/pagingHelper.js +2 -4
  85. package/dist/esm/pagingHelper.js.map +1 -1
  86. package/dist/react-native/lroImpl.js +11 -3
  87. package/dist/react-native/lroImpl.js.map +1 -1
  88. package/dist/react-native/microsoftStorageSync.js +23 -5
  89. package/dist/react-native/microsoftStorageSync.js.map +1 -1
  90. package/dist/react-native/models/mappers.js +248 -117
  91. package/dist/react-native/models/mappers.js.map +1 -1
  92. package/dist/react-native/operations/cloudEndpoints.js +87 -69
  93. package/dist/react-native/operations/cloudEndpoints.js.map +1 -1
  94. package/dist/react-native/operations/operationStatusOperations.js +1 -0
  95. package/dist/react-native/operations/operationStatusOperations.js.map +1 -1
  96. package/dist/react-native/operations/operations.js +23 -40
  97. package/dist/react-native/operations/operations.js.map +1 -1
  98. package/dist/react-native/operations/privateEndpointConnections.js +32 -39
  99. package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
  100. package/dist/react-native/operations/privateLinkResources.js +1 -0
  101. package/dist/react-native/operations/privateLinkResources.js.map +1 -1
  102. package/dist/react-native/operations/registeredServers.js +43 -45
  103. package/dist/react-native/operations/registeredServers.js.map +1 -1
  104. package/dist/react-native/operations/serverEndpoints.js +54 -51
  105. package/dist/react-native/operations/serverEndpoints.js.map +1 -1
  106. package/dist/react-native/operations/storageSyncServices.js +52 -71
  107. package/dist/react-native/operations/storageSyncServices.js.map +1 -1
  108. package/dist/react-native/operations/syncGroups.js +10 -27
  109. package/dist/react-native/operations/syncGroups.js.map +1 -1
  110. package/dist/react-native/operations/workflows.js +10 -27
  111. package/dist/react-native/operations/workflows.js.map +1 -1
  112. package/dist/react-native/pagingHelper.js +2 -4
  113. package/dist/react-native/pagingHelper.js.map +1 -1
  114. package/package.json +2 -2
  115. /package/review/{arm-storagesync.api.md → arm-storagesync-node.api.md} +0 -0
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
17
17
  /// <reference lib="esnext.asynciterable" />
18
18
  /** Class containing CloudEndpoints operations. */
19
19
  class CloudEndpointsImpl {
20
+ client;
20
21
  /**
21
22
  * Initialize a new instance of the class CloudEndpoints class.
22
23
  * @param client Reference to the service client
@@ -41,39 +42,22 @@ class CloudEndpointsImpl {
41
42
  return this;
42
43
  },
43
44
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
45
+ if (settings?.maxPageSize) {
45
46
  throw new Error("maxPageSize is not supported by this operation.");
46
47
  }
47
48
  return this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, settings);
48
49
  }
49
50
  };
50
51
  }
51
- listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listBySyncGroupPagingPage_1() {
53
- let result;
54
- result = yield tslib_1.__await(this._listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName, options));
55
- yield yield tslib_1.__await(result.value || []);
56
- });
52
+ async *listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
53
+ let result;
54
+ result = await this._listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName, options);
55
+ yield result.value || [];
57
56
  }
58
- listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
59
- return tslib_1.__asyncGenerator(this, arguments, function* listBySyncGroupPagingAll_1() {
60
- var _a, e_1, _b, _c;
61
- try {
62
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
63
- _c = _f.value;
64
- _d = false;
65
- const page = _c;
66
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
67
- }
68
- }
69
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
70
- finally {
71
- try {
72
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
73
- }
74
- finally { if (e_1) throw e_1.error; }
75
- }
76
- });
57
+ async *listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
58
+ for await (const page of this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)) {
59
+ yield* page;
60
+ }
77
61
  }
78
62
  /**
79
63
  * Create a new CloudEndpoint.
@@ -89,14 +73,19 @@ class CloudEndpointsImpl {
89
73
  return this.client.sendOperationRequest(args, spec);
90
74
  };
91
75
  const sendOperation = async (args, spec) => {
92
- var _a;
93
76
  let currentRawResponse = undefined;
94
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
77
+ const providedCallback = args.options?.onResponse;
95
78
  const callback = (rawResponse, flatResponse) => {
96
79
  currentRawResponse = rawResponse;
97
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
80
+ providedCallback?.(rawResponse, flatResponse);
81
+ };
82
+ const updatedArgs = {
83
+ ...args,
84
+ options: {
85
+ ...args.options,
86
+ onResponse: callback
87
+ }
98
88
  };
99
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
100
89
  const flatResponse = await directSendOperation(updatedArgs, spec);
101
90
  return {
102
91
  flatResponse,
@@ -116,8 +105,8 @@ class CloudEndpointsImpl {
116
105
  options
117
106
  }, createOperationSpec);
118
107
  const poller = new core_lro_1.LroEngine(lro, {
119
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
120
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
108
+ resumeFrom: options?.resumeFrom,
109
+ intervalInMs: options?.updateIntervalInMs
121
110
  });
122
111
  await poller.poll();
123
112
  return poller;
@@ -165,14 +154,19 @@ class CloudEndpointsImpl {
165
154
  return this.client.sendOperationRequest(args, spec);
166
155
  };
167
156
  const sendOperation = async (args, spec) => {
168
- var _a;
169
157
  let currentRawResponse = undefined;
170
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
158
+ const providedCallback = args.options?.onResponse;
171
159
  const callback = (rawResponse, flatResponse) => {
172
160
  currentRawResponse = rawResponse;
173
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
161
+ providedCallback?.(rawResponse, flatResponse);
162
+ };
163
+ const updatedArgs = {
164
+ ...args,
165
+ options: {
166
+ ...args.options,
167
+ onResponse: callback
168
+ }
174
169
  };
175
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
176
170
  const flatResponse = await directSendOperation(updatedArgs, spec);
177
171
  return {
178
172
  flatResponse,
@@ -191,8 +185,8 @@ class CloudEndpointsImpl {
191
185
  options
192
186
  }, deleteOperationSpec);
193
187
  const poller = new core_lro_1.LroEngine(lro, {
194
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
195
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
188
+ resumeFrom: options?.resumeFrom,
189
+ intervalInMs: options?.updateIntervalInMs
196
190
  });
197
191
  await poller.poll();
198
192
  return poller;
@@ -233,14 +227,19 @@ class CloudEndpointsImpl {
233
227
  return this.client.sendOperationRequest(args, spec);
234
228
  };
235
229
  const sendOperation = async (args, spec) => {
236
- var _a;
237
230
  let currentRawResponse = undefined;
238
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
231
+ const providedCallback = args.options?.onResponse;
239
232
  const callback = (rawResponse, flatResponse) => {
240
233
  currentRawResponse = rawResponse;
241
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
234
+ providedCallback?.(rawResponse, flatResponse);
235
+ };
236
+ const updatedArgs = {
237
+ ...args,
238
+ options: {
239
+ ...args.options,
240
+ onResponse: callback
241
+ }
242
242
  };
243
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
244
243
  const flatResponse = await directSendOperation(updatedArgs, spec);
245
244
  return {
246
245
  flatResponse,
@@ -260,8 +259,8 @@ class CloudEndpointsImpl {
260
259
  options
261
260
  }, preBackupOperationSpec);
262
261
  const poller = new core_lro_1.LroEngine(lro, {
263
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
264
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
262
+ resumeFrom: options?.resumeFrom,
263
+ intervalInMs: options?.updateIntervalInMs
265
264
  });
266
265
  await poller.poll();
267
266
  return poller;
@@ -293,14 +292,19 @@ class CloudEndpointsImpl {
293
292
  return this.client.sendOperationRequest(args, spec);
294
293
  };
295
294
  const sendOperation = async (args, spec) => {
296
- var _a;
297
295
  let currentRawResponse = undefined;
298
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
296
+ const providedCallback = args.options?.onResponse;
299
297
  const callback = (rawResponse, flatResponse) => {
300
298
  currentRawResponse = rawResponse;
301
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
299
+ providedCallback?.(rawResponse, flatResponse);
300
+ };
301
+ const updatedArgs = {
302
+ ...args,
303
+ options: {
304
+ ...args.options,
305
+ onResponse: callback
306
+ }
302
307
  };
303
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
304
308
  const flatResponse = await directSendOperation(updatedArgs, spec);
305
309
  return {
306
310
  flatResponse,
@@ -320,8 +324,8 @@ class CloudEndpointsImpl {
320
324
  options
321
325
  }, postBackupOperationSpec);
322
326
  const poller = new core_lro_1.LroEngine(lro, {
323
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
324
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
327
+ resumeFrom: options?.resumeFrom,
328
+ intervalInMs: options?.updateIntervalInMs
325
329
  });
326
330
  await poller.poll();
327
331
  return poller;
@@ -353,14 +357,19 @@ class CloudEndpointsImpl {
353
357
  return this.client.sendOperationRequest(args, spec);
354
358
  };
355
359
  const sendOperation = async (args, spec) => {
356
- var _a;
357
360
  let currentRawResponse = undefined;
358
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
361
+ const providedCallback = args.options?.onResponse;
359
362
  const callback = (rawResponse, flatResponse) => {
360
363
  currentRawResponse = rawResponse;
361
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
364
+ providedCallback?.(rawResponse, flatResponse);
365
+ };
366
+ const updatedArgs = {
367
+ ...args,
368
+ options: {
369
+ ...args.options,
370
+ onResponse: callback
371
+ }
362
372
  };
363
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
364
373
  const flatResponse = await directSendOperation(updatedArgs, spec);
365
374
  return {
366
375
  flatResponse,
@@ -380,8 +389,8 @@ class CloudEndpointsImpl {
380
389
  options
381
390
  }, preRestoreOperationSpec);
382
391
  const poller = new core_lro_1.LroEngine(lro, {
383
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
384
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
392
+ resumeFrom: options?.resumeFrom,
393
+ intervalInMs: options?.updateIntervalInMs
385
394
  });
386
395
  await poller.poll();
387
396
  return poller;
@@ -430,14 +439,19 @@ class CloudEndpointsImpl {
430
439
  return this.client.sendOperationRequest(args, spec);
431
440
  };
432
441
  const sendOperation = async (args, spec) => {
433
- var _a;
434
442
  let currentRawResponse = undefined;
435
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
443
+ const providedCallback = args.options?.onResponse;
436
444
  const callback = (rawResponse, flatResponse) => {
437
445
  currentRawResponse = rawResponse;
438
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
446
+ providedCallback?.(rawResponse, flatResponse);
447
+ };
448
+ const updatedArgs = {
449
+ ...args,
450
+ options: {
451
+ ...args.options,
452
+ onResponse: callback
453
+ }
439
454
  };
440
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
441
455
  const flatResponse = await directSendOperation(updatedArgs, spec);
442
456
  return {
443
457
  flatResponse,
@@ -457,8 +471,8 @@ class CloudEndpointsImpl {
457
471
  options
458
472
  }, postRestoreOperationSpec);
459
473
  const poller = new core_lro_1.LroEngine(lro, {
460
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
461
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
474
+ resumeFrom: options?.resumeFrom,
475
+ intervalInMs: options?.updateIntervalInMs
462
476
  });
463
477
  await poller.poll();
464
478
  return poller;
@@ -491,14 +505,19 @@ class CloudEndpointsImpl {
491
505
  return this.client.sendOperationRequest(args, spec);
492
506
  };
493
507
  const sendOperation = async (args, spec) => {
494
- var _a;
495
508
  let currentRawResponse = undefined;
496
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
509
+ const providedCallback = args.options?.onResponse;
497
510
  const callback = (rawResponse, flatResponse) => {
498
511
  currentRawResponse = rawResponse;
499
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
512
+ providedCallback?.(rawResponse, flatResponse);
513
+ };
514
+ const updatedArgs = {
515
+ ...args,
516
+ options: {
517
+ ...args.options,
518
+ onResponse: callback
519
+ }
500
520
  };
501
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
502
521
  const flatResponse = await directSendOperation(updatedArgs, spec);
503
522
  return {
504
523
  flatResponse,
@@ -518,8 +537,8 @@ class CloudEndpointsImpl {
518
537
  options
519
538
  }, triggerChangeDetectionOperationSpec);
520
539
  const poller = new core_lro_1.LroEngine(lro, {
521
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
522
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
540
+ resumeFrom: options?.resumeFrom,
541
+ intervalInMs: options?.updateIntervalInMs
523
542
  });
524
543
  await poller.poll();
525
544
  return poller;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudEndpoints.js","sourceRoot":"","sources":["../../../src/operations/cloudEndpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AA2BxC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAa,kBAAkB;IAG7B;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,eAAe,CACpB,iBAAyB,EACzB,sBAA8B,EAC9B,aAAqB,EACrB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,C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CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,IAAI,EACF,sOAAsO;IACxO,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { CloudEndpoints } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n CloudEndpoint,\n CloudEndpointsListBySyncGroupOptionalParams,\n CloudEndpointsListBySyncGroupResponse,\n CloudEndpointCreateParameters,\n CloudEndpointsCreateOptionalParams,\n CloudEndpointsCreateResponse,\n CloudEndpointsGetOptionalParams,\n CloudEndpointsGetResponse,\n CloudEndpointsDeleteOptionalParams,\n CloudEndpointsDeleteResponse,\n BackupRequest,\n CloudEndpointsPreBackupOptionalParams,\n CloudEndpointsPreBackupResponse,\n CloudEndpointsPostBackupOptionalParams,\n CloudEndpointsPostBackupResponse,\n PreRestoreRequest,\n CloudEndpointsPreRestoreOptionalParams,\n CloudEndpointsRestoreheartbeatOptionalParams,\n CloudEndpointsRestoreheartbeatResponse,\n PostRestoreRequest,\n CloudEndpointsPostRestoreOptionalParams,\n TriggerChangeDetectionParameters,\n CloudEndpointsTriggerChangeDetectionOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CloudEndpoints operations. */\nexport class CloudEndpointsImpl implements CloudEndpoints {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class CloudEndpoints class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a CloudEndpoint List.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n public listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): PagedAsyncIterableIterator<CloudEndpoint> {\n const iter = this.listBySyncGroupPagingAll(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\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.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listBySyncGroupPagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<CloudEndpoint[]> {\n let result: CloudEndpointsListBySyncGroupResponse;\n result = await this._listBySyncGroup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listBySyncGroupPagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): AsyncIterableIterator<CloudEndpoint> {\n for await (const page of this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a new CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint resource.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: CloudEndpointCreateParameters,\n options?: CloudEndpointsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsCreateResponse>,\n CloudEndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint resource.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: CloudEndpointCreateParameters,\n options?: CloudEndpointsCreateOptionalParams\n ): Promise<CloudEndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsGetOptionalParams\n ): Promise<CloudEndpointsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Delete a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsDeleteResponse>,\n CloudEndpointsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsDeleteOptionalParams\n ): Promise<CloudEndpointsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a CloudEndpoint List.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n private _listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): Promise<CloudEndpointsListBySyncGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, syncGroupName, options },\n listBySyncGroupOperationSpec\n );\n }\n\n /**\n * Pre Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPreBackup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPreBackupOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsPreBackupResponse>,\n CloudEndpointsPreBackupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsPreBackupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n preBackupOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPreBackupAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPreBackupOptionalParams\n ): Promise<CloudEndpointsPreBackupResponse> {\n const poller = await this.beginPreBackup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Post Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPostBackup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPostBackupOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsPostBackupResponse>,\n CloudEndpointsPostBackupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsPostBackupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n postBackupOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Post Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPostBackupAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPostBackupOptionalParams\n ): Promise<CloudEndpointsPostBackupResponse> {\n const poller = await this.beginPostBackup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Pre Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPreRestore(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PreRestoreRequest,\n options?: CloudEndpointsPreRestoreOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n preRestoreOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPreRestoreAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PreRestoreRequest,\n options?: CloudEndpointsPreRestoreOptionalParams\n ): Promise<void> {\n const poller = await this.beginPreRestore(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Restore Heartbeat a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n restoreheartbeat(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsRestoreheartbeatOptionalParams\n ): Promise<CloudEndpointsRestoreheartbeatResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n restoreheartbeatOperationSpec\n );\n }\n\n /**\n * Post Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPostRestore(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PostRestoreRequest,\n options?: CloudEndpointsPostRestoreOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n postRestoreOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Post Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPostRestoreAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PostRestoreRequest,\n options?: CloudEndpointsPostRestoreOptionalParams\n ): Promise<void> {\n const poller = await this.beginPostRestore(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers detection of changes performed on Azure File share connected to the specified Azure File\n * Sync Cloud Endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Trigger Change Detection Action parameters.\n * @param options The options parameters.\n */\n async beginTriggerChangeDetection(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: TriggerChangeDetectionParameters,\n options?: CloudEndpointsTriggerChangeDetectionOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n triggerChangeDetectionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers detection of changes performed on Azure File share connected to the specified Azure File\n * Sync Cloud Endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Trigger Change Detection Action parameters.\n * @param options The options parameters.\n */\n async beginTriggerChangeDetectionAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: TriggerChangeDetectionParameters,\n options?: CloudEndpointsTriggerChangeDetectionOptionalParams\n ): Promise<void> {\n const poller = await this.beginTriggerChangeDetection(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySyncGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpointArray,\n headersMapper: Mappers.CloudEndpointsListBySyncGroupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst preBackupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 201: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 202: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 204: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst postBackupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 201: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 202: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 204: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst preRestoreOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst restoreheartbeatOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsRestoreheartbeatHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst postRestoreOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst triggerChangeDetectionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/triggerChangeDetection\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
1
+ {"version":3,"file":"cloudEndpoints.js","sourceRoot":"","sources":["../../../src/operations/cloudEndpoints.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,s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,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,sBAAsB;QACjC,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,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 { CloudEndpoints } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n CloudEndpoint,\n CloudEndpointsListBySyncGroupOptionalParams,\n CloudEndpointsListBySyncGroupResponse,\n CloudEndpointCreateParameters,\n CloudEndpointsCreateOptionalParams,\n CloudEndpointsCreateResponse,\n CloudEndpointsGetOptionalParams,\n CloudEndpointsGetResponse,\n CloudEndpointsDeleteOptionalParams,\n CloudEndpointsDeleteResponse,\n BackupRequest,\n CloudEndpointsPreBackupOptionalParams,\n CloudEndpointsPreBackupResponse,\n CloudEndpointsPostBackupOptionalParams,\n CloudEndpointsPostBackupResponse,\n PreRestoreRequest,\n CloudEndpointsPreRestoreOptionalParams,\n CloudEndpointsRestoreheartbeatOptionalParams,\n CloudEndpointsRestoreheartbeatResponse,\n PostRestoreRequest,\n CloudEndpointsPostRestoreOptionalParams,\n TriggerChangeDetectionParameters,\n CloudEndpointsTriggerChangeDetectionOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CloudEndpoints operations. */\nexport class CloudEndpointsImpl implements CloudEndpoints {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class CloudEndpoints class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get a CloudEndpoint List.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n public listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): PagedAsyncIterableIterator<CloudEndpoint> {\n const iter = this.listBySyncGroupPagingAll(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\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.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listBySyncGroupPagingPage(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<CloudEndpoint[]> {\n let result: CloudEndpointsListBySyncGroupResponse;\n result = await this._listBySyncGroup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listBySyncGroupPagingAll(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): AsyncIterableIterator<CloudEndpoint> {\n for await (const page of this.listBySyncGroupPagingPage(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Create a new CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint resource.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: CloudEndpointCreateParameters,\n options?: CloudEndpointsCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsCreateResponse>,\n CloudEndpointsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n createOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint resource.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: CloudEndpointCreateParameters,\n options?: CloudEndpointsCreateOptionalParams\n ): Promise<CloudEndpointsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsGetOptionalParams\n ): Promise<CloudEndpointsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Delete a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsDeleteResponse>,\n CloudEndpointsDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsDeleteOptionalParams\n ): Promise<CloudEndpointsDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a CloudEndpoint List.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param options The options parameters.\n */\n private _listBySyncGroup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n options?: CloudEndpointsListBySyncGroupOptionalParams\n ): Promise<CloudEndpointsListBySyncGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, storageSyncServiceName, syncGroupName, options },\n listBySyncGroupOperationSpec\n );\n }\n\n /**\n * Pre Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPreBackup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPreBackupOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsPreBackupResponse>,\n CloudEndpointsPreBackupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsPreBackupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n preBackupOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPreBackupAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPreBackupOptionalParams\n ): Promise<CloudEndpointsPreBackupResponse> {\n const poller = await this.beginPreBackup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Post Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPostBackup(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPostBackupOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CloudEndpointsPostBackupResponse>,\n CloudEndpointsPostBackupResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CloudEndpointsPostBackupResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n postBackupOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Post Backup a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Backup request.\n * @param options The options parameters.\n */\n async beginPostBackupAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: BackupRequest,\n options?: CloudEndpointsPostBackupOptionalParams\n ): Promise<CloudEndpointsPostBackupResponse> {\n const poller = await this.beginPostBackup(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Pre Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPreRestore(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PreRestoreRequest,\n options?: CloudEndpointsPreRestoreOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n preRestoreOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Pre Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPreRestoreAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PreRestoreRequest,\n options?: CloudEndpointsPreRestoreOptionalParams\n ): Promise<void> {\n const poller = await this.beginPreRestore(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Restore Heartbeat a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param options The options parameters.\n */\n restoreheartbeat(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n options?: CloudEndpointsRestoreheartbeatOptionalParams\n ): Promise<CloudEndpointsRestoreheartbeatResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n options\n },\n restoreheartbeatOperationSpec\n );\n }\n\n /**\n * Post Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPostRestore(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PostRestoreRequest,\n options?: CloudEndpointsPostRestoreOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n postRestoreOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Post Restore a given CloudEndpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Body of Cloud Endpoint object.\n * @param options The options parameters.\n */\n async beginPostRestoreAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: PostRestoreRequest,\n options?: CloudEndpointsPostRestoreOptionalParams\n ): Promise<void> {\n const poller = await this.beginPostRestore(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Triggers detection of changes performed on Azure File share connected to the specified Azure File\n * Sync Cloud Endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Trigger Change Detection Action parameters.\n * @param options The options parameters.\n */\n async beginTriggerChangeDetection(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: TriggerChangeDetectionParameters,\n options?: CloudEndpointsTriggerChangeDetectionOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n },\n triggerChangeDetectionOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Triggers detection of changes performed on Azure File share connected to the specified Azure File\n * Sync Cloud Endpoint.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param storageSyncServiceName Name of Storage Sync Service resource.\n * @param syncGroupName Name of Sync Group resource.\n * @param cloudEndpointName Name of Cloud Endpoint object.\n * @param parameters Trigger Change Detection Action parameters.\n * @param options The options parameters.\n */\n async beginTriggerChangeDetectionAndWait(\n resourceGroupName: string,\n storageSyncServiceName: string,\n syncGroupName: string,\n cloudEndpointName: string,\n parameters: TriggerChangeDetectionParameters,\n options?: CloudEndpointsTriggerChangeDetectionOptionalParams\n ): Promise<void> {\n const poller = await this.beginTriggerChangeDetection(\n resourceGroupName,\n storageSyncServiceName,\n syncGroupName,\n cloudEndpointName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 201: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 202: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n 204: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsCreateHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpoint,\n headersMapper: Mappers.CloudEndpointsGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 201: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 202: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n 204: {\n headersMapper: Mappers.CloudEndpointsDeleteHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySyncGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CloudEndpointArray,\n headersMapper: Mappers.CloudEndpointsListBySyncGroupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst preBackupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prebackup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 201: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 202: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n 204: {\n headersMapper: Mappers.CloudEndpointsPreBackupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst postBackupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postbackup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 201: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 202: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n 204: {\n bodyMapper: Mappers.PostBackupResponse,\n headersMapper: Mappers.CloudEndpointsPostBackupHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst preRestoreOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/prerestore\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst restoreheartbeatOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/restoreheartbeat\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.CloudEndpointsRestoreheartbeatHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst postRestoreOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/postrestore\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst triggerChangeDetectionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/storageSyncServices/{storageSyncServiceName}/syncGroups/{syncGroupName}/cloudEndpoints/{cloudEndpointName}/triggerChangeDetection\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.storageSyncServiceName,\n Parameters.syncGroupName,\n Parameters.cloudEndpointName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\n"]}
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
14
14
  const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
15
15
  /** Class containing OperationStatusOperations operations. */
16
16
  class OperationStatusOperationsImpl {
17
+ client;
17
18
  /**
18
19
  * Initialize a new instance of the class OperationStatusOperations class.
19
20
  * @param client Reference to the service client
@@ -1 +1 @@
1
- {"version":3,"file":"operationStatusOperations.js","sourceRoot":"","sources":["../../../src/operations/operationStatusOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,6DAA6D;AAC7D,MAAa,6BAA6B;IAIxC;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,UAAkB,EAClB,WAAmB,EACnB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,EACrE,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAhCD,sEAgCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,6KAA6K;IAC/K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,yBAAyB;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;KACvB;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 { OperationStatusOperations } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport {\n OperationStatusGetOptionalParams,\n OperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Class containing OperationStatusOperations operations. */\nexport class OperationStatusOperationsImpl\n implements OperationStatusOperations {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class OperationStatusOperations class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get Operation status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param locationName The desired region to obtain information from.\n * @param workflowId workflow Id\n * @param operationId operation Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n locationName: string,\n workflowId: string,\n operationId: string,\n options?: OperationStatusGetOptionalParams\n ): Promise<OperationStatusGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, locationName, workflowId, operationId, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus,\n headersMapper: Mappers.OperationStatusGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.locationName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workflowId,\n Parameters.operationId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"operationStatusOperations.js","sourceRoot":"","sources":["../../../src/operations/operationStatusOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,6DAA6D;AAC7D,MAAa,6BAA6B;IAEvB,MAAM,CAAuB;IAE9C;;;OAGG;IACH,YAAY,MAA4B;QACtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,YAAoB,EACpB,UAAkB,EAClB,WAAmB,EACnB,OAA0C;QAE1C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,EACrE,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAhCD,sEAgCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EACF,6KAA6K;IAC/K,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;YACnC,aAAa,EAAE,OAAO,CAAC,yBAAyB;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,WAAW;KACvB;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 { OperationStatusOperations } 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 { MicrosoftStorageSync } from \"../microsoftStorageSync.js\";\nimport {\n OperationStatusGetOptionalParams,\n OperationStatusGetResponse\n} from \"../models/index.js\";\n\n/** Class containing OperationStatusOperations operations. */\nexport class OperationStatusOperationsImpl\n implements OperationStatusOperations {\n private readonly client: MicrosoftStorageSync;\n\n /**\n * Initialize a new instance of the class OperationStatusOperations class.\n * @param client Reference to the service client\n */\n constructor(client: MicrosoftStorageSync) {\n this.client = client;\n }\n\n /**\n * Get Operation status\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param locationName The desired region to obtain information from.\n * @param workflowId workflow Id\n * @param operationId operation Id\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n locationName: string,\n workflowId: string,\n operationId: string,\n options?: OperationStatusGetOptionalParams\n ): Promise<OperationStatusGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, locationName, workflowId, operationId, options },\n getOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageSync/locations/{locationName}/workflows/{workflowId}/operations/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus,\n headersMapper: Mappers.OperationStatusGetHeaders\n },\n default: {\n bodyMapper: Mappers.StorageSyncError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.locationName,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workflowId,\n Parameters.operationId\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}