@azure/arm-appcomplianceautomation 1.0.1-alpha.20250718.1 → 1.0.1-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/appComplianceAutomationToolForMicrosoft365.js +19 -5
- package/dist/browser/appComplianceAutomationToolForMicrosoft365.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +28 -11
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/evidence.js +23 -40
- package/dist/browser/operations/evidence.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/providerActions.js +23 -12
- package/dist/browser/operations/providerActions.js.map +1 -1
- package/dist/browser/operations/report.js +89 -76
- package/dist/browser/operations/report.js.map +1 -1
- package/dist/browser/operations/scopingConfiguration.js +23 -40
- package/dist/browser/operations/scopingConfiguration.js.map +1 -1
- package/dist/browser/operations/snapshot.js +34 -46
- package/dist/browser/operations/snapshot.js.map +1 -1
- package/dist/browser/operations/webhook.js +23 -40
- package/dist/browser/operations/webhook.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.js +19 -5
- package/dist/commonjs/appComplianceAutomationToolForMicrosoft365.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +28 -11
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/evidence.js +23 -39
- package/dist/commonjs/operations/evidence.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/providerActions.js +23 -12
- package/dist/commonjs/operations/providerActions.js.map +1 -1
- package/dist/commonjs/operations/report.js +89 -75
- package/dist/commonjs/operations/report.js.map +1 -1
- package/dist/commonjs/operations/scopingConfiguration.js +23 -39
- package/dist/commonjs/operations/scopingConfiguration.js.map +1 -1
- package/dist/commonjs/operations/snapshot.js +34 -45
- package/dist/commonjs/operations/snapshot.js.map +1 -1
- package/dist/commonjs/operations/webhook.js +23 -39
- package/dist/commonjs/operations/webhook.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/appComplianceAutomationToolForMicrosoft365.js +19 -5
- package/dist/esm/appComplianceAutomationToolForMicrosoft365.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +28 -11
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/evidence.js +23 -40
- package/dist/esm/operations/evidence.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/providerActions.js +23 -12
- package/dist/esm/operations/providerActions.js.map +1 -1
- package/dist/esm/operations/report.js +89 -76
- package/dist/esm/operations/report.js.map +1 -1
- package/dist/esm/operations/scopingConfiguration.js +23 -40
- package/dist/esm/operations/scopingConfiguration.js.map +1 -1
- package/dist/esm/operations/snapshot.js +34 -46
- package/dist/esm/operations/snapshot.js.map +1 -1
- package/dist/esm/operations/webhook.js +23 -40
- package/dist/esm/operations/webhook.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/appComplianceAutomationToolForMicrosoft365.js +19 -5
- package/dist/react-native/appComplianceAutomationToolForMicrosoft365.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +28 -11
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/evidence.js +23 -40
- package/dist/react-native/operations/evidence.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/providerActions.js +23 -12
- package/dist/react-native/operations/providerActions.js.map +1 -1
- package/dist/react-native/operations/report.js +89 -76
- package/dist/react-native/operations/report.js.map +1 -1
- package/dist/react-native/operations/scopingConfiguration.js +23 -40
- package/dist/react-native/operations/scopingConfiguration.js.map +1 -1
- package/dist/react-native/operations/snapshot.js +34 -46
- package/dist/react-native/operations/snapshot.js.map +1 -1
- package/dist/react-native/operations/webhook.js +23 -40
- package/dist/react-native/operations/webhook.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-appcomplianceautomation-node.api.md +1333 -1333
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing Report operations. */
|
|
20
20
|
class ReportImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class Report class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -39,52 +40,35 @@ class ReportImpl {
|
|
|
39
40
|
return this;
|
|
40
41
|
},
|
|
41
42
|
byPage: (settings) => {
|
|
42
|
-
if (settings
|
|
43
|
+
if (settings?.maxPageSize) {
|
|
43
44
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
45
|
}
|
|
45
46
|
return this.listPagingPage(options, settings);
|
|
46
47
|
},
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
|
-
listPagingPage(options, settings) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
});
|
|
50
|
+
async *listPagingPage(options, settings) {
|
|
51
|
+
let result;
|
|
52
|
+
let continuationToken = settings?.continuationToken;
|
|
53
|
+
if (!continuationToken) {
|
|
54
|
+
result = await this._list(options);
|
|
55
|
+
let page = result.value || [];
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
|
+
yield page;
|
|
59
|
+
}
|
|
60
|
+
while (continuationToken) {
|
|
61
|
+
result = await this._listNext(continuationToken, options);
|
|
62
|
+
continuationToken = result.nextLink;
|
|
63
|
+
let page = result.value || [];
|
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
|
+
yield page;
|
|
66
|
+
}
|
|
68
67
|
}
|
|
69
|
-
listPagingAll(options) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
74
|
-
_c = _f.value;
|
|
75
|
-
_d = false;
|
|
76
|
-
const page = _c;
|
|
77
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
84
|
-
}
|
|
85
|
-
finally { if (e_1) throw e_1.error; }
|
|
86
|
-
}
|
|
87
|
-
});
|
|
68
|
+
async *listPagingAll(options) {
|
|
69
|
+
for await (const page of this.listPagingPage(options)) {
|
|
70
|
+
yield* page;
|
|
71
|
+
}
|
|
88
72
|
}
|
|
89
73
|
/**
|
|
90
74
|
* Get the AppComplianceAutomation report list for the tenant.
|
|
@@ -112,14 +96,19 @@ class ReportImpl {
|
|
|
112
96
|
return this.client.sendOperationRequest(args, spec);
|
|
113
97
|
};
|
|
114
98
|
const sendOperationFn = async (args, spec) => {
|
|
115
|
-
var _a;
|
|
116
99
|
let currentRawResponse = undefined;
|
|
117
|
-
const providedCallback =
|
|
100
|
+
const providedCallback = args.options?.onResponse;
|
|
118
101
|
const callback = (rawResponse, flatResponse) => {
|
|
119
102
|
currentRawResponse = rawResponse;
|
|
120
|
-
providedCallback
|
|
103
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
104
|
+
};
|
|
105
|
+
const updatedArgs = {
|
|
106
|
+
...args,
|
|
107
|
+
options: {
|
|
108
|
+
...args.options,
|
|
109
|
+
onResponse: callback,
|
|
110
|
+
},
|
|
121
111
|
};
|
|
122
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
123
112
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
124
113
|
return {
|
|
125
114
|
flatResponse,
|
|
@@ -136,8 +125,8 @@ class ReportImpl {
|
|
|
136
125
|
spec: createOrUpdateOperationSpec,
|
|
137
126
|
});
|
|
138
127
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
139
|
-
restoreFrom: options
|
|
140
|
-
intervalInMs: options
|
|
128
|
+
restoreFrom: options?.resumeFrom,
|
|
129
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
141
130
|
resourceLocationConfig: "azure-async-operation",
|
|
142
131
|
});
|
|
143
132
|
await poller.poll();
|
|
@@ -164,14 +153,19 @@ class ReportImpl {
|
|
|
164
153
|
return this.client.sendOperationRequest(args, spec);
|
|
165
154
|
};
|
|
166
155
|
const sendOperationFn = async (args, spec) => {
|
|
167
|
-
var _a;
|
|
168
156
|
let currentRawResponse = undefined;
|
|
169
|
-
const providedCallback =
|
|
157
|
+
const providedCallback = args.options?.onResponse;
|
|
170
158
|
const callback = (rawResponse, flatResponse) => {
|
|
171
159
|
currentRawResponse = rawResponse;
|
|
172
|
-
providedCallback
|
|
160
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
161
|
+
};
|
|
162
|
+
const updatedArgs = {
|
|
163
|
+
...args,
|
|
164
|
+
options: {
|
|
165
|
+
...args.options,
|
|
166
|
+
onResponse: callback,
|
|
167
|
+
},
|
|
173
168
|
};
|
|
174
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
175
169
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
176
170
|
return {
|
|
177
171
|
flatResponse,
|
|
@@ -188,8 +182,8 @@ class ReportImpl {
|
|
|
188
182
|
spec: updateOperationSpec,
|
|
189
183
|
});
|
|
190
184
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
191
|
-
restoreFrom: options
|
|
192
|
-
intervalInMs: options
|
|
185
|
+
restoreFrom: options?.resumeFrom,
|
|
186
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
193
187
|
resourceLocationConfig: "location",
|
|
194
188
|
});
|
|
195
189
|
await poller.poll();
|
|
@@ -215,14 +209,19 @@ class ReportImpl {
|
|
|
215
209
|
return this.client.sendOperationRequest(args, spec);
|
|
216
210
|
};
|
|
217
211
|
const sendOperationFn = async (args, spec) => {
|
|
218
|
-
var _a;
|
|
219
212
|
let currentRawResponse = undefined;
|
|
220
|
-
const providedCallback =
|
|
213
|
+
const providedCallback = args.options?.onResponse;
|
|
221
214
|
const callback = (rawResponse, flatResponse) => {
|
|
222
215
|
currentRawResponse = rawResponse;
|
|
223
|
-
providedCallback
|
|
216
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
217
|
+
};
|
|
218
|
+
const updatedArgs = {
|
|
219
|
+
...args,
|
|
220
|
+
options: {
|
|
221
|
+
...args.options,
|
|
222
|
+
onResponse: callback,
|
|
223
|
+
},
|
|
224
224
|
};
|
|
225
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
226
225
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
227
226
|
return {
|
|
228
227
|
flatResponse,
|
|
@@ -239,8 +238,8 @@ class ReportImpl {
|
|
|
239
238
|
spec: deleteOperationSpec,
|
|
240
239
|
});
|
|
241
240
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
242
|
-
restoreFrom: options
|
|
243
|
-
intervalInMs: options
|
|
241
|
+
restoreFrom: options?.resumeFrom,
|
|
242
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
244
243
|
resourceLocationConfig: "location",
|
|
245
244
|
});
|
|
246
245
|
await poller.poll();
|
|
@@ -275,14 +274,19 @@ class ReportImpl {
|
|
|
275
274
|
return this.client.sendOperationRequest(args, spec);
|
|
276
275
|
};
|
|
277
276
|
const sendOperationFn = async (args, spec) => {
|
|
278
|
-
var _a;
|
|
279
277
|
let currentRawResponse = undefined;
|
|
280
|
-
const providedCallback =
|
|
278
|
+
const providedCallback = args.options?.onResponse;
|
|
281
279
|
const callback = (rawResponse, flatResponse) => {
|
|
282
280
|
currentRawResponse = rawResponse;
|
|
283
|
-
providedCallback
|
|
281
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
282
|
+
};
|
|
283
|
+
const updatedArgs = {
|
|
284
|
+
...args,
|
|
285
|
+
options: {
|
|
286
|
+
...args.options,
|
|
287
|
+
onResponse: callback,
|
|
288
|
+
},
|
|
284
289
|
};
|
|
285
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
286
290
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
287
291
|
return {
|
|
288
292
|
flatResponse,
|
|
@@ -299,8 +303,8 @@ class ReportImpl {
|
|
|
299
303
|
spec: fixOperationSpec,
|
|
300
304
|
});
|
|
301
305
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
302
|
-
restoreFrom: options
|
|
303
|
-
intervalInMs: options
|
|
306
|
+
restoreFrom: options?.resumeFrom,
|
|
307
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
304
308
|
resourceLocationConfig: "location",
|
|
305
309
|
});
|
|
306
310
|
await poller.poll();
|
|
@@ -336,14 +340,19 @@ class ReportImpl {
|
|
|
336
340
|
return this.client.sendOperationRequest(args, spec);
|
|
337
341
|
};
|
|
338
342
|
const sendOperationFn = async (args, spec) => {
|
|
339
|
-
var _a;
|
|
340
343
|
let currentRawResponse = undefined;
|
|
341
|
-
const providedCallback =
|
|
344
|
+
const providedCallback = args.options?.onResponse;
|
|
342
345
|
const callback = (rawResponse, flatResponse) => {
|
|
343
346
|
currentRawResponse = rawResponse;
|
|
344
|
-
providedCallback
|
|
347
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
348
|
+
};
|
|
349
|
+
const updatedArgs = {
|
|
350
|
+
...args,
|
|
351
|
+
options: {
|
|
352
|
+
...args.options,
|
|
353
|
+
onResponse: callback,
|
|
354
|
+
},
|
|
345
355
|
};
|
|
346
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
347
356
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
348
357
|
return {
|
|
349
358
|
flatResponse,
|
|
@@ -360,8 +369,8 @@ class ReportImpl {
|
|
|
360
369
|
spec: syncCertRecordOperationSpec,
|
|
361
370
|
});
|
|
362
371
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
363
|
-
restoreFrom: options
|
|
364
|
-
intervalInMs: options
|
|
372
|
+
restoreFrom: options?.resumeFrom,
|
|
373
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
365
374
|
resourceLocationConfig: "location",
|
|
366
375
|
});
|
|
367
376
|
await poller.poll();
|
|
@@ -387,14 +396,19 @@ class ReportImpl {
|
|
|
387
396
|
return this.client.sendOperationRequest(args, spec);
|
|
388
397
|
};
|
|
389
398
|
const sendOperationFn = async (args, spec) => {
|
|
390
|
-
var _a;
|
|
391
399
|
let currentRawResponse = undefined;
|
|
392
|
-
const providedCallback =
|
|
400
|
+
const providedCallback = args.options?.onResponse;
|
|
393
401
|
const callback = (rawResponse, flatResponse) => {
|
|
394
402
|
currentRawResponse = rawResponse;
|
|
395
|
-
providedCallback
|
|
403
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
404
|
+
};
|
|
405
|
+
const updatedArgs = {
|
|
406
|
+
...args,
|
|
407
|
+
options: {
|
|
408
|
+
...args.options,
|
|
409
|
+
onResponse: callback,
|
|
410
|
+
},
|
|
396
411
|
};
|
|
397
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
398
412
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
399
413
|
return {
|
|
400
414
|
flatResponse,
|
|
@@ -411,8 +425,8 @@ class ReportImpl {
|
|
|
411
425
|
spec: verifyOperationSpec,
|
|
412
426
|
});
|
|
413
427
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
414
|
-
restoreFrom: options
|
|
415
|
-
intervalInMs: options
|
|
428
|
+
restoreFrom: options?.resumeFrom,
|
|
429
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
416
430
|
resourceLocationConfig: "location",
|
|
417
431
|
});
|
|
418
432
|
await poller.poll();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../src/operations/report.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA8B9C,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAa,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAAkD;QAC5D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAkC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CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Report } 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 { AppComplianceAutomationToolForMicrosoft365 } from \"../appComplianceAutomationToolForMicrosoft365.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ReportResource,\n ReportListNextOptionalParams,\n ReportListOptionalParams,\n ReportListResponse,\n ReportGetOptionalParams,\n ReportGetResponse,\n ReportCreateOrUpdateOptionalParams,\n ReportCreateOrUpdateResponse,\n ReportResourcePatch,\n ReportUpdateOptionalParams,\n ReportUpdateResponse,\n ReportDeleteOptionalParams,\n ReportDeleteResponse,\n CheckNameAvailabilityRequest,\n ReportNestedResourceCheckNameAvailabilityOptionalParams,\n ReportNestedResourceCheckNameAvailabilityResponse,\n ReportFixOptionalParams,\n ReportFixResponse,\n ReportGetScopingQuestionsOptionalParams,\n ReportGetScopingQuestionsResponse,\n SyncCertRecordRequest,\n ReportSyncCertRecordOptionalParams,\n ReportSyncCertRecordResponse,\n ReportVerifyOptionalParams,\n ReportVerifyResponse,\n ReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Report operations. */\nexport class ReportImpl implements Report {\n private readonly client: AppComplianceAutomationToolForMicrosoft365;\n\n /**\n * Initialize a new instance of the class Report class.\n * @param client Reference to the service client\n */\n constructor(client: AppComplianceAutomationToolForMicrosoft365) {\n this.client = client;\n }\n\n /**\n * Get the AppComplianceAutomation report list for the tenant.\n * @param options The options parameters.\n */\n public list(\n options?: ReportListOptionalParams,\n ): PagedAsyncIterableIterator<ReportResource> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ReportResource[]> {\n let result: ReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ReportListOptionalParams,\n ): AsyncIterableIterator<ReportResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the AppComplianceAutomation report list for the tenant.\n * @param options The options parameters.\n */\n private _list(\n options?: ReportListOptionalParams,\n ): Promise<ReportListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Get the AppComplianceAutomation report and its properties.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n get(\n reportName: string,\n options?: ReportGetOptionalParams,\n ): Promise<ReportGetResponse> {\n return this.client.sendOperationRequest(\n { reportName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n reportName: string,\n properties: ReportResource,\n options?: ReportCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReportCreateOrUpdateResponse>,\n ReportCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, properties, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportCreateOrUpdateResponse,\n OperationState<ReportCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n reportName: string,\n properties: ReportResource,\n options?: ReportCreateOrUpdateOptionalParams,\n ): Promise<ReportCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n reportName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginUpdate(\n reportName: string,\n properties: ReportResourcePatch,\n options?: ReportUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportUpdateResponse>, ReportUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, properties, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportUpdateResponse,\n OperationState<ReportUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n reportName: string,\n properties: ReportResourcePatch,\n options?: ReportUpdateOptionalParams,\n ): Promise<ReportUpdateResponse> {\n const poller = await this.beginUpdate(reportName, properties, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginDelete(\n reportName: string,\n options?: ReportDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportDeleteResponse>, ReportDeleteResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportDeleteResponse,\n OperationState<ReportDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n reportName: string,\n options?: ReportDeleteOptionalParams,\n ): Promise<ReportDeleteResponse> {\n const poller = await this.beginDelete(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.\n * @param reportName Report Name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n nestedResourceCheckNameAvailability(\n reportName: string,\n body: CheckNameAvailabilityRequest,\n options?: ReportNestedResourceCheckNameAvailabilityOptionalParams,\n ): Promise<ReportNestedResourceCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { reportName, body, options },\n nestedResourceCheckNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginFix(\n reportName: string,\n options?: ReportFixOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportFixResponse>, ReportFixResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportFixResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: fixOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportFixResponse,\n OperationState<ReportFixResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginFixAndWait(\n reportName: string,\n options?: ReportFixOptionalParams,\n ): Promise<ReportFixResponse> {\n const poller = await this.beginFix(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n getScopingQuestions(\n reportName: string,\n options?: ReportGetScopingQuestionsOptionalParams,\n ): Promise<ReportGetScopingQuestionsResponse> {\n return this.client.sendOperationRequest(\n { reportName, options },\n getScopingQuestionsOperationSpec,\n );\n }\n\n /**\n * Synchronize attestation record from app compliance.\n * @param reportName Report Name.\n * @param body Parameters for synchronize certification record operation\n * @param options The options parameters.\n */\n async beginSyncCertRecord(\n reportName: string,\n body: SyncCertRecordRequest,\n options?: ReportSyncCertRecordOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReportSyncCertRecordResponse>,\n ReportSyncCertRecordResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportSyncCertRecordResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, body, options },\n spec: syncCertRecordOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportSyncCertRecordResponse,\n OperationState<ReportSyncCertRecordResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Synchronize attestation record from app compliance.\n * @param reportName Report Name.\n * @param body Parameters for synchronize certification record operation\n * @param options The options parameters.\n */\n async beginSyncCertRecordAndWait(\n reportName: string,\n body: SyncCertRecordRequest,\n options?: ReportSyncCertRecordOptionalParams,\n ): Promise<ReportSyncCertRecordResponse> {\n const poller = await this.beginSyncCertRecord(reportName, body, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Verify the AppComplianceAutomation report health status.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginVerify(\n reportName: string,\n options?: ReportVerifyOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportVerifyResponse>, ReportVerifyResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportVerifyResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: verifyOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportVerifyResponse,\n OperationState<ReportVerifyResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Verify the AppComplianceAutomation report health status.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginVerifyAndWait(\n reportName: string,\n options?: ReportVerifyOptionalParams,\n ): Promise<ReportVerifyResponse> {\n const poller = await this.beginVerify(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ReportListNextOptionalParams,\n ): Promise<ReportListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skipToken,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.orderby,\n Parameters.offerGuid,\n Parameters.reportCreatorTenantId,\n ],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n 201: {\n bodyMapper: Mappers.ReportResource,\n },\n 202: {\n bodyMapper: Mappers.ReportResource,\n },\n 204: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n 201: {\n bodyMapper: Mappers.ReportResource,\n },\n 202: {\n bodyMapper: Mappers.ReportResource,\n },\n 204: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst nestedResourceCheckNameAvailabilityOperationSpec: coreClient.OperationSpec =\n {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n };\nconst fixOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 201: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 202: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 204: {\n bodyMapper: Mappers.ReportFixResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getScopingQuestionsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ScopingQuestions,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCertRecordOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 201: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 202: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 204: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst verifyOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 201: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 202: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 204: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"report.js","sourceRoot":"","sources":["../../../src/operations/report.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA8B9C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AAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Report } 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 { AppComplianceAutomationToolForMicrosoft365 } from \"../appComplianceAutomationToolForMicrosoft365.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ReportResource,\n ReportListNextOptionalParams,\n ReportListOptionalParams,\n ReportListResponse,\n ReportGetOptionalParams,\n ReportGetResponse,\n ReportCreateOrUpdateOptionalParams,\n ReportCreateOrUpdateResponse,\n ReportResourcePatch,\n ReportUpdateOptionalParams,\n ReportUpdateResponse,\n ReportDeleteOptionalParams,\n ReportDeleteResponse,\n CheckNameAvailabilityRequest,\n ReportNestedResourceCheckNameAvailabilityOptionalParams,\n ReportNestedResourceCheckNameAvailabilityResponse,\n ReportFixOptionalParams,\n ReportFixResponse,\n ReportGetScopingQuestionsOptionalParams,\n ReportGetScopingQuestionsResponse,\n SyncCertRecordRequest,\n ReportSyncCertRecordOptionalParams,\n ReportSyncCertRecordResponse,\n ReportVerifyOptionalParams,\n ReportVerifyResponse,\n ReportListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Report operations. */\nexport class ReportImpl implements Report {\n private readonly client: AppComplianceAutomationToolForMicrosoft365;\n\n /**\n * Initialize a new instance of the class Report class.\n * @param client Reference to the service client\n */\n constructor(client: AppComplianceAutomationToolForMicrosoft365) {\n this.client = client;\n }\n\n /**\n * Get the AppComplianceAutomation report list for the tenant.\n * @param options The options parameters.\n */\n public list(\n options?: ReportListOptionalParams,\n ): PagedAsyncIterableIterator<ReportResource> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ReportListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ReportResource[]> {\n let result: ReportListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ReportListOptionalParams,\n ): AsyncIterableIterator<ReportResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get the AppComplianceAutomation report list for the tenant.\n * @param options The options parameters.\n */\n private _list(\n options?: ReportListOptionalParams,\n ): Promise<ReportListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Get the AppComplianceAutomation report and its properties.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n get(\n reportName: string,\n options?: ReportGetOptionalParams,\n ): Promise<ReportGetResponse> {\n return this.client.sendOperationRequest(\n { reportName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n reportName: string,\n properties: ReportResource,\n options?: ReportCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReportCreateOrUpdateResponse>,\n ReportCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, properties, options },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportCreateOrUpdateResponse,\n OperationState<ReportCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a new AppComplianceAutomation report or update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n reportName: string,\n properties: ReportResource,\n options?: ReportCreateOrUpdateOptionalParams,\n ): Promise<ReportCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n reportName,\n properties,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginUpdate(\n reportName: string,\n properties: ReportResourcePatch,\n options?: ReportUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportUpdateResponse>, ReportUpdateResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, properties, options },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportUpdateResponse,\n OperationState<ReportUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Update an exiting AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param properties Parameters for the create or update operation\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n reportName: string,\n properties: ReportResourcePatch,\n options?: ReportUpdateOptionalParams,\n ): Promise<ReportUpdateResponse> {\n const poller = await this.beginUpdate(reportName, properties, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginDelete(\n reportName: string,\n options?: ReportDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportDeleteResponse>, ReportDeleteResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportDeleteResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportDeleteResponse,\n OperationState<ReportDeleteResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete an AppComplianceAutomation report.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n reportName: string,\n options?: ReportDeleteOptionalParams,\n ): Promise<ReportDeleteResponse> {\n const poller = await this.beginDelete(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Checks the report's nested resource name availability, e.g: Webhooks, Evidences, Snapshots.\n * @param reportName Report Name.\n * @param body NameAvailabilityRequest object.\n * @param options The options parameters.\n */\n nestedResourceCheckNameAvailability(\n reportName: string,\n body: CheckNameAvailabilityRequest,\n options?: ReportNestedResourceCheckNameAvailabilityOptionalParams,\n ): Promise<ReportNestedResourceCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { reportName, body, options },\n nestedResourceCheckNameAvailabilityOperationSpec,\n );\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginFix(\n reportName: string,\n options?: ReportFixOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportFixResponse>, ReportFixResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportFixResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: fixOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportFixResponse,\n OperationState<ReportFixResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginFixAndWait(\n reportName: string,\n options?: ReportFixOptionalParams,\n ): Promise<ReportFixResponse> {\n const poller = await this.beginFix(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Fix the AppComplianceAutomation report error. e.g: App Compliance Automation Tool service\n * unregistered, automation removed.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n getScopingQuestions(\n reportName: string,\n options?: ReportGetScopingQuestionsOptionalParams,\n ): Promise<ReportGetScopingQuestionsResponse> {\n return this.client.sendOperationRequest(\n { reportName, options },\n getScopingQuestionsOperationSpec,\n );\n }\n\n /**\n * Synchronize attestation record from app compliance.\n * @param reportName Report Name.\n * @param body Parameters for synchronize certification record operation\n * @param options The options parameters.\n */\n async beginSyncCertRecord(\n reportName: string,\n body: SyncCertRecordRequest,\n options?: ReportSyncCertRecordOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReportSyncCertRecordResponse>,\n ReportSyncCertRecordResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportSyncCertRecordResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, body, options },\n spec: syncCertRecordOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportSyncCertRecordResponse,\n OperationState<ReportSyncCertRecordResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Synchronize attestation record from app compliance.\n * @param reportName Report Name.\n * @param body Parameters for synchronize certification record operation\n * @param options The options parameters.\n */\n async beginSyncCertRecordAndWait(\n reportName: string,\n body: SyncCertRecordRequest,\n options?: ReportSyncCertRecordOptionalParams,\n ): Promise<ReportSyncCertRecordResponse> {\n const poller = await this.beginSyncCertRecord(reportName, body, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Verify the AppComplianceAutomation report health status.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginVerify(\n reportName: string,\n options?: ReportVerifyOptionalParams,\n ): Promise<\n SimplePollerLike<OperationState<ReportVerifyResponse>, ReportVerifyResponse>\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReportVerifyResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { reportName, options },\n spec: verifyOperationSpec,\n });\n const poller = await createHttpPoller<\n ReportVerifyResponse,\n OperationState<ReportVerifyResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"location\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Verify the AppComplianceAutomation report health status.\n * @param reportName Report Name.\n * @param options The options parameters.\n */\n async beginVerifyAndWait(\n reportName: string,\n options?: ReportVerifyOptionalParams,\n ): Promise<ReportVerifyResponse> {\n const poller = await this.beginVerify(reportName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ReportListNextOptionalParams,\n ): Promise<ReportListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.skipToken,\n Parameters.top,\n Parameters.select,\n Parameters.filter,\n Parameters.orderby,\n Parameters.offerGuid,\n Parameters.reportCreatorTenantId,\n ],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n 201: {\n bodyMapper: Mappers.ReportResource,\n },\n 202: {\n bodyMapper: Mappers.ReportResource,\n },\n 204: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResource,\n },\n 201: {\n bodyMapper: Mappers.ReportResource,\n },\n 202: {\n bodyMapper: Mappers.ReportResource,\n },\n 204: {\n bodyMapper: Mappers.ReportResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.properties1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 201: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 202: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n 204: {\n headersMapper: Mappers.ReportDeleteHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst nestedResourceCheckNameAvailabilityOperationSpec: coreClient.OperationSpec =\n {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n };\nconst fixOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/fix\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 201: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 202: {\n bodyMapper: Mappers.ReportFixResult,\n },\n 204: {\n bodyMapper: Mappers.ReportFixResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getScopingQuestionsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/getScopingQuestions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ScopingQuestions,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCertRecordOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/syncCertRecord\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 201: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 202: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n 204: {\n bodyMapper: Mappers.SyncCertRecordResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.body6,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst verifyOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/verify\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 201: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 202: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n 204: {\n bodyMapper: Mappers.ReportVerificationResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.reportName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReportResourceListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing ScopingConfiguration operations. */
|
|
18
18
|
class ScopingConfigurationImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class ScopingConfiguration class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -38,52 +39,35 @@ class ScopingConfigurationImpl {
|
|
|
38
39
|
return this;
|
|
39
40
|
},
|
|
40
41
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
42
|
+
if (settings?.maxPageSize) {
|
|
42
43
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
44
|
}
|
|
44
45
|
return this.listPagingPage(reportName, options, settings);
|
|
45
46
|
},
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
|
-
listPagingPage(reportName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
49
|
+
async *listPagingPage(reportName, options, settings) {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings?.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = await this._list(reportName, options);
|
|
54
|
+
let page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
57
|
+
yield page;
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = await this._listNext(reportName, continuationToken, options);
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
let page = result.value || [];
|
|
63
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
64
|
+
yield page;
|
|
65
|
+
}
|
|
67
66
|
}
|
|
68
|
-
listPagingAll(reportName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(reportName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
67
|
+
async *listPagingAll(reportName, options) {
|
|
68
|
+
for await (const page of this.listPagingPage(reportName, options)) {
|
|
69
|
+
yield* page;
|
|
70
|
+
}
|
|
87
71
|
}
|
|
88
72
|
/**
|
|
89
73
|
* Returns a list format of the singleton scopingConfiguration for a specified report.
|