@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
|
@@ -1,4 +1,124 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
|
+
/** The check availability request body. */
|
|
3
|
+
export interface CheckNameAvailabilityRequest {
|
|
4
|
+
/** The name of the resource for which availability needs to be checked. */
|
|
5
|
+
name?: string;
|
|
6
|
+
/** The resource type. */
|
|
7
|
+
type?: string;
|
|
8
|
+
}
|
|
9
|
+
/** The check availability result. */
|
|
10
|
+
export interface CheckNameAvailabilityResponse {
|
|
11
|
+
/** Indicates if the resource name is available. */
|
|
12
|
+
nameAvailable?: boolean;
|
|
13
|
+
/** The reason why the given name is not available. */
|
|
14
|
+
reason?: CheckNameAvailabilityReason;
|
|
15
|
+
/** Detailed reason why the given name is available. */
|
|
16
|
+
message?: string;
|
|
17
|
+
}
|
|
18
|
+
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
|
|
19
|
+
export interface ErrorResponse {
|
|
20
|
+
/** The error object. */
|
|
21
|
+
error?: ErrorDetail;
|
|
22
|
+
}
|
|
23
|
+
/** The error detail. */
|
|
24
|
+
export interface ErrorDetail {
|
|
25
|
+
/**
|
|
26
|
+
* The error code.
|
|
27
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
28
|
+
*/
|
|
29
|
+
readonly code?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The error message.
|
|
32
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
33
|
+
*/
|
|
34
|
+
readonly message?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The error target.
|
|
37
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
38
|
+
*/
|
|
39
|
+
readonly target?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The error details.
|
|
42
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
43
|
+
*/
|
|
44
|
+
readonly details?: ErrorDetail[];
|
|
45
|
+
/**
|
|
46
|
+
* The error additional info.
|
|
47
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
48
|
+
*/
|
|
49
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
50
|
+
}
|
|
51
|
+
/** The resource management error additional info. */
|
|
52
|
+
export interface ErrorAdditionalInfo {
|
|
53
|
+
/**
|
|
54
|
+
* The additional info type.
|
|
55
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
56
|
+
*/
|
|
57
|
+
readonly type?: string;
|
|
58
|
+
/**
|
|
59
|
+
* The additional info.
|
|
60
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
61
|
+
*/
|
|
62
|
+
readonly info?: Record<string, unknown>;
|
|
63
|
+
}
|
|
64
|
+
/** Get collection count's request object. */
|
|
65
|
+
export interface GetCollectionCountRequest {
|
|
66
|
+
/** The resource type. */
|
|
67
|
+
type?: string;
|
|
68
|
+
}
|
|
69
|
+
/** The get collection count response. */
|
|
70
|
+
export interface GetCollectionCountResponse {
|
|
71
|
+
/** The count of the specified resource. */
|
|
72
|
+
count?: number;
|
|
73
|
+
}
|
|
74
|
+
/** Get overview status request object. */
|
|
75
|
+
export interface GetOverviewStatusRequest {
|
|
76
|
+
/** The resource type. */
|
|
77
|
+
type?: string;
|
|
78
|
+
}
|
|
79
|
+
/** The get overview status response. */
|
|
80
|
+
export interface GetOverviewStatusResponse {
|
|
81
|
+
/** List of different status items. */
|
|
82
|
+
statusList?: StatusItem[];
|
|
83
|
+
}
|
|
84
|
+
/** Single status. */
|
|
85
|
+
export interface StatusItem {
|
|
86
|
+
/** Status name - e.g. "Active", "Failed". */
|
|
87
|
+
statusName?: string;
|
|
88
|
+
/** Status value. e.g. "100", or "100%". */
|
|
89
|
+
statusValue?: string;
|
|
90
|
+
}
|
|
91
|
+
/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */
|
|
92
|
+
export interface ListInUseStorageAccountsRequest {
|
|
93
|
+
/** List of subscription ids to be query. If the list is null or empty, the API will query all the subscriptions of the user. */
|
|
94
|
+
subscriptionIds?: string[];
|
|
95
|
+
}
|
|
96
|
+
/** Parameters for listing in use storage accounts operation. If subscription list is null, it will check the user's all subscriptions. */
|
|
97
|
+
export interface ListInUseStorageAccountsResponse {
|
|
98
|
+
/** The storage account list which in use in related reports. */
|
|
99
|
+
storageAccountList?: StorageInfo[];
|
|
100
|
+
}
|
|
101
|
+
/** The information of 'bring your own storage' account binding to the report */
|
|
102
|
+
export interface StorageInfo {
|
|
103
|
+
/** The subscription id which 'bring your own storage' account belongs to */
|
|
104
|
+
subscriptionId?: string;
|
|
105
|
+
/** The resourceGroup which 'bring your own storage' account belongs to */
|
|
106
|
+
resourceGroup?: string;
|
|
107
|
+
/** 'bring your own storage' account name */
|
|
108
|
+
accountName?: string;
|
|
109
|
+
/** The region of 'bring your own storage' account */
|
|
110
|
+
location?: string;
|
|
111
|
+
}
|
|
112
|
+
/** Parameters for onboard operation */
|
|
113
|
+
export interface OnboardRequest {
|
|
114
|
+
/** List of subscription ids to be onboarded */
|
|
115
|
+
subscriptionIds: string[];
|
|
116
|
+
}
|
|
117
|
+
/** Success. The response indicates given subscriptions has been onboarded. */
|
|
118
|
+
export interface OnboardResponse {
|
|
119
|
+
/** List of subscription ids that are onboarded */
|
|
120
|
+
subscriptionIds?: string[];
|
|
121
|
+
}
|
|
2
122
|
/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
|
|
3
123
|
export interface OperationListResult {
|
|
4
124
|
/**
|
|
@@ -60,96 +180,41 @@ export interface OperationDisplay {
|
|
|
60
180
|
*/
|
|
61
181
|
readonly description?: string;
|
|
62
182
|
}
|
|
63
|
-
/**
|
|
64
|
-
export interface
|
|
65
|
-
/** The
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/** The error detail. */
|
|
69
|
-
export interface ErrorDetail {
|
|
70
|
-
/**
|
|
71
|
-
* The error code.
|
|
72
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
73
|
-
*/
|
|
74
|
-
readonly code?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The error message.
|
|
77
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
78
|
-
*/
|
|
79
|
-
readonly message?: string;
|
|
80
|
-
/**
|
|
81
|
-
* The error target.
|
|
82
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
83
|
-
*/
|
|
84
|
-
readonly target?: string;
|
|
85
|
-
/**
|
|
86
|
-
* The error details.
|
|
87
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
88
|
-
*/
|
|
89
|
-
readonly details?: ErrorDetail[];
|
|
90
|
-
/**
|
|
91
|
-
* The error additional info.
|
|
92
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
93
|
-
*/
|
|
94
|
-
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
95
|
-
}
|
|
96
|
-
/** The resource management error additional info. */
|
|
97
|
-
export interface ErrorAdditionalInfo {
|
|
98
|
-
/**
|
|
99
|
-
* The additional info type.
|
|
100
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
101
|
-
*/
|
|
102
|
-
readonly type?: string;
|
|
103
|
-
/**
|
|
104
|
-
* The additional info.
|
|
105
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
106
|
-
*/
|
|
107
|
-
readonly info?: Record<string, unknown>;
|
|
108
|
-
}
|
|
109
|
-
/** Object that includes an array of resources and a possible link for next set. */
|
|
110
|
-
export interface ReportResourceList {
|
|
111
|
-
/**
|
|
112
|
-
* List of the reports
|
|
113
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
114
|
-
*/
|
|
115
|
-
readonly value?: ReportResource[];
|
|
116
|
-
/**
|
|
117
|
-
* The URL the client should use to fetch the next page (per server side paging).
|
|
118
|
-
* It's null for now, added for future use.
|
|
119
|
-
*/
|
|
183
|
+
/** The response of a ReportResource list operation. */
|
|
184
|
+
export interface ReportResourceListResult {
|
|
185
|
+
/** The ReportResource items on this page */
|
|
186
|
+
value: ReportResource[];
|
|
187
|
+
/** The link to the next page of items */
|
|
120
188
|
nextLink?: string;
|
|
121
189
|
}
|
|
122
|
-
/** Report's properties. */
|
|
190
|
+
/** Create Report's properties. */
|
|
123
191
|
export interface ReportProperties {
|
|
192
|
+
/** Report collection trigger time. */
|
|
193
|
+
triggerTime: Date;
|
|
124
194
|
/**
|
|
125
|
-
* Report
|
|
126
|
-
*
|
|
195
|
+
* Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.
|
|
196
|
+
* An example of valid timezone id is "Pacific Standard Time".
|
|
127
197
|
*/
|
|
128
|
-
|
|
198
|
+
timeZone: string;
|
|
199
|
+
/** List of resource data. */
|
|
200
|
+
resources: ResourceMetadata[];
|
|
129
201
|
/**
|
|
130
202
|
* Report status.
|
|
131
203
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
132
204
|
*/
|
|
133
205
|
readonly status?: ReportStatus;
|
|
134
206
|
/**
|
|
135
|
-
*
|
|
207
|
+
* List of report error codes.
|
|
136
208
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
137
209
|
*/
|
|
138
|
-
readonly
|
|
210
|
+
readonly errors?: string[];
|
|
139
211
|
/**
|
|
140
|
-
* Report
|
|
212
|
+
* Report's tenant id.
|
|
141
213
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
142
214
|
*/
|
|
143
|
-
readonly
|
|
144
|
-
/**
|
|
215
|
+
readonly tenantId?: string;
|
|
216
|
+
/** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */
|
|
145
217
|
offerGuid?: string;
|
|
146
|
-
/**
|
|
147
|
-
* Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.
|
|
148
|
-
* An example of valid timezone id is "Pacific Standard Time".
|
|
149
|
-
*/
|
|
150
|
-
timeZone: string;
|
|
151
|
-
/** Report collection trigger time. */
|
|
152
|
-
triggerTime: Date;
|
|
153
218
|
/**
|
|
154
219
|
* Report next collection trigger time.
|
|
155
220
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -165,13 +230,18 @@ export interface ReportProperties {
|
|
|
165
230
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
166
231
|
*/
|
|
167
232
|
readonly subscriptions?: string[];
|
|
168
|
-
/** List of resource data. */
|
|
169
|
-
resources: ResourceMetadata[];
|
|
170
233
|
/**
|
|
171
234
|
* Report compliance status.
|
|
172
235
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
173
236
|
*/
|
|
174
237
|
readonly complianceStatus?: ReportComplianceStatus;
|
|
238
|
+
/** The information of 'bring your own storage' binding to the report */
|
|
239
|
+
storageInfo?: StorageInfo;
|
|
240
|
+
/**
|
|
241
|
+
* List of synchronized certification records.
|
|
242
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
243
|
+
*/
|
|
244
|
+
readonly certRecords?: CertSyncRecord[];
|
|
175
245
|
/**
|
|
176
246
|
* Azure lifecycle management
|
|
177
247
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -182,30 +252,68 @@ export interface ReportProperties {
|
|
|
182
252
|
export interface ResourceMetadata {
|
|
183
253
|
/** Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1". */
|
|
184
254
|
resourceId: string;
|
|
185
|
-
/** Resource type. */
|
|
255
|
+
/** Resource type. e.g. "Microsoft.Compute/virtualMachines" */
|
|
186
256
|
resourceType?: string;
|
|
187
257
|
/** Resource kind. */
|
|
188
258
|
resourceKind?: string;
|
|
189
|
-
/** Resource
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
|
|
193
|
-
[propertyName: string]: string;
|
|
194
|
-
};
|
|
259
|
+
/** Resource Origin. */
|
|
260
|
+
resourceOrigin?: ResourceOrigin;
|
|
261
|
+
/** Account Id. For example - the AWS account id. */
|
|
262
|
+
accountId?: string;
|
|
195
263
|
}
|
|
196
264
|
/** A list which includes all the compliance result for one report. */
|
|
197
265
|
export interface ReportComplianceStatus {
|
|
198
|
-
/**
|
|
199
|
-
|
|
266
|
+
/**
|
|
267
|
+
* The Microsoft 365 certification name.
|
|
268
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
269
|
+
*/
|
|
270
|
+
readonly m365?: OverviewStatus;
|
|
200
271
|
}
|
|
201
272
|
/** The overview of the compliance result for one report. */
|
|
202
273
|
export interface OverviewStatus {
|
|
203
|
-
/**
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
274
|
+
/**
|
|
275
|
+
* The count of all passed control.
|
|
276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
277
|
+
*/
|
|
278
|
+
readonly passedCount?: number;
|
|
279
|
+
/**
|
|
280
|
+
* The count of all failed control.
|
|
281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
282
|
+
*/
|
|
283
|
+
readonly failedCount?: number;
|
|
284
|
+
/**
|
|
285
|
+
* The count of all manual control.
|
|
286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
287
|
+
*/
|
|
288
|
+
readonly manualCount?: number;
|
|
289
|
+
/**
|
|
290
|
+
* The count of all not applicable control.
|
|
291
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
292
|
+
*/
|
|
293
|
+
readonly notApplicableCount?: number;
|
|
294
|
+
/**
|
|
295
|
+
* The count of all pending for approval control.
|
|
296
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
297
|
+
*/
|
|
298
|
+
readonly pendingCount?: number;
|
|
299
|
+
}
|
|
300
|
+
/** A class represent the certification record synchronized from app compliance. */
|
|
301
|
+
export interface CertSyncRecord {
|
|
302
|
+
/** The offerGuid which mapping to the reports. */
|
|
303
|
+
offerGuid?: string;
|
|
304
|
+
/** Indicates the status of certification process. */
|
|
305
|
+
certificationStatus?: string;
|
|
306
|
+
/** Indicates the status of compliance process. */
|
|
307
|
+
ingestionStatus?: string;
|
|
308
|
+
/** The control records list to be synchronized. */
|
|
309
|
+
controls?: ControlSyncRecord[];
|
|
310
|
+
}
|
|
311
|
+
/** A class represent the control record synchronized from app compliance. */
|
|
312
|
+
export interface ControlSyncRecord {
|
|
313
|
+
/** The Id of the control. e.g. "Operational_Security_10" */
|
|
314
|
+
controlId?: string;
|
|
315
|
+
/** Control status synchronized from app compliance. */
|
|
316
|
+
controlStatus?: string;
|
|
209
317
|
}
|
|
210
318
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
|
211
319
|
export interface Resource {
|
|
@@ -248,28 +356,201 @@ export interface SystemData {
|
|
|
248
356
|
/** A class represent a AppComplianceAutomation report resource update properties. */
|
|
249
357
|
export interface ReportResourcePatch {
|
|
250
358
|
/** Report property. */
|
|
251
|
-
properties?:
|
|
359
|
+
properties?: ReportPatchProperties;
|
|
252
360
|
}
|
|
253
|
-
/**
|
|
254
|
-
export interface
|
|
361
|
+
/** Patch Report's properties. */
|
|
362
|
+
export interface ReportPatchProperties {
|
|
363
|
+
/** Report collection trigger time. */
|
|
364
|
+
triggerTime?: Date;
|
|
365
|
+
/**
|
|
366
|
+
* Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell.
|
|
367
|
+
* An example of valid timezone id is "Pacific Standard Time".
|
|
368
|
+
*/
|
|
369
|
+
timeZone?: string;
|
|
370
|
+
/** List of resource data. */
|
|
371
|
+
resources?: ResourceMetadata[];
|
|
372
|
+
/**
|
|
373
|
+
* Report status.
|
|
374
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
375
|
+
*/
|
|
376
|
+
readonly status?: ReportStatus;
|
|
377
|
+
/**
|
|
378
|
+
* List of report error codes.
|
|
379
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
380
|
+
*/
|
|
381
|
+
readonly errors?: string[];
|
|
382
|
+
/**
|
|
383
|
+
* Report's tenant id.
|
|
384
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
385
|
+
*/
|
|
386
|
+
readonly tenantId?: string;
|
|
387
|
+
/** A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003". */
|
|
388
|
+
offerGuid?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Report next collection trigger time.
|
|
391
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
392
|
+
*/
|
|
393
|
+
readonly nextTriggerTime?: Date;
|
|
394
|
+
/**
|
|
395
|
+
* Report last collection trigger time.
|
|
396
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
397
|
+
*/
|
|
398
|
+
readonly lastTriggerTime?: Date;
|
|
255
399
|
/**
|
|
256
|
-
* List of
|
|
400
|
+
* List of subscription Ids.
|
|
257
401
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
258
402
|
*/
|
|
259
|
-
readonly
|
|
403
|
+
readonly subscriptions?: string[];
|
|
260
404
|
/**
|
|
261
|
-
*
|
|
262
|
-
* It
|
|
405
|
+
* Report compliance status.
|
|
406
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
263
407
|
*/
|
|
408
|
+
readonly complianceStatus?: ReportComplianceStatus;
|
|
409
|
+
/** The information of 'bring your own storage' binding to the report */
|
|
410
|
+
storageInfo?: StorageInfo;
|
|
411
|
+
/**
|
|
412
|
+
* List of synchronized certification records.
|
|
413
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
414
|
+
*/
|
|
415
|
+
readonly certRecords?: CertSyncRecord[];
|
|
416
|
+
/**
|
|
417
|
+
* Azure lifecycle management
|
|
418
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
419
|
+
*/
|
|
420
|
+
readonly provisioningState?: ProvisioningState;
|
|
421
|
+
}
|
|
422
|
+
/** The response of a EvidenceResource list operation. */
|
|
423
|
+
export interface EvidenceResourceListResult {
|
|
424
|
+
/** The EvidenceResource items on this page */
|
|
425
|
+
value: EvidenceResource[];
|
|
426
|
+
/** The link to the next page of items */
|
|
264
427
|
nextLink?: string;
|
|
265
428
|
}
|
|
266
|
-
/**
|
|
267
|
-
export interface
|
|
429
|
+
/** Evidence's properties. */
|
|
430
|
+
export interface EvidenceProperties {
|
|
431
|
+
/** Evidence type. */
|
|
432
|
+
evidenceType?: EvidenceType;
|
|
433
|
+
/** The path of the file in storage. */
|
|
434
|
+
filePath: string;
|
|
435
|
+
/** Extra data considered as evidence. */
|
|
436
|
+
extraData?: string;
|
|
437
|
+
/** Control id. */
|
|
438
|
+
controlId?: string;
|
|
439
|
+
/** Responsibility id. */
|
|
440
|
+
responsibilityId?: string;
|
|
268
441
|
/**
|
|
269
|
-
*
|
|
442
|
+
* Azure lifecycle management
|
|
270
443
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
271
444
|
*/
|
|
272
|
-
readonly
|
|
445
|
+
readonly provisioningState?: ProvisioningState;
|
|
446
|
+
}
|
|
447
|
+
/** Evidence file's download request. */
|
|
448
|
+
export interface EvidenceFileDownloadRequest {
|
|
449
|
+
/** Tenant id. */
|
|
450
|
+
reportCreatorTenantId?: string;
|
|
451
|
+
/** The offerGuid which mapping to the reports. */
|
|
452
|
+
offerGuid?: string;
|
|
453
|
+
}
|
|
454
|
+
/** Object that includes all the possible response for the evidence file download operation. */
|
|
455
|
+
export interface EvidenceFileDownloadResponse {
|
|
456
|
+
/**
|
|
457
|
+
* The uri of evidence file
|
|
458
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
459
|
+
*/
|
|
460
|
+
readonly evidenceFile?: EvidenceFileDownloadResponseEvidenceFile;
|
|
461
|
+
}
|
|
462
|
+
/** The uri of evidence file */
|
|
463
|
+
export interface EvidenceFileDownloadResponseEvidenceFile {
|
|
464
|
+
/**
|
|
465
|
+
* The url of evidence file
|
|
466
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
467
|
+
*/
|
|
468
|
+
readonly url?: string;
|
|
469
|
+
}
|
|
470
|
+
/** Report fix result. */
|
|
471
|
+
export interface ReportFixResult {
|
|
472
|
+
/**
|
|
473
|
+
* Indicates whether the fix action is Succeeded or Failed.
|
|
474
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
475
|
+
*/
|
|
476
|
+
readonly result?: Result;
|
|
477
|
+
/**
|
|
478
|
+
* If the report fix action failed, to indicate the detailed failed reason.
|
|
479
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
480
|
+
*/
|
|
481
|
+
readonly reason?: string;
|
|
482
|
+
}
|
|
483
|
+
/** Scoping question list. */
|
|
484
|
+
export interface ScopingQuestions {
|
|
485
|
+
/** List of scoping questions. */
|
|
486
|
+
questions?: ScopingQuestion[];
|
|
487
|
+
}
|
|
488
|
+
/** The definition of a scoping question. */
|
|
489
|
+
export interface ScopingQuestion {
|
|
490
|
+
/**
|
|
491
|
+
* Question id.
|
|
492
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
493
|
+
*/
|
|
494
|
+
readonly questionId: string;
|
|
495
|
+
/**
|
|
496
|
+
* Superior question id.
|
|
497
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
498
|
+
*/
|
|
499
|
+
readonly superiorQuestionId?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Input type of the question answer.
|
|
502
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
503
|
+
*/
|
|
504
|
+
readonly inputType: InputType;
|
|
505
|
+
/**
|
|
506
|
+
* Option id list.
|
|
507
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
508
|
+
*/
|
|
509
|
+
readonly optionIds: string[];
|
|
510
|
+
/**
|
|
511
|
+
* The rule of the question.
|
|
512
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
513
|
+
*/
|
|
514
|
+
readonly rules: Rule[];
|
|
515
|
+
/**
|
|
516
|
+
* The answer value to show the sub questions.
|
|
517
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
518
|
+
*/
|
|
519
|
+
readonly showSubQuestionsValue?: string;
|
|
520
|
+
}
|
|
521
|
+
/** The response of a ScopingConfigurationResource list operation. */
|
|
522
|
+
export interface ScopingConfigurationResourceListResult {
|
|
523
|
+
/** The ScopingConfigurationResource items on this page */
|
|
524
|
+
value: ScopingConfigurationResource[];
|
|
525
|
+
/** The link to the next page of items */
|
|
526
|
+
nextLink?: string;
|
|
527
|
+
}
|
|
528
|
+
/** ScopingConfiguration's properties. */
|
|
529
|
+
export interface ScopingConfigurationProperties {
|
|
530
|
+
/** List of scoping question answers. */
|
|
531
|
+
answers?: ScopingAnswer[];
|
|
532
|
+
/**
|
|
533
|
+
* Azure lifecycle management
|
|
534
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
535
|
+
*/
|
|
536
|
+
readonly provisioningState?: ProvisioningState;
|
|
537
|
+
}
|
|
538
|
+
/** Scoping answer. */
|
|
539
|
+
export interface ScopingAnswer {
|
|
540
|
+
/** Question id. */
|
|
541
|
+
questionId: string;
|
|
542
|
+
/** Question answer value list. */
|
|
543
|
+
answers: string[];
|
|
544
|
+
}
|
|
545
|
+
/** The response of a SnapshotResource list operation. */
|
|
546
|
+
export interface SnapshotResourceListResult {
|
|
547
|
+
/** The SnapshotResource items on this page */
|
|
548
|
+
value: SnapshotResource[];
|
|
549
|
+
/** The link to the next page of items */
|
|
550
|
+
nextLink?: string;
|
|
551
|
+
}
|
|
552
|
+
/** Snapshot's properties. */
|
|
553
|
+
export interface SnapshotProperties {
|
|
273
554
|
/**
|
|
274
555
|
* Snapshot name.
|
|
275
556
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -321,11 +602,6 @@ export interface Category {
|
|
|
321
602
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
322
603
|
*/
|
|
323
604
|
readonly categoryName?: string;
|
|
324
|
-
/**
|
|
325
|
-
* The category type
|
|
326
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
327
|
-
*/
|
|
328
|
-
readonly categoryType?: CategoryType;
|
|
329
605
|
/**
|
|
330
606
|
* Category status.
|
|
331
607
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -343,17 +619,12 @@ export interface ControlFamily {
|
|
|
343
619
|
* The name of the control family. e.g. "Malware Protection - Anti-Virus"
|
|
344
620
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
345
621
|
*/
|
|
346
|
-
readonly
|
|
347
|
-
/**
|
|
348
|
-
* The control family type
|
|
349
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
350
|
-
*/
|
|
351
|
-
readonly familyType?: ControlFamilyType;
|
|
622
|
+
readonly controlFamilyName?: string;
|
|
352
623
|
/**
|
|
353
|
-
*
|
|
624
|
+
* The control family status
|
|
354
625
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
355
626
|
*/
|
|
356
|
-
readonly
|
|
627
|
+
readonly controlFamilyStatus?: ControlFamilyStatus;
|
|
357
628
|
/**
|
|
358
629
|
* List of controls.
|
|
359
630
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -363,25 +634,20 @@ export interface ControlFamily {
|
|
|
363
634
|
/** A class represent the control. */
|
|
364
635
|
export interface Control {
|
|
365
636
|
/**
|
|
366
|
-
* The Id of the control. e.g. "
|
|
637
|
+
* The Id of the control. e.g. "Operational_Security_10"
|
|
367
638
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
368
639
|
*/
|
|
369
640
|
readonly controlId?: string;
|
|
370
641
|
/**
|
|
371
|
-
* The
|
|
642
|
+
* The name of the control. e.g. "Unsupported OS and Software."
|
|
372
643
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
373
644
|
*/
|
|
374
|
-
readonly
|
|
645
|
+
readonly controlName?: string;
|
|
375
646
|
/**
|
|
376
647
|
* The full name of the control. e.g. "Validate that unsupported operating systems and software components are not in use."
|
|
377
648
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
378
649
|
*/
|
|
379
650
|
readonly controlFullName?: string;
|
|
380
|
-
/**
|
|
381
|
-
* The control type
|
|
382
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
383
|
-
*/
|
|
384
|
-
readonly controlType?: ControlType;
|
|
385
651
|
/**
|
|
386
652
|
* The control's description
|
|
387
653
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -398,71 +664,145 @@ export interface Control {
|
|
|
398
664
|
*/
|
|
399
665
|
readonly controlStatus?: ControlStatus;
|
|
400
666
|
/**
|
|
401
|
-
* List of
|
|
667
|
+
* List of customer responsibility.
|
|
402
668
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
403
669
|
*/
|
|
404
|
-
readonly
|
|
670
|
+
readonly responsibilities?: Responsibility[];
|
|
405
671
|
}
|
|
406
|
-
/** A class represent the
|
|
407
|
-
export interface
|
|
672
|
+
/** A class represent the customer responsibility. */
|
|
673
|
+
export interface Responsibility {
|
|
408
674
|
/**
|
|
409
|
-
* The
|
|
675
|
+
* The id of the customer responsibility.
|
|
410
676
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
411
677
|
*/
|
|
412
|
-
readonly
|
|
678
|
+
readonly responsibilityId?: string;
|
|
413
679
|
/**
|
|
414
|
-
* The
|
|
680
|
+
* The title of the customer responsibility.
|
|
415
681
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
416
682
|
*/
|
|
417
|
-
readonly
|
|
683
|
+
readonly responsibilityTitle?: string;
|
|
418
684
|
/**
|
|
419
|
-
* The description of the
|
|
685
|
+
* The description of the customer responsibility.
|
|
420
686
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
421
687
|
*/
|
|
422
|
-
readonly
|
|
688
|
+
readonly responsibilityDescription?: string;
|
|
689
|
+
/**
|
|
690
|
+
* The type of customer responsibility.
|
|
691
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
692
|
+
*/
|
|
693
|
+
readonly responsibilityType?: ResponsibilityType;
|
|
694
|
+
/**
|
|
695
|
+
* The severity level of this customer responsibility.
|
|
696
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
697
|
+
*/
|
|
698
|
+
readonly responsibilitySeverity?: ResponsibilitySeverity;
|
|
699
|
+
/**
|
|
700
|
+
* The status of this customer responsibility.
|
|
701
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
702
|
+
*/
|
|
703
|
+
readonly responsibilityStatus?: ResponsibilityStatus;
|
|
704
|
+
/**
|
|
705
|
+
* The supported cloud environment of this customer responsibility.
|
|
706
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
707
|
+
*/
|
|
708
|
+
readonly responsibilityEnvironment?: ResponsibilityEnvironment;
|
|
709
|
+
/** The count of all failed resources. */
|
|
710
|
+
failedResourceCount?: number;
|
|
711
|
+
/** The count of all resources. */
|
|
712
|
+
totalResourceCount?: number;
|
|
423
713
|
/**
|
|
424
|
-
*
|
|
714
|
+
* List of resource.
|
|
425
715
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
426
716
|
*/
|
|
427
|
-
readonly
|
|
717
|
+
readonly resourceList?: ResponsibilityResource[];
|
|
428
718
|
/**
|
|
429
|
-
*
|
|
719
|
+
* List of recommendation.
|
|
430
720
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
431
721
|
*/
|
|
432
|
-
readonly
|
|
722
|
+
readonly recommendationList?: Recommendation[];
|
|
433
723
|
/**
|
|
434
|
-
* The
|
|
724
|
+
* The evidence upload guidance description.
|
|
435
725
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
436
726
|
*/
|
|
437
|
-
readonly
|
|
727
|
+
readonly guidance?: string;
|
|
438
728
|
/**
|
|
439
|
-
*
|
|
729
|
+
* The justification given by the user to clarify the reason.
|
|
440
730
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
441
731
|
*/
|
|
442
|
-
readonly
|
|
732
|
+
readonly justification?: string;
|
|
733
|
+
/** List of evidence file url. */
|
|
734
|
+
evidenceFiles?: string[];
|
|
443
735
|
}
|
|
444
|
-
/** A class represent the
|
|
445
|
-
export interface
|
|
736
|
+
/** A class represent the resource. */
|
|
737
|
+
export interface ResponsibilityResource {
|
|
446
738
|
/**
|
|
447
739
|
* The Id of the resource.
|
|
448
740
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
449
741
|
*/
|
|
450
742
|
readonly resourceId?: string;
|
|
743
|
+
/**
|
|
744
|
+
* Account Id. For example - AWS account Id.
|
|
745
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
746
|
+
*/
|
|
747
|
+
readonly accountId?: string;
|
|
748
|
+
/**
|
|
749
|
+
* The type of the resource. e.g. "Microsoft.SignalRService/SignalR"
|
|
750
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
751
|
+
*/
|
|
752
|
+
readonly resourceType?: string;
|
|
753
|
+
/**
|
|
754
|
+
* Resource origin.
|
|
755
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
756
|
+
*/
|
|
757
|
+
readonly resourceOrigin?: ResourceOrigin;
|
|
451
758
|
/**
|
|
452
759
|
* Resource status.
|
|
453
760
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
454
761
|
*/
|
|
455
762
|
readonly resourceStatus?: ResourceStatus;
|
|
456
763
|
/**
|
|
457
|
-
* The
|
|
764
|
+
* The status change date for the resource.
|
|
458
765
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
459
766
|
*/
|
|
460
|
-
readonly
|
|
767
|
+
readonly resourceStatusChangeDate?: Date;
|
|
768
|
+
/** List of recommendation id. */
|
|
769
|
+
recommendationIds?: string[];
|
|
770
|
+
}
|
|
771
|
+
/** A class represent the recommendation. */
|
|
772
|
+
export interface Recommendation {
|
|
773
|
+
/**
|
|
774
|
+
* The Id of the recommendation.
|
|
775
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
776
|
+
*/
|
|
777
|
+
readonly recommendationId?: string;
|
|
778
|
+
/**
|
|
779
|
+
* The short name of the recommendation. e.g. "Invalid TLS config"
|
|
780
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
781
|
+
*/
|
|
782
|
+
readonly recommendationShortName?: string;
|
|
783
|
+
/**
|
|
784
|
+
* List of recommendation solutions.
|
|
785
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
786
|
+
*/
|
|
787
|
+
readonly recommendationSolutions?: RecommendationSolution[];
|
|
788
|
+
}
|
|
789
|
+
/** A class represent the recommendation solution. */
|
|
790
|
+
export interface RecommendationSolution {
|
|
791
|
+
/**
|
|
792
|
+
* The index of the recommendation solution.
|
|
793
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
794
|
+
*/
|
|
795
|
+
readonly recommendationSolutionIndex?: string;
|
|
796
|
+
/**
|
|
797
|
+
* The detail steps of the recommendation solution.
|
|
798
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
799
|
+
*/
|
|
800
|
+
readonly recommendationSolutionContent?: string;
|
|
461
801
|
/**
|
|
462
|
-
*
|
|
802
|
+
* Indicates whether this solution is the recommended.
|
|
463
803
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
464
804
|
*/
|
|
465
|
-
readonly
|
|
805
|
+
readonly isRecommendSolution?: IsRecommendSolution;
|
|
466
806
|
}
|
|
467
807
|
/** Snapshot's download request. */
|
|
468
808
|
export interface SnapshotDownloadRequest {
|
|
@@ -476,7 +816,7 @@ export interface SnapshotDownloadRequest {
|
|
|
476
816
|
/** Object that includes all the possible response for the download operation. */
|
|
477
817
|
export interface DownloadResponse {
|
|
478
818
|
/**
|
|
479
|
-
*
|
|
819
|
+
* Resource list of the report
|
|
480
820
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
481
821
|
*/
|
|
482
822
|
readonly resourceList?: ResourceItem[];
|
|
@@ -486,12 +826,12 @@ export interface DownloadResponse {
|
|
|
486
826
|
*/
|
|
487
827
|
readonly complianceReport?: ComplianceReportItem[];
|
|
488
828
|
/**
|
|
489
|
-
*
|
|
829
|
+
* Compliance pdf report
|
|
490
830
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
491
831
|
*/
|
|
492
832
|
readonly compliancePdfReport?: DownloadResponseCompliancePdfReport;
|
|
493
833
|
/**
|
|
494
|
-
*
|
|
834
|
+
* The detailed compliance pdf report
|
|
495
835
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
496
836
|
*/
|
|
497
837
|
readonly complianceDetailedPdfReport?: DownloadResponseComplianceDetailedPdfReport;
|
|
@@ -509,7 +849,7 @@ export interface ResourceItem {
|
|
|
509
849
|
*/
|
|
510
850
|
readonly resourceGroup?: string;
|
|
511
851
|
/**
|
|
512
|
-
* The resource type of this resource.
|
|
852
|
+
* The resource type of this resource. e.g. "Microsoft.SignalRService/SignalR"
|
|
513
853
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
514
854
|
*/
|
|
515
855
|
readonly resourceType?: string;
|
|
@@ -526,6 +866,11 @@ export interface ComplianceReportItem {
|
|
|
526
866
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
527
867
|
*/
|
|
528
868
|
readonly categoryName?: string;
|
|
869
|
+
/**
|
|
870
|
+
* The control family name.
|
|
871
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
872
|
+
*/
|
|
873
|
+
readonly controlFamilyName?: string;
|
|
529
874
|
/**
|
|
530
875
|
* The control Id - e.g. "1".
|
|
531
876
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
@@ -537,71 +882,205 @@ export interface ComplianceReportItem {
|
|
|
537
882
|
*/
|
|
538
883
|
readonly controlName?: string;
|
|
539
884
|
/**
|
|
540
|
-
*
|
|
885
|
+
* Control status.
|
|
886
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
887
|
+
*/
|
|
888
|
+
readonly controlStatus?: ControlStatus;
|
|
889
|
+
/**
|
|
890
|
+
* The title of the customer responsibility.
|
|
891
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
892
|
+
*/
|
|
893
|
+
readonly responsibilityTitle?: string;
|
|
894
|
+
/**
|
|
895
|
+
* The description of the customer responsibility.
|
|
896
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
897
|
+
*/
|
|
898
|
+
readonly responsibilityDescription?: string;
|
|
899
|
+
/**
|
|
900
|
+
* The Id of the resource.
|
|
901
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
902
|
+
*/
|
|
903
|
+
readonly resourceId?: string;
|
|
904
|
+
/**
|
|
905
|
+
* The type of the resource. e.g. "Microsoft.SignalRService/SignalR"
|
|
541
906
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
542
907
|
*/
|
|
543
|
-
readonly
|
|
908
|
+
readonly resourceType?: string;
|
|
544
909
|
/**
|
|
545
|
-
*
|
|
910
|
+
* Resource origin.
|
|
546
911
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
547
912
|
*/
|
|
548
|
-
readonly
|
|
913
|
+
readonly resourceOrigin?: ResourceOrigin;
|
|
549
914
|
/**
|
|
550
|
-
*
|
|
915
|
+
* Resource status.
|
|
551
916
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
552
917
|
*/
|
|
553
|
-
readonly
|
|
918
|
+
readonly resourceStatus?: ResourceStatus;
|
|
919
|
+
/**
|
|
920
|
+
* The status change date for the resource.
|
|
921
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
922
|
+
*/
|
|
923
|
+
readonly resourceStatusChangeDate?: Date;
|
|
924
|
+
}
|
|
925
|
+
/** Compliance pdf report */
|
|
926
|
+
export interface DownloadResponseCompliancePdfReport {
|
|
927
|
+
/**
|
|
928
|
+
* The uri of compliance pdf report
|
|
929
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
930
|
+
*/
|
|
931
|
+
readonly sasUri?: string;
|
|
932
|
+
}
|
|
933
|
+
/** The detailed compliance pdf report */
|
|
934
|
+
export interface DownloadResponseComplianceDetailedPdfReport {
|
|
935
|
+
/**
|
|
936
|
+
* The uri of detailed compliance pdf report
|
|
937
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
938
|
+
*/
|
|
939
|
+
readonly sasUri?: string;
|
|
940
|
+
}
|
|
941
|
+
/** Synchronize certification record request. */
|
|
942
|
+
export interface SyncCertRecordRequest {
|
|
943
|
+
/** certification record to be synchronized. */
|
|
944
|
+
certRecord: CertSyncRecord;
|
|
945
|
+
}
|
|
946
|
+
/** Synchronize certification record response. */
|
|
947
|
+
export interface SyncCertRecordResponse {
|
|
948
|
+
/** certification record synchronized. */
|
|
949
|
+
certRecord?: CertSyncRecord;
|
|
950
|
+
}
|
|
951
|
+
/** Report health status verification result. */
|
|
952
|
+
export interface ReportVerificationResult {
|
|
953
|
+
/**
|
|
954
|
+
* Indicates whether the report verification action is Succeeded or Failed.
|
|
955
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
956
|
+
*/
|
|
957
|
+
readonly result?: Result;
|
|
958
|
+
/**
|
|
959
|
+
* If the report verification action failed, to indicate the detailed failed reason.
|
|
960
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
961
|
+
*/
|
|
962
|
+
readonly reason?: string;
|
|
963
|
+
}
|
|
964
|
+
/** The response of a WebhookResource list operation. */
|
|
965
|
+
export interface WebhookResourceListResult {
|
|
966
|
+
/** The WebhookResource items on this page */
|
|
967
|
+
value: WebhookResource[];
|
|
968
|
+
/** The link to the next page of items */
|
|
969
|
+
nextLink?: string;
|
|
970
|
+
}
|
|
971
|
+
/** Webhook properties. */
|
|
972
|
+
export interface WebhookProperties {
|
|
973
|
+
/**
|
|
974
|
+
* Webhook id in database.
|
|
975
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
976
|
+
*/
|
|
977
|
+
readonly webhookId?: string;
|
|
978
|
+
/** Webhook status. */
|
|
979
|
+
status?: WebhookStatus;
|
|
980
|
+
/**
|
|
981
|
+
* Tenant id.
|
|
982
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
983
|
+
*/
|
|
984
|
+
readonly tenantId?: string;
|
|
985
|
+
/** whether to send notification under any event. */
|
|
986
|
+
sendAllEvents?: SendAllEvents;
|
|
987
|
+
/** under which event notification should be sent. */
|
|
988
|
+
events?: NotificationEvent[];
|
|
989
|
+
/** webhook payload url */
|
|
990
|
+
payloadUrl?: string;
|
|
991
|
+
/** content type */
|
|
992
|
+
contentType?: ContentType;
|
|
993
|
+
/** webhook secret token. If not set, this field value is null; otherwise, please set a string value. */
|
|
994
|
+
webhookKey?: string;
|
|
995
|
+
/** whether to update webhookKey. */
|
|
996
|
+
updateWebhookKey?: UpdateWebhookKey;
|
|
997
|
+
/**
|
|
998
|
+
* whether webhookKey is enabled.
|
|
999
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1000
|
+
*/
|
|
1001
|
+
readonly webhookKeyEnabled?: WebhookKeyEnabled;
|
|
1002
|
+
/** whether to enable ssl verification */
|
|
1003
|
+
enableSslVerification?: EnableSslVerification;
|
|
1004
|
+
/**
|
|
1005
|
+
* webhook deliveryStatus
|
|
1006
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1007
|
+
*/
|
|
1008
|
+
readonly deliveryStatus?: DeliveryStatus;
|
|
1009
|
+
/**
|
|
1010
|
+
* Azure Resource Provisioning State
|
|
1011
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly provisioningState?: ProvisioningState;
|
|
1014
|
+
}
|
|
1015
|
+
/** A class represent a AppComplianceAutomation webhook resource update properties. */
|
|
1016
|
+
export interface WebhookResourcePatch {
|
|
1017
|
+
/** Webhook property. */
|
|
1018
|
+
properties?: WebhookProperties;
|
|
1019
|
+
}
|
|
1020
|
+
/** Trigger evaluation request. */
|
|
1021
|
+
export interface TriggerEvaluationRequest {
|
|
1022
|
+
/** List of resource ids to be evaluated */
|
|
1023
|
+
resourceIds: string[];
|
|
1024
|
+
}
|
|
1025
|
+
/** Trigger evaluation response. */
|
|
1026
|
+
export interface TriggerEvaluationResponse {
|
|
1027
|
+
/** trigger evaluation property. */
|
|
1028
|
+
properties?: TriggerEvaluationProperty;
|
|
1029
|
+
}
|
|
1030
|
+
/** Trigger evaluation response. */
|
|
1031
|
+
export interface TriggerEvaluationProperty {
|
|
554
1032
|
/**
|
|
555
|
-
* The
|
|
1033
|
+
* The time when the evaluation is triggered.
|
|
556
1034
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
557
1035
|
*/
|
|
558
|
-
readonly
|
|
1036
|
+
readonly triggerTime?: Date;
|
|
559
1037
|
/**
|
|
560
|
-
* The
|
|
1038
|
+
* The time when the evaluation is end.
|
|
561
1039
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
562
1040
|
*/
|
|
563
|
-
readonly
|
|
1041
|
+
readonly evaluationEndTime?: Date;
|
|
1042
|
+
/** List of resource ids to be evaluated */
|
|
1043
|
+
resourceIds?: string[];
|
|
1044
|
+
/** List of quick assessments */
|
|
1045
|
+
quickAssessments?: QuickAssessment[];
|
|
1046
|
+
}
|
|
1047
|
+
/** A class represent the quick assessment. */
|
|
1048
|
+
export interface QuickAssessment {
|
|
564
1049
|
/**
|
|
565
|
-
*
|
|
1050
|
+
* Resource id.
|
|
566
1051
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
567
1052
|
*/
|
|
568
|
-
readonly
|
|
1053
|
+
readonly resourceId?: string;
|
|
569
1054
|
/**
|
|
570
|
-
*
|
|
1055
|
+
* Responsibility id.
|
|
571
1056
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
572
1057
|
*/
|
|
573
|
-
readonly
|
|
1058
|
+
readonly responsibilityId?: string;
|
|
574
1059
|
/**
|
|
575
|
-
* The
|
|
1060
|
+
* The timestamp of resource creation (UTC).
|
|
576
1061
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
577
1062
|
*/
|
|
578
|
-
readonly
|
|
1063
|
+
readonly timestamp?: Date;
|
|
579
1064
|
/**
|
|
580
|
-
*
|
|
1065
|
+
* Quick assessment status.
|
|
581
1066
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
582
1067
|
*/
|
|
583
|
-
readonly
|
|
1068
|
+
readonly resourceStatus?: ResourceStatus;
|
|
584
1069
|
/**
|
|
585
|
-
*
|
|
1070
|
+
* Quick assessment display name.
|
|
586
1071
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
587
1072
|
*/
|
|
588
|
-
readonly
|
|
589
|
-
}
|
|
590
|
-
/** compliance pdf report */
|
|
591
|
-
export interface DownloadResponseCompliancePdfReport {
|
|
1073
|
+
readonly displayName?: string;
|
|
592
1074
|
/**
|
|
593
|
-
*
|
|
1075
|
+
* Quick assessment display name.
|
|
594
1076
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
595
1077
|
*/
|
|
596
|
-
readonly
|
|
597
|
-
}
|
|
598
|
-
/** compliance detailed pdf report */
|
|
599
|
-
export interface DownloadResponseComplianceDetailedPdfReport {
|
|
1078
|
+
readonly description?: string;
|
|
600
1079
|
/**
|
|
601
|
-
*
|
|
1080
|
+
* Link to remediation steps for this quick assessment.
|
|
602
1081
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
603
1082
|
*/
|
|
604
|
-
readonly
|
|
1083
|
+
readonly remediationLink?: string;
|
|
605
1084
|
}
|
|
606
1085
|
/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */
|
|
607
1086
|
export interface ProxyResource extends Resource {
|
|
@@ -611,14 +1090,103 @@ export interface ReportResource extends ProxyResource {
|
|
|
611
1090
|
/** Report property. */
|
|
612
1091
|
properties: ReportProperties;
|
|
613
1092
|
}
|
|
1093
|
+
/** A class represent an AppComplianceAutomation evidence resource. */
|
|
1094
|
+
export interface EvidenceResource extends ProxyResource {
|
|
1095
|
+
/** Evidence property. */
|
|
1096
|
+
properties: EvidenceProperties;
|
|
1097
|
+
}
|
|
1098
|
+
/** A class represent an AppComplianceAutomation scoping configuration resource. */
|
|
1099
|
+
export interface ScopingConfigurationResource extends ProxyResource {
|
|
1100
|
+
/** ScopingConfiguration property. */
|
|
1101
|
+
properties: ScopingConfigurationProperties;
|
|
1102
|
+
}
|
|
614
1103
|
/** A class represent a AppComplianceAutomation snapshot resource. */
|
|
615
1104
|
export interface SnapshotResource extends ProxyResource {
|
|
616
|
-
/**
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
1105
|
+
/** Snapshot's property. */
|
|
1106
|
+
properties?: SnapshotProperties;
|
|
1107
|
+
}
|
|
1108
|
+
/** A class represent an AppComplianceAutomation webhook resource. */
|
|
1109
|
+
export interface WebhookResource extends ProxyResource {
|
|
1110
|
+
/** Webhook property. */
|
|
1111
|
+
properties: WebhookProperties;
|
|
1112
|
+
}
|
|
1113
|
+
/** Defines headers for ProviderActions_onboard operation. */
|
|
1114
|
+
export interface ProviderActionsOnboardHeaders {
|
|
1115
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1116
|
+
location?: string;
|
|
1117
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1118
|
+
retryAfter?: number;
|
|
1119
|
+
}
|
|
1120
|
+
/** Defines headers for ProviderActions_triggerEvaluation operation. */
|
|
1121
|
+
export interface ProviderActionsTriggerEvaluationHeaders {
|
|
1122
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1123
|
+
location?: string;
|
|
1124
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1125
|
+
retryAfter?: number;
|
|
1126
|
+
}
|
|
1127
|
+
/** Defines headers for Report_createOrUpdate operation. */
|
|
1128
|
+
export interface ReportCreateOrUpdateHeaders {
|
|
1129
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1130
|
+
retryAfter?: number;
|
|
621
1131
|
}
|
|
1132
|
+
/** Defines headers for Report_update operation. */
|
|
1133
|
+
export interface ReportUpdateHeaders {
|
|
1134
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1135
|
+
location?: string;
|
|
1136
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1137
|
+
retryAfter?: number;
|
|
1138
|
+
}
|
|
1139
|
+
/** Defines headers for Report_delete operation. */
|
|
1140
|
+
export interface ReportDeleteHeaders {
|
|
1141
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1142
|
+
location?: string;
|
|
1143
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1144
|
+
retryAfter?: number;
|
|
1145
|
+
}
|
|
1146
|
+
/** Defines headers for Report_fix operation. */
|
|
1147
|
+
export interface ReportFixHeaders {
|
|
1148
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1149
|
+
location?: string;
|
|
1150
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1151
|
+
retryAfter?: number;
|
|
1152
|
+
}
|
|
1153
|
+
/** Defines headers for Report_syncCertRecord operation. */
|
|
1154
|
+
export interface ReportSyncCertRecordHeaders {
|
|
1155
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1156
|
+
location?: string;
|
|
1157
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1158
|
+
retryAfter?: number;
|
|
1159
|
+
}
|
|
1160
|
+
/** Defines headers for Report_verify operation. */
|
|
1161
|
+
export interface ReportVerifyHeaders {
|
|
1162
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1163
|
+
location?: string;
|
|
1164
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1165
|
+
retryAfter?: number;
|
|
1166
|
+
}
|
|
1167
|
+
/** Defines headers for Snapshot_download operation. */
|
|
1168
|
+
export interface SnapshotDownloadHeaders {
|
|
1169
|
+
/** The Location header contains the URL where the status of the long running operation can be checked. */
|
|
1170
|
+
location?: string;
|
|
1171
|
+
/** The Retry-After header can indicate how long the client should wait before polling the operation status. */
|
|
1172
|
+
retryAfter?: number;
|
|
1173
|
+
}
|
|
1174
|
+
/** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */
|
|
1175
|
+
export declare enum KnownCheckNameAvailabilityReason {
|
|
1176
|
+
/** Invalid */
|
|
1177
|
+
Invalid = "Invalid",
|
|
1178
|
+
/** AlreadyExists */
|
|
1179
|
+
AlreadyExists = "AlreadyExists"
|
|
1180
|
+
}
|
|
1181
|
+
/**
|
|
1182
|
+
* Defines values for CheckNameAvailabilityReason. \
|
|
1183
|
+
* {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason,
|
|
1184
|
+
* this enum contains the known values that the service supports.
|
|
1185
|
+
* ### Known values supported by the service
|
|
1186
|
+
* **Invalid** \
|
|
1187
|
+
* **AlreadyExists**
|
|
1188
|
+
*/
|
|
1189
|
+
export type CheckNameAvailabilityReason = string;
|
|
622
1190
|
/** Known values of {@link Origin} that the service accepts. */
|
|
623
1191
|
export declare enum KnownOrigin {
|
|
624
1192
|
/** User */
|
|
@@ -651,13 +1219,34 @@ export declare enum KnownActionType {
|
|
|
651
1219
|
* **Internal**
|
|
652
1220
|
*/
|
|
653
1221
|
export type ActionType = string;
|
|
1222
|
+
/** Known values of {@link ResourceOrigin} that the service accepts. */
|
|
1223
|
+
export declare enum KnownResourceOrigin {
|
|
1224
|
+
/** The resource is from Azure. */
|
|
1225
|
+
Azure = "Azure",
|
|
1226
|
+
/** The resource is from AWS. */
|
|
1227
|
+
AWS = "AWS",
|
|
1228
|
+
/** The resource is from GCP. */
|
|
1229
|
+
GCP = "GCP"
|
|
1230
|
+
}
|
|
1231
|
+
/**
|
|
1232
|
+
* Defines values for ResourceOrigin. \
|
|
1233
|
+
* {@link KnownResourceOrigin} can be used interchangeably with ResourceOrigin,
|
|
1234
|
+
* this enum contains the known values that the service supports.
|
|
1235
|
+
* ### Known values supported by the service
|
|
1236
|
+
* **Azure**: The resource is from Azure. \
|
|
1237
|
+
* **AWS**: The resource is from AWS. \
|
|
1238
|
+
* **GCP**: The resource is from GCP.
|
|
1239
|
+
*/
|
|
1240
|
+
export type ResourceOrigin = string;
|
|
654
1241
|
/** Known values of {@link ReportStatus} that the service accepts. */
|
|
655
1242
|
export declare enum KnownReportStatus {
|
|
656
|
-
/**
|
|
1243
|
+
/** The report is active. */
|
|
657
1244
|
Active = "Active",
|
|
658
|
-
/**
|
|
1245
|
+
/** The report is failed. */
|
|
659
1246
|
Failed = "Failed",
|
|
660
|
-
/**
|
|
1247
|
+
/** The report is under reviewing. */
|
|
1248
|
+
Reviewing = "Reviewing",
|
|
1249
|
+
/** The report is disabled. */
|
|
661
1250
|
Disabled = "Disabled"
|
|
662
1251
|
}
|
|
663
1252
|
/**
|
|
@@ -665,24 +1254,29 @@ export declare enum KnownReportStatus {
|
|
|
665
1254
|
* {@link KnownReportStatus} can be used interchangeably with ReportStatus,
|
|
666
1255
|
* this enum contains the known values that the service supports.
|
|
667
1256
|
* ### Known values supported by the service
|
|
668
|
-
* **Active
|
|
669
|
-
* **Failed
|
|
670
|
-
* **
|
|
1257
|
+
* **Active**: The report is active. \
|
|
1258
|
+
* **Failed**: The report is failed. \
|
|
1259
|
+
* **Reviewing**: The report is under reviewing. \
|
|
1260
|
+
* **Disabled**: The report is disabled.
|
|
671
1261
|
*/
|
|
672
1262
|
export type ReportStatus = string;
|
|
673
1263
|
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
674
1264
|
export declare enum KnownProvisioningState {
|
|
675
|
-
/**
|
|
1265
|
+
/** The provision is succeeded. */
|
|
676
1266
|
Succeeded = "Succeeded",
|
|
677
|
-
/**
|
|
1267
|
+
/** The provision is failed. */
|
|
678
1268
|
Failed = "Failed",
|
|
679
|
-
/**
|
|
1269
|
+
/** The provision is canceled. */
|
|
680
1270
|
Canceled = "Canceled",
|
|
681
|
-
/**
|
|
1271
|
+
/** The creation is in progress. */
|
|
682
1272
|
Creating = "Creating",
|
|
683
|
-
/**
|
|
1273
|
+
/** The deletion is in progress. */
|
|
684
1274
|
Deleting = "Deleting",
|
|
685
|
-
/**
|
|
1275
|
+
/** The fix of the resource in progress. */
|
|
1276
|
+
Fixing = "Fixing",
|
|
1277
|
+
/** The verification of the resource in progress. */
|
|
1278
|
+
Verifying = "Verifying",
|
|
1279
|
+
/** The update of the resource in progress. */
|
|
686
1280
|
Updating = "Updating"
|
|
687
1281
|
}
|
|
688
1282
|
/**
|
|
@@ -690,12 +1284,14 @@ export declare enum KnownProvisioningState {
|
|
|
690
1284
|
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
691
1285
|
* this enum contains the known values that the service supports.
|
|
692
1286
|
* ### Known values supported by the service
|
|
693
|
-
* **Succeeded
|
|
694
|
-
* **Failed
|
|
695
|
-
* **Canceled
|
|
696
|
-
* **Creating
|
|
697
|
-
* **Deleting
|
|
698
|
-
* **
|
|
1287
|
+
* **Succeeded**: The provision is succeeded. \
|
|
1288
|
+
* **Failed**: The provision is failed. \
|
|
1289
|
+
* **Canceled**: The provision is canceled. \
|
|
1290
|
+
* **Creating**: The creation is in progress. \
|
|
1291
|
+
* **Deleting**: The deletion is in progress. \
|
|
1292
|
+
* **Fixing**: The fix of the resource in progress. \
|
|
1293
|
+
* **Verifying**: The verification of the resource in progress. \
|
|
1294
|
+
* **Updating**: The update of the resource in progress.
|
|
699
1295
|
*/
|
|
700
1296
|
export type ProvisioningState = string;
|
|
701
1297
|
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
@@ -720,177 +1316,346 @@ export declare enum KnownCreatedByType {
|
|
|
720
1316
|
* **Key**
|
|
721
1317
|
*/
|
|
722
1318
|
export type CreatedByType = string;
|
|
723
|
-
/** Known values of {@link
|
|
724
|
-
export declare enum
|
|
725
|
-
/**
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
|
|
1319
|
+
/** Known values of {@link EvidenceType} that the service accepts. */
|
|
1320
|
+
export declare enum KnownEvidenceType {
|
|
1321
|
+
/** The evidence is a file. */
|
|
1322
|
+
File = "File",
|
|
1323
|
+
/** The evidence auto collected by App Compliance Automation. */
|
|
1324
|
+
AutoCollectedEvidence = "AutoCollectedEvidence",
|
|
1325
|
+
/** The evidence is data. */
|
|
1326
|
+
Data = "Data"
|
|
731
1327
|
}
|
|
732
1328
|
/**
|
|
733
|
-
* Defines values for
|
|
734
|
-
* {@link
|
|
1329
|
+
* Defines values for EvidenceType. \
|
|
1330
|
+
* {@link KnownEvidenceType} can be used interchangeably with EvidenceType,
|
|
735
1331
|
* this enum contains the known values that the service supports.
|
|
736
1332
|
* ### Known values supported by the service
|
|
737
|
-
* **
|
|
738
|
-
* **
|
|
739
|
-
* **
|
|
1333
|
+
* **File**: The evidence is a file. \
|
|
1334
|
+
* **AutoCollectedEvidence**: The evidence auto collected by App Compliance Automation. \
|
|
1335
|
+
* **Data**: The evidence is data.
|
|
740
1336
|
*/
|
|
741
|
-
export type
|
|
742
|
-
/** Known values of {@link
|
|
743
|
-
export declare enum
|
|
744
|
-
/**
|
|
745
|
-
|
|
746
|
-
/**
|
|
747
|
-
|
|
1337
|
+
export type EvidenceType = string;
|
|
1338
|
+
/** Known values of {@link Result} that the service accepts. */
|
|
1339
|
+
export declare enum KnownResult {
|
|
1340
|
+
/** The result is succeeded. */
|
|
1341
|
+
Succeeded = "Succeeded",
|
|
1342
|
+
/** The result is failed. */
|
|
1343
|
+
Failed = "Failed"
|
|
748
1344
|
}
|
|
749
1345
|
/**
|
|
750
|
-
* Defines values for
|
|
751
|
-
* {@link
|
|
1346
|
+
* Defines values for Result. \
|
|
1347
|
+
* {@link KnownResult} can be used interchangeably with Result,
|
|
752
1348
|
* this enum contains the known values that the service supports.
|
|
753
1349
|
* ### Known values supported by the service
|
|
754
|
-
* **
|
|
755
|
-
* **
|
|
1350
|
+
* **Succeeded**: The result is succeeded. \
|
|
1351
|
+
* **Failed**: The result is failed.
|
|
756
1352
|
*/
|
|
757
|
-
export type
|
|
758
|
-
/** Known values of {@link
|
|
759
|
-
export declare enum
|
|
760
|
-
/**
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
|
|
764
|
-
/**
|
|
765
|
-
|
|
1353
|
+
export type Result = string;
|
|
1354
|
+
/** Known values of {@link InputType} that the service accepts. */
|
|
1355
|
+
export declare enum KnownInputType {
|
|
1356
|
+
/** The input type is a text box. */
|
|
1357
|
+
None = "None",
|
|
1358
|
+
/** The input content is text string. */
|
|
1359
|
+
Text = "Text",
|
|
1360
|
+
/** The input content should be an email address. */
|
|
1361
|
+
Email = "Email",
|
|
1362
|
+
/** The input content should be multiline text. */
|
|
1363
|
+
MultilineText = "MultilineText",
|
|
1364
|
+
/** The input content should be a URL. */
|
|
1365
|
+
Url = "Url",
|
|
1366
|
+
/** The input content should be a number. */
|
|
1367
|
+
Number = "Number",
|
|
1368
|
+
/** The input content should be a boolean. */
|
|
1369
|
+
Boolean = "Boolean",
|
|
1370
|
+
/** The input content should be a telephone number. */
|
|
1371
|
+
Telephone = "Telephone",
|
|
1372
|
+
/** The input content should be Yes, No or Na. */
|
|
1373
|
+
YesNoNa = "YesNoNa",
|
|
1374
|
+
/** The input content should be a date. */
|
|
1375
|
+
Date = "Date",
|
|
1376
|
+
/** The input content is a Year, pick from the dropdown list. */
|
|
1377
|
+
YearPicker = "YearPicker",
|
|
1378
|
+
/** The input content is a single result seleted from the options. */
|
|
1379
|
+
SingleSelection = "SingleSelection",
|
|
1380
|
+
/** The input content is a single result seleted from the dropdown options. */
|
|
1381
|
+
SingleSelectDropdown = "SingleSelectDropdown",
|
|
1382
|
+
/** The input content are multiple results seleted from the checkboxes. */
|
|
1383
|
+
MultiSelectCheckbox = "MultiSelectCheckbox",
|
|
1384
|
+
/** The input content are multiple results seleted from the dropdown options. */
|
|
1385
|
+
MultiSelectDropdown = "MultiSelectDropdown",
|
|
1386
|
+
/** The input content are result seleted from the custom dropdown options. */
|
|
1387
|
+
MultiSelectDropdownCustom = "MultiSelectDropdownCustom",
|
|
1388
|
+
/** The input content is a group of answers. */
|
|
1389
|
+
Group = "Group",
|
|
1390
|
+
/** The input content is a uploaded file. */
|
|
1391
|
+
Upload = "Upload"
|
|
766
1392
|
}
|
|
767
1393
|
/**
|
|
768
|
-
* Defines values for
|
|
769
|
-
* {@link
|
|
1394
|
+
* Defines values for InputType. \
|
|
1395
|
+
* {@link KnownInputType} can be used interchangeably with InputType,
|
|
770
1396
|
* this enum contains the known values that the service supports.
|
|
771
1397
|
* ### Known values supported by the service
|
|
772
|
-
* **
|
|
773
|
-
* **
|
|
774
|
-
* **
|
|
1398
|
+
* **None**: The input type is a text box. \
|
|
1399
|
+
* **Text**: The input content is text string. \
|
|
1400
|
+
* **Email**: The input content should be an email address. \
|
|
1401
|
+
* **MultilineText**: The input content should be multiline text. \
|
|
1402
|
+
* **Url**: The input content should be a URL. \
|
|
1403
|
+
* **Number**: The input content should be a number. \
|
|
1404
|
+
* **Boolean**: The input content should be a boolean. \
|
|
1405
|
+
* **Telephone**: The input content should be a telephone number. \
|
|
1406
|
+
* **YesNoNa**: The input content should be Yes, No or Na. \
|
|
1407
|
+
* **Date**: The input content should be a date. \
|
|
1408
|
+
* **YearPicker**: The input content is a Year, pick from the dropdown list. \
|
|
1409
|
+
* **SingleSelection**: The input content is a single result seleted from the options. \
|
|
1410
|
+
* **SingleSelectDropdown**: The input content is a single result seleted from the dropdown options. \
|
|
1411
|
+
* **MultiSelectCheckbox**: The input content are multiple results seleted from the checkboxes. \
|
|
1412
|
+
* **MultiSelectDropdown**: The input content are multiple results seleted from the dropdown options. \
|
|
1413
|
+
* **MultiSelectDropdownCustom**: The input content are result seleted from the custom dropdown options. \
|
|
1414
|
+
* **Group**: The input content is a group of answers. \
|
|
1415
|
+
* **Upload**: The input content is a uploaded file.
|
|
775
1416
|
*/
|
|
776
|
-
export type
|
|
777
|
-
/** Known values of {@link
|
|
778
|
-
export declare enum
|
|
779
|
-
/**
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
|
|
1417
|
+
export type InputType = string;
|
|
1418
|
+
/** Known values of {@link Rule} that the service accepts. */
|
|
1419
|
+
export declare enum KnownRule {
|
|
1420
|
+
/** The question is required to answer. */
|
|
1421
|
+
Required = "Required",
|
|
1422
|
+
/** The question answer length is limited. */
|
|
1423
|
+
CharLength = "CharLength",
|
|
1424
|
+
/** The question answer should be an Url. */
|
|
1425
|
+
Url = "Url",
|
|
1426
|
+
/** The question answer should be Urls. */
|
|
1427
|
+
Urls = "Urls",
|
|
1428
|
+
/** The question answer should be domains. */
|
|
1429
|
+
Domains = "Domains",
|
|
1430
|
+
/** The question answer should be a UsPrivacyShield. */
|
|
1431
|
+
USPrivacyShield = "USPrivacyShield",
|
|
1432
|
+
/** The question answer should be a PublicSOX. */
|
|
1433
|
+
PublicSOX = "PublicSOX",
|
|
1434
|
+
/** The question answer should be a CreditCardPCI. */
|
|
1435
|
+
CreditCardPCI = "CreditCardPCI",
|
|
1436
|
+
/** The question answer should be an AzureApplication. */
|
|
1437
|
+
AzureApplication = "AzureApplication",
|
|
1438
|
+
/** The question answer should be a valid guid. */
|
|
1439
|
+
ValidGuid = "ValidGuid",
|
|
1440
|
+
/** The question answer should be publisher verification. */
|
|
1441
|
+
PublisherVerification = "PublisherVerification",
|
|
1442
|
+
/** The question answer should be dynamic dropdown. */
|
|
1443
|
+
DynamicDropdown = "DynamicDropdown",
|
|
1444
|
+
/** The question answer should prevent non-english char. */
|
|
1445
|
+
PreventNonEnglishChar = "PreventNonEnglishChar",
|
|
1446
|
+
/** The question answer should be a valid email. */
|
|
1447
|
+
ValidEmail = "ValidEmail"
|
|
783
1448
|
}
|
|
784
1449
|
/**
|
|
785
|
-
* Defines values for
|
|
786
|
-
* {@link
|
|
1450
|
+
* Defines values for Rule. \
|
|
1451
|
+
* {@link KnownRule} can be used interchangeably with Rule,
|
|
787
1452
|
* this enum contains the known values that the service supports.
|
|
788
1453
|
* ### Known values supported by the service
|
|
789
|
-
* **
|
|
790
|
-
* **
|
|
1454
|
+
* **Required**: The question is required to answer. \
|
|
1455
|
+
* **CharLength**: The question answer length is limited. \
|
|
1456
|
+
* **Url**: The question answer should be an Url. \
|
|
1457
|
+
* **Urls**: The question answer should be Urls. \
|
|
1458
|
+
* **Domains**: The question answer should be domains. \
|
|
1459
|
+
* **USPrivacyShield**: The question answer should be a UsPrivacyShield. \
|
|
1460
|
+
* **PublicSOX**: The question answer should be a PublicSOX. \
|
|
1461
|
+
* **CreditCardPCI**: The question answer should be a CreditCardPCI. \
|
|
1462
|
+
* **AzureApplication**: The question answer should be an AzureApplication. \
|
|
1463
|
+
* **ValidGuid**: The question answer should be a valid guid. \
|
|
1464
|
+
* **PublisherVerification**: The question answer should be publisher verification. \
|
|
1465
|
+
* **DynamicDropdown**: The question answer should be dynamic dropdown. \
|
|
1466
|
+
* **PreventNonEnglishChar**: The question answer should prevent non-english char. \
|
|
1467
|
+
* **ValidEmail**: The question answer should be a valid email.
|
|
791
1468
|
*/
|
|
792
|
-
export type
|
|
793
|
-
/** Known values of {@link
|
|
794
|
-
export declare enum
|
|
795
|
-
/**
|
|
796
|
-
|
|
797
|
-
/**
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
|
|
1469
|
+
export type Rule = string;
|
|
1470
|
+
/** Known values of {@link CategoryStatus} that the service accepts. */
|
|
1471
|
+
export declare enum KnownCategoryStatus {
|
|
1472
|
+
/** The category is passed. */
|
|
1473
|
+
Passed = "Passed",
|
|
1474
|
+
/** The category is failed. */
|
|
1475
|
+
Failed = "Failed",
|
|
1476
|
+
/** The category is not applicable. */
|
|
1477
|
+
NotApplicable = "NotApplicable",
|
|
1478
|
+
/** The category is pending for approval. */
|
|
1479
|
+
PendingApproval = "PendingApproval"
|
|
1480
|
+
}
|
|
1481
|
+
/**
|
|
1482
|
+
* Defines values for CategoryStatus. \
|
|
1483
|
+
* {@link KnownCategoryStatus} can be used interchangeably with CategoryStatus,
|
|
1484
|
+
* this enum contains the known values that the service supports.
|
|
1485
|
+
* ### Known values supported by the service
|
|
1486
|
+
* **Passed**: The category is passed. \
|
|
1487
|
+
* **Failed**: The category is failed. \
|
|
1488
|
+
* **NotApplicable**: The category is not applicable. \
|
|
1489
|
+
* **PendingApproval**: The category is pending for approval.
|
|
1490
|
+
*/
|
|
1491
|
+
export type CategoryStatus = string;
|
|
1492
|
+
/** Known values of {@link ControlFamilyStatus} that the service accepts. */
|
|
1493
|
+
export declare enum KnownControlFamilyStatus {
|
|
1494
|
+
/** The control family is passed. */
|
|
1495
|
+
Passed = "Passed",
|
|
1496
|
+
/** The control family is failed. */
|
|
1497
|
+
Failed = "Failed",
|
|
1498
|
+
/** The control family is not applicable. */
|
|
1499
|
+
NotApplicable = "NotApplicable",
|
|
1500
|
+
/** The control family is pending for approval. */
|
|
1501
|
+
PendingApproval = "PendingApproval"
|
|
801
1502
|
}
|
|
802
1503
|
/**
|
|
803
|
-
* Defines values for
|
|
804
|
-
* {@link
|
|
1504
|
+
* Defines values for ControlFamilyStatus. \
|
|
1505
|
+
* {@link KnownControlFamilyStatus} can be used interchangeably with ControlFamilyStatus,
|
|
805
1506
|
* this enum contains the known values that the service supports.
|
|
806
1507
|
* ### Known values supported by the service
|
|
807
|
-
* **
|
|
808
|
-
* **
|
|
809
|
-
* **
|
|
1508
|
+
* **Passed**: The control family is passed. \
|
|
1509
|
+
* **Failed**: The control family is failed. \
|
|
1510
|
+
* **NotApplicable**: The control family is not applicable. \
|
|
1511
|
+
* **PendingApproval**: The control family is pending for approval.
|
|
810
1512
|
*/
|
|
811
|
-
export type
|
|
1513
|
+
export type ControlFamilyStatus = string;
|
|
812
1514
|
/** Known values of {@link ControlStatus} that the service accepts. */
|
|
813
1515
|
export declare enum KnownControlStatus {
|
|
814
|
-
/**
|
|
1516
|
+
/** The control is passed. */
|
|
815
1517
|
Passed = "Passed",
|
|
816
|
-
/**
|
|
1518
|
+
/** The control is failed. */
|
|
817
1519
|
Failed = "Failed",
|
|
818
|
-
/**
|
|
819
|
-
NotApplicable = "NotApplicable"
|
|
1520
|
+
/** The control is not applicable. */
|
|
1521
|
+
NotApplicable = "NotApplicable",
|
|
1522
|
+
/** The control is pending for approval. */
|
|
1523
|
+
PendingApproval = "PendingApproval"
|
|
820
1524
|
}
|
|
821
1525
|
/**
|
|
822
1526
|
* Defines values for ControlStatus. \
|
|
823
1527
|
* {@link KnownControlStatus} can be used interchangeably with ControlStatus,
|
|
824
1528
|
* this enum contains the known values that the service supports.
|
|
825
1529
|
* ### Known values supported by the service
|
|
826
|
-
* **Passed
|
|
827
|
-
* **Failed
|
|
828
|
-
* **NotApplicable
|
|
1530
|
+
* **Passed**: The control is passed. \
|
|
1531
|
+
* **Failed**: The control is failed. \
|
|
1532
|
+
* **NotApplicable**: The control is not applicable. \
|
|
1533
|
+
* **PendingApproval**: The control is pending for approval.
|
|
829
1534
|
*/
|
|
830
1535
|
export type ControlStatus = string;
|
|
831
|
-
/** Known values of {@link
|
|
832
|
-
export declare enum
|
|
833
|
-
/**
|
|
1536
|
+
/** Known values of {@link ResponsibilityType} that the service accepts. */
|
|
1537
|
+
export declare enum KnownResponsibilityType {
|
|
1538
|
+
/** The responsibility is automated. */
|
|
1539
|
+
Automated = "Automated",
|
|
1540
|
+
/** The responsibility is scoped manual. */
|
|
1541
|
+
ScopedManual = "ScopedManual",
|
|
1542
|
+
/** The responsibility is manual. */
|
|
1543
|
+
Manual = "Manual"
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Defines values for ResponsibilityType. \
|
|
1547
|
+
* {@link KnownResponsibilityType} can be used interchangeably with ResponsibilityType,
|
|
1548
|
+
* this enum contains the known values that the service supports.
|
|
1549
|
+
* ### Known values supported by the service
|
|
1550
|
+
* **Automated**: The responsibility is automated. \
|
|
1551
|
+
* **ScopedManual**: The responsibility is scoped manual. \
|
|
1552
|
+
* **Manual**: The responsibility is manual.
|
|
1553
|
+
*/
|
|
1554
|
+
export type ResponsibilityType = string;
|
|
1555
|
+
/** Known values of {@link ResponsibilitySeverity} that the service accepts. */
|
|
1556
|
+
export declare enum KnownResponsibilitySeverity {
|
|
1557
|
+
/** The responsibility is high severity. */
|
|
834
1558
|
High = "High",
|
|
835
|
-
/**
|
|
1559
|
+
/** The responsibility is medium severity. */
|
|
836
1560
|
Medium = "Medium",
|
|
837
|
-
/**
|
|
1561
|
+
/** The responsibility is low severity. */
|
|
838
1562
|
Low = "Low"
|
|
839
1563
|
}
|
|
840
1564
|
/**
|
|
841
|
-
* Defines values for
|
|
842
|
-
* {@link
|
|
1565
|
+
* Defines values for ResponsibilitySeverity. \
|
|
1566
|
+
* {@link KnownResponsibilitySeverity} can be used interchangeably with ResponsibilitySeverity,
|
|
1567
|
+
* this enum contains the known values that the service supports.
|
|
1568
|
+
* ### Known values supported by the service
|
|
1569
|
+
* **High**: The responsibility is high severity. \
|
|
1570
|
+
* **Medium**: The responsibility is medium severity. \
|
|
1571
|
+
* **Low**: The responsibility is low severity.
|
|
1572
|
+
*/
|
|
1573
|
+
export type ResponsibilitySeverity = string;
|
|
1574
|
+
/** Known values of {@link ResponsibilityStatus} that the service accepts. */
|
|
1575
|
+
export declare enum KnownResponsibilityStatus {
|
|
1576
|
+
/** The responsibility is passed. */
|
|
1577
|
+
Passed = "Passed",
|
|
1578
|
+
/** The responsibility is failed. */
|
|
1579
|
+
Failed = "Failed",
|
|
1580
|
+
/** The responsibility is not applicable. */
|
|
1581
|
+
NotApplicable = "NotApplicable",
|
|
1582
|
+
/** The responsibility is pending for approval. */
|
|
1583
|
+
PendingApproval = "PendingApproval"
|
|
1584
|
+
}
|
|
1585
|
+
/**
|
|
1586
|
+
* Defines values for ResponsibilityStatus. \
|
|
1587
|
+
* {@link KnownResponsibilityStatus} can be used interchangeably with ResponsibilityStatus,
|
|
843
1588
|
* this enum contains the known values that the service supports.
|
|
844
1589
|
* ### Known values supported by the service
|
|
845
|
-
* **
|
|
846
|
-
* **
|
|
847
|
-
* **
|
|
1590
|
+
* **Passed**: The responsibility is passed. \
|
|
1591
|
+
* **Failed**: The responsibility is failed. \
|
|
1592
|
+
* **NotApplicable**: The responsibility is not applicable. \
|
|
1593
|
+
* **PendingApproval**: The responsibility is pending for approval.
|
|
848
1594
|
*/
|
|
849
|
-
export type
|
|
850
|
-
/** Known values of {@link
|
|
851
|
-
export declare enum
|
|
852
|
-
/**
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
|
|
1595
|
+
export type ResponsibilityStatus = string;
|
|
1596
|
+
/** Known values of {@link ResponsibilityEnvironment} that the service accepts. */
|
|
1597
|
+
export declare enum KnownResponsibilityEnvironment {
|
|
1598
|
+
/** The responsibility is supported in Azure. */
|
|
1599
|
+
Azure = "Azure",
|
|
1600
|
+
/** The responsibility is supported in AWS. */
|
|
1601
|
+
AWS = "AWS",
|
|
1602
|
+
/** The responsibility is supported in GCP. */
|
|
1603
|
+
GCP = "GCP",
|
|
1604
|
+
/** The responsibility is general requirement of all environment. */
|
|
1605
|
+
General = "General"
|
|
856
1606
|
}
|
|
857
1607
|
/**
|
|
858
|
-
* Defines values for
|
|
859
|
-
* {@link
|
|
1608
|
+
* Defines values for ResponsibilityEnvironment. \
|
|
1609
|
+
* {@link KnownResponsibilityEnvironment} can be used interchangeably with ResponsibilityEnvironment,
|
|
860
1610
|
* this enum contains the known values that the service supports.
|
|
861
1611
|
* ### Known values supported by the service
|
|
862
|
-
* **
|
|
863
|
-
* **
|
|
1612
|
+
* **Azure**: The responsibility is supported in Azure. \
|
|
1613
|
+
* **AWS**: The responsibility is supported in AWS. \
|
|
1614
|
+
* **GCP**: The responsibility is supported in GCP. \
|
|
1615
|
+
* **General**: The responsibility is general requirement of all environment.
|
|
864
1616
|
*/
|
|
865
|
-
export type
|
|
1617
|
+
export type ResponsibilityEnvironment = string;
|
|
866
1618
|
/** Known values of {@link ResourceStatus} that the service accepts. */
|
|
867
1619
|
export declare enum KnownResourceStatus {
|
|
868
|
-
/**
|
|
1620
|
+
/** The resource is healthy. */
|
|
869
1621
|
Healthy = "Healthy",
|
|
870
|
-
/**
|
|
871
|
-
Unhealthy = "Unhealthy"
|
|
872
|
-
/** NotApplicable */
|
|
873
|
-
NotApplicable = "NotApplicable"
|
|
1622
|
+
/** The resource is unhealthy. */
|
|
1623
|
+
Unhealthy = "Unhealthy"
|
|
874
1624
|
}
|
|
875
1625
|
/**
|
|
876
1626
|
* Defines values for ResourceStatus. \
|
|
877
1627
|
* {@link KnownResourceStatus} can be used interchangeably with ResourceStatus,
|
|
878
1628
|
* this enum contains the known values that the service supports.
|
|
879
1629
|
* ### Known values supported by the service
|
|
880
|
-
* **Healthy
|
|
881
|
-
* **Unhealthy
|
|
882
|
-
* **NotApplicable**
|
|
1630
|
+
* **Healthy**: The resource is healthy. \
|
|
1631
|
+
* **Unhealthy**: The resource is unhealthy.
|
|
883
1632
|
*/
|
|
884
1633
|
export type ResourceStatus = string;
|
|
1634
|
+
/** Known values of {@link IsRecommendSolution} that the service accepts. */
|
|
1635
|
+
export declare enum KnownIsRecommendSolution {
|
|
1636
|
+
/** This solution is the recommended. */
|
|
1637
|
+
True = "true",
|
|
1638
|
+
/** This solution is not the recommended. */
|
|
1639
|
+
False = "false"
|
|
1640
|
+
}
|
|
1641
|
+
/**
|
|
1642
|
+
* Defines values for IsRecommendSolution. \
|
|
1643
|
+
* {@link KnownIsRecommendSolution} can be used interchangeably with IsRecommendSolution,
|
|
1644
|
+
* this enum contains the known values that the service supports.
|
|
1645
|
+
* ### Known values supported by the service
|
|
1646
|
+
* **true**: This solution is the recommended. \
|
|
1647
|
+
* **false**: This solution is not the recommended.
|
|
1648
|
+
*/
|
|
1649
|
+
export type IsRecommendSolution = string;
|
|
885
1650
|
/** Known values of {@link DownloadType} that the service accepts. */
|
|
886
1651
|
export declare enum KnownDownloadType {
|
|
887
|
-
/**
|
|
1652
|
+
/** Download the compliance report. */
|
|
888
1653
|
ComplianceReport = "ComplianceReport",
|
|
889
|
-
/**
|
|
1654
|
+
/** Download the compliance pdf report. */
|
|
890
1655
|
CompliancePdfReport = "CompliancePdfReport",
|
|
891
|
-
/**
|
|
1656
|
+
/** Download the detailed compliance pdf report. */
|
|
892
1657
|
ComplianceDetailedPdfReport = "ComplianceDetailedPdfReport",
|
|
893
|
-
/**
|
|
1658
|
+
/** Download the resource list of the report. */
|
|
894
1659
|
ResourceList = "ResourceList"
|
|
895
1660
|
}
|
|
896
1661
|
/**
|
|
@@ -898,28 +1663,187 @@ export declare enum KnownDownloadType {
|
|
|
898
1663
|
* {@link KnownDownloadType} can be used interchangeably with DownloadType,
|
|
899
1664
|
* this enum contains the known values that the service supports.
|
|
900
1665
|
* ### Known values supported by the service
|
|
901
|
-
* **ComplianceReport
|
|
902
|
-
* **CompliancePdfReport
|
|
903
|
-
* **ComplianceDetailedPdfReport
|
|
904
|
-
* **ResourceList
|
|
1666
|
+
* **ComplianceReport**: Download the compliance report. \
|
|
1667
|
+
* **CompliancePdfReport**: Download the compliance pdf report. \
|
|
1668
|
+
* **ComplianceDetailedPdfReport**: Download the detailed compliance pdf report. \
|
|
1669
|
+
* **ResourceList**: Download the resource list of the report.
|
|
905
1670
|
*/
|
|
906
1671
|
export type DownloadType = string;
|
|
907
|
-
/** Known values of {@link
|
|
908
|
-
export declare enum
|
|
909
|
-
/**
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
|
|
1672
|
+
/** Known values of {@link WebhookStatus} that the service accepts. */
|
|
1673
|
+
export declare enum KnownWebhookStatus {
|
|
1674
|
+
/** The webhook is enabled. */
|
|
1675
|
+
Enabled = "Enabled",
|
|
1676
|
+
/** The webhook is disabled. */
|
|
1677
|
+
Disabled = "Disabled"
|
|
1678
|
+
}
|
|
1679
|
+
/**
|
|
1680
|
+
* Defines values for WebhookStatus. \
|
|
1681
|
+
* {@link KnownWebhookStatus} can be used interchangeably with WebhookStatus,
|
|
1682
|
+
* this enum contains the known values that the service supports.
|
|
1683
|
+
* ### Known values supported by the service
|
|
1684
|
+
* **Enabled**: The webhook is enabled. \
|
|
1685
|
+
* **Disabled**: The webhook is disabled.
|
|
1686
|
+
*/
|
|
1687
|
+
export type WebhookStatus = string;
|
|
1688
|
+
/** Known values of {@link SendAllEvents} that the service accepts. */
|
|
1689
|
+
export declare enum KnownSendAllEvents {
|
|
1690
|
+
/** Need send notification under any event. */
|
|
1691
|
+
True = "true",
|
|
1692
|
+
/** No need to send notification under any event. */
|
|
1693
|
+
False = "false"
|
|
1694
|
+
}
|
|
1695
|
+
/**
|
|
1696
|
+
* Defines values for SendAllEvents. \
|
|
1697
|
+
* {@link KnownSendAllEvents} can be used interchangeably with SendAllEvents,
|
|
1698
|
+
* this enum contains the known values that the service supports.
|
|
1699
|
+
* ### Known values supported by the service
|
|
1700
|
+
* **true**: Need send notification under any event. \
|
|
1701
|
+
* **false**: No need to send notification under any event.
|
|
1702
|
+
*/
|
|
1703
|
+
export type SendAllEvents = string;
|
|
1704
|
+
/** Known values of {@link NotificationEvent} that the service accepts. */
|
|
1705
|
+
export declare enum KnownNotificationEvent {
|
|
1706
|
+
/** The subscribed report's snapshot is successfully generated. */
|
|
1707
|
+
GenerateSnapshotSuccess = "generate_snapshot_success",
|
|
1708
|
+
/** The subscribed report's snapshot is failed to generate. */
|
|
1709
|
+
GenerateSnapshotFailed = "generate_snapshot_failed",
|
|
1710
|
+
/** The subscribed report failed while collecting the assessments. */
|
|
1711
|
+
AssessmentFailure = "assessment_failure",
|
|
1712
|
+
/** The subscribed report's configuration is changed. */
|
|
1713
|
+
ReportConfigurationChanges = "report_configuration_changes",
|
|
1714
|
+
/** The subscribed report is deleted. */
|
|
1715
|
+
ReportDeletion = "report_deletion"
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Defines values for NotificationEvent. \
|
|
1719
|
+
* {@link KnownNotificationEvent} can be used interchangeably with NotificationEvent,
|
|
1720
|
+
* this enum contains the known values that the service supports.
|
|
1721
|
+
* ### Known values supported by the service
|
|
1722
|
+
* **generate_snapshot_success**: The subscribed report's snapshot is successfully generated. \
|
|
1723
|
+
* **generate_snapshot_failed**: The subscribed report's snapshot is failed to generate. \
|
|
1724
|
+
* **assessment_failure**: The subscribed report failed while collecting the assessments. \
|
|
1725
|
+
* **report_configuration_changes**: The subscribed report's configuration is changed. \
|
|
1726
|
+
* **report_deletion**: The subscribed report is deleted.
|
|
1727
|
+
*/
|
|
1728
|
+
export type NotificationEvent = string;
|
|
1729
|
+
/** Known values of {@link ContentType} that the service accepts. */
|
|
1730
|
+
export declare enum KnownContentType {
|
|
1731
|
+
/** The content type is application\/json. */
|
|
1732
|
+
ApplicationJson = "application/json"
|
|
1733
|
+
}
|
|
1734
|
+
/**
|
|
1735
|
+
* Defines values for ContentType. \
|
|
1736
|
+
* {@link KnownContentType} can be used interchangeably with ContentType,
|
|
1737
|
+
* this enum contains the known values that the service supports.
|
|
1738
|
+
* ### Known values supported by the service
|
|
1739
|
+
* **application\/json**: The content type is application\/json.
|
|
1740
|
+
*/
|
|
1741
|
+
export type ContentType = string;
|
|
1742
|
+
/** Known values of {@link UpdateWebhookKey} that the service accepts. */
|
|
1743
|
+
export declare enum KnownUpdateWebhookKey {
|
|
1744
|
+
/** Need update the webhook key. */
|
|
1745
|
+
True = "true",
|
|
1746
|
+
/** No need to update the webhook key. */
|
|
1747
|
+
False = "false"
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Defines values for UpdateWebhookKey. \
|
|
1751
|
+
* {@link KnownUpdateWebhookKey} can be used interchangeably with UpdateWebhookKey,
|
|
1752
|
+
* this enum contains the known values that the service supports.
|
|
1753
|
+
* ### Known values supported by the service
|
|
1754
|
+
* **true**: Need update the webhook key. \
|
|
1755
|
+
* **false**: No need to update the webhook key.
|
|
1756
|
+
*/
|
|
1757
|
+
export type UpdateWebhookKey = string;
|
|
1758
|
+
/** Known values of {@link WebhookKeyEnabled} that the service accepts. */
|
|
1759
|
+
export declare enum KnownWebhookKeyEnabled {
|
|
1760
|
+
/** The webhookKey is enabled. */
|
|
1761
|
+
True = "true",
|
|
1762
|
+
/** The webhookKey is not enabled. */
|
|
1763
|
+
False = "false"
|
|
1764
|
+
}
|
|
1765
|
+
/**
|
|
1766
|
+
* Defines values for WebhookKeyEnabled. \
|
|
1767
|
+
* {@link KnownWebhookKeyEnabled} can be used interchangeably with WebhookKeyEnabled,
|
|
1768
|
+
* this enum contains the known values that the service supports.
|
|
1769
|
+
* ### Known values supported by the service
|
|
1770
|
+
* **true**: The webhookKey is enabled. \
|
|
1771
|
+
* **false**: The webhookKey is not enabled.
|
|
1772
|
+
*/
|
|
1773
|
+
export type WebhookKeyEnabled = string;
|
|
1774
|
+
/** Known values of {@link EnableSslVerification} that the service accepts. */
|
|
1775
|
+
export declare enum KnownEnableSslVerification {
|
|
1776
|
+
/** The ssl verification is enabled. */
|
|
1777
|
+
True = "true",
|
|
1778
|
+
/** The ssl verification is not enabled. */
|
|
1779
|
+
False = "false"
|
|
1780
|
+
}
|
|
1781
|
+
/**
|
|
1782
|
+
* Defines values for EnableSslVerification. \
|
|
1783
|
+
* {@link KnownEnableSslVerification} can be used interchangeably with EnableSslVerification,
|
|
1784
|
+
* this enum contains the known values that the service supports.
|
|
1785
|
+
* ### Known values supported by the service
|
|
1786
|
+
* **true**: The ssl verification is enabled. \
|
|
1787
|
+
* **false**: The ssl verification is not enabled.
|
|
1788
|
+
*/
|
|
1789
|
+
export type EnableSslVerification = string;
|
|
1790
|
+
/** Known values of {@link DeliveryStatus} that the service accepts. */
|
|
1791
|
+
export declare enum KnownDeliveryStatus {
|
|
1792
|
+
/** The webhook is delivered successfully. */
|
|
1793
|
+
Succeeded = "Succeeded",
|
|
1794
|
+
/** The webhook is failed to deliver. */
|
|
1795
|
+
Failed = "Failed",
|
|
1796
|
+
/** The webhook is not delivered. */
|
|
1797
|
+
NotStarted = "NotStarted"
|
|
913
1798
|
}
|
|
914
1799
|
/**
|
|
915
|
-
* Defines values for
|
|
916
|
-
* {@link
|
|
1800
|
+
* Defines values for DeliveryStatus. \
|
|
1801
|
+
* {@link KnownDeliveryStatus} can be used interchangeably with DeliveryStatus,
|
|
917
1802
|
* this enum contains the known values that the service supports.
|
|
918
1803
|
* ### Known values supported by the service
|
|
919
|
-
* **
|
|
920
|
-
* **
|
|
1804
|
+
* **Succeeded**: The webhook is delivered successfully. \
|
|
1805
|
+
* **Failed**: The webhook is failed to deliver. \
|
|
1806
|
+
* **NotStarted**: The webhook is not delivered.
|
|
921
1807
|
*/
|
|
922
|
-
export type
|
|
1808
|
+
export type DeliveryStatus = string;
|
|
1809
|
+
/** Optional parameters. */
|
|
1810
|
+
export interface ProviderActionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
1811
|
+
}
|
|
1812
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
1813
|
+
export type ProviderActionsCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
|
|
1814
|
+
/** Optional parameters. */
|
|
1815
|
+
export interface ProviderActionsGetCollectionCountOptionalParams extends coreClient.OperationOptions {
|
|
1816
|
+
}
|
|
1817
|
+
/** Contains response data for the getCollectionCount operation. */
|
|
1818
|
+
export type ProviderActionsGetCollectionCountResponse = GetCollectionCountResponse;
|
|
1819
|
+
/** Optional parameters. */
|
|
1820
|
+
export interface ProviderActionsGetOverviewStatusOptionalParams extends coreClient.OperationOptions {
|
|
1821
|
+
}
|
|
1822
|
+
/** Contains response data for the getOverviewStatus operation. */
|
|
1823
|
+
export type ProviderActionsGetOverviewStatusResponse = GetOverviewStatusResponse;
|
|
1824
|
+
/** Optional parameters. */
|
|
1825
|
+
export interface ProviderActionsListInUseStorageAccountsOptionalParams extends coreClient.OperationOptions {
|
|
1826
|
+
}
|
|
1827
|
+
/** Contains response data for the listInUseStorageAccounts operation. */
|
|
1828
|
+
export type ProviderActionsListInUseStorageAccountsResponse = ListInUseStorageAccountsResponse;
|
|
1829
|
+
/** Optional parameters. */
|
|
1830
|
+
export interface ProviderActionsOnboardOptionalParams extends coreClient.OperationOptions {
|
|
1831
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1832
|
+
updateIntervalInMs?: number;
|
|
1833
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1834
|
+
resumeFrom?: string;
|
|
1835
|
+
}
|
|
1836
|
+
/** Contains response data for the onboard operation. */
|
|
1837
|
+
export type ProviderActionsOnboardResponse = OnboardResponse;
|
|
1838
|
+
/** Optional parameters. */
|
|
1839
|
+
export interface ProviderActionsTriggerEvaluationOptionalParams extends coreClient.OperationOptions {
|
|
1840
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1841
|
+
updateIntervalInMs?: number;
|
|
1842
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1843
|
+
resumeFrom?: string;
|
|
1844
|
+
}
|
|
1845
|
+
/** Contains response data for the triggerEvaluation operation. */
|
|
1846
|
+
export type ProviderActionsTriggerEvaluationResponse = TriggerEvaluationResponse;
|
|
923
1847
|
/** Optional parameters. */
|
|
924
1848
|
export interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
925
1849
|
}
|
|
@@ -931,35 +1855,24 @@ export interface OperationsListNextOptionalParams extends coreClient.OperationOp
|
|
|
931
1855
|
/** Contains response data for the listNext operation. */
|
|
932
1856
|
export type OperationsListNextResponse = OperationListResult;
|
|
933
1857
|
/** Optional parameters. */
|
|
934
|
-
export interface
|
|
1858
|
+
export interface ReportListOptionalParams extends coreClient.OperationOptions {
|
|
935
1859
|
/** Skip over when retrieving results. */
|
|
936
1860
|
skipToken?: string;
|
|
937
1861
|
/** Number of elements to return when retrieving results. */
|
|
938
1862
|
top?: number;
|
|
939
1863
|
/** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
|
|
940
1864
|
select?: string;
|
|
1865
|
+
/** The filter to apply on the operation. */
|
|
1866
|
+
filter?: string;
|
|
1867
|
+
/** OData order by query option. */
|
|
1868
|
+
orderby?: string;
|
|
941
1869
|
/** The offerGuid which mapping to the reports. */
|
|
942
1870
|
offerGuid?: string;
|
|
943
1871
|
/** The tenant id of the report creator. */
|
|
944
1872
|
reportCreatorTenantId?: string;
|
|
945
1873
|
}
|
|
946
1874
|
/** Contains response data for the list operation. */
|
|
947
|
-
export type
|
|
948
|
-
/** Optional parameters. */
|
|
949
|
-
export interface ReportsListNextOptionalParams extends coreClient.OperationOptions {
|
|
950
|
-
/** Skip over when retrieving results. */
|
|
951
|
-
skipToken?: string;
|
|
952
|
-
/** Number of elements to return when retrieving results. */
|
|
953
|
-
top?: number;
|
|
954
|
-
/** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
|
|
955
|
-
select?: string;
|
|
956
|
-
/** The offerGuid which mapping to the reports. */
|
|
957
|
-
offerGuid?: string;
|
|
958
|
-
/** The tenant id of the report creator. */
|
|
959
|
-
reportCreatorTenantId?: string;
|
|
960
|
-
}
|
|
961
|
-
/** Contains response data for the listNext operation. */
|
|
962
|
-
export type ReportsListNextResponse = ReportResourceList;
|
|
1875
|
+
export type ReportListResponse = ReportResourceListResult;
|
|
963
1876
|
/** Optional parameters. */
|
|
964
1877
|
export interface ReportGetOptionalParams extends coreClient.OperationOptions {
|
|
965
1878
|
}
|
|
@@ -990,36 +1903,138 @@ export interface ReportDeleteOptionalParams extends coreClient.OperationOptions
|
|
|
990
1903
|
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
991
1904
|
resumeFrom?: string;
|
|
992
1905
|
}
|
|
1906
|
+
/** Contains response data for the delete operation. */
|
|
1907
|
+
export type ReportDeleteResponse = ReportDeleteHeaders;
|
|
1908
|
+
/** Optional parameters. */
|
|
1909
|
+
export interface ReportNestedResourceCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
1910
|
+
}
|
|
1911
|
+
/** Contains response data for the nestedResourceCheckNameAvailability operation. */
|
|
1912
|
+
export type ReportNestedResourceCheckNameAvailabilityResponse = CheckNameAvailabilityResponse;
|
|
1913
|
+
/** Optional parameters. */
|
|
1914
|
+
export interface ReportFixOptionalParams extends coreClient.OperationOptions {
|
|
1915
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1916
|
+
updateIntervalInMs?: number;
|
|
1917
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1918
|
+
resumeFrom?: string;
|
|
1919
|
+
}
|
|
1920
|
+
/** Contains response data for the fix operation. */
|
|
1921
|
+
export type ReportFixResponse = ReportFixResult;
|
|
1922
|
+
/** Optional parameters. */
|
|
1923
|
+
export interface ReportGetScopingQuestionsOptionalParams extends coreClient.OperationOptions {
|
|
1924
|
+
}
|
|
1925
|
+
/** Contains response data for the getScopingQuestions operation. */
|
|
1926
|
+
export type ReportGetScopingQuestionsResponse = ScopingQuestions;
|
|
1927
|
+
/** Optional parameters. */
|
|
1928
|
+
export interface ReportSyncCertRecordOptionalParams extends coreClient.OperationOptions {
|
|
1929
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1930
|
+
updateIntervalInMs?: number;
|
|
1931
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1932
|
+
resumeFrom?: string;
|
|
1933
|
+
}
|
|
1934
|
+
/** Contains response data for the syncCertRecord operation. */
|
|
1935
|
+
export type ReportSyncCertRecordResponse = SyncCertRecordResponse;
|
|
1936
|
+
/** Optional parameters. */
|
|
1937
|
+
export interface ReportVerifyOptionalParams extends coreClient.OperationOptions {
|
|
1938
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1939
|
+
updateIntervalInMs?: number;
|
|
1940
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1941
|
+
resumeFrom?: string;
|
|
1942
|
+
}
|
|
1943
|
+
/** Contains response data for the verify operation. */
|
|
1944
|
+
export type ReportVerifyResponse = ReportVerificationResult;
|
|
1945
|
+
/** Optional parameters. */
|
|
1946
|
+
export interface ReportListNextOptionalParams extends coreClient.OperationOptions {
|
|
1947
|
+
}
|
|
1948
|
+
/** Contains response data for the listNext operation. */
|
|
1949
|
+
export type ReportListNextResponse = ReportResourceListResult;
|
|
993
1950
|
/** Optional parameters. */
|
|
994
|
-
export interface
|
|
1951
|
+
export interface EvidenceListByReportOptionalParams extends coreClient.OperationOptions {
|
|
995
1952
|
/** Skip over when retrieving results. */
|
|
996
1953
|
skipToken?: string;
|
|
997
1954
|
/** Number of elements to return when retrieving results. */
|
|
998
1955
|
top?: number;
|
|
999
1956
|
/** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
|
|
1000
1957
|
select?: string;
|
|
1958
|
+
/** The filter to apply on the operation. */
|
|
1959
|
+
filter?: string;
|
|
1960
|
+
/** OData order by query option. */
|
|
1961
|
+
orderby?: string;
|
|
1962
|
+
/** The offerGuid which mapping to the reports. */
|
|
1963
|
+
offerGuid?: string;
|
|
1964
|
+
/** The tenant id of the report creator. */
|
|
1965
|
+
reportCreatorTenantId?: string;
|
|
1966
|
+
}
|
|
1967
|
+
/** Contains response data for the listByReport operation. */
|
|
1968
|
+
export type EvidenceListByReportResponse = EvidenceResourceListResult;
|
|
1969
|
+
/** Optional parameters. */
|
|
1970
|
+
export interface EvidenceGetOptionalParams extends coreClient.OperationOptions {
|
|
1971
|
+
}
|
|
1972
|
+
/** Contains response data for the get operation. */
|
|
1973
|
+
export type EvidenceGetResponse = EvidenceResource;
|
|
1974
|
+
/** Optional parameters. */
|
|
1975
|
+
export interface EvidenceCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1001
1976
|
/** The offerGuid which mapping to the reports. */
|
|
1002
1977
|
offerGuid?: string;
|
|
1003
1978
|
/** The tenant id of the report creator. */
|
|
1004
1979
|
reportCreatorTenantId?: string;
|
|
1005
1980
|
}
|
|
1981
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1982
|
+
export type EvidenceCreateOrUpdateResponse = EvidenceResource;
|
|
1983
|
+
/** Optional parameters. */
|
|
1984
|
+
export interface EvidenceDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1985
|
+
}
|
|
1986
|
+
/** Optional parameters. */
|
|
1987
|
+
export interface EvidenceDownloadOptionalParams extends coreClient.OperationOptions {
|
|
1988
|
+
}
|
|
1989
|
+
/** Contains response data for the download operation. */
|
|
1990
|
+
export type EvidenceDownloadResponse = EvidenceFileDownloadResponse;
|
|
1991
|
+
/** Optional parameters. */
|
|
1992
|
+
export interface EvidenceListByReportNextOptionalParams extends coreClient.OperationOptions {
|
|
1993
|
+
}
|
|
1994
|
+
/** Contains response data for the listByReportNext operation. */
|
|
1995
|
+
export type EvidenceListByReportNextResponse = EvidenceResourceListResult;
|
|
1996
|
+
/** Optional parameters. */
|
|
1997
|
+
export interface ScopingConfigurationListOptionalParams extends coreClient.OperationOptions {
|
|
1998
|
+
}
|
|
1006
1999
|
/** Contains response data for the list operation. */
|
|
1007
|
-
export type
|
|
2000
|
+
export type ScopingConfigurationListResponse = ScopingConfigurationResourceListResult;
|
|
2001
|
+
/** Optional parameters. */
|
|
2002
|
+
export interface ScopingConfigurationGetOptionalParams extends coreClient.OperationOptions {
|
|
2003
|
+
}
|
|
2004
|
+
/** Contains response data for the get operation. */
|
|
2005
|
+
export type ScopingConfigurationGetResponse = ScopingConfigurationResource;
|
|
2006
|
+
/** Optional parameters. */
|
|
2007
|
+
export interface ScopingConfigurationCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2008
|
+
}
|
|
2009
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2010
|
+
export type ScopingConfigurationCreateOrUpdateResponse = ScopingConfigurationResource;
|
|
2011
|
+
/** Optional parameters. */
|
|
2012
|
+
export interface ScopingConfigurationDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2013
|
+
}
|
|
2014
|
+
/** Optional parameters. */
|
|
2015
|
+
export interface ScopingConfigurationListNextOptionalParams extends coreClient.OperationOptions {
|
|
2016
|
+
}
|
|
2017
|
+
/** Contains response data for the listNext operation. */
|
|
2018
|
+
export type ScopingConfigurationListNextResponse = ScopingConfigurationResourceListResult;
|
|
1008
2019
|
/** Optional parameters. */
|
|
1009
|
-
export interface
|
|
2020
|
+
export interface SnapshotListOptionalParams extends coreClient.OperationOptions {
|
|
1010
2021
|
/** Skip over when retrieving results. */
|
|
1011
2022
|
skipToken?: string;
|
|
1012
2023
|
/** Number of elements to return when retrieving results. */
|
|
1013
2024
|
top?: number;
|
|
1014
2025
|
/** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
|
|
1015
2026
|
select?: string;
|
|
2027
|
+
/** The filter to apply on the operation. */
|
|
2028
|
+
filter?: string;
|
|
2029
|
+
/** OData order by query option. */
|
|
2030
|
+
orderby?: string;
|
|
1016
2031
|
/** The offerGuid which mapping to the reports. */
|
|
1017
2032
|
offerGuid?: string;
|
|
1018
2033
|
/** The tenant id of the report creator. */
|
|
1019
2034
|
reportCreatorTenantId?: string;
|
|
1020
2035
|
}
|
|
1021
|
-
/** Contains response data for the
|
|
1022
|
-
export type
|
|
2036
|
+
/** Contains response data for the list operation. */
|
|
2037
|
+
export type SnapshotListResponse = SnapshotResourceListResult;
|
|
1023
2038
|
/** Optional parameters. */
|
|
1024
2039
|
export interface SnapshotGetOptionalParams extends coreClient.OperationOptions {
|
|
1025
2040
|
}
|
|
@@ -1035,6 +2050,53 @@ export interface SnapshotDownloadOptionalParams extends coreClient.OperationOpti
|
|
|
1035
2050
|
/** Contains response data for the download operation. */
|
|
1036
2051
|
export type SnapshotDownloadResponse = DownloadResponse;
|
|
1037
2052
|
/** Optional parameters. */
|
|
2053
|
+
export interface SnapshotListNextOptionalParams extends coreClient.OperationOptions {
|
|
2054
|
+
}
|
|
2055
|
+
/** Contains response data for the listNext operation. */
|
|
2056
|
+
export type SnapshotListNextResponse = SnapshotResourceListResult;
|
|
2057
|
+
/** Optional parameters. */
|
|
2058
|
+
export interface WebhookListOptionalParams extends coreClient.OperationOptions {
|
|
2059
|
+
/** Skip over when retrieving results. */
|
|
2060
|
+
skipToken?: string;
|
|
2061
|
+
/** Number of elements to return when retrieving results. */
|
|
2062
|
+
top?: number;
|
|
2063
|
+
/** OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id. */
|
|
2064
|
+
select?: string;
|
|
2065
|
+
/** The filter to apply on the operation. */
|
|
2066
|
+
filter?: string;
|
|
2067
|
+
/** OData order by query option. */
|
|
2068
|
+
orderby?: string;
|
|
2069
|
+
/** The offerGuid which mapping to the reports. */
|
|
2070
|
+
offerGuid?: string;
|
|
2071
|
+
/** The tenant id of the report creator. */
|
|
2072
|
+
reportCreatorTenantId?: string;
|
|
2073
|
+
}
|
|
2074
|
+
/** Contains response data for the list operation. */
|
|
2075
|
+
export type WebhookListResponse = WebhookResourceListResult;
|
|
2076
|
+
/** Optional parameters. */
|
|
2077
|
+
export interface WebhookGetOptionalParams extends coreClient.OperationOptions {
|
|
2078
|
+
}
|
|
2079
|
+
/** Contains response data for the get operation. */
|
|
2080
|
+
export type WebhookGetResponse = WebhookResource;
|
|
2081
|
+
/** Optional parameters. */
|
|
2082
|
+
export interface WebhookCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2083
|
+
}
|
|
2084
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
2085
|
+
export type WebhookCreateOrUpdateResponse = WebhookResource;
|
|
2086
|
+
/** Optional parameters. */
|
|
2087
|
+
export interface WebhookUpdateOptionalParams extends coreClient.OperationOptions {
|
|
2088
|
+
}
|
|
2089
|
+
/** Contains response data for the update operation. */
|
|
2090
|
+
export type WebhookUpdateResponse = WebhookResource;
|
|
2091
|
+
/** Optional parameters. */
|
|
2092
|
+
export interface WebhookDeleteOptionalParams extends coreClient.OperationOptions {
|
|
2093
|
+
}
|
|
2094
|
+
/** Optional parameters. */
|
|
2095
|
+
export interface WebhookListNextOptionalParams extends coreClient.OperationOptions {
|
|
2096
|
+
}
|
|
2097
|
+
/** Contains response data for the listNext operation. */
|
|
2098
|
+
export type WebhookListNextResponse = WebhookResourceListResult;
|
|
2099
|
+
/** Optional parameters. */
|
|
1038
2100
|
export interface AppComplianceAutomationToolForMicrosoft365OptionalParams extends coreClient.ServiceClientOptions {
|
|
1039
2101
|
/** server parameter */
|
|
1040
2102
|
$host?: string;
|