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