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