@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.
- package/dist/browser/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/microsoftStorageSync.js +23 -5
- package/dist/browser/microsoftStorageSync.js.map +1 -1
- package/dist/browser/models/mappers.js +248 -117
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/cloudEndpoints.js +87 -69
- package/dist/browser/operations/cloudEndpoints.js.map +1 -1
- package/dist/browser/operations/operationStatusOperations.js +1 -0
- package/dist/browser/operations/operationStatusOperations.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +32 -39
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +1 -0
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/registeredServers.js +43 -45
- package/dist/browser/operations/registeredServers.js.map +1 -1
- package/dist/browser/operations/serverEndpoints.js +54 -51
- package/dist/browser/operations/serverEndpoints.js.map +1 -1
- package/dist/browser/operations/storageSyncServices.js +52 -71
- package/dist/browser/operations/storageSyncServices.js.map +1 -1
- package/dist/browser/operations/syncGroups.js +10 -27
- package/dist/browser/operations/syncGroups.js.map +1 -1
- package/dist/browser/operations/workflows.js +10 -27
- package/dist/browser/operations/workflows.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/microsoftStorageSync.js +23 -5
- package/dist/commonjs/microsoftStorageSync.js.map +1 -1
- package/dist/commonjs/models/mappers.js +248 -117
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/cloudEndpoints.js +87 -68
- package/dist/commonjs/operations/cloudEndpoints.js.map +1 -1
- package/dist/commonjs/operations/operationStatusOperations.js +1 -0
- package/dist/commonjs/operations/operationStatusOperations.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +32 -38
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +1 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/registeredServers.js +43 -44
- package/dist/commonjs/operations/registeredServers.js.map +1 -1
- package/dist/commonjs/operations/serverEndpoints.js +54 -50
- package/dist/commonjs/operations/serverEndpoints.js.map +1 -1
- package/dist/commonjs/operations/storageSyncServices.js +52 -70
- package/dist/commonjs/operations/storageSyncServices.js.map +1 -1
- package/dist/commonjs/operations/syncGroups.js +10 -26
- package/dist/commonjs/operations/syncGroups.js.map +1 -1
- package/dist/commonjs/operations/workflows.js +10 -26
- package/dist/commonjs/operations/workflows.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/microsoftStorageSync.js +23 -5
- package/dist/esm/microsoftStorageSync.js.map +1 -1
- package/dist/esm/models/mappers.js +248 -117
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/cloudEndpoints.js +87 -69
- package/dist/esm/operations/cloudEndpoints.js.map +1 -1
- package/dist/esm/operations/operationStatusOperations.js +1 -0
- package/dist/esm/operations/operationStatusOperations.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +32 -39
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +1 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/registeredServers.js +43 -45
- package/dist/esm/operations/registeredServers.js.map +1 -1
- package/dist/esm/operations/serverEndpoints.js +54 -51
- package/dist/esm/operations/serverEndpoints.js.map +1 -1
- package/dist/esm/operations/storageSyncServices.js +52 -71
- package/dist/esm/operations/storageSyncServices.js.map +1 -1
- package/dist/esm/operations/syncGroups.js +10 -27
- package/dist/esm/operations/syncGroups.js.map +1 -1
- package/dist/esm/operations/workflows.js +10 -27
- package/dist/esm/operations/workflows.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/microsoftStorageSync.js +23 -5
- package/dist/react-native/microsoftStorageSync.js.map +1 -1
- package/dist/react-native/models/mappers.js +248 -117
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/cloudEndpoints.js +87 -69
- package/dist/react-native/operations/cloudEndpoints.js.map +1 -1
- package/dist/react-native/operations/operationStatusOperations.js +1 -0
- package/dist/react-native/operations/operationStatusOperations.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +32 -39
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +1 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/registeredServers.js +43 -45
- package/dist/react-native/operations/registeredServers.js.map +1 -1
- package/dist/react-native/operations/serverEndpoints.js +54 -51
- package/dist/react-native/operations/serverEndpoints.js.map +1 -1
- package/dist/react-native/operations/storageSyncServices.js +52 -71
- package/dist/react-native/operations/storageSyncServices.js.map +1 -1
- package/dist/react-native/operations/syncGroups.js +10 -27
- package/dist/react-native/operations/syncGroups.js.map +1 -1
- package/dist/react-native/operations/workflows.js +10 -27
- package/dist/react-native/operations/workflows.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-storagesync.api.md → arm-storagesync-node.api.md} +0 -0
@@ -5,7 +5,6 @@
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
*/
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
8
|
import * as coreClient from "@azure/core-client";
|
10
9
|
import * as Mappers from "../models/mappers.js";
|
11
10
|
import * as Parameters from "../models/parameters.js";
|
@@ -14,6 +13,7 @@ import { LroImpl } from "../lroImpl.js";
|
|
14
13
|
/// <reference lib="esnext.asynciterable" />
|
15
14
|
/** Class containing CloudEndpoints operations. */
|
16
15
|
export class CloudEndpointsImpl {
|
16
|
+
client;
|
17
17
|
/**
|
18
18
|
* Initialize a new instance of the class CloudEndpoints class.
|
19
19
|
* @param client Reference to the service client
|
@@ -38,39 +38,22 @@ export class CloudEndpointsImpl {
|
|
38
38
|
return this;
|
39
39
|
},
|
40
40
|
byPage: (settings) => {
|
41
|
-
if (settings
|
41
|
+
if (settings?.maxPageSize) {
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
43
43
|
}
|
44
44
|
return this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, settings);
|
45
45
|
}
|
46
46
|
};
|
47
47
|
}
|
48
|
-
listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
yield yield __await(result.value || []);
|
53
|
-
});
|
48
|
+
async *listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options, _settings) {
|
49
|
+
let result;
|
50
|
+
result = await this._listBySyncGroup(resourceGroupName, storageSyncServiceName, syncGroupName, options);
|
51
|
+
yield result.value || [];
|
54
52
|
}
|
55
|
-
listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
for (var _d = true, _e = __asyncValues(this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
60
|
-
_c = _f.value;
|
61
|
-
_d = false;
|
62
|
-
const page = _c;
|
63
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
64
|
-
}
|
65
|
-
}
|
66
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
67
|
-
finally {
|
68
|
-
try {
|
69
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
70
|
-
}
|
71
|
-
finally { if (e_1) throw e_1.error; }
|
72
|
-
}
|
73
|
-
});
|
53
|
+
async *listBySyncGroupPagingAll(resourceGroupName, storageSyncServiceName, syncGroupName, options) {
|
54
|
+
for await (const page of this.listBySyncGroupPagingPage(resourceGroupName, storageSyncServiceName, syncGroupName, options)) {
|
55
|
+
yield* page;
|
56
|
+
}
|
74
57
|
}
|
75
58
|
/**
|
76
59
|
* Create a new CloudEndpoint.
|
@@ -86,14 +69,19 @@ export class CloudEndpointsImpl {
|
|
86
69
|
return this.client.sendOperationRequest(args, spec);
|
87
70
|
};
|
88
71
|
const sendOperation = async (args, spec) => {
|
89
|
-
var _a;
|
90
72
|
let currentRawResponse = undefined;
|
91
|
-
const providedCallback =
|
73
|
+
const providedCallback = args.options?.onResponse;
|
92
74
|
const callback = (rawResponse, flatResponse) => {
|
93
75
|
currentRawResponse = rawResponse;
|
94
|
-
providedCallback
|
76
|
+
providedCallback?.(rawResponse, flatResponse);
|
77
|
+
};
|
78
|
+
const updatedArgs = {
|
79
|
+
...args,
|
80
|
+
options: {
|
81
|
+
...args.options,
|
82
|
+
onResponse: callback
|
83
|
+
}
|
95
84
|
};
|
96
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
97
85
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
98
86
|
return {
|
99
87
|
flatResponse,
|
@@ -113,8 +101,8 @@ export class CloudEndpointsImpl {
|
|
113
101
|
options
|
114
102
|
}, createOperationSpec);
|
115
103
|
const poller = new LroEngine(lro, {
|
116
|
-
resumeFrom: options
|
117
|
-
intervalInMs: options
|
104
|
+
resumeFrom: options?.resumeFrom,
|
105
|
+
intervalInMs: options?.updateIntervalInMs
|
118
106
|
});
|
119
107
|
await poller.poll();
|
120
108
|
return poller;
|
@@ -162,14 +150,19 @@ export class CloudEndpointsImpl {
|
|
162
150
|
return this.client.sendOperationRequest(args, spec);
|
163
151
|
};
|
164
152
|
const sendOperation = async (args, spec) => {
|
165
|
-
var _a;
|
166
153
|
let currentRawResponse = undefined;
|
167
|
-
const providedCallback =
|
154
|
+
const providedCallback = args.options?.onResponse;
|
168
155
|
const callback = (rawResponse, flatResponse) => {
|
169
156
|
currentRawResponse = rawResponse;
|
170
|
-
providedCallback
|
157
|
+
providedCallback?.(rawResponse, flatResponse);
|
158
|
+
};
|
159
|
+
const updatedArgs = {
|
160
|
+
...args,
|
161
|
+
options: {
|
162
|
+
...args.options,
|
163
|
+
onResponse: callback
|
164
|
+
}
|
171
165
|
};
|
172
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
173
166
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
174
167
|
return {
|
175
168
|
flatResponse,
|
@@ -188,8 +181,8 @@ export class CloudEndpointsImpl {
|
|
188
181
|
options
|
189
182
|
}, deleteOperationSpec);
|
190
183
|
const poller = new LroEngine(lro, {
|
191
|
-
resumeFrom: options
|
192
|
-
intervalInMs: options
|
184
|
+
resumeFrom: options?.resumeFrom,
|
185
|
+
intervalInMs: options?.updateIntervalInMs
|
193
186
|
});
|
194
187
|
await poller.poll();
|
195
188
|
return poller;
|
@@ -230,14 +223,19 @@ export class CloudEndpointsImpl {
|
|
230
223
|
return this.client.sendOperationRequest(args, spec);
|
231
224
|
};
|
232
225
|
const sendOperation = async (args, spec) => {
|
233
|
-
var _a;
|
234
226
|
let currentRawResponse = undefined;
|
235
|
-
const providedCallback =
|
227
|
+
const providedCallback = args.options?.onResponse;
|
236
228
|
const callback = (rawResponse, flatResponse) => {
|
237
229
|
currentRawResponse = rawResponse;
|
238
|
-
providedCallback
|
230
|
+
providedCallback?.(rawResponse, flatResponse);
|
231
|
+
};
|
232
|
+
const updatedArgs = {
|
233
|
+
...args,
|
234
|
+
options: {
|
235
|
+
...args.options,
|
236
|
+
onResponse: callback
|
237
|
+
}
|
239
238
|
};
|
240
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
241
239
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
242
240
|
return {
|
243
241
|
flatResponse,
|
@@ -257,8 +255,8 @@ export class CloudEndpointsImpl {
|
|
257
255
|
options
|
258
256
|
}, preBackupOperationSpec);
|
259
257
|
const poller = new LroEngine(lro, {
|
260
|
-
resumeFrom: options
|
261
|
-
intervalInMs: options
|
258
|
+
resumeFrom: options?.resumeFrom,
|
259
|
+
intervalInMs: options?.updateIntervalInMs
|
262
260
|
});
|
263
261
|
await poller.poll();
|
264
262
|
return poller;
|
@@ -290,14 +288,19 @@ export class CloudEndpointsImpl {
|
|
290
288
|
return this.client.sendOperationRequest(args, spec);
|
291
289
|
};
|
292
290
|
const sendOperation = async (args, spec) => {
|
293
|
-
var _a;
|
294
291
|
let currentRawResponse = undefined;
|
295
|
-
const providedCallback =
|
292
|
+
const providedCallback = args.options?.onResponse;
|
296
293
|
const callback = (rawResponse, flatResponse) => {
|
297
294
|
currentRawResponse = rawResponse;
|
298
|
-
providedCallback
|
295
|
+
providedCallback?.(rawResponse, flatResponse);
|
296
|
+
};
|
297
|
+
const updatedArgs = {
|
298
|
+
...args,
|
299
|
+
options: {
|
300
|
+
...args.options,
|
301
|
+
onResponse: callback
|
302
|
+
}
|
299
303
|
};
|
300
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
301
304
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
302
305
|
return {
|
303
306
|
flatResponse,
|
@@ -317,8 +320,8 @@ export class CloudEndpointsImpl {
|
|
317
320
|
options
|
318
321
|
}, postBackupOperationSpec);
|
319
322
|
const poller = new LroEngine(lro, {
|
320
|
-
resumeFrom: options
|
321
|
-
intervalInMs: options
|
323
|
+
resumeFrom: options?.resumeFrom,
|
324
|
+
intervalInMs: options?.updateIntervalInMs
|
322
325
|
});
|
323
326
|
await poller.poll();
|
324
327
|
return poller;
|
@@ -350,14 +353,19 @@ export class CloudEndpointsImpl {
|
|
350
353
|
return this.client.sendOperationRequest(args, spec);
|
351
354
|
};
|
352
355
|
const sendOperation = async (args, spec) => {
|
353
|
-
var _a;
|
354
356
|
let currentRawResponse = undefined;
|
355
|
-
const providedCallback =
|
357
|
+
const providedCallback = args.options?.onResponse;
|
356
358
|
const callback = (rawResponse, flatResponse) => {
|
357
359
|
currentRawResponse = rawResponse;
|
358
|
-
providedCallback
|
360
|
+
providedCallback?.(rawResponse, flatResponse);
|
361
|
+
};
|
362
|
+
const updatedArgs = {
|
363
|
+
...args,
|
364
|
+
options: {
|
365
|
+
...args.options,
|
366
|
+
onResponse: callback
|
367
|
+
}
|
359
368
|
};
|
360
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
361
369
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
362
370
|
return {
|
363
371
|
flatResponse,
|
@@ -377,8 +385,8 @@ export class CloudEndpointsImpl {
|
|
377
385
|
options
|
378
386
|
}, preRestoreOperationSpec);
|
379
387
|
const poller = new LroEngine(lro, {
|
380
|
-
resumeFrom: options
|
381
|
-
intervalInMs: options
|
388
|
+
resumeFrom: options?.resumeFrom,
|
389
|
+
intervalInMs: options?.updateIntervalInMs
|
382
390
|
});
|
383
391
|
await poller.poll();
|
384
392
|
return poller;
|
@@ -427,14 +435,19 @@ export class CloudEndpointsImpl {
|
|
427
435
|
return this.client.sendOperationRequest(args, spec);
|
428
436
|
};
|
429
437
|
const sendOperation = async (args, spec) => {
|
430
|
-
var _a;
|
431
438
|
let currentRawResponse = undefined;
|
432
|
-
const providedCallback =
|
439
|
+
const providedCallback = args.options?.onResponse;
|
433
440
|
const callback = (rawResponse, flatResponse) => {
|
434
441
|
currentRawResponse = rawResponse;
|
435
|
-
providedCallback
|
442
|
+
providedCallback?.(rawResponse, flatResponse);
|
443
|
+
};
|
444
|
+
const updatedArgs = {
|
445
|
+
...args,
|
446
|
+
options: {
|
447
|
+
...args.options,
|
448
|
+
onResponse: callback
|
449
|
+
}
|
436
450
|
};
|
437
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
438
451
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
439
452
|
return {
|
440
453
|
flatResponse,
|
@@ -454,8 +467,8 @@ export class CloudEndpointsImpl {
|
|
454
467
|
options
|
455
468
|
}, postRestoreOperationSpec);
|
456
469
|
const poller = new LroEngine(lro, {
|
457
|
-
resumeFrom: options
|
458
|
-
intervalInMs: options
|
470
|
+
resumeFrom: options?.resumeFrom,
|
471
|
+
intervalInMs: options?.updateIntervalInMs
|
459
472
|
});
|
460
473
|
await poller.poll();
|
461
474
|
return poller;
|
@@ -488,14 +501,19 @@ export class CloudEndpointsImpl {
|
|
488
501
|
return this.client.sendOperationRequest(args, spec);
|
489
502
|
};
|
490
503
|
const sendOperation = async (args, spec) => {
|
491
|
-
var _a;
|
492
504
|
let currentRawResponse = undefined;
|
493
|
-
const providedCallback =
|
505
|
+
const providedCallback = args.options?.onResponse;
|
494
506
|
const callback = (rawResponse, flatResponse) => {
|
495
507
|
currentRawResponse = rawResponse;
|
496
|
-
providedCallback
|
508
|
+
providedCallback?.(rawResponse, flatResponse);
|
509
|
+
};
|
510
|
+
const updatedArgs = {
|
511
|
+
...args,
|
512
|
+
options: {
|
513
|
+
...args.options,
|
514
|
+
onResponse: callback
|
515
|
+
}
|
497
516
|
};
|
498
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
499
517
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
500
518
|
return {
|
501
519
|
flatResponse,
|
@@ -515,8 +533,8 @@ export class CloudEndpointsImpl {
|
|
515
533
|
options
|
516
534
|
}, triggerChangeDetectionOperationSpec);
|
517
535
|
const poller = new LroEngine(lro, {
|
518
|
-
resumeFrom: options
|
519
|
-
intervalInMs: options
|
536
|
+
resumeFrom: options?.resumeFrom,
|
537
|
+
intervalInMs: options?.updateIntervalInMs
|
520
538
|
});
|
521
539
|
await poller.poll();
|
522
540
|
return poller;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"cloudEndpoints.js","sourceRoot":"","sources":["../../../src/operations/cloudEndpoints.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA2BxC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,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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KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AA2BxC,4CAA4C;AAC5C,kDAAkD;AAClD,MAAM,OAAO,kBAAkB;IACZ,MAAM,CAAuB;IAE9C;;;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,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,yBAAyB,CACnC,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,yBAAyB,CACtC,iBAAyB,EACzB,sBAA8B,EAC9B,aAAqB,EACrB,OAAqD,EACrD,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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;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"]}
|
@@ -10,6 +10,7 @@ import * as Mappers from "../models/mappers.js";
|
|
10
10
|
import * as Parameters from "../models/parameters.js";
|
11
11
|
/** Class containing OperationStatusOperations operations. */
|
12
12
|
export class OperationStatusOperationsImpl {
|
13
|
+
client;
|
13
14
|
/**
|
14
15
|
* Initialize a new instance of the class OperationStatusOperations class.
|
15
16
|
* @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,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,6DAA6D;AAC7D,MAAM,OAAO,6BAA6B;
|
1
|
+
{"version":3,"file":"operationStatusOperations.js","sourceRoot":"","sources":["../../../src/operations/operationStatusOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,6DAA6D;AAC7D,MAAM,OAAO,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;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"]}
|