@azure/arm-appcomplianceautomation 1.0.0-alpha.20240626.1 → 1.0.0
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/CHANGELOG.md +3 -11
- package/LICENSE +1 -1
- package/README.md +3 -4
- package/dist/index.js +4575 -1491
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js +44 -0
- package/dist-esm/samples-dev/evidenceCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/evidenceDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/evidenceDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/evidenceDeleteSample.js +37 -0
- package/dist-esm/samples-dev/evidenceDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/evidenceDownloadSample.d.ts +2 -0
- package/dist-esm/samples-dev/evidenceDownloadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/evidenceDownloadSample.js +40 -0
- package/dist-esm/samples-dev/evidenceDownloadSample.js.map +1 -0
- package/dist-esm/samples-dev/evidenceGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/evidenceGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/evidenceGetSample.js +37 -0
- package/dist-esm/samples-dev/evidenceGetSample.js.map +1 -0
- package/dist-esm/samples-dev/evidenceListByReportSample.d.ts +2 -0
- package/dist-esm/samples-dev/evidenceListByReportSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/evidenceListByReportSample.js +52 -0
- package/dist-esm/samples-dev/evidenceListByReportSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +11 -4
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js +38 -0
- package/dist-esm/samples-dev/providerActionsCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js +37 -0
- package/dist-esm/samples-dev/providerActionsGetCollectionCountSample.js.map +1 -0
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js +37 -0
- package/dist-esm/samples-dev/providerActionsGetOverviewStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js +55 -0
- package/dist-esm/samples-dev/providerActionsListInUseStorageAccountsSample.js.map +1 -0
- package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsOnboardSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsOnboardSample.js +40 -0
- package/dist-esm/samples-dev/providerActionsOnboardSample.js.map +1 -0
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts +2 -0
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js +39 -0
- package/dist-esm/samples-dev/providerActionsTriggerEvaluationSample.js.map +1 -0
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.js +27 -14
- package/dist-esm/samples-dev/reportCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/reportDeleteSample.js +9 -2
- package/dist-esm/samples-dev/reportDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/reportFixSample.d.ts +2 -0
- package/dist-esm/samples-dev/reportFixSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reportFixSample.js +36 -0
- package/dist-esm/samples-dev/reportFixSample.js.map +1 -0
- package/dist-esm/samples-dev/reportGetSample.js +9 -2
- package/dist-esm/samples-dev/reportGetSample.js.map +1 -1
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts +2 -0
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js +36 -0
- package/dist-esm/samples-dev/reportGetScopingQuestionsSample.js.map +1 -0
- package/dist-esm/samples-dev/reportListSample.d.ts +2 -0
- package/dist-esm/samples-dev/reportListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{reportsListSample.js → reportListSample.js} +14 -7
- package/dist-esm/samples-dev/reportListSample.js.map +1 -0
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js +77 -0
- package/dist-esm/samples-dev/reportNestedResourceCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts +2 -0
- package/dist-esm/samples-dev/reportSyncCertRecordSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reportSyncCertRecordSample.js +48 -0
- package/dist-esm/samples-dev/reportSyncCertRecordSample.js.map +1 -0
- package/dist-esm/samples-dev/reportUpdateSample.js +33 -14
- package/dist-esm/samples-dev/reportUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/reportVerifySample.d.ts +2 -0
- package/dist-esm/samples-dev/reportVerifySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/reportVerifySample.js +36 -0
- package/dist-esm/samples-dev/reportVerifySample.js.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/scopingConfigurationCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js +37 -0
- package/dist-esm/samples-dev/scopingConfigurationDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/scopingConfigurationGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationGetSample.js +37 -0
- package/dist-esm/samples-dev/scopingConfigurationGetSample.js.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts +2 -0
- package/dist-esm/samples-dev/scopingConfigurationListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scopingConfigurationListSample.js +52 -0
- package/dist-esm/samples-dev/scopingConfigurationListSample.js.map +1 -0
- package/dist-esm/samples-dev/snapshotDownloadSample.js +35 -32
- package/dist-esm/samples-dev/snapshotDownloadSample.js.map +1 -1
- package/dist-esm/samples-dev/snapshotGetSample.js +9 -2
- package/dist-esm/samples-dev/snapshotGetSample.js.map +1 -1
- package/dist-esm/samples-dev/snapshotListSample.d.ts +2 -0
- package/dist-esm/samples-dev/snapshotListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/{snapshotsListSample.js → snapshotListSample.js} +16 -9
- package/dist-esm/samples-dev/snapshotListSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js +50 -0
- package/dist-esm/samples-dev/webhookCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookDeleteSample.js +37 -0
- package/dist-esm/samples-dev/webhookDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookGetSample.js +37 -0
- package/dist-esm/samples-dev/webhookGetSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookListSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookListSample.js +55 -0
- package/dist-esm/samples-dev/webhookListSample.js.map +1 -0
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/webhookUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/webhookUpdateSample.js +50 -0
- package/dist-esm/samples-dev/webhookUpdateSample.js.map +1 -0
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts +5 -3
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.d.ts.map +1 -1
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js +13 -11
- package/dist-esm/src/appComplianceAutomationToolForMicrosoft365.js.map +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +1407 -345
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +272 -84
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +57 -7
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +2212 -782
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +21 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +171 -57
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/evidence.d.ts +65 -0
- package/dist-esm/src/operations/evidence.d.ts.map +1 -0
- package/dist-esm/src/operations/evidence.js +273 -0
- package/dist-esm/src/operations/evidence.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +4 -2
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +4 -2
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts +2 -2
- package/dist-esm/src/operations/operations.js +11 -12
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/providerActions.d.ts +62 -0
- package/dist-esm/src/operations/providerActions.d.ts.map +1 -0
- package/dist-esm/src/operations/providerActions.js +292 -0
- package/dist-esm/src/operations/providerActions.js.map +1 -0
- package/dist-esm/src/operations/report.d.ts +85 -12
- package/dist-esm/src/operations/report.d.ts.map +1 -1
- package/dist-esm/src/operations/report.js +496 -63
- package/dist-esm/src/operations/report.js.map +1 -1
- package/dist-esm/src/operations/scopingConfiguration.d.ts +58 -0
- package/dist-esm/src/operations/scopingConfiguration.d.ts.map +1 -0
- package/dist-esm/src/operations/{snapshots.js → scopingConfiguration.js} +110 -32
- package/dist-esm/src/operations/scopingConfiguration.js.map +1 -0
- package/dist-esm/src/operations/snapshot.d.ts +28 -6
- package/dist-esm/src/operations/snapshot.d.ts.map +1 -1
- package/dist-esm/src/operations/snapshot.js +155 -30
- package/dist-esm/src/operations/snapshot.js.map +1 -1
- package/dist-esm/src/operations/webhook.d.ts +65 -0
- package/dist-esm/src/operations/webhook.d.ts.map +1 -0
- package/dist-esm/src/operations/webhook.js +269 -0
- package/dist-esm/src/operations/webhook.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/evidence.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/evidence.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{snapshots.js → evidence.js} +1 -1
- package/dist-esm/src/operationsInterfaces/evidence.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +4 -2
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +4 -2
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +1 -1
- package/dist-esm/src/operationsInterfaces/providerActions.d.ts +54 -0
- package/dist-esm/src/operationsInterfaces/providerActions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/providerActions.js +9 -0
- package/dist-esm/src/operationsInterfaces/providerActions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/report.d.ts +72 -12
- package/dist-esm/src/operationsInterfaces/report.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.d.ts +35 -0
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.js +9 -0
- package/dist-esm/src/operationsInterfaces/scopingConfiguration.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshot.d.ts +13 -6
- package/dist-esm/src/operationsInterfaces/snapshot.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/webhook.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/webhook.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/{reports.js → webhook.js} +1 -1
- package/dist-esm/src/operationsInterfaces/webhook.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +4 -4
- package/dist-esm/src/pagingHelper.js +4 -4
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.js +74 -0
- package/dist-esm/test/appcomplianceautomation_operations_test.spec.js.map +1 -0
- package/package.json +14 -13
- package/review/arm-appcomplianceautomation.api.md +908 -166
- package/src/appComplianceAutomationToolForMicrosoft365.ts +34 -25
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +1644 -438
- package/src/models/mappers.ts +2279 -786
- package/src/models/parameters.ts +201 -58
- package/src/operations/evidence.ts +343 -0
- package/src/operations/index.ts +4 -2
- package/src/operations/operations.ts +18 -19
- package/src/operations/providerActions.ts +405 -0
- package/src/operations/report.ts +665 -115
- package/src/operations/scopingConfiguration.ts +283 -0
- package/src/operations/snapshot.ts +195 -53
- package/src/operations/webhook.ts +335 -0
- package/src/operationsInterfaces/evidence.ts +83 -0
- package/src/operationsInterfaces/index.ts +4 -2
- package/src/operationsInterfaces/operations.ts +2 -2
- package/src/operationsInterfaces/providerActions.ts +115 -0
- package/src/operationsInterfaces/report.ts +138 -23
- package/src/operationsInterfaces/scopingConfiguration.ts +68 -0
- package/src/operationsInterfaces/snapshot.ts +24 -11
- package/src/operationsInterfaces/webhook.ts +83 -0
- package/src/pagingHelper.ts +5 -5
- package/types/arm-appcomplianceautomation.d.ts +1955 -550
- package/dist-esm/samples-dev/reportsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/reportsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/reportsListSample.js.map +0 -1
- package/dist-esm/samples-dev/snapshotsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/snapshotsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/snapshotsListSample.js.map +0 -1
- package/dist-esm/src/operations/reports.d.ts +0 -32
- package/dist-esm/src/operations/reports.d.ts.map +0 -1
- package/dist-esm/src/operations/reports.js +0 -148
- package/dist-esm/src/operations/reports.js.map +0 -1
- package/dist-esm/src/operations/snapshots.d.ts +0 -35
- package/dist-esm/src/operations/snapshots.d.ts.map +0 -1
- package/dist-esm/src/operations/snapshots.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/reports.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/reports.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/reports.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/snapshots.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/operations/reports.ts +0 -164
- package/src/operations/snapshots.ts +0 -176
- package/src/operationsInterfaces/reports.ts +0 -22
- package/src/operationsInterfaces/snapshots.ts +0 -24
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
+
import { Webhook } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { AppComplianceAutomationToolForMicrosoft365 } from "../appComplianceAutomationToolForMicrosoft365";
|
|
16
|
+
import {
|
|
17
|
+
WebhookResource,
|
|
18
|
+
WebhookListNextOptionalParams,
|
|
19
|
+
WebhookListOptionalParams,
|
|
20
|
+
WebhookListResponse,
|
|
21
|
+
WebhookGetOptionalParams,
|
|
22
|
+
WebhookGetResponse,
|
|
23
|
+
WebhookCreateOrUpdateOptionalParams,
|
|
24
|
+
WebhookCreateOrUpdateResponse,
|
|
25
|
+
WebhookResourcePatch,
|
|
26
|
+
WebhookUpdateOptionalParams,
|
|
27
|
+
WebhookUpdateResponse,
|
|
28
|
+
WebhookDeleteOptionalParams,
|
|
29
|
+
WebhookListNextResponse,
|
|
30
|
+
} from "../models";
|
|
31
|
+
|
|
32
|
+
/// <reference lib="esnext.asynciterable" />
|
|
33
|
+
/** Class containing Webhook operations. */
|
|
34
|
+
export class WebhookImpl implements Webhook {
|
|
35
|
+
private readonly client: AppComplianceAutomationToolForMicrosoft365;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Initialize a new instance of the class Webhook class.
|
|
39
|
+
* @param client Reference to the service client
|
|
40
|
+
*/
|
|
41
|
+
constructor(client: AppComplianceAutomationToolForMicrosoft365) {
|
|
42
|
+
this.client = client;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Get the AppComplianceAutomation webhook list.
|
|
47
|
+
* @param reportName Report Name.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
public list(
|
|
51
|
+
reportName: string,
|
|
52
|
+
options?: WebhookListOptionalParams,
|
|
53
|
+
): PagedAsyncIterableIterator<WebhookResource> {
|
|
54
|
+
const iter = this.listPagingAll(reportName, options);
|
|
55
|
+
return {
|
|
56
|
+
next() {
|
|
57
|
+
return iter.next();
|
|
58
|
+
},
|
|
59
|
+
[Symbol.asyncIterator]() {
|
|
60
|
+
return this;
|
|
61
|
+
},
|
|
62
|
+
byPage: (settings?: PageSettings) => {
|
|
63
|
+
if (settings?.maxPageSize) {
|
|
64
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
65
|
+
}
|
|
66
|
+
return this.listPagingPage(reportName, options, settings);
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
private async *listPagingPage(
|
|
72
|
+
reportName: string,
|
|
73
|
+
options?: WebhookListOptionalParams,
|
|
74
|
+
settings?: PageSettings,
|
|
75
|
+
): AsyncIterableIterator<WebhookResource[]> {
|
|
76
|
+
let result: WebhookListResponse;
|
|
77
|
+
let continuationToken = settings?.continuationToken;
|
|
78
|
+
if (!continuationToken) {
|
|
79
|
+
result = await this._list(reportName, options);
|
|
80
|
+
let page = result.value || [];
|
|
81
|
+
continuationToken = result.nextLink;
|
|
82
|
+
setContinuationToken(page, continuationToken);
|
|
83
|
+
yield page;
|
|
84
|
+
}
|
|
85
|
+
while (continuationToken) {
|
|
86
|
+
result = await this._listNext(reportName, continuationToken, options);
|
|
87
|
+
continuationToken = result.nextLink;
|
|
88
|
+
let page = result.value || [];
|
|
89
|
+
setContinuationToken(page, continuationToken);
|
|
90
|
+
yield page;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private async *listPagingAll(
|
|
95
|
+
reportName: string,
|
|
96
|
+
options?: WebhookListOptionalParams,
|
|
97
|
+
): AsyncIterableIterator<WebhookResource> {
|
|
98
|
+
for await (const page of this.listPagingPage(reportName, options)) {
|
|
99
|
+
yield* page;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Get the AppComplianceAutomation webhook list.
|
|
105
|
+
* @param reportName Report Name.
|
|
106
|
+
* @param options The options parameters.
|
|
107
|
+
*/
|
|
108
|
+
private _list(
|
|
109
|
+
reportName: string,
|
|
110
|
+
options?: WebhookListOptionalParams,
|
|
111
|
+
): Promise<WebhookListResponse> {
|
|
112
|
+
return this.client.sendOperationRequest(
|
|
113
|
+
{ reportName, options },
|
|
114
|
+
listOperationSpec,
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Get the AppComplianceAutomation webhook and its properties.
|
|
120
|
+
* @param reportName Report Name.
|
|
121
|
+
* @param webhookName Webhook Name.
|
|
122
|
+
* @param options The options parameters.
|
|
123
|
+
*/
|
|
124
|
+
get(
|
|
125
|
+
reportName: string,
|
|
126
|
+
webhookName: string,
|
|
127
|
+
options?: WebhookGetOptionalParams,
|
|
128
|
+
): Promise<WebhookGetResponse> {
|
|
129
|
+
return this.client.sendOperationRequest(
|
|
130
|
+
{ reportName, webhookName, options },
|
|
131
|
+
getOperationSpec,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Create a new AppComplianceAutomation webhook or update an exiting AppComplianceAutomation webhook.
|
|
137
|
+
* @param reportName Report Name.
|
|
138
|
+
* @param webhookName Webhook Name.
|
|
139
|
+
* @param properties Parameters for the create or update operation
|
|
140
|
+
* @param options The options parameters.
|
|
141
|
+
*/
|
|
142
|
+
createOrUpdate(
|
|
143
|
+
reportName: string,
|
|
144
|
+
webhookName: string,
|
|
145
|
+
properties: WebhookResource,
|
|
146
|
+
options?: WebhookCreateOrUpdateOptionalParams,
|
|
147
|
+
): Promise<WebhookCreateOrUpdateResponse> {
|
|
148
|
+
return this.client.sendOperationRequest(
|
|
149
|
+
{ reportName, webhookName, properties, options },
|
|
150
|
+
createOrUpdateOperationSpec,
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Update an exiting AppComplianceAutomation webhook.
|
|
156
|
+
* @param reportName Report Name.
|
|
157
|
+
* @param webhookName Webhook Name.
|
|
158
|
+
* @param properties Parameters for the create or update operation
|
|
159
|
+
* @param options The options parameters.
|
|
160
|
+
*/
|
|
161
|
+
update(
|
|
162
|
+
reportName: string,
|
|
163
|
+
webhookName: string,
|
|
164
|
+
properties: WebhookResourcePatch,
|
|
165
|
+
options?: WebhookUpdateOptionalParams,
|
|
166
|
+
): Promise<WebhookUpdateResponse> {
|
|
167
|
+
return this.client.sendOperationRequest(
|
|
168
|
+
{ reportName, webhookName, properties, options },
|
|
169
|
+
updateOperationSpec,
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Delete an AppComplianceAutomation webhook.
|
|
175
|
+
* @param reportName Report Name.
|
|
176
|
+
* @param webhookName Webhook Name.
|
|
177
|
+
* @param options The options parameters.
|
|
178
|
+
*/
|
|
179
|
+
delete(
|
|
180
|
+
reportName: string,
|
|
181
|
+
webhookName: string,
|
|
182
|
+
options?: WebhookDeleteOptionalParams,
|
|
183
|
+
): Promise<void> {
|
|
184
|
+
return this.client.sendOperationRequest(
|
|
185
|
+
{ reportName, webhookName, options },
|
|
186
|
+
deleteOperationSpec,
|
|
187
|
+
);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* ListNext
|
|
192
|
+
* @param reportName Report Name.
|
|
193
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
194
|
+
* @param options The options parameters.
|
|
195
|
+
*/
|
|
196
|
+
private _listNext(
|
|
197
|
+
reportName: string,
|
|
198
|
+
nextLink: string,
|
|
199
|
+
options?: WebhookListNextOptionalParams,
|
|
200
|
+
): Promise<WebhookListNextResponse> {
|
|
201
|
+
return this.client.sendOperationRequest(
|
|
202
|
+
{ reportName, nextLink, options },
|
|
203
|
+
listNextOperationSpec,
|
|
204
|
+
);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
// Operation Specifications
|
|
208
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
209
|
+
|
|
210
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
211
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks",
|
|
212
|
+
httpMethod: "GET",
|
|
213
|
+
responses: {
|
|
214
|
+
200: {
|
|
215
|
+
bodyMapper: Mappers.WebhookResourceListResult,
|
|
216
|
+
},
|
|
217
|
+
default: {
|
|
218
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
queryParameters: [
|
|
222
|
+
Parameters.apiVersion,
|
|
223
|
+
Parameters.skipToken,
|
|
224
|
+
Parameters.top,
|
|
225
|
+
Parameters.select,
|
|
226
|
+
Parameters.filter,
|
|
227
|
+
Parameters.orderby,
|
|
228
|
+
Parameters.offerGuid,
|
|
229
|
+
Parameters.reportCreatorTenantId,
|
|
230
|
+
],
|
|
231
|
+
urlParameters: [Parameters.$host, Parameters.reportName],
|
|
232
|
+
headerParameters: [Parameters.accept],
|
|
233
|
+
serializer,
|
|
234
|
+
};
|
|
235
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
236
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}",
|
|
237
|
+
httpMethod: "GET",
|
|
238
|
+
responses: {
|
|
239
|
+
200: {
|
|
240
|
+
bodyMapper: Mappers.WebhookResource,
|
|
241
|
+
},
|
|
242
|
+
default: {
|
|
243
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
244
|
+
},
|
|
245
|
+
},
|
|
246
|
+
queryParameters: [Parameters.apiVersion],
|
|
247
|
+
urlParameters: [
|
|
248
|
+
Parameters.$host,
|
|
249
|
+
Parameters.reportName,
|
|
250
|
+
Parameters.webhookName,
|
|
251
|
+
],
|
|
252
|
+
headerParameters: [Parameters.accept],
|
|
253
|
+
serializer,
|
|
254
|
+
};
|
|
255
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
256
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}",
|
|
257
|
+
httpMethod: "PUT",
|
|
258
|
+
responses: {
|
|
259
|
+
200: {
|
|
260
|
+
bodyMapper: Mappers.WebhookResource,
|
|
261
|
+
},
|
|
262
|
+
201: {
|
|
263
|
+
bodyMapper: Mappers.WebhookResource,
|
|
264
|
+
},
|
|
265
|
+
default: {
|
|
266
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
requestBody: Parameters.properties4,
|
|
270
|
+
queryParameters: [Parameters.apiVersion],
|
|
271
|
+
urlParameters: [
|
|
272
|
+
Parameters.$host,
|
|
273
|
+
Parameters.reportName,
|
|
274
|
+
Parameters.webhookName,
|
|
275
|
+
],
|
|
276
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
277
|
+
mediaType: "json",
|
|
278
|
+
serializer,
|
|
279
|
+
};
|
|
280
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
281
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}",
|
|
282
|
+
httpMethod: "PATCH",
|
|
283
|
+
responses: {
|
|
284
|
+
200: {
|
|
285
|
+
bodyMapper: Mappers.WebhookResource,
|
|
286
|
+
},
|
|
287
|
+
default: {
|
|
288
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
requestBody: Parameters.properties5,
|
|
292
|
+
queryParameters: [Parameters.apiVersion],
|
|
293
|
+
urlParameters: [
|
|
294
|
+
Parameters.$host,
|
|
295
|
+
Parameters.reportName,
|
|
296
|
+
Parameters.webhookName,
|
|
297
|
+
],
|
|
298
|
+
headerParameters: [Parameters.contentType, Parameters.accept],
|
|
299
|
+
mediaType: "json",
|
|
300
|
+
serializer,
|
|
301
|
+
};
|
|
302
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
303
|
+
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}/webhooks/{webhookName}",
|
|
304
|
+
httpMethod: "DELETE",
|
|
305
|
+
responses: {
|
|
306
|
+
200: {},
|
|
307
|
+
204: {},
|
|
308
|
+
default: {
|
|
309
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
queryParameters: [Parameters.apiVersion],
|
|
313
|
+
urlParameters: [
|
|
314
|
+
Parameters.$host,
|
|
315
|
+
Parameters.reportName,
|
|
316
|
+
Parameters.webhookName,
|
|
317
|
+
],
|
|
318
|
+
headerParameters: [Parameters.accept],
|
|
319
|
+
serializer,
|
|
320
|
+
};
|
|
321
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
322
|
+
path: "{nextLink}",
|
|
323
|
+
httpMethod: "GET",
|
|
324
|
+
responses: {
|
|
325
|
+
200: {
|
|
326
|
+
bodyMapper: Mappers.WebhookResourceListResult,
|
|
327
|
+
},
|
|
328
|
+
default: {
|
|
329
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
urlParameters: [Parameters.$host, Parameters.nextLink, Parameters.reportName],
|
|
333
|
+
headerParameters: [Parameters.accept],
|
|
334
|
+
serializer,
|
|
335
|
+
};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
EvidenceResource,
|
|
12
|
+
EvidenceListByReportOptionalParams,
|
|
13
|
+
EvidenceGetOptionalParams,
|
|
14
|
+
EvidenceGetResponse,
|
|
15
|
+
EvidenceCreateOrUpdateOptionalParams,
|
|
16
|
+
EvidenceCreateOrUpdateResponse,
|
|
17
|
+
EvidenceDeleteOptionalParams,
|
|
18
|
+
EvidenceFileDownloadRequest,
|
|
19
|
+
EvidenceDownloadOptionalParams,
|
|
20
|
+
EvidenceDownloadResponse,
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a Evidence. */
|
|
25
|
+
export interface Evidence {
|
|
26
|
+
/**
|
|
27
|
+
* Returns a paginated list of evidences for a specified report.
|
|
28
|
+
* @param reportName Report Name.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
listByReport(
|
|
32
|
+
reportName: string,
|
|
33
|
+
options?: EvidenceListByReportOptionalParams,
|
|
34
|
+
): PagedAsyncIterableIterator<EvidenceResource>;
|
|
35
|
+
/**
|
|
36
|
+
* Get the evidence metadata
|
|
37
|
+
* @param reportName Report Name.
|
|
38
|
+
* @param evidenceName The evidence name.
|
|
39
|
+
* @param options The options parameters.
|
|
40
|
+
*/
|
|
41
|
+
get(
|
|
42
|
+
reportName: string,
|
|
43
|
+
evidenceName: string,
|
|
44
|
+
options?: EvidenceGetOptionalParams,
|
|
45
|
+
): Promise<EvidenceGetResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Create or Update an evidence a specified report
|
|
48
|
+
* @param reportName Report Name.
|
|
49
|
+
* @param evidenceName The evidence name.
|
|
50
|
+
* @param properties Parameters for the create or update operation
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
createOrUpdate(
|
|
54
|
+
reportName: string,
|
|
55
|
+
evidenceName: string,
|
|
56
|
+
properties: EvidenceResource,
|
|
57
|
+
options?: EvidenceCreateOrUpdateOptionalParams,
|
|
58
|
+
): Promise<EvidenceCreateOrUpdateResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete an existent evidence from a specified report
|
|
61
|
+
* @param reportName Report Name.
|
|
62
|
+
* @param evidenceName The evidence name.
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
delete(
|
|
66
|
+
reportName: string,
|
|
67
|
+
evidenceName: string,
|
|
68
|
+
options?: EvidenceDeleteOptionalParams,
|
|
69
|
+
): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Download evidence file.
|
|
72
|
+
* @param reportName Report Name.
|
|
73
|
+
* @param evidenceName The evidence name.
|
|
74
|
+
* @param body Parameters for the query operation
|
|
75
|
+
* @param options The options parameters.
|
|
76
|
+
*/
|
|
77
|
+
download(
|
|
78
|
+
reportName: string,
|
|
79
|
+
evidenceName: string,
|
|
80
|
+
body: EvidenceFileDownloadRequest,
|
|
81
|
+
options?: EvidenceDownloadOptionalParams,
|
|
82
|
+
): Promise<EvidenceDownloadResponse>;
|
|
83
|
+
}
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
export * from "./providerActions";
|
|
9
10
|
export * from "./operations";
|
|
10
|
-
export * from "./reports";
|
|
11
11
|
export * from "./report";
|
|
12
|
-
export * from "./
|
|
12
|
+
export * from "./evidence";
|
|
13
|
+
export * from "./scopingConfiguration";
|
|
13
14
|
export * from "./snapshot";
|
|
15
|
+
export * from "./webhook";
|
|
@@ -13,10 +13,10 @@ import { Operation, OperationsListOptionalParams } from "../models";
|
|
|
13
13
|
/** Interface representing a Operations. */
|
|
14
14
|
export interface Operations {
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* List the operations for the provider
|
|
17
17
|
* @param options The options parameters.
|
|
18
18
|
*/
|
|
19
19
|
list(
|
|
20
|
-
options?: OperationsListOptionalParams
|
|
20
|
+
options?: OperationsListOptionalParams,
|
|
21
21
|
): PagedAsyncIterableIterator<Operation>;
|
|
22
22
|
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
10
|
+
import {
|
|
11
|
+
CheckNameAvailabilityRequest,
|
|
12
|
+
ProviderActionsCheckNameAvailabilityOptionalParams,
|
|
13
|
+
ProviderActionsCheckNameAvailabilityResponse,
|
|
14
|
+
GetCollectionCountRequest,
|
|
15
|
+
ProviderActionsGetCollectionCountOptionalParams,
|
|
16
|
+
ProviderActionsGetCollectionCountResponse,
|
|
17
|
+
GetOverviewStatusRequest,
|
|
18
|
+
ProviderActionsGetOverviewStatusOptionalParams,
|
|
19
|
+
ProviderActionsGetOverviewStatusResponse,
|
|
20
|
+
ListInUseStorageAccountsRequest,
|
|
21
|
+
ProviderActionsListInUseStorageAccountsOptionalParams,
|
|
22
|
+
ProviderActionsListInUseStorageAccountsResponse,
|
|
23
|
+
OnboardRequest,
|
|
24
|
+
ProviderActionsOnboardOptionalParams,
|
|
25
|
+
ProviderActionsOnboardResponse,
|
|
26
|
+
TriggerEvaluationRequest,
|
|
27
|
+
ProviderActionsTriggerEvaluationOptionalParams,
|
|
28
|
+
ProviderActionsTriggerEvaluationResponse,
|
|
29
|
+
} from "../models";
|
|
30
|
+
|
|
31
|
+
/** Interface representing a ProviderActions. */
|
|
32
|
+
export interface ProviderActions {
|
|
33
|
+
/**
|
|
34
|
+
* Check if the given name is available for a report.
|
|
35
|
+
* @param body The content of the action request
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
checkNameAvailability(
|
|
39
|
+
body: CheckNameAvailabilityRequest,
|
|
40
|
+
options?: ProviderActionsCheckNameAvailabilityOptionalParams,
|
|
41
|
+
): Promise<ProviderActionsCheckNameAvailabilityResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Get the count of reports.
|
|
44
|
+
* @param body The content of the action request
|
|
45
|
+
* @param options The options parameters.
|
|
46
|
+
*/
|
|
47
|
+
getCollectionCount(
|
|
48
|
+
body: GetCollectionCountRequest,
|
|
49
|
+
options?: ProviderActionsGetCollectionCountOptionalParams,
|
|
50
|
+
): Promise<ProviderActionsGetCollectionCountResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Get the resource overview status.
|
|
53
|
+
* @param body The content of the action request
|
|
54
|
+
* @param options The options parameters.
|
|
55
|
+
*/
|
|
56
|
+
getOverviewStatus(
|
|
57
|
+
body: GetOverviewStatusRequest,
|
|
58
|
+
options?: ProviderActionsGetOverviewStatusOptionalParams,
|
|
59
|
+
): Promise<ProviderActionsGetOverviewStatusResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* List the storage accounts which are in use by related reports
|
|
62
|
+
* @param body The content of the action request
|
|
63
|
+
* @param options The options parameters.
|
|
64
|
+
*/
|
|
65
|
+
listInUseStorageAccounts(
|
|
66
|
+
body: ListInUseStorageAccountsRequest,
|
|
67
|
+
options?: ProviderActionsListInUseStorageAccountsOptionalParams,
|
|
68
|
+
): Promise<ProviderActionsListInUseStorageAccountsResponse>;
|
|
69
|
+
/**
|
|
70
|
+
* Onboard given subscriptions to Microsoft.AppComplianceAutomation provider.
|
|
71
|
+
* @param body The content of the action request
|
|
72
|
+
* @param options The options parameters.
|
|
73
|
+
*/
|
|
74
|
+
beginOnboard(
|
|
75
|
+
body: OnboardRequest,
|
|
76
|
+
options?: ProviderActionsOnboardOptionalParams,
|
|
77
|
+
): Promise<
|
|
78
|
+
SimplePollerLike<
|
|
79
|
+
OperationState<ProviderActionsOnboardResponse>,
|
|
80
|
+
ProviderActionsOnboardResponse
|
|
81
|
+
>
|
|
82
|
+
>;
|
|
83
|
+
/**
|
|
84
|
+
* Onboard given subscriptions to Microsoft.AppComplianceAutomation provider.
|
|
85
|
+
* @param body The content of the action request
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
beginOnboardAndWait(
|
|
89
|
+
body: OnboardRequest,
|
|
90
|
+
options?: ProviderActionsOnboardOptionalParams,
|
|
91
|
+
): Promise<ProviderActionsOnboardResponse>;
|
|
92
|
+
/**
|
|
93
|
+
* Trigger quick evaluation for the given subscriptions.
|
|
94
|
+
* @param body The content of the action request
|
|
95
|
+
* @param options The options parameters.
|
|
96
|
+
*/
|
|
97
|
+
beginTriggerEvaluation(
|
|
98
|
+
body: TriggerEvaluationRequest,
|
|
99
|
+
options?: ProviderActionsTriggerEvaluationOptionalParams,
|
|
100
|
+
): Promise<
|
|
101
|
+
SimplePollerLike<
|
|
102
|
+
OperationState<ProviderActionsTriggerEvaluationResponse>,
|
|
103
|
+
ProviderActionsTriggerEvaluationResponse
|
|
104
|
+
>
|
|
105
|
+
>;
|
|
106
|
+
/**
|
|
107
|
+
* Trigger quick evaluation for the given subscriptions.
|
|
108
|
+
* @param body The content of the action request
|
|
109
|
+
* @param options The options parameters.
|
|
110
|
+
*/
|
|
111
|
+
beginTriggerEvaluationAndWait(
|
|
112
|
+
body: TriggerEvaluationRequest,
|
|
113
|
+
options?: ProviderActionsTriggerEvaluationOptionalParams,
|
|
114
|
+
): Promise<ProviderActionsTriggerEvaluationResponse>;
|
|
115
|
+
}
|